
	 /*********************************************/	
	function activeEmbed(src,id,height,width,divid,zindex) {
		if(!height) {
			height = '100%';
		}
		if(!width) {
			width = '100%';
		}
		
		if(divid) {
			embd = '<div id="'+ divid + '"><embed height="' + height + '" width="' + width + '" src="' + src + '" menu="false" quality="high"  name="' + id + '"  wmode="transparent"  align="middle"  type="application/x-shockwave-flash" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer"/></div>';
		}else {
			embd = '<embed height="' + height + '" width="' + width + '" src="' + src + '" menu="false" quality="high" id="' + id + '"  name="' + id + '"  wmode="transparent"  align="middle"  type="application/x-shockwave-flash" allowScriptAccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer"/>';
		}
		
		objd = '<object height="' + height + '" width="' + width + '" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"  id="' +  id + 'obj" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" align="middle">';
			objd +=	'<param name="allowScriptAccess" value="sameDomain" />';
			objd +=	'<param name="movie" value="'+ src + '" />';
			objd +=	'<param name="menu" value="true" />';
			objd +=	'<param name="quality" value="high" />';
			objd +=	'<param name="wmode" value="transparent" />';
			objd += embd;
		objd +=	'</object>';
		
		document.write(objd);
	}
	/*********************************************/
	function getContent(id, url){
		try { 
			var iframe = window.document.getElementById(id);		
			iframe.src = url;
		}catch(er) {
			//alert("ERROR!");
		} 
	}
	/*********************************************/	
	function changeImages() {
	  if (document.images) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
		  document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
		}
	  }
	}
	/*********************************************/	
	var win = null;
	/*********************************************/	
	function NewWindow(mypage,myname,w,h,scroll){
		LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
		TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
		settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+'resizable=yes,scrollbars=no,status=no,toolbar=no,menubar=no,location=no';
		win = window.open(mypage,myname,settings);
		if(win.window.focus){win.window.focus();}
	}
	/*********************************************/		
	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.version = navigator.appVersion;
		this.v       = parseInt(this.version);
		this.ns     =  (this.b=="ns" && this.v>=4);
		var myNS = new String(window.navigator.appVersion);
		this.ns472   = (this.b=="ns" && myNS.substring(0, 4) == "4.72");
		this.ns473   = (this.b=="ns" && myNS.substring(0, 4) == "4.73");
		this.ns474   = (this.b=="ns" && myNS.substring(0, 4) == "4.74");
		this.ns475   = (this.b=="ns" && myNS.substring(0, 4) == "4.75");
		this.ns476   = (this.b=="ns" && myNS.substring(0, 4) == "4.76");
		this.ns477   = (this.b=="ns" && myNS.substring(0, 4) == "4.77");
		this.ns478   = (this.b=="ns" && myNS.substring(0, 4) == "4.78");
		this.ns479   = (this.b=="ns" && myNS.substring(0, 4) == "4.79");
		this.ns480   = (this.b=="ns" && myNS.substring(0, 3) == "4.8");
		this.ns4   = (this.b=="ns" && this.v==4);
		this.ns479   = (this.b=="ns" && myNS.substring(0, 4) == "4.79");
		this.ns480   = (this.b=="ns" && myNS.substring(0, 3) == "4.8");
		this.ns5   = (this.b=="ns" && this.v==5);	
		this.ns610 = (this.b=="ns" && window.navigator.productSub == 20010726);
		this.ns621 = (this.b=="ns" && window.navigator.productSub == 20011128);
		this.ns622 = (this.b=="ns" && window.navigator.productSub == 20020314);
		this.ns623	= (this.b=="ns" && window.navigator.productSub == 20020508);
		this.ns6     = (this.ns610 || this.ns621 || this.ns622 || this.ns623 ? true : false);
		this.ns701 = (this.b=="ns" && window.navigator.productSub == 20021120); 
		this.ns702 = (this.b=="ns" && window.navigator.productSub == 20030208); 
		this.ns710 = (this.b=="ns" && window.navigator.productSub == 20030624 ); 
		this.ns7    = (this.ns701 || this.ns702 || this.ns710 ? true : false);
		this.ie      =  (this.b=="ie" && this.v>=4);
		this.ie4    = (this.version.indexOf('MSIE 4')>0);
		this.ie5    = (this.version.indexOf('MSIE 5')>0);
		this.min   = ( this.ns||this.ie);
		this.msWin = (navigator.userAgent.indexOf("Win")>0);
	}	
	/*********************************************/		
	is = new BrowserCheck();