function screenPage(url) {
	location.href = "3rd_party.html?href=" + url;
}

var redirect = document.location.search;
redirect = (redirect != "") ? redirect.substring(6,redirect.length) : "index.html";

function leaveScreenPage() {
	location.href = redirect;
}

function launchSite() {
         var x, y, w, h;
         var w = 760;
         var h = 540;
         var sb = 0;
         var r = 0;
         if (screen.availWidth<=800)
         {
             var w = 780;
             var h = 520;
             var sb = 1;
             var r = 1;
         }
         var x = screen.availWidth/2 - w/2;
         var y = screen.availHeight/2 - h/2;
         var params = "top=" + y + ",left=" + x + ",width=" + w + ",height="+ h +",scrollbars="+sb+",resizable="+ r +",directories=0,location=0,menubar=0,status=0,toolbar=0";
         var sw = window.open("eee_teaserSite.html","ed", params);
         sw.moveTo(x,y);
         if (window.focus) sw.focus;
}








	function popUp(URL) {
		day = new Date();
		id = day.getTime();
		eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=780,height=560,left = 452.5,top = 202');");
	}
