var borderColor1="#eee";var borderColor2="#ccc";var roundCornerColor1="#f1f9fc";var roundCornerColor2="#fff";function common_init(){fixFooter();};function $(id){return document.getElementById(id);};function fixFooter(_1){if((window.ActiveXObject&&navigator.userAgent.indexOf("MSIE 6")>0)||navigator.userAgent.indexOf("Firefox/1")>0){if(_1){scroll(0,0);}$("footer").style.position="relative";setTimeout("$(\"footer\").style.position = \"absolute\"",1);}else{if(self.screenTop&&self.screenX||MACTest()){displayObj("footer",false);setTimeout("displayObj(\"footer\", true)",1);}}};function MACTest(){var _2=new String(navigator.platform);var _3=new String(navigator.userAgent);return (_2.toLowerCase().indexOf("mac")!=-1&&_3.toLowerCase().indexOf("safari")!=-1);};function showHideObj(id,_4){var mc=$(id);if(mc){mc.style.visibility=(_4)?"visible":"hidden";}};function displayObj(id,_5,_6){var mc=$(id);if(mc){if(_5){mc.style.display=(_6)?_6:"";}else{mc.style.display="none";}}};function createXMLHttpRequest(){if(window.XMLHttpRequest){return new XMLHttpRequest();}else{if(window.ActiveXObject){return new ActiveXObject("Microsoft.XMLHTTP");}else{return;}}};function restartGif(){if(window.ActiveXObject){for(var i=0;i<document.images.length;i++){var _7=document.images[i];var _8=_7.src.toUpperCase();if(_8.substring(_8.length-3,_8.length)=="GIF"){_7.src=_7.src;}}}};function getWinW(){var _9=0;if(typeof (window.innerWidth)=="number"){_9=window.innerWidth;}else{if(document.documentElement&&document.documentElement.clientWidth){_9=document.documentElement.clientWidth;}else{if(document.body&&document.body.clientWidth){_9=document.body.clientWidth;}}}return _9;};function getWinH(){var _a=0;if(typeof (window.innerHeight)=="number"){_a=window.innerHeight;}else{if(document.documentElement&&document.documentElement.clientHeight){_a=document.documentElement.clientHeight;}else{if(document.body&&document.body.clientHeight){_a=document.body.clientHeight;}}}return _a;};function alternateTableColor(id){var _b=$(id);var _c=_b.getElementsByTagName("tr");for(i=0;i<_c.length;i++){if(i%2==0){_c[i].className="row0";}else{_c[i].className="row1";}}};function stringReplace(_d,_e){var _f=_e.length;for(var i=0;i<_f;i++){_d=_d.replace("{"+i+"}",_e[i]);}return _d;};function lockBtn(btn){$(btn).disabled=true;showHideObj("saveLoading",true);restartGif();return true;};function trace(msg){var _10=$("debugMsg");_10.innerHTML+="<p>"+msg+"</p>";};function clearTrace(){var _11=$("debugMsg");_11.innerHTML="<p><a href='javascript:clearTrace()'>Clear Trace</a></p>";};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(_12,id,w,h,_13,c,_14,_15,_16,_17){if(!document.getElementById){return;}this.DETECT_KEY=_17?_17:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_12){this.setAttribute("swf",_12);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_13){this.setAttribute("version",new deconcept.PlayerVersion(_13.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=_14?_14:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _18=(_15)?_15:window.location;this.setAttribute("xiRedirectUrl",_18);this.setAttribute("redirectUrl","");if(_16){this.setAttribute("redirectUrl",_16);}};deconcept.SWFObject.prototype={useExpressInstall:function(_19){this.xiSWFPath=!_19?"expressinstall.swf":_19;this.setAttribute("useExpressInstall",true);},setAttribute:function(_1a,_1b){this.attributes[_1a]=_1b;},getAttribute:function(_1c){return this.attributes[_1c];},addParam:function(_1d,_1e){this.params[_1d]=_1e;},getParams:function(){return this.params;},addVariable:function(_1f,_20){this.variables[_1f]=_20;},getVariable:function(_21){return this.variables[_21];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _22=new Array();var key;var _23=this.getVariables();for(key in _23){_22[_22.length]=key+"="+_23[key];}return _22;},getSWFHTML:function(){var _24="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_24="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_24+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _25=this.getParams();for(var key in _25){_24+=[key]+"=\""+_25[key]+"\" ";}var _26=this.getVariablePairs().join("&");if(_26.length>0){_24+="flashvars=\""+_26+"\"";}_24+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_24="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_24+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _27=this.getParams();for(var key in _27){_24+="<param name=\""+key+"\" value=\""+_27[key]+"\" />";}var _28=this.getVariablePairs().join("&");if(_28.length>0){_24+="<param name=\"flashvars\" value=\""+_28+"\" />";}_24+="</object>";}return _24;},write:function(_29){if(this.getAttribute("useExpressInstall")){var _2a=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_2a)&&!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 _29=="string")?document.getElementById(_29):_29;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _2b=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_2b=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 _2c=3;while(axo){try{_2c++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_2c);_2b=new deconcept.PlayerVersion([_2c,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");_2b=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_2b.major==6){return _2b;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_2b=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _2b;};deconcept.PlayerVersion=function(_2d){this.major=_2d[0]!=null?parseInt(_2d[0]):0;this.minor=_2d[1]!=null?parseInt(_2d[1]):0;this.rev=_2d[2]!=null?parseInt(_2d[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(_2e){var q=document.location.search||document.location.hash;if(_2e==null){return q;}if(q){var _2f=q.substring(1).split("&");for(var i=0;i<_2f.length;i++){if(_2f[i].substring(0,_2f[i].indexOf("="))==_2e){return _2f[i].substring((_2f[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _30=document.getElementsByTagName("OBJECT");for(var i=_30.length-1;i>=0;i--){_30[i].style.display="none";for(var x in _30[i]){if(typeof _30[i][x]=="function"){_30[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;
