var browser={isKHTML: false, isGecko: false, isIE: false, isIE5: false, isOpera: false, isSafe:null};
with (browser) {
	isKHTML = navigator.userAgent.indexOf("KHTML")>=0;
	isGecko = (!isKHTML) && navigator.product == "Gecko";
	isIE = (!isGecko) && navigator.cpuClass != undefined && navigator.appName == "Microsoft Internet Explorer";
	isIE5 = isIE && (!Function.apply); ifIE55 = isIE && (document.onmousewheel == undefined);
	isOpera = (!(isIE || isGecko || isKHTML)) && document.attachEvent != undefined;
	isSafe = document.getElementById != undefined && (!isIE5) && (document.addEventListener != undefined || document.attachEvent != undefined);
}

if (browser.isIE){
	document.write('<style type="text/css">.ieshadow {background: #000; }</style>');
}

function showNav1(id)
{
id.style.visibility='visible';
var agent=navigator.userAgent;
//alert(document["all"]);
if (document["all"] && (agent.indexOf("Opera") == -1))  {
var iframe=document.getElementById('iframe1');
iframe.style.top=id.style.top;
iframe.style.left=id.style.left;
iframe.style.width=id.offsetWidth;
iframe.style.height=id.offsetHeight;
iframe.style.zIndex=id.style.zIndex-1;
iframe.style.display='inline';
iframe.style.visibility=id.style.visibility;
iframe.style.filter='progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0)';
}

}

function hideNav1(id)
{
var agent=navigator.userAgent;
if (document["all"] && (agent.indexOf("Opera") == -1))  {
var iframe=document.getElementById('iframe1');
iframe.style.display='none';
iframe.style.visibility=id.style.visibility;
}
id.style.visibility='hidden';
}


function showNav(id)
{
	id.style.visibility='visible';
}

function hideNav(id)
{
	id.style.visibility='hidden';
}