// Load section specific rollover images
HM_NS4 = (document.layers) ? true : false;

if (typeof(stopPreloading)=="undefined")
{
preloader("galleryprevious","/_commonext/images/jade/gallery/button_previous.gif","/_commonext/images/jade/gallery/button_previous_over.gif");
preloader("gallerylarge","/_commonext/images/jade/gallery/button_large.gif","/_commonext/images/jade/gallery/button_large_over.gif");
preloader("gallerysmall","/_commonext/images/jade/gallery/button_small.gif","/_commonext/images/jade/gallery/button_small_over.gif");
preloader("gallerynext","/_commonext/images/jade/gallery/button_next.gif","/_commonext/images/jade/gallery/button_next_over.gif");
preloader("galleryclose","/_commonext/images/jade/gallery/button_close.gif","/_commonext/images/jade/gallery/button_close_over.gif");
}

function openScreenWin(winName, loc, size){					// Opens a new window
	var newWindow
	if (size == "large") {
		width = "800";
		height = "600";
	}
	else { //small
		width = "440";
		height = "390";
//		height = "370";
	}

	newWindow = window.open(loc,winName,"location=no,status=no,scrollbars=no,toolbar=no,menubar=no,directories=no,resizable=no,width="+width+",height="+height);		
	newWindow.focus();
}

function loadURL(path) {
	if (path != "") {
    	//top.location.href = path;
		window.open(path,"_blank");
	}
}
