<!--
function writeDate(RL) {
  
  //alert(RL);
  
  // get a date object
  var today = new Date();
  var dayWord;
  var monthWord;

  // ask the object for some information
  var month = today.getMonth();
  var date = today.getDate();
  var hour = today.getHours();
  var minutes = today.getMinutes();
  var year = today.getYear();
  var dayname = today.getDay();

  
  // stored month names in different languages
  var arrE = new Array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
  var arrF = new Array("Janvier", "F&eacute;vrier", "Mars", "Avril", "Mai", "Juin", "Juillet", "Ao&ucirc;t", "Septembre", "Octobre", "Novembre", "D&eacute;cembre");
  var arrG = new Array("Januar", "Februar", "M&auml;rz", "April", "Mai", "Juni", "Julil", "August", "September", "Oktober", "November", "Dezember");
  var arrI = new Array("Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre");
  var arrP = new Array("Janeiro", "Fevereiro", "Mar&ccedil;o", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro");
  var arrS = new Array("Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre");
  
  //deteremine the language by getting the last letter of the RL

  var language = RL;
  
  
  //Print military time with 0 for one digit hours
	if (hour < 10) {
		hour = "0" + hour
	}	
	
	if (minutes < 10) {
		minutes = "0" + minutes
	}
  
  // help Netscape print a readable year	
	if (year < 2000) {
		year = year + 1900
	}

 
  	  // choose the month
	 

	  if (language == "F")
	  		monthWord = arrF[month];
	  else if (language == "G")
	  		monthWord = arrG[month];
	  else if (language == "I")
	  		monthWord = arrI[month];
	  else if (language == "P")
	  		monthWord = arrP[month];
	  else if (language == "S")
	  		monthWord = arrS[month];
	  else
	  		monthWord = arrE[month];
	  
  
	var theDay = date + " " + monthWord + " " + year + " ";
	return(theDay);
 

}

function upclock(RL){
	var dte = new Date();
	var hrs = dte.getHours();
	var min = dte.getMinutes();
	var sec = dte.getSeconds();
	
	var col = ":";
	var spc = " ";
	var com = ",";
	
	var fulltransdate = writeDate(RL);
	
	if (hrs == 0) hrs=12;
	if (hrs<=9) hrs="0"+hrs;
	if (min<=9) min="0"+min;
	if (sec<=9) sec="0"+sec;
	
	if(navigator.appName == "Netscape") {
	document.clock.document.write(fulltransdate+spc+spc+hrs+col+min+col+sec);
	//document.clock.document.write(spc+spc+hrs+col+min+col+sec);
	document.clock.document.close();
	}
	
	if (navigator.appVersion.indexOf("MSIE") != -1){
	clock.innerHTML = fulltransdate+spc+spc+hrs+col+min+col+sec;
	//clock.innerHTML = spc+spc+hrs+col+min+col+sec;
	}
}


/*
Highlight Table Cells Script- 
Last updated: 99/01/21
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/

function changeto(highlightcolor){
source=event.srcElement
if (source.tagName=="TR2"||source.tagName=="TABLE")
return
while(source.tagName!="TR")
source=source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
{
source.style.backgroundColor=highlightcolor;

}
}

function changeback(originalcolor){
if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")
return
if (event.toElement!=source && source.tagName=="TR")
source.style.backgroundColor=originalcolor
}


function OpenDealer(location){
		window.open(location,'location','width=550,height=450,scrollbars,address');
}

function OpenDealerFull(location){

 var str = "left=0,screenX=0,top=0,screenY=0";
 
 if (window.screen) {
 
   var ah = screen.availHeight - 20;
   var aw = screen.availWidth - 10;
     str += ", Width=" + aw;
   str += ", Height=" + ah;
   str += ", innerHeight=" + ah;
   str += ", innerWidth=" + aw;
   str += ", scrollbars";
   str += ", resizable=yes";
 
 } else {
   str += ", resizable"; // so the user can resize the window manually
   str += ", scrollbars=yes";
 }
 window.open('http://www.maporama.com/affiliates/caseih/share/default.asp?language=en','location', str);
 
 

//		window.open(location,'location','width=550,height=450,scrollbars,address');
}

	

//-->