function displayFlash(flashfile, flashid, flashwidth, flashheight, flashvars, align) {
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,19,0" id="'+flashid+'" width="'+flashwidth+'" height="'+flashheight+'" align="'+align+'">\n');
	document.write('<param name="movie" value="'+flashfile+'" />\n');
	document.write('<param name="bgcolor" value="#FFFFFF" />\n');
	document.write('<param name="quality" value="best" />\n');
	document.write('<param name="devicefont" value="true" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<param name="allowscriptaccess" value="samedomain" />\n');
	document.write('<param name="FlashVars" value="'+flashvars+'"/>\n');
	document.write('<param name="scale" value="noscale" />\n');
	document.write('<param name="salign" value="l" />\n');
	document.write('<embed src="'+flashfile+'" quality="best" salign="l" flashVars="'+flashvars+'" width="'+flashwidth+'" height="'+flashheight+'" name="'+flashid+'" align="'+align+'" wmode="transparent" allowScriptAccess="sameDomain" scale="noscale" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /><noembed></noembed></embed>');
	document.write('</object>\n');
}

function playVideo(videofile,videoid) {
	displayFlash('/net/external/index/VideoPlayer.swf',videoid,450,372,'&video='+videofile,'');
}

function displayFlashResizable(flashfile, flashid, flashwidth, flashheight, flashvars, align) {
	document.write('<div id="div'+flashid+'" style="position:relative; width:'+flashwidth+'px; height:'+flashheight+'px; z-index:1">\n');
	document.write('<table  height="100%" width="100%" border="0" cellspacing="0" cellpadding="0"><tr><td>\n');
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,19,0" id="'+flashid+'" width="100%" height="100%"">\n');
	document.write('<param name="movie" value="'+flashfile+'" />\n');
	document.write('<param name="bgcolor" value="#FFFFFF" />\n');
	document.write('<param name="quality" value="best" />\n');
	document.write('<param name="devicefont" value="true" />\n');
	document.write('<param name="wmode" value="transparent" />\n');
	document.write('<param name="allowscriptaccess" value="samedomain" />\n');
	document.write('<param name="FlashVars" value="'+flashvars+'&id='+flashid+'"/>\n');
	document.write('<param name="scale" value="noscale" />\n');
	document.write('<param name="salign" value="LT" />\n');
	document.write('<embed src="'+flashfile+'" quality="best" salign="LT" flashVars="'+flashvars+'&id='+flashid+'" width="100%" height="100%" name="'+flashid+'" wmode="transparent" allowScriptAccess="sameDomain" scale="noscale" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write('<noembed></noembed></embed>\n');
	document.write('</object>\n');
	document.write('</td></tr></table>\n</div>');	
}

function resizeFlash(flashid, newwidth, newheight) {
	if(document.all && !document.getElementById) {
 		document.all['div'+flashid].style.pixelWidth = newwidth;
 		document.all['div'+flashid].style.pixelHeight = newheight;
	} else {
		document.getElementById('div'+flashid).style.width = newwidth;
		document.getElementById('div'+flashid).style.height = newheight;
	}
}

function playMovie(moviefile, movieid, moviewidth, movieheight) {
	document.write('<object id="'+movieid+'" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" width="'+moviewidth+'" height="'+movieheight+'">');
	document.write('<param name="FileName" value="'+moviefile+'">');
	document.write('<param name="AutoStart" value="-1">');
	document.write('<param name="ShowStatusBar" value="-1">');
	document.write('<param name="ShowControls" value="1">');
	document.write('<param name="ShowDisplay" value="0">');
	document.write('<param name="AudioStream" value="-1">');
	document.write('<param name="AutoSize" value="1">');
	document.write('<param name="WindowlessVideo" value="1">');
	document.write('<src="'+moviefile+'">');
	document.write('<embed width="'+moviewidth+'" height="'+movieheight+'" filename="'+moviefile+'" autostart="1" showstatusbar="0" showcontrols="1" showdisplay="0">');
	document.write('</embed></object>');
}

function uploadFiles(uploadDirectory, successURL, imagefilterenabled) {
	var _info = navigator.userAgent;
	var _ns = false;
	var _ns6 = false;
	var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
	var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
	var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
	vusername = "PrT7JmiC4ao=";
	vpassword = "y6Ho613/9ig=";
	vhost = "NZTAs29oNYQKng5eSFPKdpIHDAwaRWW3";
	vkey = "sOwg//pmKGOfChzfIfYOMA==";

	if (_ie == true) {
		document.write('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100%" height="250" name="uploadApplet"  codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,7">');
		document.write('<param name="code" value="com.javaatwork.myftpuploader.MyFTPUploader.class">');
		document.write('<param name="archive" value="/net/ZUpload/MyFTPUploader122/myftpuploader-standard-signed-v122.jar, /net/ZUpload/MyFTPUploader122/labels.jar">');
		document.write('<param name="name" value="uploadApplet">');
		document.write('<param name="type" value="application/x-java-applet;version=1.5">');
		document.write('<param name="scriptable" value="false">');

		document.write('<param name="asciiFileExtensions" value="txt, html, htm, xml">');
		document.write('<param name="automaticLogin" value="true">');
		document.write('<param name="userName" value="'+vusername+'">');
		document.write('<param name="password" value="'+vpassword+'">');
		document.write('<param name="host" value="'+vhost+'">');
		document.write('<param name="key" value="'+vkey+'">');
		document.write('<param name="uploadDirectories" value="false">');
		document.write('<param name="uploadDirectory" value="/'+uploadDirectory+'">');
		document.write('<param name="successURL" value="'+successURL+'">');
		document.write('<param name="backgroundColor" value="#ffffff">');
		document.write('<param name="deleteOnCancel" value="true">');
		document.write('<param name="nameConflict" value="overwrite">');
		if (imagefilterenabled == true) {
			document.write('<param name="fileFilter" value="Image files (*.jpg, *.jpeg, *.gif): jpg, jpeg, gif">');
		}
		document.write('<param name="iconAdd" value="http://www.javaatwork.com/images/add.gif">');
		document.write('<param name="iconRemove" value="http://www.javaatwork.com/images/remove.gif">');
		document.write('<param name="iconUpload" value="http://www.javaatwork.com/images/upload.gif">');
		document.write('<param name="maxByteSize" value="500">');
		document.write('<param name="maxFileSize" value="10000">');
		document.write('<param name="rejectFileFilter" value="exe, bat, com, lnk, pif, vbs, asp, aspx">');
		document.write('<param name="serverType" value="ftp">');
		document.write('<param name="showThumbNailsInApplet" value="true">');
		document.write('<param name="showThumbNailsInFileDialog" value="false">');
		document.write('<param name="transferType" value="automatic">');

		document.writeln('</object>');
	} else {
		document.write('<applet name="MyFTPUploader" code="com.javaatwork.myftpuploader.MyFTPUploader.class" archive="/net/ZUpload/MyFTPUploader122/myftpuploader-standard-signed-v122.jar, /net/ZUpload/MyFTPUploader122/labels.jar" width="100%"  height="250">');
		document.write('<param name="asciiFileExtensions" value="txt, html, htm, xml">');
		document.write('<param name="automaticLogin" value="true">');
		document.write('<param name="userName" value="'+vusername+'">');
		document.write('<param name="password" value="'+vpassword+'">');
		document.write('<param name="host" value="'+vhost+'">');
		document.write('<param name="key" value="'+vkey+'">');
		document.write('<param name="uploadDirectories" value="false">');
		document.write('<param name="uploadDirectory" value="/'+uploadDirectory+'">');
		document.write('<param name="successURL" value="'+successURL+'">');
		document.write('<param name="backgroundColor" value="#ffffff">');
		document.write('<param name="deleteOnCancel" value="true">');
		document.write('<param name="nameConflict" value="overwrite">');
		if (imagefilterenabled == true) {
			document.write('<param name="fileFilter" value="Image files (*.jpg, *.jpeg, *.gif): jpg, jpeg, gif">');
		}
		document.write('<param name="iconAdd" value="http://www.javaatwork.com/images/add.gif">');
		document.write('<param name="iconRemove" value="http://www.javaatwork.com/images/remove.gif">');
		document.write('<param name="iconUpload" value="http://www.javaatwork.com/images/upload.gif">');
		document.write('<param name="maxByteSize" value="500">');
		document.write('<param name="maxFileSize" value="10000">');
//		document.write('<param name="maxImageSize" value="500">');
		document.write('<param name="rejectFileFilter" value="exe, bat, com, lnk, pif, vbs, asp, aspx">');
		document.write('<param name="serverType" value="ftp">');
		document.write('<param name="showThumbNailsInApplet" value="true">');
		document.write('<param name="showThumbNailsInFileDialog" value="false">');
		document.write('<param name="transferType" value="automatic">');
		document.write('</applet>');
	}
}

function uploadFilesB(uploadDirectory, successURL, imagefilterenabled, vhost, vusername, vpassword, vkey) {
	var _info = navigator.userAgent;
	var _ns = false;
	var _ns6 = false;
	var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
	var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
	var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
	
//	document.writeln(navigator.appName);	

	if (_ie == true) {
		document.write('<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="100%" height="250" name="uploadApplet"  codebase="http://java.sun.com/update/1.5.0/jinstall-1_5-windows-i586.cab#Version=5,0,0,7">');
		document.write('<param name="code" value="com.javaatwork.myftpuploader.MyFTPUploader.class">');
		document.write('<param name="archive" value="/net/ZUpload/MyFTPUploader122/myftpuploader-standard-signed-v122.jar, /net/ZUpload/MyFTPUploader122/labels.jar">');
		document.write('<param name="name" value="uploadApplet">');
		document.write('<param name="type" value="application/x-java-applet;version=1.5">');
		document.write('<param name="scriptable" value="false">');

		document.write('<param name="asciiFileExtensions" value="txt, html, htm, xml">');
		document.write('<param name="automaticLogin" value="true">');
		document.write('<param name="userName" value="'+vusername+'">');
		document.write('<param name="password" value="'+vpassword+'">');
		document.write('<param name="host" value="'+vhost+'">');
		document.write('<param name="key" value="'+vkey+'">');
		document.write('<param name="uploadDirectories" value="false">');
		document.write('<param name="uploadDirectory" value="/'+uploadDirectory+'">');
		document.write('<param name="successURL" value="'+successURL+'">');
		document.write('<param name="backgroundColor" value="#ffffff">');
		document.write('<param name="deleteOnCancel" value="true">');
		document.write('<param name="nameConflict" value="overwrite">');
		if (imagefilterenabled == true) {
			document.write('<param name="fileFilter" value="Image files (*.jpg, *.jpeg, *.gif): jpg, jpeg, gif">');
		}
		document.write('<param name="iconAdd" value="http://www.javaatwork.com/images/add.gif">');
		document.write('<param name="iconRemove" value="http://www.javaatwork.com/images/remove.gif">');
		document.write('<param name="iconUpload" value="http://www.javaatwork.com/images/upload.gif">');
		document.write('<param name="maxByteSize" value="500">');
		document.write('<param name="maxFileSize" value="10000">');
		document.write('<param name="rejectFileFilter" value="exe, bat, com, lnk, pif, vbs, asp, aspx">');
		document.write('<param name="serverType" value="ftp">');
		document.write('<param name="showThumbNailsInApplet" value="true">');
		document.write('<param name="showThumbNailsInFileDialog" value="false">');
		document.write('<param name="transferType" value="automatic">');

		document.writeln('</object>');
	} else {
		document.write('<applet name="MyFTPUploader" code="com.javaatwork.myftpuploader.MyFTPUploader.class" archive="/net/ZUpload/MyFTPUploader122/myftpuploader-standard-signed-v122.jar, /net/ZUpload/MyFTPUploader122/labels.jar" width="100%"  height="250">');
		document.write('<param name="asciiFileExtensions" value="txt, html, htm, xml">');
		document.write('<param name="automaticLogin" value="true">');
		document.write('<param name="userName" value="'+vusername+'">');
		document.write('<param name="password" value="'+vpassword+'">');
		document.write('<param name="host" value="'+vhost+'">');
		document.write('<param name="key" value="'+vkey+'">');
		document.write('<param name="uploadDirectories" value="false">');
		document.write('<param name="uploadDirectory" value="/'+uploadDirectory+'">');
		document.write('<param name="successURL" value="'+successURL+'">');
		document.write('<param name="backgroundColor" value="#ffffff">');
		document.write('<param name="deleteOnCancel" value="true">');
		document.write('<param name="nameConflict" value="overwrite">');
		if (imagefilterenabled == true) {
			document.write('<param name="fileFilter" value="Image files (*.jpg, *.jpeg, *.gif): jpg, jpeg, gif">');
		}
		document.write('<param name="iconAdd" value="http://www.javaatwork.com/images/add.gif">');
		document.write('<param name="iconRemove" value="http://www.javaatwork.com/images/remove.gif">');
		document.write('<param name="iconUpload" value="http://www.javaatwork.com/images/upload.gif">');
		document.write('<param name="maxByteSize" value="500">');
		document.write('<param name="maxFileSize" value="10000">');
//		document.write('<param name="maxImageSize" value="500">');
		document.write('<param name="rejectFileFilter" value="exe, bat, com, lnk, pif, vbs, asp, aspx">');
		document.write('<param name="serverType" value="ftp">');
		document.write('<param name="showThumbNailsInApplet" value="true">');
		document.write('<param name="showThumbNailsInFileDialog" value="false">');
		document.write('<param name="transferType" value="automatic">');
		document.write('</applet>');
	}
}

function openWindow(url,id,w,h) {
	window.open(url,id,'height='+h+',width='+w+',toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,modal=no');
}

function openWindowModal(url,id,w,h) {
	if (window.showModalDialog) {
		window.showModalDialog(url,id,"dialogWidth:"+w+"px;dialogHeight:"+h+"px");
	} else {
		window.open(url,id,'height='+h+',width='+w+',toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ,modal=yes');
	}
}

function borderize(divid, w) {
	cur = document.getElementById(divid).innerHTML;
	tablewidth = w + 32;
	xwidth = w - 200;
	
	x = '<table cellpadding="0" cellspacing="0" width="'+tablewidth+'">';
	x = x + '<tr><td width="14" height="14"><img src="/net/external/borderize/top-l.png" width="14" height="14"></td><td background="/net/external/borderize/top.png"><img src="/net/images/spacer.gif" width="1" height="1"></td></td><td width="18" height="14"><img src="/net/external/borderize/top-r.png" width="18" height="14"></td></tr>';
	x = x + '<tr><td width="14" background="/net/external/borderize/l.png"><img src="/net/images/spacer.gif" width="1" height="1"></td>';
	x = x + '<td>'+cur+'</td>';
	x = x + '<td width="19" background="/net/external/borderize/r.png"><img src="/net/images/spacer.gif" width="1" height="1"></td></tr>';
	x = x + '<tr><td width="14" height="20"><img src="/net/external/borderize/bottom-l.png" width="14" height="20"></td><td background="/net/external/borderize/bottom.png"><img src="/net/images/spacer.gif" width="1" height="1"></td><td width="18" height="20"><img src="/net/external/borderize/bottom-r.png" width="18" height="20"></td></tr>';
	x = x + '</table>';
	
	
	
	document.getElementById(divid).innerHTML = x;
}


/* Start swfobject.js */

/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
/* End swfobject.js */

function replaceDivWithFlash (file,id,w,h,vars,ver,transp,divid) {
	var s1 = new SWFObject(file,id,w,h,ver,'#FFFFFF');
	s1.addParam('allowscriptaccess','always');
	s1.addParam('flashvars',vars);
	s1.addParam('quality','best');
	if (transp == true) {
		s1.addParam('wmode','transparent');
	}
	s1.addParam('scale','noscale');
	s1.addParam('salign','1');
	s1.write(divid);

}

function request(ji) {
	hu = window.location.search.substring(1);
	gy = hu.split("&");
	fResult = 1;
	
	for (i=0;i<gy.length;i++) {
		ft = gy[i].split("=");
		if (ft[0] == ji) {
			fResult = ft[1];
		}
	}
	
	if (fResult == undefined) {
		fResult = '';
	}
	
	return fResult;
}
