
var d=document;
if (navigator.appName == "Netscape"){ 
	d.write('<link href="nn.css" type=text/css rel=stylesheet>');
} else { 
	d.write('<link href="ie.css" type=text/css rel=stylesheet>');
}
/*
function loadBackground() {
	d.body.style.background = 'url(images/MuddyTyre2.jpg)';
}
*/

function openWin(productImage, winWidth, winHeight){
	var memberFile = 'product_details.shtml?' + productImage;
	window.open(memberFile,"MUDGalleryImage",'toolbar=0,width=' + winWidth + ',height=' + winHeight + ',status=0,scrollbars=0,resizable=0,menubar=0');
}

function popUp(productImage, winWidth, winHeight){
	winHeight = winHeight - 0 + 25;
	var memberFile = 'pop_up.html?' + productImage;
	window.open(memberFile,"MUDGalleryImage",'toolbar=0,width=' + winWidth + ',height=' + winHeight + ',status=0,scrollbars=0,resizable=0,menubar=0');
}

rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
        rnd.seed = (rnd.seed*9301+49297) % 233280;
        return rnd.seed/(233280.0);
}

function rand(number) {
        return Math.ceil(rnd()*number);
}


function randomHeader() {
	x = rand(20);
	d.write('<img src="banners/' + x +'.jpg" width="532" height="151" border="0" title="Land Rover Solutions" alt="Land Rover Solutions">');
}
