ns4 = (document.layers)? true:falseie4 = (document.all)? true:false// SHOW AND HIDEfunction showObject(id) {	if (ns4) document.layers[id].visibility = "show";	//else if (ie4) document.all[id].style.visibility = "visible";	else document.getElementById(id).style.visibility = "visible";}function hideObject(id) {	if (ns4) document.layers[id].visibility = "hide";	//else if (ie4) document.all[id].style.visibility = "hidden";	else document.getElementById(id).style.visibility = "hidden";}

// POP WINDOW

function popWindow(urlpass,windowNumber,imageWidth,imageHeight,posLeft,posTop) {  newWindow=window.open(urlpass,windowNumber,"width="+imageWidth+",height="+imageHeight+",scrollbars=no,toolbar=no,resizable=no,left="+posLeft+",top="+posTop);newWindow.focus();
}



// POP WINDOW SCROLL

function popWindowScroll(urlpass,windowNumber,imageWidth,imageHeight,posLeft,posTop) {  newWindow=window.open(urlpass,windowNumber,"width="+imageWidth+",height="+imageHeight+",scrollbars=yes,toolbar=no,resizable=no,left="+posLeft+",top="+posTop);newWindow.focus();
}




//ROLLOVER IMAGE SWAP


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
if (document.images) {
	//if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}



