$(document).ready(function(){	startList();	showRandom();	$("#rgbutton").click(function () {		showRG();		return false;	});		$("#scbutton").click(function () {		showSC();		return false;	});	$("#rgLink").click(function () {		document.location.href='default.cfm?pid=1.6.1';	});	$("#scLink").click(function () {		document.location.href='default.cfm?pid=1.6.2';	});		$("#rg_360_link").click(function () {		tb_show("RoGator 360 View - Rollover any of the highlighted spots for more details.","#TB_inline?height=560&width=850&inlineId=rg_thickbox");		return false;	});	$("#comparelink").click(function () {		tb_show("Compare The Brands.","#TB_inline?height=220&width=600&inlineId=comparethebrands");		return false;	});	$(".close").click(function () {		tb_remove();	});		$('#SearchZip_header').click(function(){		if($(this).val()=='Enter Postal Code'){			$(this).val('');		}	});	$('#SearchZip_header').blur(function(){		if($(this).val()==''){			$(this).val('Enter Postal Code');		}	});});function showRandom(){	var n = Math.random();	if(n<=.5){		showRGQuick();		return true;	}	if(n<=1){		showSCQuick();		return true;	}}function showRG(){	$(".rg").show(600, "easeInExpo");	$(".sc").hide(600, "easeOutExpo");	$("#rgbutton").addClass("active");	$("#scbutton").removeClass("active");	$("#SearchBrand_header").val("RoGator");}function showSC(){	$(".sc").show(600, "easeInExpo");	$(".rg").hide(600, "easeOutExpo");	$("#scbutton").addClass("active");	$("#rgbutton").removeClass("active");	$("#SearchBrand_header").val("SpraCoupe");}function showRGQuick(){	$(".rg").show();	$(".sc").hide();	$("#rgbutton").addClass("active");	$("#scbutton").removeClass("active");	$("#SearchBrand_header").val("RoGator");}function showSCQuick(){	$(".sc").show();	$(".rg").hide();	$("#scbutton").addClass("active");	$("#rgbutton").removeClass("active");	$("#SearchBrand_header").val("SpraCoupe");}startList = function() {	if (document.all&&document.getElementById) {		navRoot = document.getElementById("nav");		for (i=0; i<navRoot.childNodes.length; i++) {			node = navRoot.childNodes[i];			if (node.nodeName=="LI") {				node.onmouseover=function() {					this.className+=" over";				}				node.onmouseout=function() {					this.className=this.className.replace(" over", "");				}			}		}	}}

