
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);
	}
}


function newWindow(url, target, X, Y){
  var width, height
  width = X;
  height = Y;
  if (width == "") {
    width = 750;
  }
  if (height == "") {
    height = 550;
  }
  var openCommand = "window.open(\"" + url + "\", \"" + target + "\",\"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=auto,resizable=yes,width=" + width + ",height=" + height + "\");";
  popup2 = eval(openCommand);
  if (!popup2.opener) {
    popup2.opener = this.window;
  }
}
     
            
function popUp(mypage, myname, w, h, sc) {
    if (navigator.appVersion.indexOf("AOL") != -1)
    {
    		newHeight = h + 25;
    		newWidth = w + 25;
    		winprops = 'height=' + newHeight + ',width=' + newWidth
    		win = window.open(mypage, myname, winprops);
    }
    else
    {
    	if (parseInt(navigator.appVersion) >= 4)
    	{
    		var offsetW = (screen.width - w) / 2;
    		var offsetH = (screen.height - h) / 2;
    		winprops = 'height='+ h +',width='+ w +',top='+ offsetH +',left='+ offsetW + ',scrollbars='+sc
    		win = window.open(mypage, myname, winprops)
    		win.window.focus();
    	}
    	else
    	{
    		newHeight = h + 25;
    		newWidth = w + 25;
    		winprops = 'height=' + newHeight + ',width=' + newWidth
    		win = window.open(mypage, myname, winprops);
    	}	
    }
}	          
            
            