//var script_web_server = "../01truck_latest";
var script_web_server = "../";
function DDtoDay(inputDate)
{
  var dateString = new Array('','st','nd','rd','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','th','st','nd','rd','th','th','th','th','th','th','th','st');
  returnDate = '';
  tempDate = parseInt(inputDate);
  if (tempDate >= 1 && tempDate <= 31)
  {
	  returnDate = inputDate + dateString[tempDate];
	}
	return returnDate;
}

<!--
var showDateShort = 1;
var showDate= 2;
var showDateTime= 3;
var showTime= 4;

function ShowDateTime(dateStyle)
{
	var today = new Date();
	var dStr = "";
	
	switch (dateStyle)
	{
		case showDateShort:
			dStr = today.toDateString();
			break;
		case showDateTime:
			dStr = today.toLocaleString();
			break;
		case showTime:
			dStr = today.toLocaleTimeString();
			break;
		case showDate:
		default:
			dStr = today.toLocaleDateString();
			break;
	}
	document.write(dStr);
}


<!--

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->


function MM_popupMsg(msg) { //v1.0
  alert(msg);
}


<!--
var newslist=new Array();
var cnt=0;	
var curr = "";
var i=-1;	

newslist[0]=new Array("Toyota: Allion, Altezza, Aristo, Avalon, BB, Caldina, Camry, etc...","")
newslist[1]=new Array("Nissan: AD, Avenir, Avenir Salut, Bluebird, Caravan, Cedric, etc...","")
newslist[2]=new Array("Suzuki: Aerio, Alto, Baleno, Cara, Cultus, Vitara, Wagon R, etc...","")
newslist[3]=new Array("Mitsubishi: Aspire, Carisma, Chariot, Debonair, Eterna, etc...","")
newslist[4]=new Array("Isuzu: Aska, Bighorn, Fargo, Pa Nero, Piazza, Trooper, etc...","")

function newsticker()
{

  if (i < newslist[cnt][0].length - 1)
  {
    i++;
    temp1 = newslist[cnt][0];
    temp1 = temp1.split('');
    curr = curr+temp1[i];
    temp2 = newslist[cnt][1];
    mtxt.innerHTML = "<small>"+curr+"_</small>";
    setTimeout('newsticker()',10)
    return;
  }

  i = -1; curr = "";
  if (cnt<newslist.length-1)
    cnt++;
  else
    cnt=0;
  setTimeout('newsticker()',3000)
}

//-->
