// Author: Geoffrey Bradford
// Date: July 10, 2002
/* Comments: This is a modified script from the traffic builders Golf Challenge sites.
	It loads a URL into a new popup window. 
	It also checks to see if another window has been opend and will
		close it to prevent popups from accumulating on your desktop.
*/
/*
function doPopUp(var popMe, var width, var height) {
	alert("Not Yet");

}
*/


function doPopUp(url, width, height) {
	// Show URL in window and adjust size to widthxheight
		
	tbExtraStuff = window.open(url,'tbExtraStuff','width='+width+',height='+height+',directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=yes');
	tbExtraStuff.resizeTo(width + 10,height + 30);
	tbExtraStuff.focus();
}

function doPopUpAdjust(url, width, height) {
	// This just allows you to put in the actuall img size and adds the height
	//  and width for the border
	
	doPopUp( url, width + 22, height + 26 );

}
