<!--

   /////////////////////////////
   ///     JS Rollovers     ////
   /////////////////////////////
   

	//////////////////////
	// GLOBAL VARIABLES //
	//////////////////////
var pathToImages =	"images/";
var thisPage = 		0;
var suffix =		".gif";
var displayStatus = 	true;
var able =		document.images;
var statusLinePrefix =	"";
	/////////////////////
	// NAMES OF IMAGES //
	/////////////////////
	
var filenames = new Array();
filenames[1] =	"MHR";
filenames[2] =	"MHC";
filenames[3] =	"MHRT";
filenames[4] =	"MHR1";
filenames[5] =	"MHR2";
filenames[6] =	"MH4";

	//////////////////////////
	// STATUS LINE MESSAGES //
	//////////////////////////
var statusLine = new Array();
statusLine[1] = 	"Park Towers South Residential - Luxury Rentals on Columbus Circle";
statusLine[2] = 	"Park Towers South Commercial - Luxury Rentals on Columbus Circle";
statusLine[3] = 	"Park Towers South Retail";
statusLine[4] = 	"151 East 80th Street - Luxury Rentals on the Upper East Side";
statusLine[5] = 	"1160 Fifth Avenue - Luxury Rentals on Central Park";
statusLine[6] = 	"Back to Goldfarb Properties Home";

	/////////////////////
	// PRELOADS IMAGES //
	/////////////////////
if (able) {
	for (i = 1; i < filenames.length; i++) {
		eval("var " + filenames[i] + "_off = new Image();");
		eval(filenames[i] + "_off.src = '" + pathToImages + filenames[i] + "_off" + suffix + "'");
	}
	for (i = 1; i < filenames.length; i++) {
		eval("var " + filenames[i] + "_on = new Image();");
		eval(filenames[i] + "_on.src = '" + pathToImages + filenames[i] + "_on" + suffix + "'");
	}
	var tempImage = new Image();
}

	////////////////////
	// CHANGES IMAGES //
	////////////////////
function changeImages(linkNo, onOrOff) {
	if (able) {
		if (linkNo != thisPage) {
			eval("document.images['" + filenames[linkNo] + "'].src = " + filenames[linkNo] + "_" + onOrOff + ".src");
		}
	}
	if (displayStatus) {
		if (onOrOff == "on") {
			window.status = statusLinePrefix + statusLine[linkNo];
		} else {
			window.status = "";
		}
	}
}

//-->