var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;
if (checkIt('msie')) {
if (detect.charAt(place + thestring.length) < 7) {
	document.write('<link href="explorer.css" rel="stylesheet" type="text/css">');
}
if (detect.charAt(place + thestring.length) >= 7 && detect.charAt(place + thestring.length) < 8) {
	document.write('<link href="explorer7.css" rel="stylesheet" type="text/css">');
}
if (detect.charAt(place + thestring.length) >= 8) {
	document.write('<link href="explorer8.css" rel="stylesheet" type="text/css">');
}
} else {
		document.write('<link href="ff.css" rel="stylesheet" type="text/css">');
}
function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}
startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}
window.onload=startList;

function showform() {
	if (document.getElementById("quick_contact").style.display == "none") {
		document.getElementById("quick_contact").style.display = "";
	} else {
		document.getElementById("quick_contact").style.display = "none";
	}
}
//-->
