<!--

function BrowserCheck() {
        var b = navigator.appName
        if (b=="Netscape") this.b = "ns"
        else if (b=="Microsoft Internet Explorer") this.b = "ie"
        else this.b = b
        this.v = parseInt(navigator.appVersion)
        this.p = navigator.platform
        this.ns = (this.b=="ns" && this.v>=4)
        this.ie = (this.b=="ie" && this.v>=4)
        this.min = (this.ns||this.ie)
}
is = new BrowserCheck();

function getAttr(height,width){

if (is.ns) {
         // Center on the main window.
         dialogleft = window.screenX + ((window.outerWidth - width) / 2);
         dialogtop = window.screenY + ((window.outerHeight - height) / 2);
         var attr = "screenX=" + dialogleft + ",screenY=" + dialogtop + ",width=" + width + ",height=" + height;
      } else if (is.ie){
         // The best we can do is center in screen.
         dialogleft = (screen.width - width) / 2;
         dialogtop = (screen.height - height) / 2;
         var attr = "left=" + dialogleft + ",top=" + dialogtop + ",width=" + width + ",height=" + height;
      } else {
      	 var attr = "width=" + width + ",height=" + height;
      }
      return (attr);
}

function openmovie(which, num){
	attr = getAttr(200,240);
	dialog = window.open(which,'movie' + num,'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,' + attr);
	dialog.opener = this;
}
	
// -->
