Nav1On = new Image();
Nav1On.src = "images/jlofts_on.gif";
Nav1Off = new Image();
Nav1Off.src = "images/jlofts_off.gif";

Nav2On = new Image();
Nav2On.src = "images/neighborhood_on.gif";
Nav2Off = new Image();
Nav2Off.src = "images/neighborhood_off.gif";

Nav3On = new Image();
Nav3On.src = "images/floorplans_on.gif";
Nav3Off = new Image();
Nav3Off.src = "images/floorplans_off.gif";

Nav4On = new Image();
Nav4On.src = "images/amenities_on.gif";
Nav4Off = new Image();
Nav4Off.src = "images/amenities_off.gif";

Nav5On = new Image();
Nav5On.src = "images/finishes_on.gif";
Nav5Off = new Image();
Nav5Off.src = "images/finishes_off.gif";

Nav6On = new Image();
Nav6On.src = "images/views_on.gif";
Nav6Off = new Image();
Nav6Off.src = "images/views_off.gif";

Nav7On = new Image();
Nav7On.src = "images/developer_on.gif";
Nav7Off = new Image();
Nav7Off.src = "images/developer_off.gif";

Nav8On = new Image();
Nav8On.src = "images/partners_on.gif";
Nav8Off = new Image();
Nav8Off.src = "images/partners_off.gif";

Nav9On = new Image();
Nav9On.src = "images/jnews_on.gif";
Nav9Off = new Image();
Nav9Off.src = "images/jnews_off.gif";

Nav10On = new Image();
Nav10On.src = "images/contact_on.gif";
Nav10Off = new Image();
Nav10Off.src = "images/contact_off.gif";

Nav11On = new Image();
Nav11On.src = "images/getinfo_on.gif";
Nav11Off = new Image();
Nav11Off.src = "images/getinfo_off.gif";

Nav12On = new Image();
Nav12On.src = "images/gallery_crawl_map_on.gif";
Nav12Off = new Image();
Nav12Off.src = "images/gallery_crawl_map_off.gif";

function rollover(whichimg,overimg) {
eval('document.images["' + whichimg + '"].src = ' + overimg + '.src');
}

ns4 = (document.layers)? true:false
ie4 = (document.all)? true:false

function show(id) {
if (id == "div1"){clearTimeout(timeoutID1)}
else if (id == "div2"){clearTimeout(timeoutID2)}
else if (id == "div3"){clearTimeout(timeoutID3)}
if (ns4) document.layers[id].visibility = "show"
else if (ie4) document.all[id].style.visibility = "visible"
else if(!document.all && document.getElementById) document.getElementById(id).style.visibility = "visible"
}

var timeoutID1 = 0
var timeoutID2 = 0
var timeoutID3 = 0

function hide(num) {
if (num == 1){timeoutID1 = setTimeout("hide2('div1')",800)}
else if (num == 2){timeoutID2 = setTimeout("hide2('div2')",800)}
else if (num == 3){timeoutID3 = setTimeout("hide2('div3')",800)}
}

function hide2(id) {
if (ns4) document.layers[id].visibility = "hide"
else if (ie4) document.all[id].style.visibility = "hidden"
else if(!document.all && document.getElementById) document.getElementById(id).style.visibility = "hidden"
if (id == "div1")
	{rollover('nav1','Nav1Off')}
if (id == "div2")
	{rollover('nav2','Nav2Off')}
if (id == "div3")
	{rollover('nav3','Nav3Off')}
}

function emailMe(gohere) {
    window.open(gohere, "email", config="height=440,width=350,scrollbars=yes,toolbar=no,menubar=yes,resizable=yes,top=0,left=0");
}

function printMe(gohere) {
    window.open(gohere, "print", config="height=440,width=510,scrollbars=yes,toolbar=no,menubar=yes,resizable=yes,top=0,left=0");
}
