//Get cookie routine by Shelley Powers function get_cookie(Name) {  var search = Name + "="  var returnvalue = "";  if (document.cookie.length > 0) {    offset = document.cookie.indexOf(search)    // if cookie exists    if (offset != -1) {       offset += search.length      // set index of beginning of value      end = document.cookie.indexOf(";", offset);      // set index of end of cookie value      if (end == -1) end = document.cookie.length;      returnvalue=unescape(document.cookie.substring(offset, end))      }   }  return returnvalue;}ticker = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='734' height='20' id='ticker'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='ticker.swf' /><param name='quality' value='best' /><param name='wmode' value='transparent' /><embed src='ticker.swf' quality='best' wmode='transparent' width='734' height='20' name='ticker' allowscriptaccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>"function flashNav(nav,subNav){	navLoc = "navLoc="+nav+"&subLoc="+subNav;	/*if(document.location.href.indexOf("?")>-1){		currentLoc = document.location.href;		navLoc = currentLoc.substr(currentLoc.indexOf("?")+1);	}else{		navLoc = "";	}*/	document.write("<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='187' height='597' id='home' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='nav.swf?"+navLoc+"' /><param name='quality' value='best' /><param name='wmode' value='transparent' /><param name='bgcolor' value='#ffffff' /><embed src='nav.swf?"+navLoc+"' quality='best' wmode='transparent' bgcolor='#ffffff' width='187' height='597' name='nav' align='middle' allowscriptaccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>");	window.setTimeout(showNav,100);}function showNav(){	document.getElementById("navDiv").style.visibility="visible"}function bgPhoto(){	document.write("<img src='images/photo_home"+get_cookie("bgImg")+".jpg' width='998' height='597' />");}if(!get_cookie("bgImg")){	document.cookie="bgImg="+Math.ceil(3*Math.random()); }function showContent(){	//alert(true)	//clearTimeout(startContent);	//document.getElementById("copyArea").style.visibility="visible";}// animation of backgroundwidthVal = 0;heightVal = 16;trigger = 0;interval = 20;widthVal = 600;noScale=0;startLoc = 300;function changeWidth(thisHeight){		if(trigger!=1){		document.getElementById("copyAreaBg").style.top = thisHeight+"px";		trigger = 1;	}	if(widthVal<500){		interval+=5		widthVal+=interval;		document.getElementById("copyAreaBg").style.width = widthVal+"px";		window.setTimeout('changeWidth()',10);	}else{		document.getElementById("copyAreaBg").style.width = widthVal+"px";		changeHeight();	}}function setStartLoc(which){	startLoc = which;}function startScale(){	changeWidth(startLoc);}window.setTimeout(startScale,300);function changeHeight(){	if(heightVal<520){		if(heightVal<200){			interval+=1;			heightVal+=interval;			currentTop = document.getElementById("copyAreaBg").offsetTop;			currentHeight = document.getElementById("copyAreaBg").offsetHeight;			document.getElementById("copyAreaBg").style.top = (currentTop-(interval/1.9))+"px";			document.getElementById("copyAreaBg").style.height = heightVal+"px";			window.setTimeout('changeHeight()',1);		}else{			document.getElementById("titleArea").style.visibility="visible";			document.getElementById("copyAreaBg").style.height = 520+"px";			document.getElementById("copyAreaBg").style.top = 77+"px";			window.setTimeout('showCopy()',200);		}	}	}function showCopy(){	document.getElementById("copyArea").style.visibility="visible";}function onSelectOption (){	var f = window.document.changeYear.year;	var strMake = f.options[f.selectedIndex].value;	if(strMake!=0){		document.getElementById("contentArea").src  = "content/pr_"+ strMake + '.html';		document.forms[0].reset();	}}    function centerScreen(url,wide,high,scroll,thename){	if(scroll==1){ scrolling="auto";	} else {		scrolling = "no"	}	newX = (screen.availWidth/2)-(wide/2);	newY = (screen.availHeight/2)-(high/2);	//Change the following URL to point to the directory where flash_detect.html resides, if different from the opener.	window.open(url,thename,'width='+(wide)+',height='+(high)+',status=no,location=no,left='+newX+',screenX='+newX+',top='+newY+',screenY='+newY+',scrollbars=yes,resizable=no,menubar=yes,toolbar=no');}function lightLink(which,state){	if(state==1){		colorVal = "#FFFFFF";	}else{		colorVal = "none";	}	which.style.background=colorVal;}