var wait=1000;var ctrlClockArray=new Array();var ctrlDivArray=new Array();var ctrlWinBoxArray=new Array();function popUpWindow(C,B,H,I,E,D,F){if((typeof (nameDivInChange)!="undefined")&&(F==null)){var G=Math.round(Math.random()*1000);var A="w"+G;ctrlWinBoxArray[A]=window.open(C,A,"width="+B+",height="+H+",scrollbars="+D+",resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0,left="+I+",top="+E+",leftmargin=0,topmargin=0,marginwidth=0,marginheight=0");ctrlDivArray[A]=nameDivInChange;ctrlClock(A);setTimeout("if (ctrlWinBoxArray['"+A+"']) ctrlWinBoxArray['"+A+"'].focus();",250)}else{F=F||"w53267";newwin=window.open(C,F,"width="+B+",height="+H+",scrollbars="+D+",resizable=1,menubar=0,toolbar=0,status=0,location=0,directories=0,left="+I+",top="+E+",leftmargin=0,topmargin=0,marginwidth=0,marginheight=0");setTimeout("if (newwin) newwin.focus();",250)}}function enableButton(A){if((typeof (A)!="undefined")&&(typeof (A)!="unknown")){if((typeof A.disabled!="undefined")&&(typeof A.disabled!="unknown")){A.disabled=false}else{if(A.buttonDisabled){A.value=A.oldValue;A.onclick=A.oldOnclick;A.buttonDisabled=false}}}}function updateSelect(C,B){if((C!=null)&&(C.options!=null)){var D=C.options.length;for(var A=0;A<D;A++){if(C.options[A].value==B){C.selectedIndex=A;break}}}}function ctrlClock(A){if(ctrlWinBoxArray[A]){if(ctrlWinBoxArray[A].closed){if(ctrlDivArray[A]!=""){document.all[ctrlDivArray[A]].style.visibility="visible";document.all[ctrlDivArray[A]+"_td"].background=""}delete ctrlDivArray[A];delete ctrlWinBoxArray[A];stopctrlClock(A)}else{ctrlClockArray[A]=setTimeout("ctrlClock('"+A+"')",wait)}}}function stopctrlClock(A){if(ctrlClockArray[A]){clearTimeout(ctrlClockArray[A]);delete ctrlClockArray[A]}}function addLoadEvent(A){var B=window.onload;if(typeof window.onload!="function"){window.onload=A}else{window.onload=function(){if(B){B()}A()}}}var hoverClass="AspNet-Menu-Hover";var topmostClass="AspNet-Menu";function CanHaveClass(A){return((A!=null)&&(A.className!=null))}function HasAnyClass(A){return(CanHaveClass(A)&&(A.className.length>0))}function HasClass(A,B){return(HasAnyClass(A)&&(A.className.indexOf(B)>-1))}function AddClass(A,B){if(HasAnyClass(A)){if(!HasClass(A,B)){A.className=A.className+" "+B}}else{if(CanHaveClass(A)){A.className=B}}}function AddClassUpward(D,A,C){var B=D;while(B!=null){if(B.tagName=="LI"){AddClass(B,C)}B=B.parentNode}}function SwapClass(B,A,C){if(HasAnyClass(B)){B.className=B.className.replace(new RegExp(A,"gi"),C)}}function RemoveClass(B,A){SwapClass(B,A,"")}function RemoveClassUpward(D,B,A){var C=D;while(C!=null){if(C.tagName=="LI"){RemoveClass(C,A)}C=C.parentNode}}function Hover__AspNetMenu(A){AddClass(A,hoverClass);AddClassUpward(A.parentNode,topmostClass,hoverClass)}function Unhover__AspNetMenu(A){RemoveClass(A,hoverClass);RemoveClassUpward(A.parentNode,topmostClass,hoverClass)}function SetHover__AspNetMenu(){var F=document.getElementsByTagName("ul");for(var D=0;D<F.length;D++){if(F[D].className=="AspNet-Menu"){var C=F[D].getElementsByTagName("li");for(var B=0;B<C.length;B++){var E=C[B].getElementsByTagName("a");var A=E[0];C[B].onmouseover=function(){Hover__AspNetMenu(this)};C[B].onmouseout=function(){Unhover__AspNetMenu(this)};A.onfocus=function(){Hover__AspNetMenu(this.parentNode)};A.onblur=function(){Unhover__AspNetMenu(this.parentNode)}}}}}window.onload=SetHover__AspNetMenu;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(K,B,L,D,H,I,F,E,C,J){if(!document.getElementById){return }this.DETECT_KEY=J?J:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(K){this.setAttribute("swf",K)}if(B){this.setAttribute("id",B)}if(L){this.setAttribute("width",L)}if(D){this.setAttribute("height",D)}if(H){this.setAttribute("version",new deconcept.PlayerVersion(H.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(I){this.addParam("bgcolor",I)}var A=F?F:"high";this.addParam("quality",A);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var G=(E)?E:window.location;this.setAttribute("xiRedirectUrl",G);this.setAttribute("redirectUrl","");if(C){this.setAttribute("redirectUrl",C)}};deconcept.SWFObject.prototype={useExpressInstall:function(A){this.xiSWFPath=!A?"expressinstall.swf":A;this.setAttribute("useExpressInstall",true)},setAttribute:function(A,B){this.attributes[A]=B},getAttribute:function(A){return this.attributes[A]},addParam:function(B,A){this.params[B]=A},getParams:function(){return this.params},addVariable:function(B,A){this.variables[B]=A},getVariable:function(A){return this.variables[A]},getVariables:function(){return this.variables},getVariablePairs:function(){var C=new Array();var B;var A=this.getVariables();for(B in A){C[C.length]=B+"="+A[B]}return C},getSWFHTML:function(){var B="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath)}B='<embed type="application/x-shockwave-flash" src="'+this.getAttribute("swf")+'" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'"';B+=' id="'+this.getAttribute("id")+'" name="'+this.getAttribute("id")+'" ';var F=this.getParams();for(var E in F){B+=[E]+'="'+F[E]+'" '}var D=this.getVariablePairs().join("&");if(D.length>0){B+='flashvars="'+D+'"'}B+="/>"}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath)}B='<object id="'+this.getAttribute("id")+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+this.getAttribute("width")+'" height="'+this.getAttribute("height")+'" style="'+this.getAttribute("style")+'">';B+='<param name="movie" value="'+this.getAttribute("swf")+'" />';var C=this.getParams();for(var E in C){B+='<param name="'+E+'" value="'+C[E]+'" />'}var A=this.getVariablePairs().join("&");if(A.length>0){B+='<param name="flashvars" value="'+A+'" />'}B+="</object>"}return B},write:function(B){if(this.getAttribute("useExpressInstall")){var A=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(A)&&!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 C=(typeof B=="string")?document.getElementById(B):B;C.innerHTML=this.getSWFHTML();return true}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"))}}return false}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var E=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var A=navigator.plugins["Shockwave Flash"];if(A&&A.description){E=new deconcept.PlayerVersion(A.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 B=1;var C=3;while(B){try{C++;B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+C);E=new deconcept.PlayerVersion([C,0,0])}catch(D){B=null}}}else{try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(D){try{var B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");E=new deconcept.PlayerVersion([6,0,21]);B.AllowScriptAccess="always"}catch(D){if(E.major==6){return E}}try{B=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(D){}}if(B!=null){E=new deconcept.PlayerVersion(B.GetVariable("$version").split(" ")[1].split(","))}}}return E};deconcept.PlayerVersion=function(A){this.major=A[0]!=null?parseInt(A[0]):0;this.minor=A[1]!=null?parseInt(A[1]):0;this.rev=A[2]!=null?parseInt(A[2]):0};deconcept.PlayerVersion.prototype.versionIsValid=function(A){if(this.major<A.major){return false}if(this.major>A.major){return true}if(this.minor<A.minor){return false}if(this.minor>A.minor){return true}if(this.rev<A.rev){return false}return true};deconcept.util={getRequestParameter:function(C){var D=document.location.search||document.location.hash;if(C==null){return D}if(D){var B=D.substring(1).split("&");for(var A=0;A<B.length;A++){if(B[A].substring(0,B[A].indexOf("="))==C){return B[A].substring((B[A].indexOf("=")+1))}}}return""}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var B=document.getElementsByTagName("OBJECT");for(var C=B.length-1;C>=0;C--){B[C].style.display="none";for(var A in B[C]){if(typeof B[C][A]=="function"){B[C][A]=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(A){return document.all[A]}}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
