
<!-- Browser Check -->
iens6=document.all||document.getElementById
ns4=document.layers

<!--GLOBAL VARIABLES-->
var thename
var theobj
var thetext
var winHeight
var winPositionFromTop
var winWidth
var startH=2
var openTimer
var leftPosition
var adtoolbar
var var_login
<!--END GLOBAL VARIABLES-->

// check if user is logged in to membersonly section
var var_name = document.location.search.substring(1, 6)
if(var_name == "login"){
	var_login = document.location.search.substring(7, document.location.search.length)
}
else{
	var_login = ''
}


<!--DEFINE MOUSEOVER CONTENT-->
var textArray = new Array

// CHANGE EACH ARRAY ELEMENT BELOW TO YOUR OWN CONTENT. MAKE SURE TO USE SINGLE QUOTES INSIDE DOUBLE QUOTES.
adtoolbar = "<table width='100%' bgcolor='0000ff'><tr bgcolor='0000ff'><td align='left'><h5 class='bold' style='color: white'>Did You Know ...?</h5></td><td align='right'><h5 align='right'><a href='Javascript: clearTimeout(openTimer);stopIt()'><img src='../admin/remove.gif' border=0></a></h5></td></tr></table>"
// add more weight to this ad
textArray[1]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Give us your opinions on a short survey and win a FREE $5 McDonald's coupon book and be entered into a drawing for <a href='../html/boschgifts.html' target= '_blank'>Valuable Prizes!</a><br><br>Click <a href='https://www.autohausaz.com/membersonly/login.cfm?url=https://www.autohausaz.com/membersonly/newsitesurvey.cfm'>HERE</a> to take this quick survey NOW - only the first 100 respondents qualify for the McDonald's coupon books. All survey submissions are eligible for the drawing for valuable prizes.</font>"
//textArray[1]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Do you belong to a car club? We're currently designing a Car Club Program that will offer additional savings and benefits to car club members. Your feedback is important to us to help design a program that will help your club. Click <a href='http://www.autohausaz.com/html/club_survey.cfm' target='blank'>HERE</a> to offer suggestions on the design of this exciting new Car Club Program.</font>"
textArray[2]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Do you belong to a car club? We're currently designing a Car Club Program that will offer additional savings and benefits to car club members. Your feedback is important to us to help design a program that will help your club. Click <a href='http://www.autohausaz.com/html/club_survey.cfm' target='blank'>HERE</a> to offer suggestions on the design of this exciting new Car Club Program.</font>"
textArray[3]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Do you belong to a car club? We're currently designing a Car Club Program that will offer additional savings and benefits to car club members. Your feedback is important to us to help design a program that will help your club. Click <a href='http://www.autohausaz.com/html/club_survey.cfm' target='blank'>HERE</a> to offer suggestions on the design of this exciting new Car Club Program.</font>"
// add more weight to this ad
if(var_login == ''){
 	textArray[4]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can store your car's repair log, post reminders to yourself on repairs to be done and even have automatic email reminders sent to you when it's time to tackle those repairs? Click <a href='https://www.autohausaz.com/membersonly/login.cfm?url=https://www.autohausaz.com/membersonly/selveh_service.cfm?'>HERE</a> to get started!</font>"
 	textArray[5]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can store your car's repair log, post reminders to yourself on repairs to be done and even have automatic email reminders sent to you when it's time to tackle those repairs? Click <a href='https://www.autohausaz.com/membersonly/login.cfm?url=https://www.autohausaz.com/membersonly/selveh_service.cfm?'>HERE</a> to get started!</font>"
 	textArray[6]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can store your car's repair log, post reminders to yourself on repairs to be done and even have automatic email reminders sent to you when it's time to tackle those repairs? Click <a href='https://www.autohausaz.com/membersonly/login.cfm?url=https://www.autohausaz.com/membersonly/selveh_service.cfm?'>HERE</a> to get started!</font>"
 }
 else{
 	textArray[4]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can store your car's repair log, post reminders to yourself on repairs to be done and even have automatic email reminders sent to you when it's time to tackle those repairs? Click <a href='https://www.autohausaz.com/membersonly/selveh_service.cfm?login=" + var_login + "'>HERE</a> to get started!</font>"
 	textArray[5]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can store your car's repair log, post reminders to yourself on repairs to be done and even have automatic email reminders sent to you when it's time to tackle those repairs? Click <a href='https://www.autohausaz.com/membersonly/selveh_service.cfm?login=" + var_login + "'>HERE</a> to get started!</font>"
 	textArray[6]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can store your car's repair log, post reminders to yourself on repairs to be done and even have automatic email reminders sent to you when it's time to tackle those repairs? Click <a href='https://www.autohausaz.com/membersonly/selveh_service.cfm?login=" + var_login + "'>HERE</a> to get started!</font>"
 }
 if(var_login == ''){
 	textArray[7]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know that you can save up to 90% on parts for your European car at AutohausAZ? Click <a href='../search/make.aspx'>HERE</a> to search our online catalog.</font>"
 }
 else{
 	textArray[7]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Do you belong to a car club? We're currently designing a Car Club Program that will offer additional savings and benefits to car club members. Your feedback is important to us to help design a program that will help your club. Click <a href='http://www.autohausaz.com/html/club_survey.cfm' target='blank'>HERE</a> to offer suggestions on the design of this exciting new Car Club Program.</font>"
 }
 textArray[8]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you receive free UPS ground shipping (continental USA) for all orders over $50? And, for those of you in Alaska and Hawaii, you'll get a credit against your freight equal to Zone 8 UPS ground? Click <a href='http://www.autohausaz.com/html/freight.html' target='blank'>HERE</a> for information on our free freight policy.</font>"
 
 if(var_login == ''){
 	textArray[9]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can search our online catalog for needed parts on specific repair jobs? Click <a href='http://www.autohausaz.com/search/make.aspx?Link=repairjob'>HERE</a> to search by repair jobs for your selected car.</font>"
 	textArray[10]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can search our online catalog by parts grouping (type of part)? Click <a href='http://www.autohausaz.com/search/make.aspx?Link=partsgrouping'>HERE</a> to search for such parts as all the hoses, all the belts, all the filters, etc. on your selected car.</font>"
 	textArray[11]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can search our online catalog by parts that offer the highest discounts? Click <a href='http://www.autohausaz.com/search/make.aspx?Link=savings'>HERE</a> to search for parts that offer 50%+ savings on your selected car.</font>"
 }
 else{
 	textArray[9]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can search our online catalog for needed parts on specific repair jobs? Click <a href='https://www.autohausaz.com/membersonly/lookup_vehicleinfo1.cfm?login=" + var_login + "&Link=repairjob'>HERE</a> to search by repair jobs for your selected car.</font>"
 	textArray[10]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can search our online catalog by parts grouping (type of part)? Click <a href='https://www.autohausaz.com/membersonly/lookup_vehicleinfo1.cfm?login=" + var_login + "&Link=partsgrouping'>HERE</a> to search for such parts as all the hoses, all the belts, all the filters, etc. on your selected car.</font>"
 	textArray[11]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can search our online catalog by parts that offer the highest discounts? Click <a href='https://www.autohausaz.com/membersonly/lookup_vehicleinfo1.cfm?login=" + var_login + "&Link=savings'>HERE</a> to search for parts that offer 50%+ savings on your selected car.</font>"
 }
 textArray[12]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you will be entered into monthly drawing on all your orders of $100+? Click <a href='http://www.autohausaz.com/html/specials.html'  target='blank'>HERE</a> to view our current specials and discounts.</font>"
 
 textArray[13]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can get free technical advice on many types of repairs and maintenance for your car in Gasoline Alley? Click <a href='http://www.autohausaz.com/html/tech_tips.html' target='blank'>HERE</a> to view the current available articles.</font>"
 
 textArray[14]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Did you know you can read car care tips submitted by other do-it-yourselfers in the Import Auto News archives? Click <a href='http://www.autohausaz.com/html/import-auto-news.html' target='blank'>HERE</a> to view the topics currently available.</font>"
 
 textArray[15]= adtoolbar + "<font style='font-style: normal; font-size: 12px;'>Do you have a car care tip you'd like to share with other do-it-yourselfers? Click <a href='http://www.autohausaz.com/html/import-auto-tips.html' target='blank'>HERE</a> to submit your tip for publication in an upcoming issue of Import Auto News.</font>"

<!--END DEFINE MOUSEOVER CONTENT-->

<!-- GENERATE RANDOM AD NUMBER
function getRandom(min,max)
{
   return (Math.round(Math.random()*(max-min)))+min;
}

<!--GLOBAL FUNCTIONS-->
function setObj(elementpos,theswitch,inwidth,inheight,leftpos) {
	var textnumber = getRandom(4,14)
	thetext=textArray[textnumber]
	if(iens6){
		thename = "viewer"
		theobj=document.getElementById? document.getElementById(thename):document.all.thename
		winHeight=thetext.length/3.4
		if(thetext.length < 500)
			winHeight = winHeight
		switch(textnumber){
			case 1 :
				winHeight = 205
				break
			case 2 :
				winHeight = 170
				break
			case 3 :
				winHeight = 170
				break
			case 4 :
				winHeight = 130
				break
			case 5 :
				winHeight = 130
				break
			case 6 :
				winHeight = 130
				break
			case 7 :
				if(var_login == '') winHeight = winHeight - 30
				else winHeight = 175
				break
			case 9 :
				winHeight = 110
				break
			case 8 :
				winHeight = 150
				break
			case 10 :
				winHeight = 110
				break
			case 11 :
				winHeight = 112
				break
			case 12 :
				winHeight = 100
				break
			case 13 :
				winHeight = 110
				break
			case 14 :
				winHeight = 115
				break
			case 15 :
				winHeight = winHeight - 18
				break
		}
			if(iens6&&document.all) {
				winPositionFromTop=document.body.clientHeight
				winWidth=(document.body.clientWidth-document.body.leftMargin)
				leftPosition=0
			}
			if(iens6&&!document.all) {
				winPositionFromTop=window.innerHeight
				winWidth=(window.innerWidth-(document.body.offsetLeft+20))
				leftPosition=0
			}
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=winHeight
				if(iens6&&document.all) {
					if(leftpos=="right") {
						leftPosition=(document.body.clientWidth-winWidth)
					}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
						leftPosition=0
					}else{
						leftPosition=leftpos
					}
				}
				if(iens6&&!document.all) {
					if(leftpos=="right") {
						leftPosition=(window.innerWidth-winWidth)-20
					}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
						leftPosition=0
					}else{
						leftPosition=leftpos
					}
				}
			}
		theobj.style.width=winWidth
		theobj.style.height=startH
		theobj.style.left=leftPosition
			if(iens6&&document.all) {
				theobj.style.top=document.body.scrollTop+winPositionFromTop
				theobj.innerHTML = ""
				theobj.insertAdjacentHTML("BeforeEnd","<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
			}
			if(iens6&&!document.all) {
				theobj.style.top=window.pageYOffset+winPositionFromTop
				theobj.innerHTML = ""
				theobj.innerHTML="<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=0><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>"
			}
	}
	if(ns4){
		thename = "nsviewer"
		theobj = eval("document."+thename)
		winPositionFromTop=window.innerHeight
		winWidth=window.innerWidth
		winHeight=100
		leftPosition=0
			if(theswitch=="override") {
				winWidth=inwidth
				winHeight=inheight
				if(leftpos=="right") {
					leftPosition=(window.innerWidth-winWidth)
				}else if(leftpos=="left" || leftpos=="" || leftpos==null) {
					leftPosition=0
				}else{
					leftPosition=leftpos
				}
			}
		theobj.moveTo(leftPosition,eval(window.pageYOffset+winPositionFromTop))
		theobj.width=winWidth
		theobj.clip.width=winWidth
		theobj.document.write("<table cellspacing=0 width="+winWidth+" height="+winHeight+" border=1><tr><td width=100% valign=top><font type='times' size='2' style='color:black;font-weight:normal'>"+thetext+"</font></td></tr></table>")
		theobj.document.close()
	}
	viewIt()
}

function makeStatic() {
if (iens6) {
	if(iens6&&document.all) {
		theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
	}
	if(iens6&&!document.all) {
		theobj.style.top=window.pageYOffset
	}
}
else if (ns4) {eval(document.viewer.top=eval(window.pageYOffset));}
openTimer=setTimeout("makeStatic()",0);
}

function viewIt() {
	if(startH<=winHeight) {
		if(iens6) {
			theobj.style.visibility="visible"
				if(iens6&&document.all) {
					theobj.style.top=(document.body.scrollTop+winPositionFromTop)-startH
				}
				if(iens6&&!document.all) {
					theobj.style.top=(window.pageYOffset+winPositionFromTop)-startH
				}
			theobj.style.height=startH
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
		if(ns4) {
			theobj.visibility = "visible"
			theobj.moveTo(leftPosition,(eval(window.pageYOffset+winPositionFromTop)-startH))
			theobj.height=startH
			theobj.clip.height=(startH)
			startH+=2
			openTimer=setTimeout("viewIt()",10)
		}
	}else{
		clearTimeout(openTimer)
		makeStatic()
	}
}

function stopIt() {
	if(iens6) {
		theobj.innerHTML = ""
		theobj.style.visibility="hidden"
		startH=2
	}
	if(ns4) {
		theobj.document.write("")
		theobj.document.close()
		theobj.visibility="hidden"
		theobj.width=0
		theobj.height=0
		theobj.clip.width=0
		theobj.clip.height=0
		startH=2
	}
}
<!--END GLOBAL FUNCTIONS-->