if (document.images) {
   off = new MakeArray(6);
   over = new MakeArray(6);

   off[1].src = "../images/search/immeonline1.gif";
   off[2].src = "../images/search/emailme1.jpg";
   off[3].src = "../images/search/hotlistme1.jpg";
   off[4].src = "../images/search/voicegreeting1.jpg";
   off[5].src = "../images/search/teaseme1.jpg";
   off[6].src = "../images/search/unhotlistme1.jpg";

   over[1].src = "../images/search/immeonline2.gif";
   over[2].src = "../images/search/emailme2.jpg";
   over[3].src = "../images/search/hotlistme2.jpg";
   over[4].src = "../images/search/voicegreeting2.jpg";
   over[5].src = "../images/search/teaseme2.jpg";
   over[6].src = "../images/search/unhotlistme2.jpg";

}



self.name = 'mainwin'; 
<!--
function show(fileName) 
{
	myFloater = window.open('','myWindow','scrollbars=no,status=no,width=350,height=300')
	myFloater.location.href = fileName;
}


var leftimage = new Array() 
leftimage[1]="images/header/topleft1.jpg"
leftimage[2]="images/header/topleft2.jpg"
leftimage[3]="images/header/topleft3.jpg"
leftimage[4]="images/header/topleft4.jpg"
leftimage[5]="images/header/topleft5.jpg"
leftimage[6]="images/header/topleft6.jpg"
leftimage[7]="images/header/topleft8.jpg"
leftimage[8]="images/header/topleft9.jpg"
leftimage[9]="images/header/topleft10.jpg"
leftimage[10]="images/header/topleft11.jpg"
leftimage[11]="images/header/topleft12.jpg"
leftimage[12]="images/header/topleft7.jpg"

var rightimage = new Array() 
rightimage[1]="images/header/topright1.jpg"
rightimage[2]="images/header/topright2.jpg"
rightimage[3]="images/header/topright3.jpg"
rightimage[4]="images/header/topright4.jpg"
rightimage[5]="images/header/topright5.jpg"
rightimage[6]="images/header/topright6.jpg"
rightimage[7]="images/header/topright8.jpg"
rightimage[8]="images/header/topright9.jpg"
rightimage[9]="images/header/topright10.jpg"
rightimage[10]="images/header/topright11.jpg"
rightimage[11]="images/header/topright12.jpg"
rightimage[12]="images/header/topright7.jpg"

random_num = (Math.round((Math.random()*11)+1))

function showImage()
{
document.write('<img border="0" src="'+leftimage[random_num]+'">');


}

function showImage1()
{
document.write('<img border="0" src="'+rightimage[random_num]+'">');
}

function popUp(URL, WIDTH, HEIGHT) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'width="+ WIDTH + ",height=" + HEIGHT + ",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=no,maximize=no,scrollbars=0');");
}

function popUpTour(URL, WIDTH, HEIGHT) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'width="+ WIDTH + ",height=" + HEIGHT + ",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=no,maximize=no,scrollbars=1');");
}

function popUpWithScrollBars(URL, WIDTH, HEIGHT) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'width="+ WIDTH + ",height=" + HEIGHT + ",toolbar=0,location=0,directories=0,status=0,menubar=0,resizable=no,maximize=no,scrollbars=1');");
}

function MakeArray(n) {
   this.length = n
   for (var i = 1; i<=n; i++) {
      this[i] = new Image()
   }
   return this;
}
function UDIover(name,number){
if (document.images){
      name.src = over[number].src;
   }
}

function UDIoff(name,number){
if (document.images){
      name.src = off[number].src;
   }
//window.status='';
}

function disablebutton(obj){
	obj.disabled=true;
}




//shit for the image rollovers - basic ps
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 high(which2){
	theobject=which2
	highlighting=setInterval("highlightit(theobject)",10)
  }
function low(which2){
	clearInterval(highlighting)
	which2.filters.alpha.opacity=60
  }
function highlightit(cur2){
	if (cur2.filters.alpha.opacity<100)
		cur2.filters.alpha.opacity+=5
	else if (window.highlighting)
		clearInterval(highlighting)
  }
  
function change_weather() {
	//document.all.weatherid1.className = 'invis';
	//document.all.weatherid2.className = 'vis';
	document.getElementById('weatherid1').style.display = 'none';
	document.getElementById('weatherid2').style.display = 'block';
}
function switch_weather() {
	setTimeout('change_weather()',600);
}