function openWindowGalery(theURL)
{
	theURL = encodeURI(theURL);
	theURL = decodeURI(theURL);
	
	var width="964";
	var height="640";
	var args = "toolbar=no,"
		    + "location=no,"
		    + "status=no,"
		    + "menubar=no,"
		    + "scrollbars=no,"
		    + "resizable=yes,"			
		    + "titlebar=0,"
		    + "hotkeys=0,"

		    + "screenx=" + (window.screen.width - width ) / 2  + ","  // NN Only
		    + "screeny=" + (window.screen.height - height) / 2  + ","  // NN Only
		    + "left=" + (window.screen.width - width ) / 2  + ","     // IE Only
		    + "top=" + (window.screen.height - height) / 2;           // IE Only

	var wnd = window.open(theURL,"newWin","width=" + width + ",height=" + height + "," + args);
	wnd.focus;
}



function openWindowFla(theURL)
{
	theURL = encodeURI(theURL);
	theURL = decodeURI(theURL);
	
	var width="740";
	var height="350";
	var args = "toolbar=no,"
		    + "location=no,"
		    + "status=no,"
		    + "menubar=no,"
		    + "scrollbars=no,"
		    + "resizable=no,"			
		    + "titlebar=0,"
		    + "hotkeys=0,"

		    + "screenx=" + (window.screen.width - width ) / 2  + ","  // NN Only
		    + "screeny=" + (window.screen.height - height) / 2  + ","  // NN Only
		    + "left=" + (window.screen.width - width ) / 2  + ","     // IE Only
		    + "top=" + (window.screen.height - height) / 2;           // IE Only

	var wnd = window.open(theURL,"newWin","width=" + width + ",height=" + height + "," + args);
	wnd.focus;
}

function openWindowRTO(theURL)
{
	theURL = encodeURI(theURL);
	theURL = decodeURI(theURL);
	
	var width="740";
	var height="476";
	var args = "toolbar=no,"
		    + "location=no,"
		    + "status=no,"
		    + "menubar=no,"
		    + "scrollbars=no,"
		    + "resizable=no,"			
		    + "titlebar=0,"
		    + "hotkeys=0,"

		    + "screenx=" + (window.screen.width - width ) / 2  + ","  // NN Only
		    + "screeny=" + (window.screen.height - height) / 2  + ","  // NN Only
		    + "left=" + (window.screen.width - width ) / 2  + ","     // IE Only
		    + "top=" + (window.screen.height - height) / 2;           // IE Only

	var wnd = window.open(theURL,"newWin","width=" + width + ",height=" + height + "," + args);
	wnd.focus;
}


function openWindowFLV(theURL)
{
	theURL = encodeURI(theURL);
	theURL = decodeURI(theURL);
	
	var width="740";
	var height="476";
	var args = "toolbar=no,"
		    + "location=no,"
		    + "status=no,"
		    + "menubar=no,"
		    + "scrollbars=no,"
		    + "resizable=no,"			
		    + "titlebar=0,"
		    + "hotkeys=0,"

		    + "screenx=" + (window.screen.width - width ) / 2  + ","  // NN Only
		    + "screeny=" + (window.screen.height - height) / 2  + ","  // NN Only
		    + "left=" + (window.screen.width - width ) / 2  + ","     // IE Only
		    + "top=" + (window.screen.height - height) / 2;           // IE Only

	var wnd = window.open(theURL,"newWin","width=" + width + ",height=" + height + "," + args);
	wnd.focus;
}




function openWindowQuer(theURL)
{
	theURL = encodeURI(theURL);
	theURL = decodeURI(theURL);
	
	var width="768";
	var height="572";
	var args = "toolbar=no,"
		    + "location=no,"
		    + "status=no,"
		    + "menubar=no,"
		    + "scrollbars=no,"
		    + "resizable=no,"			
		    + "titlebar=0,"
		    + "hotkeys=0,"

		    + "screenx=" + (window.screen.width - width ) / 2  + ","  // NN Only
		    + "screeny=" + (window.screen.height - height) / 2  + ","  // NN Only
		    + "left=" + (window.screen.width - width ) / 2  + ","     // IE Only
		    + "top=" + (window.screen.height - height) / 2;           // IE Only

	var wnd = window.open(theURL,"newWin","width=" + width + ",height=" + height + "," + args);
	wnd.focus;
}

function openWindowHoch(theURL)
{
	theURL = encodeURI(theURL);
	theURL = decodeURI(theURL);
	
	var width="512";
	var height="818";
	var args = "toolbar=no,"
		    + "location=no,"
		    + "status=no,"
		    + "menubar=no,"
		    + "scrollbars=no,"
		    + "resizable=no,"			
		    + "titlebar=0,"
		    + "hotkeys=0,"

		    + "screenx=" + (window.screen.width - width ) / 2  + ","  // NN Only
		    + "screeny=" + (window.screen.height - height) / 2  + ","  // NN Only
		    + "left=" + (window.screen.width - width ) / 2  + ","     // IE Only
		    + "top=" + (window.screen.height - height) / 2;           // IE Only

	var wnd = window.open(theURL,"newWin","width=" + width + ",height=" + height + "," + args);
	wnd.focus;
}


