if (document.getElementById) {	visible = 'visible';	hidden = 'hidden';} else if (document.layers) {	visible = 'show';	hidden = 'hide';} else if (document.all) {	visible = 'visible';	hidden = 'hidden';}function reveal(menu) {	if (document.getElementById) {		theMenu = document.getElementById(menu).style;	  } else if (document.layers) {		var theMenu = document.layers[menu];			} else if (document.all) {		var theMenu = document.all[menu].style;	 }	if (theMenu.visibility == visible) {		theMenu.visibility = visible;	} else {		theMenu.visibility = visible;	}}function hide(menu) {	if (document.getElementById) {		theMenu = document.getElementById(menu).style;			} else if (document.layers) {		theMenu = document.layers[menu];			} else if (document.all) {		theMenu = document.all(menu).style;}	if (theMenu.visibility == hidden) {		theMenu.visibility = hidden;	} else {		theMenu.visibility = hidden;	}}function positionHeader(layerName) {if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") {  winW = window.innerWidth; } if (navigator.appName.indexOf("Microsoft")!=-1) {  winW = document.body.offsetWidth; }}var totalW=winW-1250;var halfW=totalW/2;var rightPosition=Math.round(halfW);document.getElementById(layerName).style.left=rightPosition+"px";}function heightHeader(buttonNumber) {if (parseInt(navigator.appVersion)>3) { if (navigator.appName=="Netscape") {  winHB = window.innerHeight;  winWB = window.innerWidth;} if (navigator.appName.indexOf("Microsoft")!=-1) {  winHB = document.body.offsetHeight;  winWB = document.body.offsetWidth; }}var totalHB=winHB/10;var halfHB=totalHB*3.5;var headerHeight=Math.round(halfHB);var totalWB=winWB-800;var halfWB=totalWB/2;var buttonWidth=Math.round(halfWB);document.getElementById('ifrmHeader').style.height=headerHeight;document.getElementById("bar").style.top=headerHeight+"px";document.getElementById("content").style.top=headerHeight+50+"px";document.getElementById("content").style.left=buttonWidth+"px";document.getElementById("homeBase").style.top=headerHeight+"px";document.getElementById("homeBase").style.left=buttonWidth+"px";document.getElementById("companyBase").style.top=headerHeight+"px";document.getElementById("companyBase").style.left=buttonWidth+77+"px";document.getElementById("technologyBase").style.top=headerHeight+"px";document.getElementById("technologyBase").style.left=buttonWidth+179+"px";document.getElementById("productsBase").style.top=headerHeight+"px";document.getElementById("productsBase").style.left=buttonWidth+317+"px";document.getElementById("partnersBase").style.top=headerHeight+"px";document.getElementById("partnersBase").style.left=buttonWidth+432+"px";document.getElementById("faqBase").style.top=headerHeight+"px";document.getElementById("faqBase").style.left=buttonWidth+545+"px";document.getElementById("newsBase").style.top=headerHeight+"px";document.getElementById("newsBase").style.left=buttonWidth+599+"px";document.getElementById("contactBase").style.top=headerHeight+"px";document.getElementById("contactBase").style.left=buttonWidth+671+"px";document.getElementById("subCompany").style.top=headerHeight+30+"px";document.getElementById("subCompany").style.left=buttonWidth+77+"px";document.getElementById("subProducts").style.top=headerHeight+30+"px";document.getElementById("subProducts").style.left=buttonWidth+317+"px";document.getElementById("buttonClick").style.top=headerHeight+"px";document.getElementById("buttonClick").style.left=buttonWidth+buttonNumber+"px";document.getElementById('ifrmHeader').src="header.htm";}