function showMenu ( menuname )
{
    var m;
    m = document.getElementById ( menuname );
    m.style.visibility = 'visible';
}    
  
function hideMenu ( menuname )
{
    var m;
    m = document.getElementById ( menuname );
    m.style.visibility = 'hidden';
}   


function csBrowserInfo()
{
	var csAppName = String(navigator.appName);
	var csAppVer = String(navigator.appVersion);
	var csPlatform = String(navigator.platform);
	var csUserAgent = String(navigator.userAgent);
	var csVendor = String(navigator.vendor);
	var csProduct = String(navigator.product);
	if(csUserAgent.indexOf("Opera/7") > -1 || csUserAgent.indexOf("Opera 7") > -1)
		return 7;
	else if(csUserAgent.indexOf("Opera/8") > -1 || csUserAgent.indexOf("Opera 8") > -1)
		return 8;	
	else if(csUserAgent.indexOf("Opera/9") > -1 || csUserAgent.indexOf("Opera 9") > -1)
		return 8;	
	else if(csUserAgent.indexOf("Opera") > -1)
		return 0;
	else if(csUserAgent.indexOf("MSIE 4") > -1 && csPlatform != "MacPPC")
		return 15;
	else if(csUserAgent.indexOf("MSIE 5") > -1)
		return 15;
	else if(csUserAgent.indexOf("MSIE 6") > -1)
		return 5;
	else if(csUserAgent.indexOf("MSIE 7") == 1)
		return 9;	
	else if(csVendor == "Netscape6")
		return 4;
	else if(csProduct == "Gecko")
		return 6;
	else if(csAppName == "Netscape")
	{
		if(parseFloat(csAppVer) >= 4.06 && parseFloat(csAppVer) < 5)
			return 3;
		else
			return 0;
	}
	else
		return 0;
}

function Position0( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 335+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 333+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 333+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 333+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 336+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 334+"px";
}
}

function Position1( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 355+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 353+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 353+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 353+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 356+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 354+"px";
}
}

function Position2( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 555+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 553+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 553+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 553+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 553+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 555+"px";
}
}

function Position3( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1055+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1053+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1053+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1053+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1053+"px";
}
else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1055+"px";
}
}

function Position4( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1075+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1073+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1073+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1073+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1075+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1073+"px";
}
}

function Position5( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1015+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1013+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1013+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1013+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1015+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1015+"px";
}
}

function Position6( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1035+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1033+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1033+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1033+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1035+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 1035+"px";
}
}

function Position7( menuname )
{
var csBrowserType = csBrowserInfo();
var v;
if(csBrowserType == 5)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 835+"px";
}

else if(csBrowserType == 6)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 833+"px";
}

else if(csBrowserType == 7)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 833+"px";
}

else if(csBrowserType == 8)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 833+"px";
}

else if(csBrowserType == 9)
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 835+"px";
}

else
{
v = document.getElementById ( menuname );
v.style.left = 168+"px";
v.style.top = 835+"px";
}
}

