var theImages = new Array()


theImages[0] = 'images/bg_sockets.jpg'
theImages[1] = 'images/bg_sockets2.jpg'
theImages[2] = 'images/bg_tools1.jpg'
theImages[3] = 'images/bg_tools2.jpg'
theImages[4] = 'images/bg_lift.jpg'

var j = 0
var p = theImages.length;

var preBuffer = new Array()
for (i = 0; i < p; i++){
   preBuffer[i] = new Image()
   preBuffer[i].src = theImages[i]
}

var whichImage = Math.round(Math.random()*(p-1));
function showImage(){
document.write('<img src="'+theImages[whichImage]+'" class="bg">');
}


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];}}
}

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];}
}


var Tip=new Array()

Tip[0] = "Don't bother topping off when filling your car's gas tank. Any additional gas is just going to slop around or seep out.";
Tip[1] = "Keeping your engine in tune can boost gas mileage by about 4 percent. So be sure to give your car regular tune-ups.";
Tip[2] = "Check your tire pressure once a month and fill to the recommended pressure listed on the placard in your car door. Be sure to check when your tires are cold.";
Tip[3] = "Replacing a clogged air filter could improve your gas mileage by 10 percent and save you 15 cents a gallon. Have your engine air filter checked at each oil change.";
Tip[4] = "Using cruise control on highway trips can help you maintain a constant speed and, in most cases, will reduce your fuel consumption.";
Tip[5] = "Warming up your car isn't necessary for most cars today. Unnecessary idling wastes fuel, costs you money, and pollutes the air.";
Tip[6] = "Even a well-maintained vehicle can break down. Keep an Emergency Roadside Kit with at minimum a flashlight, flares and a white flag, \"Just in case.\"";

var T = Tip.length;
var whichTip=Math.round(Math.random()*(T-1));
function showTip(){document.write(Tip[whichTip]);}





var totallinks=12 //Change this number to match total Quotations

var Quotation=new Array(totallinks)
var Source=new Array(totallinks)
var Link=new Array(totallinks)


Quotation[0] = "I take all my personal vehicles to Doug and recommend him to everybody I know. I never feel like a \"customer\" when I'm there...I always feel like I'm a part of their family. I know I will be taken care of.";
Link[0] = "http://local.yahoo.com/info-22112054-doug-s-auto-tune-repair-kirkland"
Source[0] = "Source: Yahoo Local"

Quotation[1] = "Doug, Josh and entire group make up the mechanic professionals everyone wishes they had. It is said an honest mechanic that does great work is impossible to find, well.... I have found one. These guys are responsive, communicative and reliable.";
Link[1] = "http://local.yahoo.com/info-22112054-doug-s-auto-tune-repair-kirkland"
Source[1] = "Source: Yahoo Local"


Quotation[2] = "Doug's came highly recommended to me as a skilled and reputable repair shop by another type of auto service company in the area. I was certainly not disappointed! Both Doug and Josh have not only gained my trust, they are a pleasure to work with.";
Link[2] = "http://local.yahoo.com/info-22112054-doug-s-auto-tune-repair-kirkland"
Source[2] = "Source: Yahoo Local"


Quotation[3] = "As it happened, Josh was able to get me in quickly the day I called. After they looked at it, Josh told me what the problem was, offered options and wasn't pushy. I'll be taking my cars here from now on.";
Link[3] = "http://local.yahoo.com/info-22112054-doug-s-auto-tune-repair-kirkland"
Source[3] = "Source: Yahoo Local"


Quotation[4] = "Extremely friendly and reliable...got recommended to use Doug's for basic tune up... cost me less than it ever has before... they related to me and were very honest with everything, very knowlegable. This will be the place I take my car from now on.";
Link[4] = "http://www.demandforced3.com/b/106337"
Source[4] = "Source: DemandForce"


Quotation[5] = "Doug's is the best auto repair shop around. Prior to Dougs I went to several others and never trusted what they said, always felt like they were trying to up sell me. You can trust Dougs. Josh is very upfront and great to work with.";
Link[5] = "http://www.demandforced3.com/b/106337"
Source[5] = "Source: DemandForce"

Quotation[6] = "Quick turnaround and very nice and honest people. They knew I was riding my bike to collect my car when it was completed. It was raining and they offered to pick me up. Very thoughtful and appreciated!";
Link[6] = "http://www.demandforced3.com/b/106337"
Source[6] = "Source: DemandForce"

Quotation[7] = "The hardest thing to find when moving to a new city is a good mechanic that you can trust. Well after 1 visit to Doug's I can honestly say I will never take my car anywhere else. Fantastic service, friendly staff and an all around great experience!";
Link[7] = "http://www.demandforced3.com/b/106337"
Source[7] = "Source: DemandForce"

Quotation[8] = "I had a fabulous experience at Doug's Auto. Josh, one of the owners and the mechanic I worked with Bruce, were honest, reliable, quick and cheap. I really felt like they were on my team. I can not recommend Josh, Bruce and the Doug's Team enough.";
Link[8] = "http://www.yelp.com/biz/dougs-auto-tune-and-repair-kirkland"
Source[8] = "Source: Yelp"

Quotation[9] = "We worked with Doug's son, Josh, and he is, without a doubt, a genuinely honest man. He educated us on what was done, why other fixes are unnecessary at this time, and made sure we were completely satisfied. The level of service we received at Doug's was well above our expectations.";
Link[9] = "http://www.yelp.com/biz/dougs-auto-tune-and-repair-kirkland"
Source[9] = "Source: Yelp"

Quotation[10] = "GOOD PEOPLE! They respond very quickly to customer needs and communicate efficiently rather than a sales person trying to get a deal done. Just had my 90k tune up done and the advise and work done could not have been better. I will go here for all of my auto needs.";
Link[10] = "http://g.co/maps/x5vt4"
Source[10] = "Source: Google"

Quotation[11] = "Awesome shop, highly recommend! Went in with my drivers side window fallen into my door. Expected a $300+ bill and a couple days of no car, instead a few hours and 4 bolts later my car was ready to go for way less than expected. I will use these guys for all my car needs from now on!";
Link[11] = "http://g.co/maps/x5vt4"
Source[11] = "Source: Google"



var CustomerQuoteGenerator=Math.floor(Math.random()*totallinks)


var cont=Quotation[CustomerQuoteGenerator]
cont+="<p class=\"source\"><a href='"+Link[CustomerQuoteGenerator]+"' target=\"_blank\">"
cont+=Source[CustomerQuoteGenerator]+"</a>"
function showQuotation(){document.write(cont);}
