 function HighOpacityIMG(imgBox)
 {

 if (document.getElementById(imgBox).style["filter"]!= "Alpha(Opacity=100)")
 {document.getElementById(imgBox).style["filter"]= "Alpha(Opacity=99)";}
 }
 
 function HighOpacityIMGLoad(imgBox)
 { 
 document.getElementById(imgBox).style["filter"]= "Alpha(Opacity=100)";
 }
 function ChangeIMG(imgBox)
 { 
 document.getElementById(imgBox).innerHTML= "<object id=banner codeBase=http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0 height='106px' width='160px' align=middle classid=clsid:d27cdb6e-ae6d-11cf-96b8-444553540000 VIEWASTEXT><param NAME='_cx' VALUE='18733'><param NAME='_cy' VALUE='6059'><param NAME='FlashVars' VALUE=''><param NAME='Movie' VALUE='images/maken.swf'><param NAME='Src' VALUE='images/maken.swf'><param NAME='WMode' VALUE='Window'><param NAME='Play' VALUE='-1'><param NAME='Loop' VALUE='-1'><param NAME='Quality' VALUE='High'><param NAME='SAlign' VALUE=''><param NAME='Menu' VALUE='-1'><param NAME='Base' VALUE=''><param NAME='AllowScriptAccess' VALUE='sameDomain'><param NAME='Scale' VALUE='ShowAll'><param NAME='DeviceFont' VALUE='0'><param NAME='EmbedMovie' VALUE='0'><param NAME='BGColor' VALUE='FFFFFF'><param NAME='SWRemote' VALUE=''><param NAME='MovieData' VALUE=''><param NAME='SeamlessTabbing' VALUE='1'><param NAME='Profile' VALUE='0'><param NAME='ProfileAddress' VALUE=''><param NAME='ProfilePort' VALUE='0'><param NAME='AllowNetworking' VALUE='all'><param NAME='AllowFullScreen' VALUE='false'><embed src='maken.swf' quality='high' bgcolor='#ffffff' width='153' height='229' name='banner' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";
 }

 function LowOpacityIMG(imgBox)
 {
	if (document.getElementById(imgBox).style["filter"]!= "Alpha(Opacity=100)")
	{document.getElementById(imgBox).style["filter"]= "Alpha(Opacity=30)";}

 }
 function ExpandMenu(td,I,Sgn,SubNum)
	{
	if ( document.getElementById('div'+I).style.display=="block" )
		{
			shrinkMenu(I,2,1)
			document.getElementById(td).className ="submenu";
			
		}
		else 
		if (Sgn=='+')
		{
			 expandMenu(I,2,(eval(SubNum) * 27) + 1 + eval(SubNum)- 4);
			// alert(td);
			 if (document.getElementById(td) !=null)
				document.getElementById(td).className ="submenu_over";
			 
		}
	
 }
 /**************   Expand Menu ****************************/
 function expandMenu(victim, factor, reach)
	{   
		document.getElementById('div'+victim).style.display='block';
		if (parseInt(document.getElementById('div'+victim).style.height)==reach)
		{
		clearTimeout(expandMove);
		flag=false;
		}
		else
		{
		flag=true;
		
		document.getElementById('div'+victim).style.height =parseInt(document.getElementById('div'+victim).style.height) + parseInt(factor);
		expandMove = window.setTimeout("expandMenu('" + victim + "'," + factor + " ," + reach + ");",0.00000000000000000000000001);
		}
	}
/**************   Shrink Menu ****************************/
function shrinkMenu(victim,factor, reach)
{
	if (parseInt(document.getElementById('div'+victim).style.height)==reach)
	{
	clearTimeout(shrinkMove);
	document.getElementById('div'+victim).style.overflow='hidden';
	document.getElementById('div'+victim).style.display='none';
	//document.getElementById('td18').style.backgroundColor="#006633"
	}
	else
	{
	document.getElementById('div'+victim).style.height = parseInt(document.getElementById('div'+victim).style.height) - parseInt(factor);
	var shrinkMove = window.setTimeout("shrinkMenu('" + victim + "'," + factor + " ," + reach + ");",0.00000000000000000000000000000000000000000001);
	}
}
/****************** ShowSubs *********************************/
	function ShowSubs(child)
	{
		for (i=0;i<10;i++)
		{
			try
			{
				document.getElementById("child"+i).style.display="none";
			}
			catch(e)
			{}
		}

		try
		{
			if (document.getElementById(child).style.display=="none")
			{document.getElementById(child).style.display="block"
			}
			else
			{document.getElementById(child).style.display="none"
			}
		}
		catch(e)
		{}
	}