/*	openPXWindow (theURL)
	opens new window with null title and fixed features for enlarged images
*/
function openPXWindow(theURL) {
			window.open(theURL,'','width=650, height=650, titlebar=0, location=0');
}

function openPXWindowSB(theURL) {
			window.open(theURL,'','width=650, height=650, titlebar=0, location=0, scrollbars=yes');
}

function show_popup()
{
	var p=window.createPopup()
	var pbody=p.document.body
	pbody.style.backgroundColor="lime"
	pbody.style.border="solid black 1px"
	pbody.innerHTML="This is a pop-up! Click outside to close."
	p.show(150,150,200,50,document.body)
}

function showImageWindow (win,url,hsiz,vsiz,cap) {
	var popup;
	popup = window.open( url,win,"resizable=yes,location=no,toolbar=no,width="+hsiz+",height="+vsiz+",scrollbars=yes,screenX=50");
	popup.document.write("<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>");
	popup.document.write("<html><head><title>The Hooters</title></head>");
	popup.document.write("<body bgcolor='#101010'><font size='1' color='silver' face='verdana,sans-serif'><center>");
	popup.document.write("<h2>The Hooters - Image Detail</h2><img src=\"",url,"\">");
	if (cap!=null&&cap!="") {
		popup.document.write("<br><br><font size='2'>",cap,"</font><br><br>");
	}
	popup.document.write("</center></font>");
	popup.document.write("</body></html>");
	popup.focus();
	popup.window.document.close();
	return false;
}
