if( document.images ){
	top_bar_off = new Image();
	top_bar_off.src="./images/hover/more.gif"
	top_bar_home= new Image();
	top_bar_home.src="./images/hover/default.gif"
	top_bar_about= new Image();
	top_bar_about.src="./images/hover/more.gif"
	top_bar_why= new Image();
	top_bar_why.src="./images/hover/why_hire.gif"
	top_bar_prices= new Image();
	top_bar_prices.src="./images/hover/prices.gif"
	top_bar_testimonial= new Image();
	top_bar_testimonial.src="./images/hover/testimonials.gif"
	top_bar_special= new Image();
	top_bar_special.src="./images/hover/specials.gif"
	top_bar_faq= new Image();
	top_bar_faq.src="./images/hover/faq.gif"
	top_bar_spotting= new Image();
	top_bar_spotting.src="./images/hover/spotting.gif"
	top_bar_links= new Image();
	top_bar_links.src="./images/hover/links.gif"
	top_bar_employment= new Image();
	top_bar_employment.src="./images/hover/employ.gif"
	top_bar_estimate= new Image();
	top_bar_estimate.src="./images/hover/estimate.gif"
	top_bar_appointment= new Image();
	top_bar_appointment.src="./images/hover/appoint.gif"
	top_bar_referral= new Image();
	top_bar_referral.src="./images/hover/feedback.gif"
	top_bar_contact= new Image();
	top_bar_contact.src="./images/hover/contact.gif"
	top_bar_sch= new Image();
	top_bar_sch.src="./images/hover/search.gif"
	top_bar_evaluation= new Image();
	top_bar_evaluation.src="./images/hover/free_eval.gif"
	home_on = new Image();
	home_on.src="./images/driver/home_on.gif"
	home_off = new Image();
	home_off.src="./images/driver/home_off.gif"	

	about_on = new Image();
	about_on.src="./images/driver/about_on.gif"
	about_off = new Image();
	about_off.src="./images/driver/about_off.gif"	

	why_on = new Image();
	why_on.src="./images/driver/whyhire_on.gif"
	why_off = new Image();
	why_off.src="./images/driver/whyhire_off.gif"	

	prices_on = new Image();
	prices_on.src="./images/driver/prices_on.gif"
	prices_off = new Image();
	prices_off.src="./images/driver/prices_off.gif"

	testimonial_on = new Image();
	testimonial_on.src="./images/driver/testimonials_on.gif"
	testimonial_off = new Image();
	testimonial_off.src="./images/driver/testimonials_off.gif"	

	special_on = new Image();
	special_on.src="./images/driver/coupons_on.gif"
	special_off = new Image();
	special_off.src="./images/driver/coupons_off.gif"

	faq_on = new Image();
	faq_on.src="./images/driver/faq_on.gif"
	faq_off = new Image();
	faq_off.src="./images/driver/faq_off.gif"

	spotting_on = new Image();
	spotting_on.src="./images/driver/spotting_on.gif"
	spotting_off = new Image();
	spotting_off.src="./images/driver/spotting_off.gif"

	links_on = new Image();
	links_on.src="./images/driver/links_on.gif"
	links_off = new Image();
	links_off.src="./images/driver/links_off.gif"

	employment_on = new Image();
	employment_on.src="./images/driver/employment_on.gif"
	employment_off = new Image();
	employment_off.src="./images/driver/employment_off.gif"
	
	estimate_on = new Image();
	estimate_on.src="./images/driver/onlineestimate_on.gif"
	estimate_off = new Image();
	estimate_off.src="./images/driver/onlineestimate_off.gif"

	appointment_on = new Image();
	appointment_on.src="./images/driver/onlineappoint_on.gif"
	appointment_off = new Image();
	appointment_off.src="./images/driver/onlineappoint_off.gif"
	
    referral_on = new Image();
	referral_on.src="./images/driver/feedback_on.gif"
	referral_off = new Image();
	referral_off.src="./images/driver/feedback_off.gif"
	
	contact_on = new Image();
	contact_on.src="./images/driver/contact_on.gif"
	contact_off = new Image();
	contact_off.src="./images/driver/contact_off.gif"
	
	sch_on = new Image();
	sch_on.src="./images/driver/search_on.gif"
	sch_off = new Image();
	sch_off.src="./images/driver/search_off.gif"
	
	evaluation_on = new Image();
	evaluation_on.src="./images/driver/freeeval_on.gif"
	evaluation_off = new Image();
	evaluation_off.src="./images/driver/freeeval_off.gif"
	
}

function doImage(theImage, turnon){
	if( document.images ){
		if( turnon ){
			theImage.src = eval( theImage.name + "_on.src");
			document.top_bar.src = eval( "top_bar_" + theImage.name + ".src");
		}
	 	else{
	 		theImage.src = eval( theImage.name + "_off.src");
	 		document.top_bar.src = top_bar_off.src
	 	}
 	}
 }