function popUp(page,PWidth,PHeight,id) {
 	eval("winpop"+id+"=window.open('"+page+"','winpop1','toolbar=0,scrollbars=1,location=0,status=0,menubars=0,resizable=0,width="+PWidth	+",height="+PHeight+"')")
	 }
function findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

/* 
Global "swap" holder 
Use value, null, if no layer initially visible 
*/ 
var currLayerId = "leftContentInner0";
var currLayerId2 = "headerTabs0";

function togLayer(id) 
{ 
if(currLayerId) setDisplay(currLayerId, "none");
if(id)setDisplay(id, "block"); 
currLayerId = id;
}

function togLayer2(id2) 
{ 
if(currLayerId2) setDisplay2(currLayerId2, "none");
if(id2)setDisplay2(id2, "block"); 
currLayerId2 = id2;
}

function setDisplay(id,value) 
{ 
var elm = document.getElementById(id); 
elm.style.display = value; 
}

function setDisplay2(id2,value) 
{ 
var elm2 = document.getElementById(id2); 
elm2.style.display = value; 
}