function popUp(URL) {
   	day = new Date();
   	id = day.getTime();

	if( typeof( window.innerWidth ) == 'number' ) {
		
		//Non-IE
		var winW = window.innerWidth;
		var currentX = window.screenX;
		var currentY = window.screenY;
		
	} else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
		
		//IE 6+ in 'standards compliant mode'
		var winW = document.documentElement.clientWidth;
		var currentX = window.screenLeft;
		var currentY = window.screenTop;
		
	} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
		
		//IE 4 compatible
		var winW = document.body.clientWidth;
		var currentX = window.screenLeft;
		var currentY = window.screenTop;
	}

	var popupWidth = 770;
	var popupHeight = 600;
	var x = currentX + 70;
	var y = currentY + 70;
	

   	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width="+ popupWidth + ",height="+ popupHeight + ",left = " + x + ",top = " + y + "');");
}
