function MM_findObj(n, d) { //v4.0
  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=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapBgColor() { //v3.0
    if(navigator.userAgent.indexOf('Mac') != -1) return;
  var i,j=0,x,a=MM_swapBgColor.arguments; document.MM_bc=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_bc=x; if(!x.obgColor) x.obgColor=x.bgColor; x.bgColor=a[i+2];document.MM_bc=x;}
   	   
}

function MM_swapBgColorRestore() { //v3.0
  var i,j=0,x,a=MM_swapBgColorRestore.arguments;
  if(navigator.userAgent.indexOf('Mac') != -1) return;
  for(i=0;i<(a.length);i++)
   if ((x=MM_findObj(a[i]))!=null)
	x.bgColor=document.MM_bc.obgColor;
}

function MM_href() {
	a=MM_href.arguments;
	document.location=a[0];
}



