<!--
function zoomImage(url, width, height) {
	var imgWindow = openWin(url, "PopUpImgGen", width, height + 95, 0, 0, 0, 0, 0, 0, 0);
	resizeWin(imgWindow, width + 7, height + 95);
}

function zoomBanner(url, width, height) {
	var banWindow = openWin(url, "PopUpBanGen", width, height + 29, 0, 0, 0, 0, 0, 0, 0);
	resizeWin(banWindow, width + 10, height + 29);
}

function openWin(url, name, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable) {
	var finalWidth  = (width  > screen.width ) ? screen.width  : width;
	var finalHeight = (height > screen.height) ? screen.height : height;
	strOptions  = "toolbar="     + ((toolbar     == 1) ? "yes" : "no") + ","
	strOptions += "location="    + ((location    == 1) ? "yes" : "no") + ","
	strOptions += "directories=" + ((directories == 1) ? "yes" : "no") + ","
	strOptions += "status="      + ((status      == 1) ? "yes" : "no") + ","
	strOptions += "menubar="     + ((menubar     == 1) ? "yes" : "no") + ","
	strOptions += "scrollbars="  + ((scrollbars  == 1) ? "yes" : "no") + ","
	strOptions += "resizable="   + ((resizable   == 1) ? "yes" : "no") + ","
	strOptions += "width="       + finalWidth  + ","
	strOptions += "height="      + finalHeight + ","
	strOptions += "left="        + ((screen.width  - finalWidth ) / 2) + ","
	strOptions += "top="         + ((screen.height - finalHeight) / 3)
	eval("win" + name + " = window.open(url, '" + name + "', strOptions)");
	eval("win" + name + ".focus();");
	return eval("win" + name);
}

function resizeWin(objWin, width, height) {
	objWin.resizeTo(width, height);
}
//-->

