(function(){var a=function(f,b){var c=this,g=document,e;c.e=g.createElement(f);if(b){for(e in b){if(e.toString()==="class"){c.e.className=b[e]}else{c.e.setAttribute(e,b[e])}}}c.child=function(j){if(typeof j!=="object"||typeof j.length!=="number"||typeof j.splice!=="function"){j=[j]}for(var h=0,d=j.length;h<d;h++){if(typeof j[h]==="undefined"){break}if(typeof j[h].asDOM!=="undefined"){c.e.appendChild(j[h].asDOM())}else{c.e.appendChild(j[h])}}return c};c.html=function(h,d){d=d||false;if(d){c.e.innerHTML=h}else{c.e.innerHTML+=h}return c};c.asDOM=function(){return c.e};c.asHTML=function(){var d=g.createElement("div");d.appendChild(c.e);return d.innerHTML};return c};window.DOMBuilder=function(c,b){return new a(c,b)};window.DOMBuilder.DOM=function(c){var e=document.createDocumentFragment(),d,b,g=new a("div").child(c).asDOM().childNodes;while(g.length){e.appendChild(g[0])}return e}})();(function(b){function a(e,d){e=jQuery(e);var c=this,f=jQuery(document.createElement("div")).addClass(d.baseClass).addClass((d.fixed)?d.fixedClass:"").addClass((d.persistent)?d.persistentClass:"").html(d.content).appendTo(e);if(!d.hidden){f.show()}else{f.hide()}if(!d.persistent){e.hover(function(g){c.show(g)},function(){c.hide()});if(!d.fixed){e.mousemove(function(g){if(f.css("display")!=="none"){c.updatePos(g)}})}}else{e.click(function(g){if(g.target===e.get(0)){if(f.css("display")!=="none"){c.hide()}else{c.show()}}});jQuery(window).mousedown(function(h){if(f.css("display")!=="none"){var g=(d.focus)?jQuery(h.target).parents(".tooltip").andSelf().filter(function(){return this===f.get(0)}).length:0;if(g===0){c.hide()}}})}jQuery.extend(c,{getVersion:function(){return[1,2,0]},getParent:function(){return e},getTooltip:function(){return f},getPos:function(){return f.offset()},setPos:function(i,h){var g=e.offset();if(typeof i==="string"){i=parseInt(i,10)+g.left}if(typeof h==="string"){h=parseInt(h,10)+g.top}f.css({left:i,top:h});return c},show:function(g){d.onBeforeShow.call(c);c.updatePos((d.fixed)?null:g);switch(d.showEffect){case"fade":f.fadeIn(d.showTime);break;case"slide":f.slideDown(d.showTime,c.updatePos);break;case"custom":d.showCustom.call(f,d.showTime);break;default:case"none":f.show();break}f.addClass(d.activeClass);d.onShow.call(c);return c},hide:function(){d.onBeforeHide.call(c);switch(d.hideEffect){case"fade":f.fadeOut(d.hideTime);break;case"slide":f.slideUp(d.hideTime);break;case"custom":d.hideCustom.call(f,d.hideTime);break;default:case"none":f.hide();break}f.removeClass(d.activeClass);d.onHide.call(c);return c},update:function(g){f.html(g);d.content=g;return c},load:function(g,h){d.beforeContentLoad.call(c);f.load(g,h,function(){d.onContentLoad.call(c)});return c},boundryCheck:function(l,j){var i=l+f.outerWidth(),h=j+f.outerHeight(),g=jQuery(window).width()+jQuery(window).scrollLeft(),k=jQuery(window).height()+jQuery(window).scrollTop();return[(i>=g),(h>=k)]},updatePos:function(i){var n=f.outerWidth(),p=f.outerHeight(),h,g,m,o,l,j,k;if(!i&&d.fixed){if(d.position.constructor===Array){h=parseInt(d.position[0],10);g=parseInt(d.position[1],10)}else{if(jQuery(d.position).attr("nodeType")===1){m=jQuery(d.position).offset();h=m.left;g=m.top}else{o=e.offset();l=e.outerWidth();j=e.outerHeight();switch(d.position){case"top":h=o.left-(n/2)+(l/2);g=o.top-p;break;case"bottom":h=o.left-(n/2)+(l/2);g=o.top+j;break;case"left":h=o.left-n;g=o.top-(p/2)+(j/2);break;case"right":h=o.left+l;g=o.top-(p/2)+(j/2);break;default:case"default":h=(l/2)+o.left+20;g=o.top;break}}}}else{h=i.pageX;g=i.pageY}if(typeof d.position!=="object"){h=h+d.offset[0];g=g+d.offset[1];if(d.boundryCheck){k=c.boundryCheck(h,g);if(k[0]){h=h-(n/2)-(2*d.offset[0])}if(k[1]){g=g-(p/2)-(2*d.offset[1])}}}else{if(typeof d.position[0]==="string"){h=String(h)}if(typeof d.position[1]==="string"){g=String(g)}}c.setPos(h,g);return c}})}jQuery.fn.simpletip=function(c){var d=jQuery(this).eq(typeof c==="number"?c:0).data("simpletip"),e={content:"A simple tooltip",persistent:false,focus:false,hidden:true,position:"default",offset:[0,0],boundryCheck:true,fixed:true,showEffect:"fade",showTime:150,showCustom:null,hideEffect:"fade",hideTime:150,hideCustom:null,baseClass:"tooltip",activeClass:"active",fixedClass:"fixed",persistentClass:"persistent",focusClass:"focus",onBeforeShow:function(){},onShow:function(){},onBeforeHide:function(){},onHide:function(){},beforeContentLoad:function(){},onContentLoad:function(){}};if(d){return d}jQuery.extend(e,c);this.each(function(){var f=new a(jQuery(this),e);jQuery(this).data("simpletip",f)});return this}})(jQuery);jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,f,a,h,g){return jQuery.easing[jQuery.easing.def](e,f,a,h,g)},easeInQuad:function(e,f,a,h,g){return h*(f/=g)*f+a},easeOutQuad:function(e,f,a,h,g){return -h*(f/=g)*(f-2)+a},easeInOutQuad:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f+a}return -h/2*((--f)*(f-2)-1)+a},easeInCubic:function(e,f,a,h,g){return h*(f/=g)*f*f+a},easeOutCubic:function(e,f,a,h,g){return h*((f=f/g-1)*f*f+1)+a},easeInOutCubic:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f+a}return h/2*((f-=2)*f*f+2)+a},easeInQuart:function(e,f,a,h,g){return h*(f/=g)*f*f*f+a},easeOutQuart:function(e,f,a,h,g){return -h*((f=f/g-1)*f*f*f-1)+a},easeInOutQuart:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f+a}return -h/2*((f-=2)*f*f*f-2)+a},easeInQuint:function(e,f,a,h,g){return h*(f/=g)*f*f*f*f+a},easeOutQuint:function(e,f,a,h,g){return h*((f=f/g-1)*f*f*f*f+1)+a},easeInOutQuint:function(e,f,a,h,g){if((f/=g/2)<1){return h/2*f*f*f*f*f+a}return h/2*((f-=2)*f*f*f*f+2)+a},easeInSine:function(e,f,a,h,g){return -h*Math.cos(f/g*(Math.PI/2))+h+a},easeOutSine:function(e,f,a,h,g){return h*Math.sin(f/g*(Math.PI/2))+a},easeInOutSine:function(e,f,a,h,g){return -h/2*(Math.cos(Math.PI*f/g)-1)+a},easeInExpo:function(e,f,a,h,g){return(f===0)?a:h*Math.pow(2,10*(f/g-1))+a},easeOutExpo:function(e,f,a,h,g){return(f===g)?a+h:h*(-Math.pow(2,-10*f/g)+1)+a},easeInOutExpo:function(e,f,a,h,g){if(f===0){return a}if(f===g){return a+h}if((f/=g/2)<1){return h/2*Math.pow(2,10*(f-1))+a}return h/2*(-Math.pow(2,-10*--f)+2)+a},easeInCirc:function(e,f,a,h,g){return -h*(Math.sqrt(1-(f/=g)*f)-1)+a},easeOutCirc:function(e,f,a,h,g){return h*Math.sqrt(1-(f=f/g-1)*f)+a},easeInOutCirc:function(e,f,a,h,g){if((f/=g/2)<1){return -h/2*(Math.sqrt(1-f*f)-1)+a}return h/2*(Math.sqrt(1-(f-=2)*f)+1)+a},easeInElastic:function(f,h,e,l,k){var i=1.70158,j=0,g=l;if(h===0){return e}if((h/=k)===1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;i=j/4}else{i=j/(2*Math.PI)*Math.asin(l/g)}return -(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e},easeOutElastic:function(f,h,e,l,k){var i=1.70158,j=0,g=l;if(h===0){return e}if((h/=k)===1){return e+l}if(!j){j=k*0.3}if(g<Math.abs(l)){g=l;i=j/4}else{i=j/(2*Math.PI)*Math.asin(l/g)}return g*Math.pow(2,-10*h)*Math.sin((h*k-i)*(2*Math.PI)/j)+l+e},easeInOutElastic:function(f,h,e,l,k){var i=1.70158,j=0,g=l;if(h===0){return e}if((h/=k/2)===2){return e+l}if(!j){j=k*(0.3*1.5)}if(g<Math.abs(l)){g=l;i=j/4}else{i=j/(2*Math.PI)*Math.asin(l/g)}if(h<1){return -0.5*(g*Math.pow(2,10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j))+e}return g*Math.pow(2,-10*(h-=1))*Math.sin((h*k-i)*(2*Math.PI)/j)*0.5+l+e},easeInBack:function(e,f,a,i,h,g){if(g===undefined){g=1.70158}return i*(f/=h)*f*((g+1)*f-g)+a},easeOutBack:function(e,f,a,i,h,g){if(g===undefined){g=1.70158}return i*((f=f/h-1)*f*((g+1)*f+g)+1)+a},easeInOutBack:function(e,f,a,i,h,g){if(g===undefined){g=1.70158}if((f/=h/2)<1){return i/2*(f*f*(((g*=(1.525))+1)*f-g))+a}return i/2*((f-=2)*f*(((g*=(1.525))+1)*f+g)+2)+a},easeInBounce:function(e,f,a,h,g){return h-jQuery.easing.easeOutBounce(e,g-f,0,h,g)+a},easeOutBounce:function(e,f,a,h,g){if((f/=g)<(1/2.75)){return h*(7.5625*f*f)+a}else{if(f<(2/2.75)){return h*(7.5625*(f-=(1.5/2.75))*f+0.75)+a}else{if(f<(2.5/2.75)){return h*(7.5625*(f-=(2.25/2.75))*f+0.9375)+a}else{return h*(7.5625*(f-=(2.625/2.75))*f+0.984375)+a}}}},easeInOutBounce:function(e,f,a,h,g){if(f<g/2){return jQuery.easing.easeInBounce(e,f*2,0,h,g)*0.5+a}return jQuery.easing.easeOutBounce(e,f*2-g,0,h,g)*0.5+h*0.5+a}});$(function(){$.signin=function(){$("a.rpxnow:first").click()}});$(function(){$.notifications=function(){var c=[],b;$("img.close_notification").live("click",function(){$(this).parent().fadeOut("normal",function(){$(this).remove()})});function a(e){var d="none",f=false;if(e){d="";$.each(e,function(g,h){d+=","+h});d=d.substr(1)}$.getJSON("http://"+$("#http_host").val()+":8080/?callback=?&read_notifications="+d,function(h){var g=[];$.each(h,function(j,k){g.push(k.id);$("#notifications").append('<div class="notification" id="notification_'+k.id+'"><img src="/images/popup/close.png" class="close_notification" alt="close" />'+k.description+"</div>");c["notification_"+k.id]=setTimeout(function(){$("#notification_"+k.id).fadeOut()},10000);$("#notification_"+k.id).hover(function(){b=setTimeout(function(){f=true;$(".notification").each(function(){clearTimeout(c[$(this).attr("id")])})},1000)},function(){if(f){clearTimeout(b);c["notification_"+k.id]=setTimeout(function(){f=false;$(".notification").fadeOut()},5000)}})});$("#notifications").fadeIn("normal",function(){setTimeout(function(){a(g)},5000);$("#notifications").stop().show()})})}setTimeout(function(){$.getJSON("http://"+$("#http_host").val()+":8080/initialize?callback=?",function(d){if(d.response==="success"){a()}})},2000)}});$(function(){$.fn.tabs=function(e,d){var c=$(this),b=$("a:first",$(this)),a=$("a[href="+location.hash+"]");$("a",c).live("click",function(g){var f=(c.selector+" a");$(f).removeClass("selected");$(e).removeClass("selected");$("div.loader:visible",$(e).parent()).slideUp("fast");$(this).addClass("selected");$($(this).attr("href")+"_deck").addClass("selected")});if(location.hash&&a.length){if(d){$("a[href="+d+"]").click()}a.click()}else{b.click()}}});$(function(){$.fn.image_browser=function(){var a=$(this);if(a.length===0){return false}a.each(function(){var f=$(this).find("div.image-main img"),b=$(this).find("div.image-main p"),d=$(this).children("div.image-list"),e=$(this).find("div.image-list ul li.selected"),c="click";if(d){$(d).find("ul li a").each(function(){var h=$(this).attr("href"),j=$(this).attr("source_width"),i=$(this).attr("source_height"),g=$(this).attr("source_image");$("body").append('<img src="'+h+'" style="display: none" />')})}if($(this).hasClass("hover")){c="mouseover"}$(this).click(function(){return false});$(this).bind(c,function(i){var h=$(i.target).closest("a"),g=$(this);if(!h.length){return false}if($(h).attr("href")){f.attr("src",$(h).attr("href"))}if($(h).attr("source_width")&&$(h).attr("source_height")){b.html(""+$(h).attr("source_width")+"x"+$(h).attr("source_height"))}g.find("div.image-list ul li.selected").removeClass("selected");h.parent("li").addClass("selected");e=h.parent("li")})});return a}});$(function(){$.preferences_form=function(){var d,a=false,b=true;function c(){var e=$.trim($("#username").val());$.get("/preferences/ajax/check-username/username/"+e+"/",function(g,f){if(g==="false"){$("#username_msg").addClass("error");$("#username_msg").html("Sorry, '"+e+"' not available.");b=false}else{$("#username_msg").removeClass("error");$("#username_msg").html("");b=true;$("#form_errors").removeClass("error;")}})}$("#username").keypress(function(){clearTimeout(d);d=setTimeout(function(){c()},500)});$("#preferences_form").submit(function(){if(!b){$("#form_errors").addClass("error");$("#form_errors").html("Please fix form errors before submitting");return false}});return $(this)}});$(function(){$.fn.profile_tag_cloud=function(){var b=$(this),a=b.find(".tag_cloud-module");$("span.unhide-tags").click(function(){var c=$(this);if(a.hasClass("tag_cloud-module-popular")){c.html("Show Popular");a.removeClass("tag_cloud-module-popular").addClass("tag_cloud-module-all")}else{c.html("Show All");a.removeClass("tag_cloud-module-all").addClass("tag_cloud-module-popular")}return false});return false}});$(function(){$.fn.overlay=function(){var b=$(this),c=Math.round(b.width()),a=Math.round(b.height()),e=Math.round($(window).width()/2)-Math.round(c/2),d=Math.round((Math.round($(window).height()/2)-Math.round(a/2))*0.8);b.css({top:d,left:e});b.find("button.close").click(function(){b.fadeOut("normal")});return b}});$(function(){$.fn.tags=function(){$("li.user").add("a.edit-tags").add("form.tag-form").addClass("js");$("a.edit-tags").click(function(){var b=$(this),c=b.closest(".mef-accordion-content"),a=$("#"+c.attr("id")+" li.user");a.toggleClass("js");$("#"+c.attr("id")+" form.tag-form:first").slideToggle("fast",function(){$("#"+c.attr("id")+" input.tags:first").focus()});return false});$("input.deltag").live("click",function(){var d=$(this),f=d.closest(".mef-accordion-content"),b=$("#"+f.attr("id")+" input.controller:first").val(),c=$("#"+f.attr("id")+" input.content_id:first").val(),a=d.prev().closest("form"),e=a.next().html();$.post("/"+b+"/"+c+"/delete-tag/",{tag:e},function(g){f.replaceWith(g)});return false});$("form.tag-form").submit(function(){var d=$(this),f=parseInt(($("#currentMojo").text()),10),g=d.closest("#myTags"),a=$("#"+g.attr("id")+" input.controller:first").val(),b=$("#"+g.attr("id")+" input.content_id:first").val(),e=$("#"+g.attr("id")+" input.tags:first"),c=$(this).closest(".tag-lists");c.addClass("loading");$.post("/"+a+"/"+b+"/tag/response/true",{tags:e.val()},function(h){c.removeClass("loading");g.replaceWith(h).parents("div:hidden").show()});$("#mess").html("You just earned 1 Mojo for each tag.").slideDown().live("click",function(){$(this).slideUp()});$("#currentMojo").html(f+1);$("#badgeT").css({background:"url(/images/badge/warpshield_fs.png) no-repeat 0px -50px",opacity:1}).removeClass("gs");setTimeout(function(){$("#mess").slideUp()},1000*30);return false})}});$(function(){$.fn.rating=function(){var a=$(this).find("form input"),b=$(this).closest(".rate-module"),c=parseInt(($("#currentMojo").text()),10);a.hover(function(){var d,e;e=$(this).attr("class").substr(-1,2);for(d=1;d<=e;d++){$("#"+b.attr("id")+" form.star_"+d+":first").attr("class","star-hover star_"+d)}},function(){var e,d;for(e=1;e<=5;e++){d=$("#"+b.attr("id")+" .star_img_"+e+":first").attr("class")+" star_"+e;$("#"+b.attr("id")+" form.star_"+e+":first").attr("class",d)}}).click(function(){var h=$(this).attr("class").substr(-1,2),d=$("#"+b.attr("id")+" input.controller:first").val(),e=$("#"+b.attr("id")+" input.content_id:first").val(),g=$(this).closest("div.rating"),f;g.addClass("loading");$(this).blur();$.post("/"+d+"/"+e+"/rating/",{rating:h*2},function(i){if(i==="No Identity"){$.signin()}g.removeClass("loading")});for(f=1;f<=5;f++){if(f<=h){$("#"+b.attr("id")+" .star_"+f+":first").attr("class","star star_"+f);$("#"+b.attr("id")+" .star_img_"+f+":first").attr("class","star star_img_"+f)}else{$("#"+b.attr("id")+" .star_"+f+":first").attr("class","star-off star_"+f);$("#"+b.attr("id")+" .star_img_"+f+":first").attr("class","star-off star_img_"+f)}}if($("#badgeR").hasClass("fs")){return false}$("#mess").html("You just earned 3 Mojo.").slideDown().live("click",function(){$(this).slideUp()});$("#currentMojo").html(c+3);$("#badgeR").css({background:"url(/images/badge/warpshield_fs.png) no-repeat -50px 0px",opacity:1}).removeClass("gs");setTimeout(function(){$("#mess").slideUp()},1000*30);return false})}});$(function(){$.fn.checklist=function(a){$(this).find("a").click(function(){$(".checklist .icon-list a."+a).addClass("checked");setTimeout(function(){$.notifications()},200)});return $(this)}});$(function(){$.fn.clear_suggestion=function(){$(this).attr("title",$(this).val()).addClass("suggestion");$(this).bind("focus change",function(){if($(this).val()===$(this).attr("title")){$(this).val("");$(this).removeClass("suggestion")}});$(this).blur(function(){if($(this).val()===""){$(this).val($(this).attr("title"));$(this).addClass("suggestion")}})}});$(function(){$.fn.featured=function(){$(this).find(".blackfade").css({opacity:0.65})}});function mef_accordion(){$(".mef-accordion").livequery(function(){});$(".mef-accordion-header").live("mouseover",function(){var c=$(this),e=$(this).find("a").attr("id"),a=c.parents(".mef-accordion"),b=$('div[rel="'+e+'"]'),d=c.next();$(".mef-accordion-header").removeClass("active").addClass("gradient");if((d.is("div"))&&(d.is(":visible"))){return false}if((d.is("div"))&&(!d.is(":visible"))){if(b.hasClass("gs")){b.css("opacity",1).siblings(".gs").css("opacity",0.5)}else{$(".gs").css("opacity",0.5)}d.children("div:hidden").show();a.children(".mef-accordion-content:visible").removeClass("active").slideUp("fast");a.children(".mef-accordion-header").find(".arrow").removeClass("down").addClass("up");d.addClass("active").slideDown("fast");$(".mef-accordion-header.active").find(".arrow").removeClass("up").addClass("down");return false}})}function getPageSize(){var d=document.documentElement,a=window.innerWidth||this.innerWidth||(d&&d.clientWidth)||document.body.clientWidth,c=window.innerHeight||this.innerHeight||(d&&d.clientHeight)||document.body.clientHeight,b=[];b=[a,c];return b}function baaps_window(c,i,q){var n=i,l=q,o=getPageSize(),g=o[0],f=o[1],b=(f/2)-parseInt((q/2),10),j=(g/2)-parseInt((n/2),10),k="no",a="no",e="no",p="no",s="no",r="no",d="no",m="width="+n+"show,height="+l+",top="+b+",screenY=";m+=b+",left="+j+",screenX="+j+",toolbar="+k;m+=",location="+a+",directories="+e+",status="+p;m+=",menubar="+s+",scrollbars="+r+",resizable="+d;window.open(c,"win_name",m)}$(function(){mef_accordion();$("#moreDetail").live("click",function(a){$(".tab-controls a[href=#details]").click();return false});$(".tabs a").live("click",function(d){var a=$(this),c=a.parents(".newTabs:first").attr("id"),b=a.attr("rel");a.addClass("selected").parents("li").siblings().children("a").removeClass("selected");$("#"+c+" .tabsContainer >*").hide();$(b).show();return false});$(".modules").live("click",function(f){var b=$(this),h=b.find(".answers"),d=b.find(".points").text(),c=b.find("input.mojoEntered"),a=$("#mojoNumber").val()||1,g=b.parents(".moduleBox");if(b.attr("id")==="mult5"){return false}if(h.is(":hidden")){b.addClass("active").siblings().removeClass("active");$(".answers").slideUp("fast");h.slideDown("fast");$(".numbers").html(d);c.val(a)}});$(".gs").live("mouseover",function(){var a=$(this);a.css("opacity",1).siblings(".gs").css("opacity",0.5);$("#badge_message .msg").html(a.attr("message"));$("#badge_message").fadeIn();$("#"+a.attr("rel")).click()}).live("mouseout",function(){var a=$(this);a.css("opacity",0.5);$("#badge_message").hide()});$(".priority2,#header-container").live("mouseenter",function(){$(".mef-accordion-content:visible").removeClass("active").slideUp("fast");$(".mef-accordion-header").removeClass("active").find(".arrow").removeClass("down").addClass("up");$("#badge_message").fadeOut();$(".gs").css("opacity",0.5)});$(".multiplyer ").live("mouseenter",function(){$("#badgeC").css("opacity",1).siblings(".gs").css("opacity",0.5);$(".mef-accordion-content:visible").removeClass("active").slideUp("fast");$(".mef-accordion-header").removeClass("active").find(".arrow").removeClass("down").addClass("up")});$("#badgeC").live("mouseover",function(){var a=$(this);a.css("opacity",1);$(".mef-accordion-content:visible").removeClass("active").slideUp("fast");$(".mef-accordion-header").removeClass("active").find(".arrow").removeClass("down").addClass("up")});$(".icon-list a ").live("click",function(d){var b=$(this),c=$("#quicky"),a=b.attr("href"),f=parseInt(($("#currentMojo").text()),10);baaps_window(a,400,400);if($("#badgeP").hasClass("fs")){return false}$("#mess").html("You just earned 5 Mojo.").slideDown().live("click",function(){$(this).slideUp()});$("#currentMojo").html(f+5);$("#badgeP").css({background:"url(/images/badge/warpshield_fs.png) no-repeat 0px 0px",opacity:1}).removeClass("gs");setTimeout(function(){$("#mess").slideUp()},1000*30);return false})});$(function(){$(".moho .button").click(function(){var g=$(this),c=g.parents("form:first").attr("action"),d=g.parents(".moho:first"),l=g.val(),h=$("#"+d.attr("id")+" input.cid").val(),b=$("#"+d.attr("id")+" input.xid").val(),k=$("#"+d.attr("id")+" input.idx").val(),i=$("#"+d.attr("id")+" input.compainId").val(),e=$("#mojoNumber").val(),a=$("#"+d.attr("id")+" input.url").val(),f="selection="+l+"&cid="+h+"&xid="+b+"&idx="+k+"&mojo="+e+"&url="+a,j=parseInt(($("#currentMojo").text()),10);$("#main_deck").hide();$("#tabCont .loader").slideDown();$.get(c,{selection:l,cid:h,xid:b,idx:k,mojo:e,url:a},function(m){$("#badgeC").css({background:"url(/images/badge/warpshield_fs.png) no-repeat -50px -50px",opacity:1}).removeClass("gs");$("#currentMojo").html(j-e);$("#pri2").load(location.href+" #pri2>*",function(){$(".tab-controls li:first").click()})});return false})});
