function Today() {
  var Value;

  var Months=new Array("January","February","March","April","May","June","July","August","September","October","November","December");  
  var Days= new Array("Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday");  
  Days[0]="Monday";  
  today = new Date();
  var thisyear = today.getYear();  
  Value =  Days[today.getDay()-1] + "&nbsp;&nbsp;";
  Value += Months[today.getMonth()] + " " + today.getDate() + ", ";    
  if (thisyear >= 2000)
    Value += thisyear;
  else
    Value += (1900 + thisyear);
    
  return Value;}



function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=551');");
}




function Navigate() {
var number = NavSelect.selectedIndex;
location.href = NavSelect.options[number].value; }




function checkField() {
		var copyover=document.mtr.cc1.value;
		var letters='';
		for (var i = 0; i < copyover.length; i++) {
			if ((copyover.charCodeAt(i) == 124)) {
				letters += '\\\\' + copyover.substr(i,1);
			}
				else {
				if ((copyover.charCodeAt(i) == 92)) {
					document.mtr.cc1.value="test";
				}
				else {
					letters += copyover.substr(i,1);
				}
			}
		}
		document.mtr.cc9.value=letters;
	}



function rollover()
{
  document.getElementById("col1").className="Highlight";
  document.getElementById("col2").className="Highlight";
}
function rollout()
{
  document.getElementById("col1").className="Normal";
  document.getElementById("col2").className="Normal";
}

var make = new String(''); 
make = make.replace(/[%]+/g,''); 

var model = new String(''); 
model = model.replace(/[%]+/g,''); 

var year = new String(''); 
year = year.replace(/[%]+/g,''); 

var ad_keyword_1 = new String(''); 
ad_keyword_1 = ad_keyword_1.replace(/[%]+/g,''); 

var ad_keyword_2 = new String(''); 
ad_keyword_2 = ad_keyword_2.replace(/[%]+/g,''); 

var auto_segment = new String(''); 
auto_segment = auto_segment.replace(/[%]+/g,''); 

	
function goto_URL(object) {
   window.open(object.options[object.selectedIndex].value,'windowName');
}

myPix = new Array("images/indeximage1.jpg", "images/indeximage2.jpg", "images/indeximage3.jpg", "images/indeximage4.jpg",
	"images/indeximage5.jpg", "images/indeximage6.jpg", "images/indeximage7.jpg", "images/indeximage8.jpg", 
	"images/indeximage9.jpg", "images/indeximage10.jpg", "images/indeximage11.jpg", "images/indeximage12.jpg",
	"images/indeximage13.jpg", "images/indeximage14.jpg", "images/indeximage15.jpg", "images/indeximage16.jpg",
	"images/indeximage17.jpg", "images/indeximage18.jpg", "images/indeximage19.jpg", "images/indeximage20.jpg",
	"images/indeximage21.jpg", "images/indeximage22.jpg", "images/indeximage23.jpg", "images/indeximage24.jpg")

imgCt = myPix.length


function choosePic() {
	if (document.images) {
		randomNum = Math.floor
			((Math.random() * imgCt))
		document.myPicture.src =
			myPix[randomNum]
	}
}