is = new BrowserCheck();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.ie = (this.b=="ie" && this.v>=4 && this.p=="Win32")	this.ns = (this.b=="ns" && this.v>=4)		//this.v = parseInt(navigator.appVersion)	this.three = (this.v < 4)	//var b = navigator.appName	//if (b=="Netscape") this.b = "ns"}if (is.three) {		hasFlash = "plugin";} else {  flash5Installed = false;				if (navigator.plugins) {		if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]		&& navigator.mimeTypes["application/x-shockwave-flash"] 		&& navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin) {					var isVersion2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";			var flashDescription = navigator.plugins["Shockwave Flash" + isVersion2].description;			var flashVersion = parseInt(flashDescription.charAt(flashDescription.indexOf(".") - 1));			flash5Installed = flashVersion >= 5;		}	}	  var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;  var isWin = (navigator.appVersion.indexOf("Windows") != -1) ? true : false;  if(isIE && isWin){  	document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n');  	document.write('on error resume next \n');  	document.write('flash5Installed = (IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash.5"))) \n');	  	document.write('</SCR' + 'IPT\> \n');  }			if (flash5Installed) {		hasFlash = "plugin";	} else {		hasFlash = "plugin";	}}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 (isIE){         // 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 OpenWindow(height,width){	attr = getAttr(height,width);	dialog = window.open('home.html','nexWin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,' + attr);	dialog.opener = this;}