// NAV SCRIPT STARTfunction MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_preloadImages() { //v3.0 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}// NAV SCRIPT END// POPUP SCRIPTfunction PopupCar( docname ){    var w = window.open( docname, "popupcar", "toolbar=no,scrollbars=no,resizable=no,width=420,height=320 align=center" )    w.focus();}function PopupCar2( docname ){    var w = window.open( docname, "popupcar2", "toolbar=no,scrollbars=no,resizable=no,width=820,height=554 align=center" )    w.focus();}function PopupPremises( docname ){    var w = window.open( docname, "popuppremises", "toolbar=no,scrollbars=no,resizable=no,width=520,height=400" )    w.focus();}function Popup800x600( docname ){    var w = window.open( docname, "popup800x600", "toolbar=no,scrollbars=no,resizable=no,width=820,height=600" )    w.focus();}function PopupGallery( docname ){    var w = window.open( docname, "popupgallery", "toolbar=no,scrollbars=yes,resizable=no,width=600,height=500" )    w.focus();}// Ticker Beginfunction writeMarquee() {document.write("<marquee scrolldelay='100' scrollamount='3' class='ticker'><b><a href='car-exhaust-models.html'>Stainless Steel Exhausts...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='car-servicing-models.html'>Car Servicing...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='car-remap-models.html'>ECU Remaps...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='car-servicing.html'>MOT's...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='products.html'>Other Products &amp; Services...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='customer-cars1.html'>Customer Cars...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='aboutus.html'>About MIJ...</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href='view-making-an-exhaust-system.html'>MIJ Exhaust Construction...</a></b></marquee>");}// Ticker End//Disable right mouse click Scriptvar message="Copyright 2004 - 2008 MIJ Performance UK";///////////////////////////////////function clickIE4(){if (event.button==2){alert(message);return false;}}function clickNS4(e){if (document.layers||document.getElementById&&!document.all){if (e.which==2||e.which==3){alert(message);return false;}}}if (document.layers){document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS4;}else if (document.all&&!document.getElementById){document.onmousedown=clickIE4;}document.oncontextmenu=new Function("alert(message);return false")// -------------------------------------------------------------------// Image Thumbnail Viewer II- By Dynamic Drive, available at: http://www.dynamicdrive.com// Last updated: Feb 5th, 2007// -------------------------------------------------------------------var thumbnailviewer2={enableTitle: true, //Should "title" attribute of link be used as description?enableTransition: true, //Enable fading transition in IE?hideimgmouseout: false, //Hide enlarged image when mouse moves out of anchor link? (if enlarged image is hyperlinked, always set to false!)/////////////No need to edit beyond here/////////////////////////iefilterstring: 'progid:DXImageTransform.Microsoft.GradientWipe(GradientSize=1.0 Duration=0.7)', //IE specific multimedia filter stringiefiltercapable: document.compatMode && window.createPopup? true : false, //Detect browser support for IE filterspreloadedimages:[], //array to preload enlarged images (ones set to display "onmouseover"targetlinks:[], //array to hold participating links (those with rel="enlargeimage:initType")alreadyrunflag: false, //flag to indicate whether init() function has been run already come window.onloadloadimage:function(linkobj){var imagepath=linkobj.getAttribute("href") //Get URL to enlarged imagevar showcontainer=document.getElementById(linkobj.getAttribute("rev").split("::")[0]) //Reference container on page to show enlarged image invar dest=linkobj.getAttribute("rev").split("::")[1] //Get URL enlarged image should be linked to, if anyvar description=(thumbnailviewer2.enableTitle && linkobj.getAttribute("title"))? linkobj.getAttribute("title") : "" //Get title attrvar imageHTML='<img src="'+imagepath+'" style="border-width: 0" />' //Construct HTML for enlarged imageif (typeof dest!="undefined") //Hyperlink the enlarged image?imageHTML='<a href="'+dest+'">'+imageHTML+'</a>'if (description!="") //Use title attr of the link as description?imageHTML+='<br />'+descriptionif (this.iefiltercapable){ //Is this an IE browser that supports filters?showcontainer.style.filter=this.iefilterstringshowcontainer.filters[0].Apply()}showcontainer.innerHTML=imageHTMLthis.featureImage=showcontainer.getElementsByTagName("img")[0] //Reference enlarged image itselfthis.featureImage.onload=function(){ //When enlarged image has completely loadedif (thumbnailviewer2.iefiltercapable) //Is this an IE browser that supports filters?showcontainer.filters[0].Play()}this.featureImage.onerror=function(){ //If an error has occurred while loading the image to showif (thumbnailviewer2.iefiltercapable) //Is this an IE browser that supports filters?showcontainer.filters[0].Stop()}},hideimage:function(linkobj){var showcontainer=document.getElementById(linkobj.getAttribute("rev").split("::")[0]) //Reference container on page to show enlarged image inshowcontainer.innerHTML=""},cleanup:function(){ //Clean up routine on page unloadif (this.featureImage){this.featureImage.onload=null; this.featureImage.onerror=null; this.featureImage=null}this.showcontainer=nullfor (var i=0; i<this.targetlinks.length; i++){this.targetlinks[i].onclick=nullthis.targetlinks[i].onmouseover=nullthis.targetlinks[i].onmouseout=null}},addEvent:function(target, functionref, tasktype){ //assign a function to execute to an event handler (ie: onunload)var tasktype=(window.addEventListener)? tasktype : "on"+tasktypeif (target.addEventListener)target.addEventListener(tasktype, functionref, false)else if (target.attachEvent)target.attachEvent(tasktype, functionref)},init:function(){ //Initialize thumbnail viewer scriptthis.iefiltercapable=(this.iefiltercapable && this.enableTransition) //True or false: IE filters supported and is enabled by uservar pagelinks=document.getElementsByTagName("a")for (var i=0; i<pagelinks.length; i++){ //BEGIN FOR LOOPif (pagelinks[i].getAttribute("rel") && /enlargeimage:/i.test(pagelinks[i].getAttribute("rel"))){ //Begin if statement: Test for rel="enlargeimage"var initType=pagelinks[i].getAttribute("rel").split("::")[1] //Get display type of enlarged image ("click" or "mouseover")if (initType=="mouseover"){ //If type is "mouseover", preload the enlarged image for quicker displaythis.preloadedimages[this.preloadedimages.length]=new Image()this.preloadedimages[this.preloadedimages.length-1].src=pagelinks[i].hrefpagelinks[i]["onclick"]=function(){ //Cancel default click actionreturn false}}pagelinks[i]["on"+initType]=function(){ //Load enlarged image based on the specified display type (event)thumbnailviewer2.loadimage(this) //Load imagereturn false}if (this.hideimgmouseout)pagelinks[i]["onmouseout"]=function(){thumbnailviewer2.hideimage(this)}this.targetlinks[this.targetlinks.length]=pagelinks[i] //store reference to target link} //end if statement} //END FOR LOOP} //END init() function}if (document.addEventListener) //Take advantage of "DOMContentLoaded" event in select Mozilla/ Opera browsers for faster initthumbnailviewer2.addEvent(document, function(){thumbnailviewer2.alreadyrunflag=1; thumbnailviewer2.init()}, "DOMContentLoaded") //Initialize script on page loadelse if (document.all && document.getElementsByTagName("a").length>0){ //Take advantage of "defer" attr inside SCRIPT tag in IE for instant initthumbnailviewer2.alreadyrunflag=1thumbnailviewer2.init()}thumbnailviewer2.addEvent(window, function(){if (!thumbnailviewer2.alreadyrunflag) thumbnailviewer2.init()}, "load") //Default init method: window.onloadthumbnailviewer2.addEvent(window, function(){thumbnailviewer2.cleanup()}, "unload")//--------------------------------------- END ----------------------------------------------///*//Pre-loads your image/s below//Configure below - change URL path to the snow imagegrphcs=new Array(6)Image0=new Image();Image0.src=grphcs[0]="snow3.gif";Image1=new Image();Image1.src=grphcs[1]="snow4.gif"Image2=new Image();Image2.src=grphcs[2]="snow5.gif"Image3=new Image();Image3.src=grphcs[3]="snow6.gif"Image4=new Image();Image4.src=grphcs[4]="snow5.gif"Image5=new Image();Image5.src=grphcs[5]="snow2.gif"//Smoothness depends on image file size, //the smaller the size the more you can use!// Configure below - change number of snow to renderAmount=30; Ypos=new Array();Xpos=new Array();Speed=new Array();Step=new Array();Cstep=new Array();ns=(document.layers)?1:0;ns6=(document.getElementById&&!document.all)?1:0;if (ns){	for (i = 0; i < Amount; i++){		var P=Math.floor(Math.random()*grphcs.length);		rndPic=grphcs[P];		document.write("<LAYER NAME='sn"+i+"' LEFT=0 TOP=0><img src="+rndPic+"></LAYER>");	}}else{	document.write('<div style="position:absolute;top:0px;left:0px"><div style="position:relative">');	for (i = 0; i < Amount; i++){		var P=Math.floor(Math.random()*grphcs.length);		rndPic=grphcs[P];		document.write('<img id="si'+i+'" src="'+rndPic+'" style="position:absolute;top:0px;left:0px">');	}	document.write('</div></div>');}WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;for (i=0; i < Amount; i++){	Ypos[i] = Math.round(Math.random()*WinHeight);	Xpos[i] = Math.round(Math.random()*WinWidth);	Speed[i]= Math.random()*5+3;	Cstep[i]=0;	Step[i]=Math.random()*0.1+0.05;}function fall(){	var WinHeight=(ns||ns6)?window.innerHeight:window.document.body.clientHeight;	var WinWidth=(ns||ns6)?window.innerWidth-70:window.document.body.clientWidth;	var hscrll=(ns||ns6)?window.pageYOffset:document.body.scrollTop;	var wscrll=(ns||ns6)?window.pageXOffset:document.body.scrollLeft;	for (i=0; i < Amount; i++){		sy = Speed[i]*Math.sin(90*Math.PI/180);		sx = Speed[i]*Math.cos(Cstep[i]);		Ypos[i]+=sy;		Xpos[i]+=sx;		if (Ypos[i] > WinHeight){			Ypos[i]=-60;			Xpos[i]=Math.round(Math.random()*WinWidth);			Speed[i]=Math.random()*5+3;		}		if (ns){			document.layers['sn'+i].left=Xpos[i];			document.layers['sn'+i].top=Ypos[i]+hscrll;		}		else if (ns6){			document.getElementById("si"+i).style.left=Math.min(WinWidth,Xpos[i]);			document.getElementById("si"+i).style.top=Ypos[i]+hscrll;		}		else{			eval("document.all.si"+i).style.left=Xpos[i];			eval("document.all.si"+i).style.top=Ypos[i]+hscrll;		}		Cstep[i]+=Step[i];	}	setTimeout('fall()',100);}window.onload=fall//end of snow -------------------------------------------------*//*Background music scriptBy JavaScript Kit (http://javascriptkit.com)Over 400+ free scripts here!//specify FULL path to midivar musicsrc="santa1.mid"var vol="-2800"if (navigator.appName=="Microsoft Internet Explorer")document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite" volume='+'"'+vol+'"'+'>')else document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="true" volume="-1000">')*/