<!--
var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;
bbbbb = function() {
if (checkIt('msie')) {
if (detect.charAt(place + thestring.length) < 7) {
	document.getElementById("content").style.height= "650px";
	if (document.all&&document.getElementById) {
navRoot = document.getElementById("jump1");
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", "");
   }
   }
  }
 }
}}}
function checkIt(string)
{
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}
window.onload=bbbbb;




var answer;
function quantity(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
function delcheck(deltype,url) 
{ 
answer = confirm("You have selected "+deltype+"\n Is this correct?")
if (answer !=0) 
{ 
location = url; 
} 
}
function detailaddress () {
}
function popup2(url,width,height)
{
	newwindow=window.open(url,'name','height='+height+',width='+width+',scrollbars=yes');
	if (window.focus) {newwindow.focus()}
}
function checkform()
{
	if(!document.details.name.value) {
		alert ("Please fill in your name");
		document.details.name.focus()
		return false;
	} else if(!document.details.email.value) {
		alert ("Please fill in your email address");
		document.details.email.focus()
		return false;
	} else if(!document.details.address1.value) {
		alert ("Please fill in your address");
		document.details.address1.focus()
		return false;
	} else if(!document.details.city.value) {
		alert ("Please fill in your city");
		document.details.city.focus()
		return false;
	} else if(!document.details.country.value) {
		alert ("Please select a country");
		return false;
	} else if(!document.details.postcode.value) {
		alert ("Please fill in your postcode");
		document.details.postcode.focus()
		return false;
	} else { 
	return true;
	}
	return false;
}
function gottomake() {
	location = document.nav.carmakes.value;
}
function buslinks() {
	document.getElementById("per1").style.display="none";
	document.getElementById("per2").style.display="none";
	document.getElementById("bus1").style.display="block";
	document.getElementById("bus2").style.display="block";
	document.getElementById("bus3").style.display="block";
	document.getElementById("bus4").style.display="block";
	document.getElementById("bus5").style.display="block";
	document.getElementById("bus6").style.display="block";
	document.getElementById("bus7").style.display="block";
}
function perlinks() {
	document.getElementById("bus1").style.display="none";
	document.getElementById("bus2").style.display="none";
	document.getElementById("bus3").style.display="none";
	document.getElementById("bus4").style.display="none";
	document.getElementById("bus5").style.display="none";
	document.getElementById("bus6").style.display="none";
	document.getElementById("bus7").style.display="none";
	document.getElementById("per1").style.display="block";
	document.getElementById("per2").style.display="block";
}
//-->