function getRand() { var maxCount = 10000; day = new Date(); seed = day.getTime(); return parseInt(((seed - (parseInt(seed/1000,10) *1000))/10)/100*maxCount + 1,10); } function getPopup(sUrl,iWidth,iHeight,sName,sText) { var x = 0, y = 0; // default values if (document.all) { x = window.screenLeft + 50; y = window.screenTop + 50; } else { x = window.screenX + 50; y = window.screenY + 50; } sName = (sName) ? sName : "Edit"; if(sName=="random")sName=getRand(); oPopup=window.open(sUrl,sName,"scrollbars=yes,menubar=no,toolbar=no,status=no,directories=no,location=no,width="+iWidth+",height="+iHeight+",resizable=yes,top="+y+",screenY="+y+",left="+x+",screenX="+x); if(sText)oPopup.dialogArguments=sText; oPopup.opener = self; } function confirmLink(target,confirmText,elseStat) { var conLength=confirmText.length; var RowCount=parseInt(conLength/40); var plusHeight=RowCount*16; var dialogHeight=145+plusHeight; var sUrl=jmRealPath+"jmuffin/html/confirmlink.cfm?i=1"; getPopup(sUrl,290,dialogHeight,"Dialog",confirmText); oPopup.target=target; /* var bReturnValue = window.showModalDialog(sUrl,confirmText,"dialogHeight: "+dialogHeight+"px; dialogWidth:290px; dialogTop: 150px; dialogLeft: 150px; center: Yes; help: no; resizable: No; status: No;"); var check=(bReturnValue)? bReturnValue:false ; if(target=="bool")return check; else if(check)window.location=target; else if(elseStat=="close")window.close(); */ } oForm= new Array(); function ClassForm(code) { this.code=code; this.setObject=setObject; this.check=check; this.aField= new Array(); this.aType= new Array(); } function setObject(field,sType) { this.aField[this.aField.length]=field; this.aType[this.aType.length]=sType; } function check() { var valueReturn=true; for(var i=0;i0){_19+="flashvars=\""+_1c+"\"";}_19+="/>"; }else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");} _19=""; _19+=""; var _1d=this.getParams(); for(var key in _1d){_19+="";} var _1f=this.getVariablePairs().join("&"); if(_1f.length>0){_19+="";}_19+="";} 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{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(_27){ this.major=_27[0]!=null?parseInt(_27[0]):0; this.minor=_27[1]!=null?parseInt(_27[1]):0; this.rev=_27[2]!=null?parseInt(_27[2]):0; }; deconcept.PlayerVersion.prototype.versionIsValid=function(fv){ if(this.majorfv.major){return true;} if(this.minorfv.minor){return true;} if(this.rev