function PreloadImages(length, path, type) {
   for(var i = 1; i<=length; i++) {
       this[i]= new Image()
       this[i].src= path + i + type
   } 
   return this
}



function rollon(num) {
if(document.images){
	eval('document.images["menu'+num+'"].src='+'on[num].src');}
  }

function rolloff(num) {
if(document.images){
				eval('document.images["menu'+num+'"].src='+'off[num].src');}
 else{ alert('no images!');}
  }
  
  function Show_promo(url){
		if (url=='')	{w=window.open('',"1","location=no,toolbar=no,status=no,directories=no,scrollbar=auto,resize=yes,width=545,height=300,left=100,top=100");}
		 else {w=window.open(url,"1","location=no,toolbar=no,status=no,directories=no,scrollbars=1,resizable=1,width=545,height=300,left=100,top=100");}
	w.focus();
			}

