function MM_preloadimages() { //v2.0
	if (document.images) {
		var imgFiles = MM_preloadimages.arguments;
		if (document.preloadArray==null) document.preloadArray = new Array();
		var i = document.preloadArray.length;
		with (document) for (var j=0; j<imgFiles.length; j++) if (imgFiles[j].charAt(0)!="#") {
			preloadArray[i] = new Image;
			preloadArray[i++].src = imgFiles[j];
		}
	}
}


// SHOW PRODUCTS LAYERS
function showProducts() {
	if (document.getElementById) {  // Standards Compliant code fork...
    	var products1 = document.getElementById("products1");
		var	products2 = document.getElementById("products2");
		var	products3 = document.getElementById("products3");
		var	products4 = document.getElementById("products4");
		var	products5 = document.getElementById("products5");
		products1.style.visibility = "visible";
		products2.style.visibility = "visible";
		products3.style.visibility = "visible";
		products4.style.visibility = "visible";
		products5.style.visibility = "visible";
	}
    else if (document.all) {  // IE 4/5 code fork...
		document.all.products1.style.visibility = "visible";
		document.all.products2.style.visibility = "visible";
		document.all.products3.style.visibility = "visible";
		document.all.products4.style.visibility = "visible";
		document.all.products5.style.visibility = "visible";
	}
    else if (document.layers) {  // Nav 4.x code fork...
		document.products1.visibility = "show";
		document.products2.visibility = "show";
		document.products3.visibility = "show";
		document.products4.visibility = "show";
		document.products5.visibility = "show";
	}
}


// HIDE PRODUCTS LAYERS
function hideProducts() {
	if (document.getElementById) {  // Standards Compliant code fork...
    	var products1 = document.getElementById("products1");
		var	products2 = document.getElementById("products2");
		var	products3 = document.getElementById("products3");
		var	products4 = document.getElementById("products4");
		var	products5 = document.getElementById("products5");
		products1.style.visibility = "hidden";
		products2.style.visibility = "hidden";
		products3.style.visibility = "hidden";
		products4.style.visibility = "hidden";
		products5.style.visibility = "hidden";
	}
    else if (document.all) {  // IE 4/5 code fork...
		document.all.products1.style.visibility = "hidden";
		document.all.products2.style.visibility = "hidden";
		document.all.products3.style.visibility = "hidden";
		document.all.products4.style.visibility = "hidden";
		document.all.products5.style.visibility = "hidden";
	}
    else if (document.layers) {  // Nav 4.x code fork...
		document.products1.visibility = "hide";
		document.products2.visibility = "hide";
		document.products3.visibility = "hide";
		document.products4.visibility = "hide";
		document.products5.visibility = "hide";
	}
}


function ShowFloorplan1(url_name) {
	large_win = window.open(url_name, 'floorplanB', 'width=700,height=329,scrollbars=no,resizable=no,status=no,location=no,menubar=no');
}

function ShowFloorplan2(url_name) {
	large_win = window.open(url_name, 'floorplanVictor', 'width=255,height=520,scrollbars=no,resizable=no,status=no,location=no,menubar=no');
}

function ShowFloorplan3(url_name) {
	large_win = window.open(url_name, 'floorplanA', 'width=673,height=246,scrollbars=no,resizable=no,status=no,location=no,menubar=no');
}

function ShowImage(url_name) {
	large_win = window.open(url_name, 'image', 'width=520,height=390,scrollbars=no,resizable=no,status=no,location=no,menubar=no');
}
