/* WSGC Copyright */
dojo.provide("wsgc");if(!dojo._hasResource["dojo.regexp"]){dojo._hasResource["dojo.regexp"]=true;dojo.provide("dojo.regexp");dojo.regexp.escapeString=function(_1,_2){return _1.replace(/([\.$?*!=:|{}\(\)\[\]\\\/^])/g,function(ch){if(_2&&_2.indexOf(ch)!=-1){return ch;}return "\\"+ch;});};dojo.regexp.buildGroupRE=function(_4,re,_6){if(!(_4 instanceof Array)){return re(_4);}var b=[];for(var i=0;i<_4.length;i++){b.push(re(_4[i]));}return dojo.regexp.group(b.join("|"),_6);};dojo.regexp.group=function(_9,_a){return "("+(_a?"?:":"")+_9+")";};}if(!dojo._hasResource["dojo.cookie"]){dojo._hasResource["dojo.cookie"]=true;dojo.provide("dojo.cookie");dojo.cookie=function(_b,_c,_d){var c=document.cookie;if(arguments.length==1){var _f=c.match(new RegExp("(?:^|; )"+dojo.regexp.escapeString(_b)+"=([^;]*)"));return _f?decodeURIComponent(_f[1]):undefined;}else{_d=_d||{};var exp=_d.expires;if(typeof exp=="number"){var d=new Date();d.setTime(d.getTime()+exp*24*60*60*1000);exp=_d.expires=d;}if(exp&&exp.toUTCString){_d.expires=exp.toUTCString();}_c=encodeURIComponent(_c);var _12=_b+"="+_c,_13;for(_13 in _d){_12+="; "+_13;var _14=_d[_13];if(_14!==true){_12+="="+_14;}}document.cookie=_12;}};dojo.cookie.isSupported=function(){if(!("cookieEnabled" in navigator)){this("__djCookieTest__","CookiesAllowed");navigator.cookieEnabled=this("__djCookieTest__")=="CookiesAllowed";if(navigator.cookieEnabled){this("__djCookieTest__","",{expires:-1});}}return navigator.cookieEnabled;};}if(!dojo._hasResource["wsgc.js.Utils"]){dojo._hasResource["wsgc.js.Utils"]=true;dojo.provide("wsgc.js.Utils");dojo.declare("wsgc.js.Utils",null,{constructor:function(_15,_16){this._savedCartCookie=_15;this._sessionCartCookie=_16;this._registerSearchFieldEvents();this._registerSignUpEmail();this._registerNavHoverEventsForIE();this._registerPopupNewWindowEvents();this._scrollToPaymentPageErrors();this._registerSVCApply();this._registerCreditCardFieldEvents();this._registerPopulateShippingFromBilling();this._registerChangeShipToEvents();this._registerInterstitialEvents();this._setBasketCount();this._registerPlaceOrder();this._registerSVCLRC();this._setSidebarHeight();this._footerJOELPopup();dojo.query(".forgotPassword").forEach(dojo.hitch(this,function(_17){dojo.connect(_17,"onclick",this,"handleForgotPasswordClick");}));dojo.connect(dojo.byId("cartForm"),"onsubmit",function(evt){dojo.query(".delete-item").forEach("item.disabled = true");return true;});},DEFAULT_SEARCH_TEXT:"keyword or item #",DEFAULT_EMAIL_TEXT:"Enter Your Email Address",POPUP_DEFAULT_HEIGHT:730,POPUP_DEFAULT_WIDTH:830,POPUP_DEFAULT_RESIZE:1,POPUP_DEFAULT_NAME:"AppPopup",_savedCartCookie:"",_sessionCartCookie:"",_setBasketCount:function(){var _19=dojo.cookie(this._sessionCartCookie.toUpperCase());if(typeof _19=="undefined"){_19=dojo.cookie(this._savedCartCookie.toUpperCase());}if((typeof _19=="undefined")||(_19.split("|").length<4)){return;}var _1a=_19.split("|")[3];if(dojo.byId("cart-count")){if(_1a!=="0"){dojo.byId("cart-count").innerHTML="("+_1a+")";}else{dojo.byId("cart-count").innerHTML="";}}},_registerSearchFieldEvents:function(){var _1b=dojo.byId("search-field");if(_1b){dojo.connect(_1b,"onfocus",this,function(evt){if(evt.currentTarget.value===this.DEFAULT_SEARCH_TEXT){evt.currentTarget.value="";}});dojo.connect(_1b,"onblur",this,function(evt){if(evt.currentTarget.value==""){evt.currentTarget.value=this.DEFAULT_SEARCH_TEXT;}});}},_registerSignUpEmail:function(){var _1e=dojo.byId("email-field");if(_1e){dojo.connect(_1e,"onfocus",this,function(evt){if(evt.currentTarget.value===this.DEFAULT_EMAIL_TEXT){evt.currentTarget.value="";}});dojo.connect(_1e,"onblur",this,function(evt){if(evt.currentTarget.value==""){evt.currentTarget.value=this.DEFAULT_EMAIL_TEXT;}});}},_registerInterstitialEvents:function(){var _21=null;dojo.query("form.interstitialForm #btn-edit").forEach(function(_22){dojo.connect(_22,"onclick",this,"_handleInterstitialEditClick");},this);dojo.query("form.interstitialForm #btn-edit-items").forEach(function(_23){dojo.connect(_23,"onclick",this,"_handleInterstitialEditClick");},this);dojo.query("form.interstitialForm #btn-edit-large").forEach(function(_24){dojo.connect(_24,"onclick",this,"_handleInterstitialEditClick");},this);if(dojo.query("form.interstitialForm #btn-continue").length>0){_21=dojo.query("form.interstitialForm #btn-continue")[0];dojo.connect(_21,"onclick",this,"_handleInterstitialContinueClick");}if(dojo.query("form.interstitialForm #btn-continue-large").length>0){_21=dojo.query("form.interstitialForm #btn-continue-large")[0];dojo.connect(_21,"onclick",this,"_handleInterstitialContinueClick");}},_registerNavHoverEventsForIE:function(){if(dojo.isIE==6){dojo.query("#nav-container li[class~=\"dropDown\"]").forEach(function(_25){dojo.connect(_25,"onmouseover",function(evt){dojo.addClass(evt.currentTarget,"dropDownHover");if(!dojo.byId("birthdate.ageValidationBirthmonth")){return;}dojo.style(dojo.byId("birthdate.ageValidationBirthmonth"),"visibility","hidden");dojo.style(dojo.byId("birthdate.ageValidationBirthday"),"visibility","hidden");});dojo.connect(_25,"onmouseout",function(evt){dojo.removeClass(evt.currentTarget,"dropDownHover");if(!dojo.byId("birthdate.ageValidationBirthmonth")){return;}dojo.style(dojo.byId("birthdate.ageValidationBirthmonth"),"visibility","");dojo.style(dojo.byId("birthdate.ageValidationBirthday"),"visibility","");});});}},_registerPopupNewWindowEvents:function(){dojo.query(".popup").forEach(dojo.hitch(this,function(_28){dojo.connect(_28,"onclick",this,function(evt){evt.preventDefault();evt.stopPropagation();var _2a=dojo.attr(evt.currentTarget,"rel");var _2b;var _2c,_2d,_2e,_2f;try{_2b=dojo.fromJson(_2a);_2c=(_2b&&typeof _2b.dim!=="undefined"&&typeof _2b.dim.height!=="undefined"&&_2b.dim.height)?_2b.dim.height:this.POPUP_DEFAULT_HEIGHT;_2d=(_2b&&typeof _2b.dim!=="undefined"&&typeof _2b.dim.width!=="undefined"&&_2b.dim.width)?_2b.dim.width:this.POPUP_DEFAULT_WIDTH;_2e=(_2b&&typeof _2b.dim!=="undefined"&&typeof _2b.dim.resize!=="undefined"&&_2b.dim.resize)?_2b.dim.resize:this.POPUP_DEFAULT_RESIZE;_2f=(_2b&&typeof _2b.name!=="undefined"!=="undefined"&&_2b.name)?_2b.name:this.POPUP_DEFAULT_NAME;}catch(e){_2c=this.POPUP_DEFAULT_HEIGHT;_2d=this.POPUP_DEFAULT_WIDTH;_2e=this.POPUP_DEFAULT_RESIZE;_2f=this.POPUP_DEFAULT_NAME;}var url=evt.currentTarget.href;var _31="toolbar=no,location=no,directories=no,scrollbars=1,resizable="+_2e+",height="+_2c+",width="+_2d+",screenX=4,screenY=4,top=4,left=4";var win=window.open(url,_2f,_31);win.focus();});}));dojo.query(".newWindow").forEach(function(_33){dojo.connect(_33,"onclick",this,function(evt){evt.preventDefault();evt.stopPropagation();var _35=dojo.attr(evt.currentTarget,"rel");var _36;var _37;try{_36=dojo.fromJson(_35);_37=(_36&&typeof _36.name!=="undefined"!=="undefined"&&_36.name)?_36.name:this.POPUP_DEFAULT_NAME;}catch(e){_37=this.POPUP_DEFAULT_NAME;}var url=evt.currentTarget.href;var _39="toolbar=yes,location=yes,directories=no,scrollbars=1,resizable=1";var win=window.open(url,_37,_39);if(window.focus){win.focus();}});},this);dojo.query(".close").forEach(function(_3b){dojo.connect(_3b,"onclick",function(evt){evt.preventDefault();evt.stopPropagation();window.close();});});dojo.query(".closeAndContinue").forEach(function(_3d){dojo.connect(_3d,"onclick",this,"_newParentWindow");},this);dojo.query(".driveParent").forEach(function(_3e){dojo.connect(_3e,"onclick",this,"_redirectParent");},this);dojo.query(".print, .printButton").forEach(function(_3f){dojo.connect(_3f,"onclick",function(evt){evt.preventDefault();evt.stopPropagation();window.print();});});dojo.query(".rollover").forEach(function(_41){dojo.connect(_41,"onmouseover",function(evt){var _43=evt.currentTarget.src.replace("_off","_on");evt.currentTarget.src=_43;});dojo.connect(_41,"onmouseout",function(evt){var _45=evt.currentTarget.src.replace("_on","_off");evt.currentTarget.src=_45;});dojo.connect(_41,"onfocus",function(evt){var _47=evt.currentTarget.src.replace("_off","_on");evt.currentTarget.src=_47;});dojo.connect(_41,"onblur",function(evt){var _49=evt.currentTarget.src.replace("_on","_off");evt.currentTarget.src=_49;});});dojo.query(".delete-item").forEach(function(_4a){dojo.connect(_4a,"onclick",function(evt){var _4c=_4a.name;document.cartForm[_4c].value="true";});});dojo.query(".checkoutButton").forEach(function(_4d){dojo.connect(_4d,"onclick",function(evt){dojo.stopEvent(evt);dojo.byId("checkout").value="true";dojo.byId("cartForm").submit();});});},_registerChangeShipToEvents:function(){var _4f=dojo.byId("shipToChanged");if(!_4f){return;}opener.location="/shoppingcart/";opener.location.reload(true);window.close();},_registerSVCApply:function(){var _50=dojo.byId("applysvc");if(!_50){return;}dojo.connect(_50,"onclick",function(evt){var _52=dojo.byId("svcApply");_52.value="yes";});},_registerPlaceOrder:function(){var _53=dojo.byId("placeOrderButton");if(!_53){return;}dojo.connect(_53,"onclick",function(evt){dojo.byId("placeOrder").value="yes";});},_scrollToPaymentPageErrors:function(){var _55=dojo.byId("paymentInformation");if(!_55){return;}this.deferredPayment();var _56=dojo.byId("svcError");var _57=dojo.byId("discountsApplied");var _58=dojo.byId("ccError");if(_56){if(dojo.query(".gift-cards-and-help").length>0){dojo.query(".gift-cards-and-help")[0].scrollIntoView(true);}}else{if(_58){if(dojo.query(".payment-information-block").length>0){dojo.query(".payment-information-block")[0].scrollIntoView(true);}}else{if(_57){if(dojo.query(".gift-cards-and-help").length>0){dojo.query(".gift-cards-and-help")[0].scrollIntoView(true);}}}}var _59=dojo.byId("creditCard.payType");if(_59.value==8){dojo.attr("creditCard.cardExpMonth","disabled",true);dojo.attr("creditCard.cardExpYear","disabled",true);dojo.attr("creditCard.cardVerificationNumber","disabled",true);}},_registerCreditCardFieldEvents:function(){var _5a=dojo.byId("creditCard.payType");if(!_5a){return;}dojo.connect(_5a,"onchange",dojo.hitch(this,function(evt){var _5c=evt.target.value;var _5d=dojo.byId("creditCard.cardExpMonth");var _5e=dojo.byId("creditCard.cardExpYear");var _5f=dojo.byId("creditCard.cardVerificationNumber");var _60=dojo.byId("allowZeroExp");if(_5c==="8"){_5d.selectedIndex=0;dojo.attr(_5d,"disabled",true);_5e.selectedIndex=0;dojo.attr(_5e,"disabled",true);dojo.attr(_5f,"disabled",true);_60.value="Y";}else{dojo.attr(_5d,"disabled",false);dojo.attr(_5e,"disabled",false);dojo.attr(_5f,"disabled",false);_60.value="N";}this.deferredPayment();}));},_registerPopulateShippingFromBilling:function(){var _61=dojo.byId("applyBillingAddtoShipping");if(_61){dojo.connect(_61,"onclick",function(evt){var _63=evt.target.checked;if(_63){dojo.attr("shiptoAddress.fullName",{"value":dojo.byId("billtoAddress.fullName").value,"disabled":"disabled"});dojo.attr("shiptoAddress.addrLine1",{"value":dojo.byId("billtoAddress.addrLine1").value,"disabled":"disabled"});dojo.attr("shiptoAddress.addrLine2",{"value":dojo.byId("billtoAddress.addrLine2").value,"disabled":"disabled"});dojo.attr("shiptoAddress.city",{"value":dojo.byId("billtoAddress.city").value,"disabled":"disabled"});document.getElementById("shiptoAddress.state").value=document.getElementById("billtoAddress.state").value;dojo.byId("shiptoAddress.state").selectedIndex=dojo.byId("billtoAddress.state").selectedIndex;dojo.attr("shiptoAddress.state","disabled","true");dojo.attr("shiptoAddress.zip",{"value":dojo.byId("billtoAddress.zip").value,"disabled":"disabled"});dojo.attr("shiptoAddress.dayPhone",{"value":dojo.byId("billtoAddress.dayPhone").value,"disabled":"disabled"});dojo.attr("shiptoAddress.eveningPhone",{"value":dojo.byId("billtoAddress.eveningPhone").value,"disabled":"disabled"});dojo.query("#ship-account-info input, #ship-account-info select").addClass("disabled");}else{dojo.query("#ship-account-info input, #ship-account-info select").forEach(function(_64){_64.removeAttribute("disabled");});dojo.query("#ship-account-info input, #ship-account-info select").removeClass("disabled");}});if(dojo.attr(_61,"checked")===true){dojo.query("#ship-account-info input, #ship-account-info select").forEach(function(_65){_65.setAttribute("disabled","disabled");});}}},handleForgotPasswordClick:function(evt){dojo.stopEvent(evt);var _67=dojo.byId("loginForm");if(_67){_67.action=secureAppUrl+"account/password-request-confirmation.html";_67.submit();}},_handleInterstitialEditClick:function(evt){dojo.stopEvent(evt);dojo.byId("isEditMode").value="1";this._postInterstitialForm();},_handleInterstitialContinueClick:function(evt){dojo.stopEvent(evt);dojo.byId("isEditMode").value="0";this._postInterstitialForm();},_postInterstitialForm:function(){if(dojo.query(".interstitialForm").length>0){var _6a=dojo.query(".interstitialForm")[0];_6a.submit();}},_forwardToExternalSite:function(win,url){if(win){win.close();}var _6d=window.open(url);},_registerSVCLRC:function(){var _6e="";dojo.query(".removeSVCLRCButton").forEach(function(_6f){dojo.connect(_6f,"onclick",function(evt){if(!dojo.attr(evt.currentTarget,"svcnumber")){return false;}_6e=dojo.attr(evt.currentTarget,"svcnumber");dojo.byId("removeSvcLrc").value=_6e;return true;});});},_newParentWindow:function(evt){var win;var url=evt.currentTarget.href;if(dojo.isFF){try{if(dojo.exists("window.opener.utils._forwardToExternalSite")){window.opener.utils._forwardToExternalSite(window,url);}else{win=window.open(url);window.close();}}catch(e){win=window.open(url);window.close();}}else{win=window.open(url);window.close();}},_redirectParent:function(evt){evt.preventDefault();evt.stopPropagation();var url=evt.currentTarget.href;if(dojo.exists("window.opener")){window.opener.location.href=url;if(dojo.exists("window.opener.focus")){window.opener.focus();}}else{var win=window.open(url);window.close();}window.close();},_setSidebarHeight:function(){if(dojo.byId("sidebar-with-content")&&dojo.byId("sidebar")&&dojo.byId("content")){dojo.byId("sidebar").style.height="auto";dojo.byId("content").style.height="auto";var _77=Math.max(dojo.marginBox("sidebar").h,dojo.marginBox("content").h)-1;dojo.marginBox("sidebar",{h:_77});dojo.marginBox("content",{h:_77});}},deferredPayment:function(){var _78=dojo.byId("creditCard.payType").value;var _79=dojo.byId("deferredPayment");if(_79){var _7a=dojo.byId("deferPayments");var _7b=_7a.value.split(",");var _7c=dojo.byId("creditCard.payType").options;var _7d=dojo.byId("deferredCardType");for(var i=0;i<_7b.length;i++){if(_78===_7b[i]){for(var j=0;j<_7c.length;j++){if(_7c[j].value==_78){_7d.innerHTML=_7c[j].text;}}dojo.style(_79,{"display":"block"});break;}else{dojo.style(_79,{"display":"none"});}}}},_footerJOELPopup:function(){var _80=dojo.byId("joinEmail");if(_80){dojo.connect(_80,"onsubmit",function(evt){evt.preventDefault();evt.stopPropagation();var url=document.joinEmail.action+"?email="+encodeURIComponent(document.joinEmail.email.value);var _83="toolbar=no,location=no,directories=no,scrollbars=1,resizable=0,height=300,width=410,screenX=4,screenY=4,top=4,left=4";var win=window.open(url,"joinemail",_83);win.focus();});}}});}if(!dojo._hasResource["dojox.xml.parser"]){dojo._hasResource["dojox.xml.parser"]=true;dojo.provide("dojox.xml.parser");dojox.xml.parser.parse=function(str){if(dojo.isIE){var _86=new ActiveXObject("Microsoft.XMLDOM");_86.async="false";_86.loadXML(str);var pe=_86.parseError;if(pe.errorCode!==0){throw new Error("Line: "+pe.line+"\n"+"Col: "+pe.linepos+"\n"+"Reason: "+pe.reason+"\n"+"Error Code: "+pe.errorCode+"\n"+"Source: "+pe.srcText);}return _86;}else{var _88=new DOMParser();var _86=_88.parseFromString(str,"text/xml");var de=_86.documentElement;var _8a="http://www.mozilla.org/newlayout/xml/parsererror.xml";if(de.nodeName=="parsererror"&&de.namespaceURI==_8a){var _8b=de.getElementsByTagNameNS(_8a,"sourcetext")[0];if(!_8b){_8b=_8b.firstChild.data;}throw new Error("Error parsing text "+_86.documentElement.firstChild.data+" \n"+_8b);}return _86;}};}if(!dojo._hasResource["dojox.embed.Flash"]){dojo._hasResource["dojox.embed.Flash"]=true;dojo.provide("dojox.embed.Flash");(function(){var _8c,_8d;var _8e="dojox-embed-flash-",_8f=0;function prep(_90){_90=dojo.mixin({expressInstall:false,width:320,height:240,style:null,redirect:null},_90||{});if(!("path" in _90)){console.error("dojox.embed.Flash(ctor):: no path reference to a Flash movie was provided.");return null;}if(!("id" in _90)){_90.id=(_8e+_8f++);}return _90;};if(dojo.isIE){_8c=function(_91){_91=prep(_91);if(!_91){return null;}var _92=_91.path;if(_91.vars){var a=[];for(var p in _91.vars){a.push(p+"="+_91.vars[p]);}_92+=((_92.indexOf("?")==-1)?"?":"&")+a.join("&");}var s="<object id=\""+_91.id+"\" "+"classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" "+"width=\""+_91.width+"\" "+"height=\""+_91.height+"\""+((_91.style)?" style=\""+_91.style+"\"":"")+">"+"<param name=\"movie\" value=\""+_92+"\" />";if(_91.params){for(var p in _91.params){s+="<param name=\""+p+"\" value=\""+_91.params[p]+"\" />";}}s+="</object>";return {id:_91.id,markup:s};};_8d=(function(){var _96=10,_97=null;while(!_97&&_96>6){try{_97=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_96--);}catch(e){}}if(_97){var v=_97.GetVariable("$version").split(" ")[1].split(",");return {major:(v[0]!=null)?parseInt(v[0]):0,minor:(v[1]!=null)?parseInt(v[1]):0,rev:(v[2]!=null)?parseInt(v[2]):0};}return {major:0,minor:0,rev:0};})();}else{_8c=function(_99){_99=prep(_99);if(!_99){return null;}var _9a=_99.path;if(_99.vars){var a=[];for(var p in _99.vars){a.push(p+"="+_99.vars[p]);}_9a+=((_9a.indexOf("?")==-1)?"?":"&")+a.join("&");}var s="<embed type=\"application/x-shockwave-flash\" "+"src=\""+_9a+"\" "+"id=\""+_99.id+"\" "+"name=\""+_99.id+"\" "+"width=\""+_99.width+"\" "+"height=\""+_99.height+"\""+((_99.style)?" style=\""+_99.style+"\" ":"")+"swLiveConnect=\"true\" "+"allowScriptAccess=\"always\" "+"pluginspage=\""+window.location.protocol+"//www.adobe.com/go/getflashplayer\" ";if(_99.params){for(var p in _99.params){s+=" "+p+"=\""+_99.params[p]+"\"";}}s+=" />";return {id:_99.id,markup:s};};_8d=(function(){var _9e=navigator.plugins["Shockwave Flash"];if(_9e&&_9e.description){var v=_9e.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split(".");return {major:(v[0]!=null)?parseInt(v[0]):0,minor:(v[1]!=null)?parseInt(v[1]):0,rev:(v[2]!=null)?parseInt(v[2]):0};}return {major:0,minor:0,rev:0};})();}dojox.embed.Flash=function(_a0,_a1){this.id=null;this.movie=null;this.domNode=null;if(_a0&&_a1){this.init(_a0,_a1);}};dojo.extend(dojox.embed.Flash,{onReady:function(_a2){},onLoad:function(_a3){},init:function(_a4,_a5){this.destroy();_a5=_a5||this.domNode;if(!_a5){throw new Error("dojox.embed.Flash: no domNode reference has been passed.");}this._poller=null;this._pollCount=0,this._pollMax=250;if(dojox.embed.Flash.initialized&&dojox.embed.Flash.available!==0){this.id=dojox.embed.Flash.place(_a4,_a5);this.domNode=_a5;setTimeout(dojo.hitch(this,function(){this.movie=(dojo.isIE)?dojo.byId(this.id):document[this.id];this.onReady(this.movie);this._poller=setInterval(dojo.hitch(this,function(){if(this.movie&&typeof this.movie.PercentLoaded==="function"&&(this.movie.PercentLoaded()==100||this._pollCount++>this._pollMax)){clearInterval(this._poller);delete this._poller;delete this._pollCount;delete this._pollMax;this.onLoad(this.movie);}}),10);}),1);}else{dojo.query("img",dojo.byId(this.domNode)).forEach("dojo.style(item, 'display', 'inline')");}},_destroy:function(){this.domNode.removeChild(this.movie);this.id=this.movie=this.domNode=null;},destroy:function(){if(!this.movie){return;}var _a6=dojo.mixin({},{id:true,movie:true,domNode:true,onReady:true,onLoad:true});for(var p in this){if(!_a6[p]){delete this[p];}}if(this._poller){dojo.connect(this,"onLoad",this,"_destroy");}else{this._destroy();}}});dojo.mixin(dojox.embed.Flash,{minSupported:8,available:_8d.major,supported:(_8d.major>=8),version:_8d,initialized:false,onInitialize:function(){dojox.embed.Flash.initialized=true;},__ie_markup__:function(_a8){return _8c(_a8);},proxy:function(obj,_aa){dojo.forEach((dojo.isArray(_aa)?_aa:[_aa]),function(_ab){this[_ab]=dojo.hitch(this,function(){return (function(){return eval(this.movie.CallFunction("<invoke name=\""+_ab+"\" returntype=\"javascript\">"+"<arguments>"+dojo.map(arguments,function(_ac){return __flash__toXML(_ac);}).join("")+"</arguments>"+"</invoke>"));}).apply(this,arguments||[]);});},obj);}});if(dojo.isIE){dojox.embed.Flash.place=function(_ad,_ae){var o=dojox.embed.Flash.__ie_markup__(_ad);_ae=dojo.byId(_ae);if(!_ae){_ae=dojo.doc.createElement("div");_ae.id=o.id+"-container";dojo.body().appendChild(_ae);}if(o){_ae.innerHTML=o.markup;return o.id;}return null;};dojox.embed.Flash.onInitialize();}else{dojox.embed.Flash.place=function(_b0,_b1){var o=_8c(_b0);_b1=dojo.byId(_b1);if(!_b1){_b1=dojo.doc.createElement("div");_b1.id=o.id+"-container";dojo.body().appendChild(_b1);}if(o){_b1.innerHTML=o.markup;return o.id;}return null;};dojox.embed.Flash.onInitialize();}})();}if(!dojo._hasResource["wsgc.js.MetricsWrapper"]){dojo._hasResource["wsgc.js.MetricsWrapper"]=true;dojo.provide("wsgc.js.MetricsWrapper");dojo.declare("wsgc.js.MetricsWrapper",null,{constructor:function(){dojo.query("[metrics]").forEach(dojo.hitch(this,function(_b3){dojo.connect(_b3,"onclick",this,"_executeMetricsCall");}));},_executeMetricsCall:function(evt){try{var _b5=dojo.attr(evt.currentTarget,"metrics");eval(_b5);}catch(e){console.debug("Metrics call failed.");}}});}
