
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 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);
	}
}



            
            
            
            
            
            