function showhideoptions(totable, tcshoworhide){
for(i=1;i<totable.rows.length;i++){
	if (tcshoworhide=='S'){
		lcdisplay='inline';
	}else{
		lcdisplay='none';
	}
	lorow = totable.rows(i);
	lorow.style.display=lcdisplay;
}
}
function highlightrow(torow, tcshoworhide){
if (tcshoworhide=='S'){
	torow.style.backgroundColor="#E85A58";
}else{
	torow.style.backgroundColor="";
}
}
var enabledtab="tabanalyzedata";
function tabmouseover(tctd)
{
	lotabs = document.getElementById("tabsrow");
	for(i=0;i<lotabs.cells.length;i++) 
	{
		locell = lotabs.cells(i);			
		lctype = locell.id;
		lctype = lctype.substr(lctype.length-1,1);
		if (locell.id==tctd+"l" || locell.id==tctd+"m" || locell.id==tctd+"r")
		{
			lenabled = true;
		}
		else
		{
			lenabled = false;		
		}
		switch (lctype)
		{
			case "l":
				if (lenabled){locell.className="menu_tableft";}else{locell.className="menu_tableft_d";}
				break;
			case "m":
				if (lenabled){locell.className="menu_tabmiddle";}else{locell.className="menu_tabmiddle_d";}
				break;
			case "r":
				if (lenabled){locell.className="menu_tabright";}else{locell.className="menu_tabright_d";}
				break;
			default:
		}
	}
}
function tabmouseleave()
{
	lotabs = document.getElementById("tabsrow");
	for(i=0;i<lotabs.cells.length;i++) 
	{
		locell = lotabs.cells(i);
		lctype = locell.id;
		lcname = lctype.substr(0,lctype.length-1);
		lctype = lctype.substr(lctype.length-1,1);
		if (locell.selected=="1")
		{
			lenabled = true;
		}
		else
		{
			lenabled = false;
		}
		switch (lctype)
		{
			case "l":
				if (lenabled){locell.className="menu_tableft";}else{locell.className="menu_tableft_d";}
				break;
			case "m":
				if (lenabled){locell.className="menu_tabmiddle";}else{locell.className="menu_tabmiddle_d";}
				break;
			case "r":
				if (lenabled){locell.className="menu_tabright";}else{locell.className="menu_tabright_d";}
				break;
			default:
		}
	}
}
function disablepage(){
	lodivdisable = document.getElementById("pagedisablediv");
	lodivdisable.style.width = document.body.offsetWidth;
	lodivdisable.style.height = document.body.offsetHeight;
	lodivdisable.style.display="inline";
}
function enablepage(){
	lodivdisable = document.getElementById("pagedisablediv");
	lodivdisable.style.display="none";
}
function fadeinpage()
{ 
	if(document.getElementById("fadeinpagediv").filters("alpha").opacity < 100)
	{ 
		document.getElementById("fadeinpagediv").filters("alpha").opacity += 10; 
		setTimeout("fadeinpage()",100); 
	} 
	else
	{ 
		document.getElementById('fadeinpagediv').style.visibility = "visible";
	} 
}
