// /Scripts/jquery.blockUI.js --- 6.19 Kb
(function(f){if(/1\.(0|1|2)\.(0|1|2)/.test(f.fn.jquery)||/^1.1/.test(f.fn.jquery)){alert("blockUI requires jQuery v1.2.3 or later!  You are using v"+f.fn.jquery);return}f.blockUI=function(m){c(window,m)};f.unblockUI=function(m){g(window,m)};f.growlUI=function(p,n,o){var m=f('<div class="growlUI"></div>');if(p){m.append("<h1>"+p+"</h1>")}if(n){m.append("<h2>"+n+"</h2>")}if(o==undefined){o=3000}f.blockUI({message:m,fadeIn:700,fadeOut:1000,centerY:false,timeout:o,showOverlay:false,css:f.blockUI.defaults.growlCSS})};f.fn.block=function(m){return this.each(function(){if(f.css(this,"position")=="static"){this.style.position="relative"}if(f.browser.msie){this.style.zoom=1}c(this,m)})};f.fn.unblock=function(m){return this.each(function(){g(this,m)})};f.blockUI.version=2.14;f.blockUI.defaults={message:"<h1>Please wait...</h1>",css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#ff0000",border:"none",backgroundColor:"#000",cursor:"default"},overlayCSS:{backgroundColor:"#000",opacity:"0.6"},growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:"0.6",cursor:null,color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px"},baseZ:1000,centerX:true,centerY:true,allowBodyStretch:true,constrainTabKey:true,fadeIn:200,fadeOut:400,timeout:0,showOverlay:true,focusInput:true,applyPlatformOpacityRules:true,onUnblock:null,quirksmodeOffsetHack:4};var d=f.browser.msie&&/MSIE 6.0/.test(navigator.userAgent);var b=null;var e=[];function c(o,m){var y=(o==window);var p=m&&m.message!==undefined?m.message:undefined;m=f.extend({},f.blockUI.defaults,m||{});m.overlayCSS=f.extend({},f.blockUI.defaults.overlayCSS,m.overlayCSS||{});var x=f.extend({},f.blockUI.defaults.css,m.css||{});p=p===undefined?m.message:p;if(y&&b){g(window,{fadeOut:0})}if(p&&typeof p!="string"&&(p.parentNode||p.jquery)){var r=p.jquery?p[0]:p;var w={};f(o).data("blockUI.history",w);w.el=r;w.parent=r.parentNode;w.display=r.style.display;w.position=r.style.position;if(w.parent){w.parent.removeChild(r)}}var A=m.baseZ;var v=(f.browser.msie)?f('<iframe class="blockUI" style="z-index:'+A+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="javascript:false;"></iframe>'):f('<div class="blockUI" style="display:none"></div>');var u=f('<div class="blockUI blockOverlay" style="z-index:'+A+++';display:none;cursor:wait;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>');var q=y?f('<div class="blockUI blockMsg blockPage" style="z-index:'+A+';display:none;position:fixed"></div>'):f('<div class="blockUI blockMsg blockElement" style="z-index:'+A+';display:none;position:absolute"></div>');if(p){q.css(x)}if(!m.applyPlatformOpacityRules||!(f.browser.mozilla&&/Linux/.test(navigator.platform))){u.css(m.overlayCSS)}u.css("position",y?"fixed":"absolute");if(f.browser.msie){v.css("opacity","0.0")}f([v[0],u[0],q[0]]).appendTo(y?"body":o);var C=f.browser.msie&&(!f.boxModel||f("object,embed",y?null:o).length>0);if(d||C){if(y&&m.allowBodyStretch&&f.boxModel){f("html,body").css("height","100%")}if((d||!f.boxModel)&&!y){var D=j(o,"borderTopWidth"),s=j(o,"borderLeftWidth");var B=D?"(0 - "+D+")":0;var n=s?"(0 - "+s+")":0}f.each([v,u,q],function(t,G){var z=G[0].style;z.position="absolute";if(t<2){y?z.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.boxModel?0:"+m.quirksmodeOffsetHack+') + "px"'):z.setExpression("height",'this.parentNode.offsetHeight + "px"');y?z.setExpression("width",'jQuery.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):z.setExpression("width",'this.parentNode.offsetWidth + "px"');if(n){z.setExpression("left",n)}if(B){z.setExpression("top",B)}}else{if(m.centerY){if(y){z.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"')}z.marginTop=0}else{if(!m.centerY&&y){var E=(m.css&&m.css.top)?parseInt(m.css.top):0;var F="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+E+') + "px"';z.setExpression("top",F)}}}})}q.append(p);if(p&&(p.jquery||p.nodeType)){f(p).show()}if(m.fadeIn){if(f.browser.msie&&m.showOverlay){v.fadeIn(m.fadeIn)}if(m.showOverlay){u.fadeIn(m.fadeIn)}q.fadeIn(m.fadeIn)}else{if(f.browser.msie&&m.showOverlay){v.show()}if(m.showOverlay){u.show()}q.show()}i(1,o,m);if(y){b=q[0];e=f(":input:enabled:visible",b);if(m.focusInput){setTimeout(l,20)}}else{a(q[0],m.centerX,m.centerY)}if(m.timeout){setTimeout(function(){y?f.unblockUI(m):f(o).unblock(m)},m.timeout)}}function g(o,p){var n=o==window;var q=f(o).data("blockUI.history");p=f.extend({},f.blockUI.defaults,p||{});i(0,o,p);var m=n?f("body").children().filter(".blockUI"):f(".blockUI",o);if(n){b=e=null}if(p.fadeOut){m.fadeOut(p.fadeOut);setTimeout(function(){h(m,q,p,o)},p.fadeOut)}else{h(m,q,p,o)}}function h(m,p,o,n){m.each(function(q,r){if(this.parentNode){this.parentNode.removeChild(this)}});if(p&&p.el){p.el.style.display=p.display;p.el.style.position=p.position;if(p.parent){p.parent.appendChild(p.el)}f(p.el).removeData("blockUI.history")}if(typeof o.onUnblock=="function"){o.onUnblock(n,o)}}function i(m,q,r){var p=q==window,o=f(q);if(!m&&(p&&!b||!p&&!o.data("blockUI.isBlocked"))){return}if(!p){o.data("blockUI.isBlocked",m)}if(m&&!r.showOverlay){return}var n="mousedown mouseup keydown keypress";m?f(document).bind(n,r,k):f(document).unbind(n,k)}function k(p){if(p.keyCode&&p.keyCode==9){if(b&&p.data.constrainTabKey){var o=e;var n=!p.shiftKey&&p.target==o[o.length-1];var m=p.shiftKey&&p.target==o[0];if(n||m){setTimeout(function(){l(m)},10);return false}}}if(f(p.target).parents("div.blockMsg").length>0){return true}return f(p.target).parents().children().filter("div.blockUI").length==0}function l(m){if(!e){return}var n=e[m===true?e.length-1:0];if(n){n.focus()}}function a(r,m,v){var u=r.parentNode,q=r.style;var n=((u.offsetWidth-r.offsetWidth)/2)-j(u,"borderLeftWidth");var o=((u.offsetHeight-r.offsetHeight)/2)-j(u,"borderTopWidth");if(m){q.left=n>0?(n+"px"):"0"}if(v){q.top=o>0?(o+"px"):"0"}}function j(m,n){return parseInt(f.css(m,n))||0}})(jQuery);

// /Scripts/jquery.keyfilter-1.5.js --- 1.71 Kb
(function(c){var h={pint:/[\d]/,"int":/[\d\-]/,pnum:/[\d\.]/,num:/[\d\-\.]/,hex:/[0-9a-f]/i,email:/[a-z0-9_\.\-@]/i,alpha:/[a-z_]/i,alphanum:/[a-z0-9]/i,alphanumspace:/([a-z0-9\s])/i};var a={TAB:9,RETURN:13,ESC:27,BACKSPACE:8,DELETE:46};var g={63234:37,63235:39,63232:38,63233:40,63276:33,63277:34,63272:46,63273:36,63275:35};var f=function(l){var j=l.keyCode;j=c.browser.safari?(g[j]||j):j;return(j>=33&&j<=40)||j==a.RETURN||j==a.TAB||j==a.ESC};var i=function(l){var j=l.keyCode;j=c.browser.safari?(g[j]||j):j;return j==a.RETURN};var d=function(l){var j=l.keyCode;return j==8||j==9||j==13||j==40||j==27||j==16||j==17||(j>=18&&j<=20)||(c.browser.opera&&(j==8||(j>=33&&j<=35)||(j>=36&&j<=39)||(j>=44&&j<=45)))};var e=function(l){var j=l.keyCode||l.charCode;return c.browser.safari?(g[j]||j):j};var b=function(j){return j.charCode||j.keyCode||j.which};c.fn.keyfilter=function(m,l){var n=this;var k=null;function j(){n.each(function(){try{var t=c(this);var r=t.val();var o="";for(var q=0;q<r.length;q++){var u=r.substring(q,q+1);var p=false;if(c.isFunction(m)){p=m.call(this,u)}else{p=m.test(u)}if(p){o+=u}}if(o!=r){t.val(o)}}catch(s){}})}k=setInterval(j,250);return this.keypress(function(q){if(q.ctrlKey||q.altKey){return}var o=e(q);if(l&&i(q)){l(q);return}if(c.browser.mozilla&&(f(q)||o==a.BACKSPACE||o==a.DELETE)){return}var s=b(q),r=String.fromCharCode(s),p=true;if(!c.browser.mozilla&&(d(q)||!r)){return}if(c.isFunction(m)){p=m.call(this,r)}else{p=m.test(r)}if(!p){q.preventDefault()}})};c.extend(c.fn.keyfilter,{defaults:{masks:h},version:1.4});c(document).ready(function(){var j=c("input[class*=mask],textarea[class*=mask]");for(var k in c.fn.keyfilter.defaults.masks){j.filter(".mask-"+k).keyfilter(c.fn.keyfilter.defaults.masks[k])}})})(jQuery);
// /Scripts/swfobject.js --- 6.15 Kb
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(m,b,n,e,j,k,g,f,d,l){if(!document.getElementById){return}this.DETECT_KEY=l?l:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(m){this.setAttribute("swf",m)}if(b){this.setAttribute("id",b)}if(n){this.setAttribute("width",n)}if(e){this.setAttribute("height",e)}if(j){this.setAttribute("version",new deconcept.PlayerVersion(j.toString().split(".")))}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true}if(k){this.addParam("bgcolor",k)}var a=g?g:"high";this.addParam("quality",a);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var i=(f)?f:window.location;this.setAttribute("xiRedirectUrl",i);this.setAttribute("redirectUrl","");if(d){this.setAttribute("redirectUrl",d)}};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 f=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description){f=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);f=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");f=new deconcept.PlayerVersion([6,0,21]);b.AllowScriptAccess="always"}catch(d){if(f.major==6){return f}}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(d){}}if(b!=null){f=new deconcept.PlayerVersion(b.GetVariable("$version").split(" ")[1].split(","))}}}return f};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;
// /Scripts/SpyNet.js --- 1.75 Kb
var controlsMap=null;var _UI=null;var controlsToMap=[{guid:"96E01E03-5909-4BA0-8E22-74170CD440BE",name:"billingoption"},{guid:"8B6E1086-2CB5-4144-8A3A-0D9212CDC4AB",name:"billingmatrixformulticharger"}];$().ajaxSuccess(function(e,xhr,settings){if(settings.dataType!="script"){var NewURL;if(settings.url.indexOf("?")>-1){var mappedControlName="";var ajaxModuleId=GetUrlParameter(settings.url,"module");if(controlsMap!=null&&ajaxModuleId!=null){var currControlName=DefineControl(ajaxModuleId);mappedControlName=MapControl(currControlName)}if(mappedControlName==""){mappedControlName=encodeURIComponent(settings.url.substring(0,settings.url.indexOf("?")))}NewURL=_UI+"&pe="+mappedControlName;NewURL+="&qs="+encodeURIComponent(settings.url.substring(settings.url.indexOf("?")+1))}else{NewURL=_UI+"&pe="+encodeURIComponent(settings.url)}NewURL+="&rf="+encodeURIComponent(document.location);NewURL+="&rnd="+Math.round(Math.random()*10000);_i1=new Image();_i1.src=NewURL}});function DefineControl(cid){var controlName;if(cid!=null&&cid.length>0&&controlsToMap!=null&&controlsToMap.length>0){for(var index=0;index<controlsToMap.length;++index){if(controlsToMap[index].guid==cid){controlName=controlsToMap[index].name;break}}}return controlName}function GetUrlParameter(url,paramName){var urlComplexed=url.split("?");if(urlComplexed.length>1){var querystrComplexed=urlComplexed[1].split("&");for(var i=0;i<querystrComplexed.length;++i){var currKeyValue=querystrComplexed[i];if(currKeyValue.indexOf(paramName+"=")==0){var startAt=paramName.length+1;return currKeyValue.substr(startAt,currKeyValue.length)}}}return null}function MapControl(controlName){if(controlsMap!=null){for(var i=0;i<controlsMap.length;++i){if(controlsMap[i].key.toLowerCase()==controlName){return controlsMap[i].value}}}return""};
// /Scripts/ui/globalHelpers.js --- 5.07 Kb
jQuery.getAttributes=function(F,C){var F=((typeof F==="string")?jQuery(F)[0]:F[0]),D=0,F=F.attributes,B=F.length,E=["abort","blur","change","click","dblclick","error","focus","keydown","keypress","keyup","load","mousedown","mousemove","mouseout","mouseover","mouseup","reset","resize","select","submit","unload"],A={};for(D;D<B;D++){if(C||!C&&jQuery.inArray(F[D].nodeName.replace(/^on/,""),E)==-1){A[F[D].nodeName]=F[D].nodeValue}}return A};var _beforePrivateChatCallBack=null;function setBeforePrivateChatCallBack(callback){_beforePrivateChatCallBack=callback}function fireBeforePrivateChatCallBack(){if(_beforePrivateChatCallBack){if(!_beforePrivateChatCallBack()){return false}}return true}function goToPrivateChat(url){if(_beforePrivateChatCallBack){if(!_beforePrivateChatCallBack()){return false}}navigateToUrl(url)}function navigateToUrl(url){window.location.href=url}function doAlert(id,message,cnt,buttons,position,closeHTML){var m="<div id='"+id+"'";if(cnt.css){m+=" class='"+cnt.css+" simplemodal-data'"}else{m+=" class='simplemodal-data'"}if(cnt.style){m+=" style='"+cnt.style+"'"}m+="><p>"+message+"</p>";for(var b in buttons){m+="<input id='btn"+buttons[b].id+"' type='button'";if(buttons[b].css){m+=" class='"+buttons[b].css+"'"}if(buttons[b].style){m+=" style='"+buttons[b].style+"'"}m+="' value='"+buttons[b].value+"' onclick='"+buttons[b].click+"' />"}m+="</div>";closeHTML=closeHTML==null?"<a class='modalCloseImg' title='Close'></a>":closeHTML;$.modal(m,{closeHTML:(closeHTML),position:position||["20%","30%"],overlayId:"forgetpass-overlay",onOpen:function(dialog){dialog.overlay.fadeIn("fast",function(){dialog.container.show();dialog.data.slideDown("normal")})}})}var _currentRoomChangedListener=[];var _currRoom=0;function getCurrRoom(){var firstCat=$(".narrowItemCategory a:first");if(_currRoom==0&&firstCat.length>0&&firstCat.attr("rid")!=undefined&&firstCat.attr("rid")!=null){var firstCatRooms=firstCat.attr("rid").split(",");if(firstCatRooms.length>0){_currRoom=firstCatRooms[0]}}return _currRoom}function setCurrentRoomChangedListener(listener){if($.inArray(listener,_currentRoomChangedListener)==-1){_currentRoomChangedListener.push(listener)}}function setCurrRoom(id){_currRoom=id;$.cookie("GuestLastRoom",id,{expires:10,path:"/"});for(var listener in _currentRoomChangedListener){_currentRoomChangedListener[listener](id)}}function NewWindow(url,width,height,scrollbars,resizable,menubar,loc){var winl=(screen.width-width)/2;var wint=(screen.height-height)/2;var options="width="+width+",height="+height;options+=",top="+wint+",left="+winl;options+",scrollbars="+(scrollbars=="yes"?scrollbars:"no");options+",resizable="+(resizable=="yes"?resizable:"no");options+",menubar="+(menubar=="yes"?menubar:"no");options+",location="+(loc=="yes"?loc:"no");var win=window.open(url,"nw",options);win.window.focus()}(function($){$.fn.truncate=function(options){var defaults={length:12,ellipsisText:"...",set_alt:true,set_title:true};var options=$.extend(defaults,options);return this.each(function(){var obj=$(this);var html=obj.html();if(options.set_alt){obj.attr("alt",html)}if(options.set_title){obj.attr("title",html)}if(html.length>options.length){var newHtml=html.substring(0,options.length);newHtml+=options.ellipsisText;obj.html(newHtml)}})};$.sumExtend=function(target,source){for(var i in source){if(source[i]!=null&&source[i].constructor.toString().indexOf("Array")>0){for(var k in source[i]){target[i][k]+=source[i][k]}}}}})(jQuery);function getFullColor(c){if(c.charAt(0)=="r"){var rgb=c.match(/\d+/g);c="#"+parseInt(rgb[0]).toString(16)+parseInt(rgb[1]).toString(16)+parseInt(rgb[2]).toString(16);return c}else{if(c.length==7){return c}return"#"+c.charAt(1)+c.charAt(1)+c.charAt(2)+c.charAt(2)+c.charAt(3)+c.charAt(3)}}function getFlashBGColor(el){var bcolor="#000000";while(el.length!=0&&el[0].tagName!="HTML"){var elBcolor=el.css("background-color");if(elBcolor!="transparent"){bcolor=getFullColor(elBcolor);break}el=el.parent()}return bcolor}var v_ctl=[];function getMovie(movieName,store){var mv=v_ctl[movieName];if(!mv){if(window.document[movieName]){mv=window.document[movieName]}else{if(navigator.appName.indexOf("Microsoft Internet")==-1){if(document.embeds&&document.embeds[movieName]){mv=document.embeds[movieName]}}else{mv=document.getElementById(movieName)}}}if(store){v_ctl[movieName]=mv}return mv}function _StringFormatInline(){var txt=this;for(var i=0;i<arguments.length;i++){var exp=new RegExp("\\{"+(i)+"\\}","gm");txt=txt.replace(exp,arguments[i])}return txt}function _StringFormatStatic(){for(var i=1;i<arguments.length;i++){var exp=new RegExp("\\{"+(i-1)+"\\}","gm");arguments[0]=unescape(arguments[0]).replace(exp,arguments[i])}return arguments[0]}if(!String.prototype.format){String.prototype.format=_StringFormatInline}if(!String.format){String.format=_StringFormatStatic}$.urlParam=function(name){var results=new RegExp("[\\?&]"+name+"=([^&#]*)").exec(window.location.href);if(!results){return""}return results[1]||""};jQuery.fn.center=function(){var w=$(window);this.css("position","absolute");this.css("top",(w.height()-this.height())/2+w.scrollTop()+"px");this.css("left",(w.width()-this.width())/2+w.scrollLeft()+"px");return this};

