document.onmouseover = hideshit;
document.onmouseout = hideshit;

function hideshit()
{
 window.status='Limousine'
 return true
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		limousine_index_10_over = newImage("images/limousine_index_10-over.gif");
		limousine_index_12_over = newImage("images/limousine_index_12-over.gif");
		limousine_index_14_over = newImage("images/limousine_index_14-over.gif");
		preloadFlag = true;
	}
}

function moreDigits(what, howMuch){
  what+="";
  while(what.length < howMuch)
    what = "0" + what;
  return what;
}

function makeRndPic(){
  picsLocation = "images/welkom/";
  picsNr = 2;
  picType = ".jpg"
  rndNr = Math.ceil (Math.random () * picsNr)-1;
  document.write ("<img border=0 src='" + picsLocation + moreDigits(rndNr, 2) + picType + "'>");
}
