function goFull(URL) {
	if (window.screen) {
		var agt = navigator.userAgent.toLowerCase();
		var isMac = (agt.indexOf("mac")!=-1);
		var isIE = (agt.indexOf("msie")!=-1);
		var newWidth = screen.availWidth;
		newWidth = newWidth - 10;
		var newHeight = screen.availHeight;
		
		if ( isMac && isIE )
			newHeight = newHeight - 10;
		else 
			newHeight = newHeight - 30;

		var qtFSsize = 'width=' + newWidth + ',height=' + newHeight;
		var qtFSparam = '&w=' + newWidth + '&h=' + newHeight;
		
		if ( navigator.appName == "Netscape" ) 
			var qtFSpos = 'screenX=0,screenY=0,';
		else 
			var qtFSpos = 'left=0,top=0,';
		//qtFS = window.open(URL + '?' + qtFSparam,'adbeast_screening','scrollbars=no,resizable=yes,' + qtFSpos + qtFSsize);
		qtFS = window.open(URL,'adbeast_screening','scrollbars=no,resizable=yes,' + qtFSpos + qtFSsize);
	}
}

function launchVideo(url) {
   var scrheight, scrwidth;
   scrheight = (window.screen.height - 482) / 2;
   scrwidth = (window.screen.width - 510) / 2;
   var openCommand = "window.open('" + url + "', 'loginWindow',\"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,screenX=" + scrwidth + ",screenY=" + scrheight + ",top=" + scrheight + ",left=" + scrwidth + ",width=510,height=436\");";
   popup2 = eval(openCommand);
   popup2.focus();
   if (!popup2.opener) {
      popup2.opener = this.window;
   }
}


function launchLoginPopup(url) {
   var scrheight, scrwidth;
   scrheight = (window.screen.height - 382) / 2;
   scrwidth = (window.screen.width - 510) / 2;
   var openCommand = "window.open('" + url + "', 'loginWindow',\"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,screenX=" + scrwidth + ",screenY=" + scrheight + ",top=" + scrheight + ",left=" + scrwidth + ",width=510,height=382\");";
   popup2 = eval(openCommand);
   popup2.focus();
   if (!popup2.opener) {
      popup2.opener = this.window;
   }
}


