<!--////////////////////////////////////////////////////          Client Info Script         ////////////////////////////////////////////////////// determines the browser and versionfunction getClientInfo (){	// user-agent header in the form of: Mozilla/4.0 (compatible; MSIE 4.01; Windows 95)	var agent = navigator.userAgent.toLowerCase()		// browser version	this.major = parseInt(navigator.appVersion);	//this.minor = parseFloat(navigator.appVersion);	// browser type	this.ns = ((agent.indexOf('mozilla') != -1) && ((agent.indexOf('spoofer') == -1) && (agent.indexOf('compatible') == -1)));	this.ns2 = (this.ns && (this.major == 2));	this.ns3 = (this.ns && (this.major == 3));	this.ns4 = (this.ns && (this.major == 4));	this.ie   = ((agent.indexOf("msie") != -1) || agent == "");	this.ie3  = ((this.ie && (this.major == 2)) || agent == "");	this.ie4  = (this.ie && (this.major == 4));}	var ClientInfo = new getClientInfo();// prints out all properties of ClientInfofunction printProperties () {	document.writeln('Client Info Object Properties:<br><br>');	// browser version	document.writeln('Browser Version:<br>');	document.writeln('ClientInfo.major : ' + ClientInfo.major + '<br><br>');	// browser type	document.writeln('Browser Type:<br>')	document.writeln('ClientInfo.ns : ' + ClientInfo.ns + '<br>');	document.writeln('ClientInfo.ns2 : ' + ClientInfo.ns2 + '<br>');	document.writeln('ClientInfo.ns3 : ' + ClientInfo.ns3 + '<br>');	document.writeln('ClientInfo.ns4 : ' + ClientInfo.ns4 + '<br>');	document.writeln('ClientInfo.ie : ' + ClientInfo.ie + '<br>');	document.writeln('ClientInfo.ie3 : ' + ClientInfo.ie3 + '<br>');	document.writeln('ClientInfo.ie4 : ' + ClientInfo.ie4 + '<br><br>');	document.writeln('ClientInfo.ns475: ' + ClientInfo.ns475 + '<br><br>');}	/////////////////////////////////////////////////////     Preload Navigation Images     /////////////////////////////////////////////////////function newImage(arg) {    if (document.images) {        rslt = new Image();        rslt.src = arg;        return rslt;    }}var preloadFlag = false;function preloadImages() {    if (document.images) {            	nav_company_over = newImage("/images/nav_company_on.gif");        nav_portfolio_over = newImage("/images/nav_portfolio_on.gif");        nav_resources_over = newImage("/images/nav_resources_on.gif");        preloadFlag = true;    }}    ///////////////////////////////////////////////////// Roll-Over & Drop Down Menu Script /////////////////////////////////////////////////////function triggerOn(target, sub) {	triggerOff();	if (document.getElementById && (preloadFlag == true)) {		document.getElementById(target + '_div').style.visibility = 'visible';		document.getElementById('globaloff').style.visibility = 'visible';              	} else if (document.all && (preloadFlag == true)) {	 	eval("document.all." + target + "_div.style.visibility = 'visible'");		document.all.globaloff.style.visibility = "visible";	} else if (document.layers && (preloadFlag == true))     {		eval ("document." + target + "_div.visibility = 'visible'");		document.globaloff.visibility = "visible";	}       } // end triggerOn// Enter the ID of each layer/div that will be hidden by the global trigger in the array below var everybody = new Array ("globaloff", "company_div", "portfolio_div", "resources_div");      function triggerOff() {	for (var i=0; i<everybody.length; i++) {		singleOff(everybody[i]);	}} // end triggerOff                function singleOff(id) {	if (document.getElementById) {		document.getElementById(id).style.visibility = 'hidden';	} else if (document.all) {		eval("document.all." + id + ".style.visibility = 'hidden'");	} else if (document.layers) {		eval ("document." + id + ".visibility = 'hidden'");	}} ///////////////////////////////////////////////////// What?Design Javascript Image Swap /////////////////////////////////////////////////////if (document.images){	home = newImage("/images/button_homeOn.gif");}// Establishes Variablevar recallLocation = '';var recallImage = '';var lastClickLocation = false;var lastClickImage = '';// Basic Image Swap function function imgOn (imgName, imgLoc) {	if (document.images) {		// if imgName and imgLoc are same		if (imgLoc == "") {			imgLoc = imgName;		}		// Store Info for imgOff Before Making the Switch		recallLocation = imgLoc;		recallImage = eval("document." + imgLoc + ".src");		// Make The Switch		document[imgLoc].src = eval(imgName + ".src");	}}// Return Image to Previous Statefunction imgOff () {	if (document.images) {		if (recallLocation != ''){			// recall last image and revert			document[recallLocation].src = recallImage;		}	}}/////////////////////////////////////////////////////  Image Swap on Click - Portfolio  /////////////////////////////////////////////////////function imgClick(imgName){	if (document.images) {		if (lastClickLocation != false){			// recall last image Click and revert			document[lastClickLocation].src = lastClickImage;		}				lastClickLocation = imgName;		lastClickImage = eval ("document." + imgName + ".src");			}	imgOn(imgName, imgName);}/////////////////////////////////////////////////////        Netscape Resize Fix        /////////////////////////////////////////////////////function resize() {	window.history.go(0);}       if (document.layers) {	window.onresize = resize;}/////////////////////////////////////////////////////      CSS Nescape/IE Selector      /////////////////////////////////////////////////////if (ClientInfo.ie) {	document.writeln('<!-- BEGIN: CSS for IE Include -->');	document.writeln('<link rel="stylesheet" type="text/css" href="/includes/global.css">');	document.writeln('<!-- End: CSS for IE Include -->');	} else if (ClientInfo.ns) {	document.writeln('<!-- BEGIN: CSS for NS Include -->');	document.writeln('<link rel="stylesheet" type="text/css" href="/includes/global.css">');	document.writeln('<!-- End: CSS for NS Include -->');}// -->