

function updateMenu(state) {

if (document.body.clientWidth) {
	var sWidth=(document.body.clientWidth - 600) / 2;
	if ((document.body.clientWidth) < 600) {
		sWidth = 2;
	}
}
else
{
	var sWidth=(window.innerWidth - 600) / 2;
	if ((window.innerWidth) < 600) {
		sWidth = 2;
	}
}

if (document.getElementById) {
	document.getElementById("navtrans").style.visibility=state;
	document.getElementById("navtrans").style.top=292;
/* 	
RT made changes to this line only 9-4-03
document.getElementById("navtrans").style.top=298;

*/
	document.getElementById("navtrans").style.left=(sWidth + 120);
}
}



/*
KM add this for new menu
*/



function updateMenuTech(state) {

if (document.body.clientWidth) {
	var sWidth=(document.body.clientWidth - 600) / 2;
	if ((document.body.clientWidth) < 600) {
		sWidth = 2;
	}
}
else
{
	var sWidth=(window.innerWidth - 600) / 2;
	if ((window.innerWidth) < 600) {
		sWidth = 2;
	}
}

if (document.getElementById) {
	document.getElementById("navtechnotes").style.visibility=state;
	document.getElementById("navtechnotes").style.top=332;
	document.getElementById("navtechnotes").style.left=(sWidth + 120);
}
}



/*
RT add this for new menu "APPLICATIONS"
*/



function updateMenuApplications(state) {

if (document.body.clientWidth) {
	var sWidth=(document.body.clientWidth - 600) / 2;
	if ((document.body.clientWidth) < 600) {
		sWidth = 2;
	}
}
else
{
	var sWidth=(window.innerWidth - 600) / 2;
	if ((window.innerWidth) < 600) {
		sWidth = 2;
	}
}

if (document.getElementById) {
	document.getElementById("navApplications").style.visibility=state;
	document.getElementById("navApplications").style.top=192;
	document.getElementById("navApplications").style.left=(sWidth + 120);
}
}



function show_it()
{
	var win2 = window.open("callme.php","contact","resizable=yes,height=320,width=400");						
}




var browser     = '';
var version     = '';
var entrance    = '';
var cond        = '';
// BROWSER?
if (browser == ''){


// version=0

if (navigator.appName.indexOf('Netscape') != -1)
browser = 'Netscape'

if (navigator.appName.indexOf('Microsoft') != -1){

if (navigator.appVersion.indexOf("MSIE")!= -1){
temp=navigator.appVersion.split("MSIE")
version=parseFloat(temp[1])
}

if (version<=5.5) 
browser = 'IEUNDER';

else if (version>=5.5) 
browser = 'IEOVER';

}
}


if (browser == 'IEUNDER') document.write('<'+'link rel="stylesheet" href="style_ie.css" />');
if (browser == 'IEOVER') document.write('<'+'link rel="stylesheet" href="style_ie.css" />');
if (browser == 'Netscape') document.write('<'+'link rel="stylesheet" href="style_ns.css" />');
