	function setIEStyles(){
		// Global Variables added by ck for specific browser detection
		var isIE6, ieVersPlace, ieVers, _menu1, _menu2, _menu3, _menu4, _menu5;
		
		// check for specific instance of IE (5+) or Mozilla (Netscape 5+)
		ieVersPlace = navigator.appVersion.indexOf('MSIE') + 5;
		ieVers = navigator.appVersion.substr(ieVersPlace,3);
		ieVers = parseInt(ieVers);
		isIE6 = ( (navigator.appName.indexOf('Microsoft') != -1 && parseInt(ieVers) == 6) ) ? true :false;
		if(isIE6)
		{
			//document.getElementsById('mainnavWrapper').style.backgroundColor = '#8c877d';
			_menu1 = document.getElementById('menu1');
			_menu1.style.marginTop = 29;
			_menu1.style.marginLeft = -103;
			_menu2 = document.getElementById('menu2');
			_menu2.style.marginTop = 29;
			_menu2.style.marginLeft = -207;
			_menu3 = document.getElementById('menu3');
			_menu3.style.marginTop = 29;
			_menu3.style.marginLeft = -45;
			_menu4 = document.getElementById('menu4');
			_menu4.style.marginTop = 29;
			_menu4.style.marginLeft = -116;
			_menu5 = document.getElementById('menu5');
			_menu5.style.marginTop = 29;
			_menu5.style.marginLeft = -80;
		}
	}
	
	function setIEStylesHome(){
		// Global Variables added by ck for specific browser detection
		var isIE6, ieVersPlace, ieVers, _menu1, _menu2, _menu3, _menu4, _menu5;
		
		// check for specific instance of IE (5+) or Mozilla (Netscape 5+)
		ieVersPlace = navigator.appVersion.indexOf('MSIE') + 5;
		ieVers = navigator.appVersion.substr(ieVersPlace,3);
		ieVers = parseInt(ieVers);
		isIE6 = ( (navigator.appName.indexOf('Microsoft') != -1 && parseInt(ieVers) == 6) ) ? true :false;
		if(isIE6)
		{
			_menu1 = document.getElementById('homemenu1');
			_menu1.style.marginTop = 29;
			_menu1.style.marginLeft = -103;
			_menu2 = document.getElementById('homemenu2');
			_menu2.style.marginTop = 29;
			_menu2.style.marginLeft = -207;
			_menu3 = document.getElementById('homemenu3');
			_menu3.style.marginTop = 29;
			_menu3.style.marginLeft = -45;
			_menu4 = document.getElementById('homemenu4');
			_menu4.style.marginTop = 29;
			_menu4.style.marginLeft = -116;
			_menu5 = document.getElementById('homemenu5');
			_menu5.style.marginTop = 29;
			_menu5.style.marginLeft = -80;
		}
	}
	
	var blnTimeoutSelected = false;
	
	function fnSelMainOver(linkObj){
		fnHideAll();
		var strLink = "links_"+linkObj
		if(navigator.appName == "Netscape"){
			selObj = document.getElementById(strLink)
		}else{
			selObj = eval("document.all."+strLink)
		}
		selObj.style.visibility = "visible";
		if(blnTimeoutSelected == false){
			blnTimeoutSelected = true;
			setTimeout('fnHideAll()', 5000);
			setTimeout('setTimeoutFunction()', 5000);
			
		}
		
	}
	
	function setTimeoutFunction(){
		//alert(blnTimeoutSelected)
		blnTimeoutSelected = false;
	}
	
	function fnSelMainOut(linkObj){
		var strLink = "links_"+linkObj
		if(navigator.appName == "Netscape"){
			selObj = document.getElementById(strLink)
		}else{
			selObj = eval("document.all."+strLink)
		}
		
		selObj.style.visibility = "hidden";
	}
	
	function fnHideAll(){
		
		fnSelMainOut("1")
		fnSelMainOut("2")
		fnSelMainOut("3")
		fnSelMainOut("4")
		fnSelMainOut("5")
	}
	function fnShowItems(linkNo){
		var strLink = "linkitem_"+linkNo
		if(navigator.appName == "Netscape"){
			selObj = document.getElementById(strLink)
		}else{
			selObj = eval("document.all."+strLink)
		}
		//selObj = eval("document.all.linkitem_"+linkNo)
		selObj.style.visibility = "visible";
	}
	function fnHideItems(linkNo){
		selObj = eval("document.all.linkitem_"+linkNo)
		selObj.style.visibility = "hidden";
	}
	function fnHideObj(){
		targetObj.style.visibility = "hidden";
	}
	function fnGenPopup(w,h){
		var props = "width="+w+",height="+h+",scrollbars=yes";
		var x = window.open('../printpage.cfm','popwin',props);
	}
	function fnGenEmailPopup(w,h,url){
		var props = "width="+w+",height="+h+",scrollbars=yes";
		var page = '../emailpage.cfm?url=' + url;
		var x = window.open(page,'popwin',props);
	}
	function fnShowArrow(arrowName){
		
		selObj = eval("document.all."+arrowName)
		selObj.style.visibility = "visible";
	}
	function fnHideArrow(arrowName){
		selObj = eval("document.all."+arrowName)
		selObj.style.visibility = "hidden";
	}
	function fnWarningChc(){
		if(document.forms[0].cb_agree.checked == true){
			document.forms[0].submit();
		}
	}
	var detect = navigator.userAgent.toLowerCase();
			var OS,browser,version,total,thestring;

			function checkIt(string) {
				place = detect.indexOf(string) + 1;
				thestring = string;
				return place;
			}
			function setParentUnderLine(){
				setover_lenght();
				var selParentLink = "1";
				
				if(selParentLink != ""){
					//var strParLink = "par_"+selParentLink;
					var strParLink = "over_"+selParentLink;
					if(navigator.appName == "Netscape"){
						selParObj = document.getElementById(strParLink)
					}else{
						selParObj = eval("document.all."+strParLink)
					}
					selParObj.style.visibility = "visible";
				
				}
				
			}
			function setover_lenght(){
				if(checkIt('safari')){
					document.getElementById("over_1").style.left = 158;
					document.getElementById("over_2").style.left = 267;
					document.getElementById("over_3").style.left = 484;
					document.getElementById("over_4").style.left = 630;
					document.getElementById("over_5").style.left = 668;
				}else{
					document.all.over_1.style.left = 159;
					document.all.over_2.style.left = 270;
					document.all.over_3.style.left = 489;
					document.all.over_4.style.left = 615;
					document.all.over_5.style.left = 675;
				}
			}
			
			function validateContact(){
				var mailFilter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
				var boolValid = true;
				if(document.Site_Content.txt_name.value == ""){
					alert("Please enter your name");
					document.Site_Content.txt_name.focus();
					boolValid = false;
				}else
				if(document.Site_Content.txt_telday.value == ""){
					alert("Please enter your telephone number");
					document.Site_Content.txt_telday.focus();
					boolValid = false;
				}else
				if(document.Site_Content.txt_email.value != "" && mailFilter.test(document.Site_Content.txt_email.value) == false){
					alert("Please enter a valid E-mail address")
					document.Site_Content.txt_email.focus();
					boolValid = false;
				}else
				if(document.Site_Content.cb_riskwarn.checked == false){
					alert("Please indicate that you have read the ECU terms and conditions");
					document.Site_Content.cb_riskwarn.focus();
					boolValid = false;
				}
				if(boolValid == true){
					qStr =  "Site_Content.aspx?cid=84&pid=5&gid=5&mid=48";
					qStr = qStr + "&cn=" + document.Site_Content.txt_name.value;
					qStr = qStr + "&td=" + document.Site_Content.txt_telday.value;
					qStr = qStr + "&tn=" + document.Site_Content.txt_telnight.value;
					qStr = qStr + "&em=" + document.Site_Content.txt_email.value;
					qStr = qStr + "&det=" + document.Site_Content.ta_details.value;
					if(document.Site_Content.rad_op[0].checked){
						qStr = qStr + "&op=0";
					}else
					if(document.Site_Content.rad_op[1].checked){
						qStr = qStr + "&op=1";
					}else{
						qStr = qStr + "&op=2";
					}
					
					window.location = qStr;
				}
			}
			var newwindow;
			var wheight = 0, wwidth = 0;
			
			function popitup5(url, title, iwidth, iheight, colour) {
			var pwidth, pheight;
			
			if ( !newwindow || newwindow.closed ) {
			pwidth=iwidth+30;
			pheight=iheight+30;
			newwindow=window.open('','htmlname','width=' + pwidth +',height=' +pheight + ',resizable=1,top=50,left=10');
			wheight=iheight;
			wwidth=iwidth;
			}
			
			if (wheight!=iheight || wwidth!=iwidth ) {
			pwidth=iwidth+30;
			pheight=iheight+90;
			newwindow.resizeTo(pwidth, pheight);
			wheight=iheight;
			wwidth=iwidth;
			}
			
			newwindow.document.clear();
			newwindow.focus();
			newwindow.document.writeln('<html> <head> <title>' + title + '<\/title> <\/head> <body bgcolor= \"' + colour + '\"> <center>');
			newwindow.document.writeln('<img src=' + url + ' title=\"' + title + '\" alt=\"' + title + '\" >');
			newwindow.document.writeln('<\/center> <\/body> <\/html>');
			newwindow.document.close();
			newwindow.focus();
			}
			
			function tidy5() {
			if (newwindow && !newwindow.closed) { newwindow.close(); }
			}