/* Generated 2012-01-27 11:29:03*//* contents of /global/jquery/jquery.cookie.js */jQuery.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{};if(j===null){j="";m=$.extend({},m);m.expires=-1}var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;if(typeof m.expires=="number"){f=new Date();f.setTime(f.getTime()+(m.expires*24*60*60*1000))}else{f=m.expires}e="; expires="+f.toUTCString()}var l=m.path?"; path="+(m.path):"";var g=m.domain?"; domain="+(m.domain):"";var a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!=""){var k=document.cookie.split(";");for(var h=0;h<k.length;h++){var c=jQuery.trim(k[h]);if(c.substring(0,b.length+1)==(b+"=")){d=decodeURIComponent(c.substring(b.length+1));break}}}return d}};/* contents of /global/jquery/jquery.simplemodal.1.4.1.min.js */(function(g){var c=g.browser.msie&&parseInt(g.browser.version)===6&&typeof window.XMLHttpRequest!=="object",a=g.browser.msie&&parseInt(g.browser.version)===7,b=null,e=[];g.modal=function(f,d){return g.modal.impl.init(f,d)};g.modal.close=function(){g.modal.impl.close()};g.modal.focus=function(d){g.modal.impl.focus(d)};g.modal.setContainerDimensions=function(){g.modal.impl.setContainerDimensions()};g.modal.setPosition=function(){g.modal.impl.setPosition()};g.modal.update=function(f,d){g.modal.impl.update(f,d)};g.fn.modal=function(d){return g.modal.impl.init(this,d)};g.modal.defaults={appendTo:"body",focus:true,opacity:50,overlayId:"simplemodal-overlay",overlayCss:{},containerId:"simplemodal-container",containerCss:{},dataId:"simplemodal-data",dataCss:{},minHeight:null,minWidth:null,maxHeight:null,maxWidth:null,autoResize:false,autoPosition:true,zIndex:1000,close:true,closeHTML:'<a class="modalCloseImg" title="Close"></a>',closeClass:"simplemodal-close",escClose:true,overlayClose:false,position:null,persist:false,modal:true,onOpen:null,onShow:null,onClose:null};g.modal.impl={d:{},init:function(f,d){var h=this;if(h.d.data){return false}b=g.browser.msie&&!g.boxModel;h.o=g.extend({},g.modal.defaults,d);h.zIndex=h.o.zIndex;h.occb=false;if(typeof f==="object"){f=f instanceof jQuery?f:g(f);h.d.placeholder=false;if(f.parent().parent().size()>0){f.before(g("<span></span>").attr("id","simplemodal-placeholder").css({display:"none"}));h.d.placeholder=true;h.display=f.css("display");if(!h.o.persist){h.d.orig=f.clone(true)}}}else{if(typeof f==="string"||typeof f==="number"){f=g("<div></div>").html(f)}else{alert("SimpleModal Error: Unsupported data type: "+typeof f);return h}}h.create(f);h.open();g.isFunction(h.o.onShow)&&h.o.onShow.apply(h,[h.d]);return h},create:function(f){var d=this;e=d.getDimensions();if(d.o.modal&&c){d.d.iframe=g('<iframe src="javascript:false;"></iframe>').css(g.extend(d.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:e[0],width:e[1],zIndex:d.o.zIndex,top:0,left:0})).appendTo(d.o.appendTo)}d.d.overlay=g("<div></div>").attr("id",d.o.overlayId).addClass("simplemodal-overlay").css(g.extend(d.o.overlayCss,{display:"none",opacity:d.o.opacity/100,height:d.o.modal?e[0]:0,width:d.o.modal?e[1]:0,position:"fixed",left:0,top:0,zIndex:d.o.zIndex+1})).appendTo(d.o.appendTo);d.d.container=g("<div></div>").attr("id",d.o.containerId).addClass("simplemodal-container").css(g.extend(d.o.containerCss,{display:"none",position:"fixed",zIndex:d.o.zIndex+2})).append(d.o.close&&d.o.closeHTML?g(d.o.closeHTML).addClass(d.o.closeClass):"").appendTo(d.o.appendTo);d.d.wrap=g("<div></div>").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(d.d.container);d.d.data=f.attr("id",f.attr("id")||d.o.dataId).addClass("simplemodal-data").css(g.extend(d.o.dataCss,{display:"none"})).appendTo("body");d.setContainerDimensions();d.d.data.appendTo(d.d.wrap);if(c||b){d.fixIE()}},bindEvents:function(){var d=this;g("."+d.o.closeClass).bind("click.simplemodal",function(f){f.preventDefault();d.close()});d.o.modal&&d.o.close&&d.o.overlayClose&&d.d.overlay.bind("click.simplemodal",function(f){f.preventDefault();d.close()});g(document).bind("keydown.simplemodal",function(f){if(d.o.modal&&f.keyCode===9){d.watchTab(f)}else{if(d.o.close&&d.o.escClose&&f.keyCode===27){f.preventDefault();d.close()}}});g(window).bind("resize.simplemodal",function(){e=d.getDimensions();d.o.autoResize?d.setContainerDimensions():d.o.autoPosition&&d.setPosition();if(c||b){d.fixIE()}else{if(d.o.modal){d.d.iframe&&d.d.iframe.css({height:e[0],width:e[1]});d.d.overlay.css({height:e[0],width:e[1]})}}})},unbindEvents:function(){g("."+this.o.closeClass).unbind("click.simplemodal");g(document).unbind("keydown.simplemodal");g(window).unbind("resize.simplemodal");this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var f=this,d=f.o.position;g.each([f.d.iframe||null,!f.o.modal?null:f.d.overlay,f.d.container],function(l,i){if(i){var j=i[0].style;j.position="absolute";if(l<2){j.removeExpression("height");j.removeExpression("width");j.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"');j.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"')}else{var k;if(d&&d.constructor===Array){l=d[0]?typeof d[0]==="number"?d[0].toString():d[0].replace(/px/,""):i.css("top").replace(/px/,"");l=l.indexOf("%")===-1?l+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(l.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';if(d[1]){k=typeof d[1]==="number"?d[1].toString():d[1].replace(/px/,"");k=k.indexOf("%")===-1?k+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(k.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}}else{l='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"';k='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'}j.removeExpression("top");j.removeExpression("left");j.setExpression("top",l);j.setExpression("left",k)}}})},focus:function(f){var d=this;f=f&&g.inArray(f,["first","last"])!==-1?f:"first";var h=g(":input:enabled:visible:"+f,d.d.wrap);setTimeout(function(){h.length>0?h.focus():d.d.wrap.focus()},10)},getDimensions:function(){var d=g(window);return[g.browser.opera&&g.browser.version>"9.5"&&g.fn.jquery<"1.3"||g.browser.opera&&g.browser.version<"9.5"&&g.fn.jquery>"1.2.6"?d[0].innerHeight:d.height(),d.width()]},getVal:function(f,d){return f?typeof f==="number"?f:f==="auto"?0:f.indexOf("%")>0?parseInt(f.replace(/%/,""))/100*(d==="h"?e[0]:e[1]):parseInt(f.replace(/px/,"")):null},update:function(f,d){var h=this;if(!h.d.data){return false}h.d.origHeight=h.getVal(f,"h");h.d.origWidth=h.getVal(d,"w");h.d.data.hide();f&&h.d.container.css("height",f);d&&h.d.container.css("width",d);h.setContainerDimensions();h.d.data.show();h.o.focus&&h.focus();h.unbindEvents();h.bindEvents()},setContainerDimensions:function(){var f=this,d=c||a,p=f.d.origHeight?f.d.origHeight:g.browser.opera?f.d.container.height():f.getVal(d?f.d.container[0].currentStyle.height:f.d.container.css("height"),"h");d=f.d.origWidth?f.d.origWidth:g.browser.opera?f.d.container.width():f.getVal(d?f.d.container[0].currentStyle.width:f.d.container.css("width"),"w");var m=f.d.data.outerHeight(true),n=f.d.data.outerWidth(true);f.d.origHeight=f.d.origHeight||p;f.d.origWidth=f.d.origWidth||d;var o=f.o.maxHeight?f.getVal(f.o.maxHeight,"h"):null,l=f.o.maxWidth?f.getVal(f.o.maxWidth,"w"):null;o=o&&o<e[0]?o:e[0];l=l&&l<e[1]?l:e[1];var k=f.o.minHeight?f.getVal(f.o.minHeight,"h"):"auto";p=p?f.o.autoResize&&p>o?o:p<k?k:p:m?m>o?o:f.o.minHeight&&k!=="auto"&&m<k?k:m:k;o=f.o.minWidth?f.getVal(f.o.minWidth,"w"):"auto";d=d?f.o.autoResize&&d>l?l:d<o?o:d:n?n>l?l:f.o.minWidth&&o!=="auto"&&n<o?o:n:o;f.d.container.css({height:p,width:d});f.d.wrap.css({overflow:m>p||n>d?"auto":"visible"});f.o.autoPosition&&f.setPosition()},setPosition:function(){var f=this,d,h;d=e[0]/2-f.d.container.outerHeight(true)/2;h=e[1]/2-f.d.container.outerWidth(true)/2;if(f.o.position&&Object.prototype.toString.call(f.o.position)==="[object Array]"){d=f.o.position[0]||d;h=f.o.position[1]||h}else{d=d;h=h}f.d.container.css({left:h,top:d})},watchTab:function(f){var d=this;if(g(f.target).parents(".simplemodal-container").length>0){d.inputs=g(":input:enabled:visible:first, :input:enabled:visible:last",d.d.data[0]);if(!f.shiftKey&&f.target===d.inputs[d.inputs.length-1]||f.shiftKey&&f.target===d.inputs[0]||d.inputs.length===0){f.preventDefault();d.focus(f.shiftKey?"last":"first")}}else{f.preventDefault();d.focus()}},open:function(){var d=this;d.d.iframe&&d.d.iframe.show();if(g.isFunction(d.o.onOpen)){d.o.onOpen.apply(d,[d.d])}else{d.d.overlay.show();d.d.container.show();d.d.data.show()}d.o.focus&&d.focus();d.bindEvents()},close:function(){var f=this;if(!f.d.data){return false}f.unbindEvents();if(g.isFunction(f.o.onClose)&&!f.occb){f.occb=true;f.o.onClose.apply(f,[f.d])}else{if(f.d.placeholder){var d=g("#simplemodal-placeholder");if(f.o.persist){d.replaceWith(f.d.data.removeClass("simplemodal-data").css("display",f.display))}else{f.d.data.hide().remove();d.replaceWith(f.d.orig)}}else{f.d.data.hide().remove()}f.d.container.hide().remove();f.d.overlay.hide();f.d.iframe&&f.d.iframe.hide().remove();setTimeout(function(){f.d.overlay.remove();f.d={}},10)}}}})(jQuery);/* contents of /global/jquery/jquery.reject.min.js */(function(a){a.reject=function(v){v=a.extend(!0,{reject:{all:!1,msie5:!0,msie6:!0},display:[],browserInfo:{firefox:{text:"Firefox 8",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari 5",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera 11",url:"http://www.opera.com/download/"},chrome:{text:"Chrome 15",url:"http://www.google.com/chrome/"},msie:{text:"Internet Explorer 9",url:"http://www.microsoft.com/windows/Internet-explorer/"},gcf:{text:"Google Chrome Frame",url:"http://code.google.com/chrome/chromeframe/",allow:{all:!1,msie:!0}}},header:"Did you know that your Internet Browser is out of date?",paragraph1:"Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page",close:!0,closeMessage:"By closing this window you acknowledge that your experience on this website may be degraded",closeLink:"Close This Window",closeURL:"#",closeESC:!0,closeCookie:!1,cookieSettings:{path:"/",expires:0},imagePath:"./images/",overlayBgColor:"#000",overlayOpacity:0.8,fadeInTime:"fast",fadeOutTime:"fast",analytics:!1},v);if(1>v.display.length){v.display="firefox,chrome,msie,safari,opera,gcf".split(",")}a.isFunction(v.beforeReject)&&v.beforeReject(v);if(!v.close){v.closeESC=!1}var u=function(e){return(e.all?!0:!1)||(e[a.os.name]?!0:!1)||(e[a.layout.name]?!0:!1)||(e[a.browser.name]?!0:!1)||(e[a.browser.className]?!0:!1)};if(!u(v.reject)){if(a.isFunction(v.onFail)){v.onFail(v)}return !1}if(v.close&&v.closeCookie){var r="jreject-close",s=function(j,h){if("undefined"!=typeof h){var m="";0!=v.cookieSettings.expires&&(m=new Date,m.setTime(m.getTime()+v.cookieSettings.expires),m="; expires="+m.toGMTString());var w=v.cookieSettings.path||"/";document.cookie=j+"="+encodeURIComponent(null==h?"":h)+m+"; path="+w}else{w=null;if(document.cookie&&""!=document.cookie){for(var q=document.cookie.split(";"),k=q.length,n=0;n<k;++n){if(m=a.trim(q[n]),m.substring(0,j.length+1)==j+"="){w=decodeURIComponent(m.substring(j.length+1));break}}}return w}};if(null!=s(r)){return !1}}var t='<div id="jr_overlay"></div><div id="jr_wrap"><div id="jr_inner"><h1 id="jr_header">'+v.header+"</h1>"+(""===v.paragraph1?"":"<p>"+v.paragraph1+"</p>")+(""===v.paragraph2?"":"<p>"+v.paragraph2+"</p>")+"<ul>",o=0,i;for(i in v.display){var f=v.display[i],p=v.browserInfo[f]||!1;if(p&&(void 0==p.allow||u(p.allow))){t+='<li id="jr_'+f+'"><div class="jr_icon"></div><div><a href="'+(p.url||"#")+'">'+(p.text||"Unknown")+"</a></div></li>",++o}}var t=t+('</ul><div id="jr_close">'+(v.close?'<a href="'+v.closeURL+'">'+v.closeLink+"</a><p>"+v.closeMessage+"</p>":"")+"</div></div></div>"),l=a("<div>"+t+"</div>"),u=d(),t=c();l.bind("closejr",function(){if(!v.close){return !1}a.isFunction(v.beforeClose)&&v.beforeClose(v);a(this).unbind("closejr");a("#jr_overlay,#jr_wrap").fadeOut(v.fadeOutTime,function(){a(this).remove();a.isFunction(v.afterClose)&&v.afterClose(v)});a("embed, object, select, applet").show();v.closeCookie&&s(r,"true");return !0});var b=function(g){if(v.analytics){var k=g.split(/\/+/g)[1];try{_gaq.push(["_trackEvent","External Links",k,g])}catch(j){try{pageTracker._trackEvent("External Links",k,g)}catch(h){}}}window.open(g,"jr_"+Math.round(11*Math.random()));return !1};l.find("#jr_overlay").css({width:u[0],height:u[1],position:"absolute",top:0,left:0,background:v.overlayBgColor,zIndex:200,opacity:v.overlayOpacity,padding:0,margin:0}).next("#jr_wrap").css({position:"absolute",width:"100%",top:t[1]+u[3]/4,left:t[0],zIndex:300,textAlign:"center",padding:0,margin:0}).children("#jr_inner").css({background:"#FFF",border:"1px solid #CCC",fontFamily:'"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif',color:"#4F4F4F",margin:"0 auto",position:"relative",height:"auto",minWidth:100*o,maxWidth:140*o,width:"trident"==a.layout.name?155*o:"auto",padding:20,fontSize:12}).children("#jr_header").css({display:"block",fontSize:"1.3em",marginBottom:"0.5em",color:"#333",fontFamily:"Helvetica,Arial,sans-serif",fontWeight:"bold",textAlign:"left",padding:5,margin:0}).nextAll("p").css({textAlign:"left",padding:5,margin:0}).siblings("ul").css({listStyleImage:"none",listStylePosition:"outside",listStyleType:"none",margin:0,padding:0}).children("li").css({background:'transparent url("'+v.imagePath+'background_browser.gif")no-repeat scroll left top',cursor:"pointer","float":"left",width:120,height:122,margin:"0 10px 10px 10px",padding:0,textAlign:"center"}).children(".jr_icon").css({width:100,height:100,margin:"1px auto",padding:0,background:"transparent no-repeat scroll left top",cursor:"pointer"}).each(function(){var e=a(this);e.css("background","transparent url("+v.imagePath+"browser_"+e.parent("li").attr("id").replace(/jr_/,"")+".gif) no-repeat scroll left top");e.click(function(){var g=a(this).next("div").children("a").attr("href");b(g)})}).siblings("div").css({color:"#808080",fontSize:"0.8em",height:18,lineHeight:"17px",margin:"1px auto",padding:0,width:118,textAlign:"center"}).children("a").css({color:"#333",textDecoration:"none",padding:0,margin:0}).hover(function(){a(this).css("textDecoration","underline")},function(){a(this).css("textDecoration","none")}).click(function(){b(a(this).attr("href"));return !1}).parents("#jr_inner").children("#jr_close").css({margin:"0 0 0 50px",clear:"both",textAlign:"left",padding:0,margin:0}).children("a").css({color:"#000",display:"block",width:"auto",margin:0,padding:0,textDecoration:"underline"}).click(function(){a(this).trigger("closejr");if("#"===v.closeURL){return !1}}).nextAll("p").css({padding:"10px 0 0 0",margin:0});a("#jr_overlay").focus();a("embed, object, select, applet").hide();a("body").append(l.hide().fadeIn(v.fadeInTime));a(window).bind("resize scroll",function(){var e=d();a("#jr_overlay").css({width:e[0],height:e[1]});var g=c();a("#jr_wrap").css({top:g[1]+e[3]/4,left:g[0]})});v.closeESC&&a(document).bind("keydown",function(e){27==e.keyCode&&l.trigger("closejr")});a.isFunction(v.afterReject)&&v.afterReject(v);return !0};var d=function(){var h=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth,f=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight,i=window.innerWidth?window.innerWidth:document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth,j=window.innerHeight?window.innerHeight:document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight;return[h<i?h:i,f<j?j:f,i,j]},c=function(){return[window.pageXOffset?window.pageXOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollLeft:document.body.scrollLeft,window.pageYOffset?window.pageYOffset:document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop]}})(jQuery);/* contents of /global/jquery/jquery.tagcloud.min.js */(function(k){var b;var d={};var j={};var e=2.399963;k.tagcloud={id:"TagCloud",version:"0.5.0",defaults:{height:null,type:"cloud",sizemax:20,sizemin:10,colormax:"00F",colormin:"B4D2FF",seed:null,power:0.5}};k.fn.extend({tagcloud:function(m){b=k.extend({},k.tagcloud.defaults,m);if(b.seed===null){b.seed=Math.ceil(Math.random()*45309714203)}switch(b.type){case"sphere":case"cloud":d={position:"relative"};j={position:"absolute",display:"block"};break;case"list":d={height:"auto"};j={position:"static",display:"inline"};break}c.setSeed(b.seed+123456);return this.each(function(ab,ag){var H=k(ag);var A=H.find(">li");var z=A.length;var o=H.width();var L=b.height===null?(0.004*o*z):b.height;H.css({width:o,height:L,listStyle:"none",margin:0,padding:0});H.css(d);var ac=-2147483647;var G=2147483648;var y=-1;for(var ad=0;ad<z;ad++){var I=k(A[ad]);var J=I.attr("value")==-1?y++:I.attr("value");if(J>ac){ac=J}if(J<G){G=J}y=J}var af=ac-G;var u=new Array();for(var ad=0;ad<z;ad++){u[ad]=ad}for(var ad,w,ae=u.length;ae;ad=parseInt(c.rand(0,1000)/1000*ae),w=u[--ae],u[ae]=u[ad],u[ad]=w){}y=-1;for(var ad=0;ad<z;ad++){var I=k(A[ad]);var J=I.attr("value")==-1?y++:I.attr("value");y=J;var aa=((z-ad-1)/(z-1));var aa=(J-G)/af;var K=b.sizemin+aa*(b.sizemax-b.sizemin);var E=a(b.colormin,b.colormax,aa);I.css({fontSize:K,position:"absolute",color:"#"+E,margin:0,padding:0}).children().css({color:"#"+E});var t=I.width();var M=I.height();var B={};if(b.type!="list"){if(b.type=="cloud"){var F=c.rand(0,o-t);var v=u[ad]*(L/z)-M/2}else{var C=Math.pow(ad/z,b.power);var x=(ad+Math.PI/2)*e;var F=o/2-t/2+0.5*o*C*Math.sin(x);var v=L/2-M/2+0.5*L*C*Math.cos(x)}B.left=F;B.top=v}for(var D in j){B[D]=j[D]}I.css(B)}})}});var c=new function(){this.seed=23145678901;this.A=48271;this.M=2147483647;this.Q=this.M/this.A;this.R=this.M%this.A;this.oneOverM=1/this.M};c.setSeed=function(m){this.seed=m};c.next=function(){var o=this.seed/this.Q;var n=this.seed%this.Q;var m=this.A*n-this.R*o;this.seed=m+(m>0?0:this.M);return(this.seed*this.oneOverM)};c.rand=function(m,n){return Math.floor((n-m+1)*this.next()+m)};function h(m){return m.toString(16)}function f(m){return parseInt(m,16)}function i(m){var q=m.length==3;var o=[];for(var p=0;p<3;p++){var n=m.substring(p*(q?1:2),(p+1)*(q?1:2));o.push(f(q?n+n:n))}return o}function g(p){var n="";for(var o=0;o<3;o++){var m=h(p[o]);if(m.length==1){m="0"+m}n+=m}return n}function a(n,m,p){var o=i(n);var s=i(m);var q=[];for(var r=0;r<3;r++){q.push(o[r]+Math.floor(p*(s[r]-o[r])))}return g(q)}function l(n){if(window.console&&window.console.log){if(typeof(n)=="string"){window.console.log(n)}else{for(var m in n){window.console.log(m+": "+n[m])}}}}k.fn.TagCloud=k.fn.Tagcloud=k.fn.tagcloud})(jQuery);/* contents of /global/jquery/jquery.tinysort.min.js */(function(c){c.tinysort={id:"TinySort",version:"1.0.1",defaults:{order:"asc",attr:"",place:"start",returns:false}};c.fn.extend({tinysort:function(n,m){if(n&&typeof(n)!="string"){m=n;n=null}var q=c.extend({},c.tinysort.defaults,m);var g={};this.each(function(u){var s=(!n||n=="")?c(this):c(this).find(n);var t=q.order=="rand"?""+Math.random():(q.attr==""?s.text():s.attr(q.attr));var v=c(this).parent();if(!g[v]){g[v]={s:[],n:[]}}if(s.length>0){g[v].s.push({s:t,e:c(this),n:u})}else{g[v].n.push({e:c(this),n:u})}});for(var o in g){var r=g[o];r.s.sort(function l(t,u){var v=t.s.toLowerCase?t.s.toLowerCase():t.s;var s=u.s.toLowerCase?u.s.toLowerCase():u.s;if(b(t.s)&&b(u.s)){v=parseFloat(t.s);s=parseFloat(u.s)}return(q.order=="asc"?1:-1)*(v<s?-1:(v>s?1:0))})}var j=[];for(var o in g){var r=g[o];var i=[];var p=c(this).length;switch(q.place){case"first":c.each(r.s,function(t,s){p=Math.min(p,s.n)});break;case"org":c.each(r.s,function(t,s){i.push(s.n)});break;case"end":p=r.n.length;break;default:p=0}var f=[0,0];for(var k=0;k<c(this).length;k++){var h=k>=p&&k<p+r.s.length;if(a(i,k)){h=true}var e=(h?r.s:r.n)[f[h?0:1]].e;e.parent().append(e);if(h||!q.returns){j.push(e.get(0))}f[h?0:1]++}}return this.pushStack(j)}});function b(e){return(parseFloat(e)+"")==e}function a(f,e){var g=false;c.each(f,function(h,i){if(!g){g=i==e}});return g}function d(f){if(window.console&&window.console.log){if(typeof(f)=="string"){window.console.log(f)}else{for(var e in f){window.console.log(e+": "+f[e])}}}}c.fn.TinySort=c.fn.Tinysort=c.fn.tsort=c.fn.tinysort})(jQuery);/* contents of /global/jquery/jquery.validate.min.js */(function(a){a.extend(a.fn,{validate:function(d){if(this.length){var c=a.data(this[0],"validator");if(c){return c}this.attr("novalidate","novalidate");c=new a.validator(d,this[0]);a.data(this[0],"validator",c);if(c.settings.onsubmit){d=this.find("input, button");d.filter(".cancel").click(function(){c.cancelSubmit=true});c.settings.submitHandler&&d.filter(":submit").click(function(){c.submitButton=this});this.submit(function(f){function b(){if(c.settings.submitHandler){if(c.submitButton){var e=a("<input type='hidden'/>").attr("name",c.submitButton.name).val(c.submitButton.value).appendTo(c.currentForm)}c.settings.submitHandler.call(c,c.currentForm);c.submitButton&&e.remove();return false}return true}c.settings.debug&&f.preventDefault();if(c.cancelSubmit){c.cancelSubmit=false;return b()}if(c.form()){if(c.pendingRequest){c.formSubmitted=true;return false}return b()}else{c.focusInvalid();return false}})}return c}else{d&&d.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing")}},valid:function(){if(a(this[0]).is("form")){return this.validate().form()}else{var d=true,c=a(this[0].form).validate();this.each(function(){d&=c.element(this)});return d}},removeAttrs:function(e){var c={},f=this;a.each(e.split(/\s/),function(d,b){c[b]=f.attr(b);f.removeAttr(b)});return c},rules:function(i,c){var n=this[0];if(i){var m=a.data(n.form,"validator").settings,l=m.rules,k=a.validator.staticRules(n);switch(i){case"add":a.extend(k,a.validator.normalizeRule(c));l[n.name]=k;if(c.messages){m.messages[n.name]=a.extend(m.messages[n.name],c.messages)}break;case"remove":if(!c){delete l[n.name];return k}var j={};a.each(c.split(/\s/),function(b,d){j[d]=k[d];delete k[d]});return j}}n=a.validator.normalizeRules(a.extend({},a.validator.metadataRules(n),a.validator.classRules(n),a.validator.attributeRules(n),a.validator.staticRules(n)),n);if(n.required){m=n.required;delete n.required;n=a.extend({required:m},n)}return n}});a.extend(a.expr[":"],{blank:function(b){return !a.trim(""+b.value)},filled:function(b){return !!a.trim(""+b.value)},unchecked:function(b){return !b.checked}});a.validator=function(d,c){this.settings=a.extend(true,{},a.validator.defaults,d);this.currentForm=c;this.init()};a.validator.format=function(d,c){if(arguments.length==1){return function(){var b=a.makeArray(arguments);b.unshift(d);return a.validator.format.apply(this,b)}}if(arguments.length>2&&c.constructor!=Array){c=a.makeArray(arguments).slice(1)}if(c.constructor!=Array){c=[c]}a.each(c,function(f,b){d=d.replace(RegExp("\\{"+f+"\\}","g"),b)});return d};a.extend(a.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:a([]),errorLabelContainer:a([]),onsubmit:true,ignore:":hidden",ignoreTitle:false,onfocusin:function(b){this.lastActive=b;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,b,this.settings.errorClass,this.settings.validClass);this.addWrapper(this.errorsFor(b)).hide()}},onfocusout:function(b){if(!this.checkable(b)&&(b.name in this.submitted||!this.optional(b))){this.element(b)}},onkeyup:function(b){if(b.name in this.submitted||b==this.lastElement){this.element(b)}},onclick:function(b){if(b.name in this.submitted){this.element(b)}else{b.parentNode.name in this.submitted&&this.element(b.parentNode)}},highlight:function(e,c,f){e.type==="radio"?this.findByName(e.name).addClass(c).removeClass(f):a(e).addClass(c).removeClass(f)},unhighlight:function(e,c,f){e.type==="radio"?this.findByName(e.name).removeClass(c).addClass(f):a(e).removeClass(c).addClass(f)}},setDefaults:function(b){a.extend(a.validator.defaults,b)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:a.validator.format("Please enter no more than {0} characters."),minlength:a.validator.format("Please enter at least {0} characters."),rangelength:a.validator.format("Please enter a value between {0} and {1} characters long."),range:a.validator.format("Please enter a value between {0} and {1}."),max:a.validator.format("Please enter a value less than or equal to {0}."),min:a.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){function e(h){var d=a.data(this[0].form,"validator"),b="on"+h.type.replace(/^validate/,"");d.settings[b]&&d.settings[b].call(d,this[0],h)}this.labelContainer=a(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||a(this.currentForm);this.containers=a(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var c=this.groups={};a.each(this.settings.groups,function(d,b){a.each(b.split(/\s/),function(j,i){c[i]=d})});var f=this.settings.rules;a.each(f,function(d,b){f[d]=a.validator.normalizeRule(b)});a(this.currentForm).validateDelegate("[type='text'], [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e);this.settings.invalidHandler&&a(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){this.checkForm();a.extend(this.submitted,this.errorMap);this.invalid=a.extend({},this.errorMap);this.valid()||a(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid()},checkForm:function(){this.prepareForm();for(var d=0,c=this.currentElements=this.elements();c[d];d++){this.check(c[d])}return this.valid()},element:function(d){this.lastElement=d=this.validationTargetFor(this.clean(d));this.prepareElement(d);this.currentElements=a(d);var c=this.check(d);if(c){delete this.invalid[d.name]}else{this.invalid[d.name]=true}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers)}this.showErrors();return c},showErrors:function(d){if(d){a.extend(this.errorMap,d);this.errorList=[];for(var c in d){this.errorList.push({message:d[c],element:this.findByName(c)[0]})}this.successList=a.grep(this.successList,function(b){return !(b.name in d)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){a.fn.resetForm&&a(this.currentForm).resetForm();this.submitted={};this.lastElement=null;this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var c=0,f;for(f in e){c++}return c},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return this.size()==0},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid){try{a(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(b){}}},findLastActive:function(){var b=this.lastActive;return b&&a.grep(this.errorList,function(c){return c.element.name==b.name}).length==1&&b},elements:function(){var d=this,c={};return a(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&d.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in c||!d.objectLength(a(this).rules())){return false}return c[this.name]=true})},clean:function(b){return a(b)[0]},errors:function(){return a(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext)},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=a([]);this.toHide=a([]);this.currentElements=a([])},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers)},prepareElement:function(b){this.reset();this.toHide=this.errorsFor(b)},check:function(i){i=this.validationTargetFor(this.clean(i));var c=a(i).rules(),n=false,m;for(m in c){var l={method:m,parameters:c[m]};try{var k=a.validator.methods[m].call(this,i.value.replace(/\r/g,""),i,l.parameters);if(k=="dependency-mismatch"){n=true}else{n=false;if(k=="pending"){this.toHide=this.toHide.not(this.errorsFor(i));return}if(!k){this.formatAndAdd(i,l);return false}}}catch(j){this.settings.debug&&window.console&&console.log("exception occured when checking element "+i.id+", check the '"+l.method+"' method",j);throw j}}if(!n){this.objectLength(c)&&this.successList.push(i);return true}},customMetaMessage:function(e,c){if(a.metadata){var f=this.settings.meta?a(e).metadata()[this.settings.meta]:a(e).metadata();return f&&f.messages&&f.messages[c]}},customMessage:function(e,c){var f=this.settings.messages[e];return f&&(f.constructor==String?f:f[c])},findDefined:function(){for(var b=0;b<arguments.length;b++){if(arguments[b]!==undefined){return arguments[b]}}},defaultMessage:function(d,c){return this.findDefined(this.customMessage(d.name,c),this.customMetaMessage(d,c),!this.settings.ignoreTitle&&d.title||undefined,a.validator.messages[c],"<strong>Warning: No message defined for "+d.name+"</strong>")},formatAndAdd:function(f,c){var h=this.defaultMessage(f,c.method),g=/\$?\{(\d+)\}/g;if(typeof h=="function"){h=h.call(this,c.parameters,f)}else{if(g.test(h)){h=jQuery.format(h.replace(g,"{$1}"),c.parameters)}}this.errorList.push({message:h,element:f});this.errorMap[f.name]=h;this.submitted[f.name]=h},addWrapper:function(b){if(this.settings.wrapper){b=b.add(b.parent(this.settings.wrapper))}return b},defaultShowErrors:function(){for(var d=0;this.errorList[d];d++){var c=this.errorList[d];this.settings.highlight&&this.settings.highlight.call(this,c.element,this.settings.errorClass,this.settings.validClass);this.showLabel(c.element,c.message)}if(this.errorList.length){this.toShow=this.toShow.add(this.containers)}if(this.settings.success){for(d=0;this.successList[d];d++){this.showLabel(this.successList[d])}}if(this.settings.unhighlight){d=0;for(c=this.validElements();c[d];d++){this.settings.unhighlight.call(this,c[d],this.settings.errorClass,this.settings.validClass)}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return a(this.errorList).map(function(){return this.element})},showLabel:function(e,c){var f=this.errorsFor(e);if(f.length){f.removeClass(this.settings.validClass).addClass(this.settings.errorClass);f.attr("generated")&&f.html(c)}else{f=a("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(e),generated:true}).addClass(this.settings.errorClass).html(c||"");if(this.settings.wrapper){f=f.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()}this.labelContainer.append(f).length||(this.settings.errorPlacement?this.settings.errorPlacement(f,a(e)):f.insertAfter(e))}if(!c&&this.settings.success){f.text("");typeof this.settings.success=="string"?f.addClass(this.settings.success):this.settings.success(f)}this.toShow=this.toShow.add(f)},errorsFor:function(d){var c=this.idOrName(d);return this.errors().filter(function(){return a(this).attr("for")==c})},idOrName:function(b){return this.groups[b.name]||(this.checkable(b)?b.name:b.id||b.name)},validationTargetFor:function(b){if(this.checkable(b)){b=this.findByName(b.name).not(this.settings.ignore)[0]}return b},checkable:function(b){return/radio|checkbox/i.test(b.type)},findByName:function(d){var c=this.currentForm;return a(document.getElementsByName(d)).map(function(f,b){return b.form==c&&b.name==d&&b||null})},getLength:function(d,c){switch(c.nodeName.toLowerCase()){case"select":return a("option:selected",c).length;case"input":if(this.checkable(c)){return this.findByName(c.name).filter(":checked").length}}return d.length},depend:function(d,c){return this.dependTypes[typeof d]?this.dependTypes[typeof d](d,c):true},dependTypes:{"boolean":function(b){return b},string:function(d,c){return !!a(d,c.form).length},"function":function(d,c){return d(c)}},optional:function(b){return !a.validator.methods.required.call(this,a.trim(b.value),b)&&"dependency-mismatch"},startRequest:function(b){if(!this.pending[b.name]){this.pendingRequest++;this.pending[b.name]=true}},stopRequest:function(d,c){this.pendingRequest--;if(this.pendingRequest<0){this.pendingRequest=0}delete this.pending[d.name];if(c&&this.pendingRequest==0&&this.formSubmitted&&this.form()){a(this.currentForm).submit();this.formSubmitted=false}else{if(!c&&this.pendingRequest==0&&this.formSubmitted){a(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false}}},previousValue:function(b){return a.data(b,"previousValue")||a.data(b,"previousValue",{old:null,valid:true,message:this.defaultMessage(b,"remote")})}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(d,c){d.constructor==String?this.classRuleSettings[d]=c:a.extend(this.classRuleSettings,d)},classRules:function(d){var c={};(d=a(d).attr("class"))&&a.each(d.split(" "),function(){this in a.validator.classRuleSettings&&a.extend(c,a.validator.classRuleSettings[this])});return c},attributeRules:function(f){var c={};f=a(f);for(var h in a.validator.methods){var g;if(g=h==="required"&&typeof a.fn.prop==="function"?f.prop(h):f.attr(h)){c[h]=g}else{if(f[0].getAttribute("type")===h){c[h]=true}}}c.maxlength&&/-1|2147483647|524288/.test(c.maxlength)&&delete c.maxlength;return c},metadataRules:function(d){if(!a.metadata){return{}}var c=a.data(d.form,"validator").settings.meta;return c?a(d).metadata()[c]:a(d).metadata()},staticRules:function(e){var c={},f=a.data(e.form,"validator");if(f.settings.rules){c=a.validator.normalizeRule(f.settings.rules[e.name])||{}}return c},normalizeRules:function(d,c){a.each(d,function(h,g){if(g===false){delete d[h]}else{if(g.param||g.depends){var b=true;switch(typeof g.depends){case"string":b=!!a(g.depends,c.form).length;break;case"function":b=g.depends.call(c,c)}if(b){d[h]=g.param!==undefined?g.param:true}else{delete d[h]}}}});a.each(d,function(f,b){d[f]=a.isFunction(b)?b(c):b});a.each(["minlength","maxlength","min","max"],function(){if(d[this]){d[this]=Number(d[this])}});a.each(["rangelength","range"],function(){if(d[this]){d[this]=[Number(d[this][0]),Number(d[this][1])]}});if(a.validator.autoCreateRanges){if(d.min&&d.max){d.range=[d.min,d.max];delete d.min;delete d.max}if(d.minlength&&d.maxlength){d.rangelength=[d.minlength,d.maxlength];delete d.minlength;delete d.maxlength}}d.messages&&delete d.messages;return d},normalizeRule:function(d){if(typeof d=="string"){var c={};a.each(d.split(/\s/),function(){c[this]=true});d=c}return d},addMethod:function(e,c,f){a.validator.methods[e]=c;a.validator.messages[e]=f!=undefined?f:a.validator.messages[e];c.length<3&&a.validator.addClassRules(e,a.validator.normalizeRule(e))},methods:{required:function(e,c,f){if(!this.depend(f,c)){return"dependency-mismatch"}switch(c.nodeName.toLowerCase()){case"select":return(e=a(c).val())&&e.length>0;case"input":if(this.checkable(c)){return this.getLength(e,c)>0}default:return a.trim(e).length>0}},remote:function(h,c,l){if(this.optional(c)){return"dependency-mismatch"}var k=this.previousValue(c);this.settings.messages[c.name]||(this.settings.messages[c.name]={});k.originalMessage=this.settings.messages[c.name].remote;this.settings.messages[c.name].remote=k.message;l=typeof l=="string"&&{url:l}||l;if(this.pending[c.name]){return"pending"}if(k.old===h){return k.valid}k.old=h;var j=this;this.startRequest(c);var i={};i[c.name]=h;a.ajax(a.extend(true,{url:l,mode:"abort",port:"validate"+c.name,dataType:"json",data:i,success:function(e){j.settings.messages[c.name].remote=k.originalMessage;var b=e===true;if(b){var d=j.formSubmitted;j.prepareElement(c);j.formSubmitted=d;j.successList.push(c);j.showErrors()}else{d={};e=e||j.defaultMessage(c,"remote");d[c.name]=k.message=a.isFunction(e)?e(h):e;j.showErrors(d)}k.valid=b;j.stopRequest(c,b)}},l));return"pending"},minlength:function(e,c,f){return this.optional(c)||this.getLength(a.trim(e),c)>=f},maxlength:function(e,c,f){return this.optional(c)||this.getLength(a.trim(e),c)<=f},rangelength:function(e,c,f){e=this.getLength(a.trim(e),c);return this.optional(c)||e>=f[0]&&e<=f[1]},min:function(e,c,f){return this.optional(c)||e>=f},max:function(e,c,f){return this.optional(c)||e<=f},range:function(e,c,f){return this.optional(c)||e>=f[0]&&e<=f[1]},email:function(d,c){return this.optional(c)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(d)},url:function(d,c){return this.optional(c)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(d)},date:function(d,c){return this.optional(c)||!/Invalid|NaN/.test(new Date(d))},dateISO:function(d,c){return this.optional(c)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(d)},number:function(d,c){return this.optional(c)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(d)},digits:function(d,c){return this.optional(c)||/^\d+$/.test(d)},creditcard:function(h,c){if(this.optional(c)){return"dependency-mismatch"}if(/[^0-9 -]+/.test(h)){return false}var l=0,k=0,j=false;h=h.replace(/\D/g,"");for(var i=h.length-1;i>=0;i--){k=h.charAt(i);k=parseInt(k,10);if(j){if((k*=2)>9){k-=9}}l+=k;j=!j}return l%10==0},accept:function(e,c,f){f=typeof f=="string"?f.replace(/,/g,"|"):"png|jpe?g|gif";return this.optional(c)||e.match(RegExp(".("+f+")$","i"))},equalTo:function(e,c,f){f=a(f).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){a(c).valid()});return e==f.val()}}});a.format=a.validator.format})(jQuery);(function(f){var e={};if(f.ajaxPrefilter){f.ajaxPrefilter(function(c,b,a){b=c.port;if(c.mode=="abort"){e[b]&&e[b].abort();e[b]=a}})}else{var d=f.ajax;f.ajax=function(b){var a=("port" in b?b:f.ajaxSettings).port;if(("mode" in b?b:f.ajaxSettings).mode=="abort"){e[a]&&e[a].abort();return e[a]=d.apply(this,arguments)}return d.apply(this,arguments)}}})(jQuery);(function(a){!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener&&a.each({focus:"focusin",blur:"focusout"},function(e,c){function f(b){b=a.event.fix(b);b.type=c;return a.event.handle.call(this,b)}a.event.special[c]={setup:function(){this.addEventListener(e,f,true)},teardown:function(){this.removeEventListener(e,f,true)},handler:function(b){arguments[0]=a.event.fix(b);arguments[0].type=c;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{validateDelegate:function(e,c,f){return this.bind(c,function(d){var b=a(d.target);if(b.is(e)){return f.apply(b,arguments)}})}})})(jQuery);/* contents of /global/jquery/jquery.hoverIntent-r5.min.js */(function(a){a.fn.hoverIntent=function(k,j){var l={sensitivity:7,interval:100,timeout:0};l=a.extend(l,j?{over:k,out:j}:k);var n,m,h,d;var e=function(f){n=f.pageX;m=f.pageY};var c=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);if((Math.abs(h-n)+Math.abs(d-m))<l.sensitivity){a(f).unbind("mousemove",e);f.hoverIntent_s=1;return l.over.apply(f,[g])}else{h=n;d=m;f.hoverIntent_t=setTimeout(function(){c(g,f)},l.interval)}};var i=function(g,f){f.hoverIntent_t=clearTimeout(f.hoverIntent_t);f.hoverIntent_s=0;return l.out.apply(f,[g])};var b=function(q){var o=(q.type=="mouseover"?q.fromElement:q.toElement)||q.relatedTarget;while(o&&o!=this){try{o=o.parentNode}catch(q){o=this}}if(o==this){return false}var g=jQuery.extend({},q);var f=this;if(f.hoverIntent_t){f.hoverIntent_t=clearTimeout(f.hoverIntent_t)}if(q.type=="mouseover"){h=g.pageX;d=g.pageY;a(f).bind("mousemove",e);if(f.hoverIntent_s!=1){f.hoverIntent_t=setTimeout(function(){c(g,f)},l.interval)}}else{a(f).unbind("mousemove",e);if(f.hoverIntent_s==1){f.hoverIntent_t=setTimeout(function(){i(g,f)},l.timeout)}}};return this.mouseover(b).mouseout(b)}})(jQuery);/* contents of /global/jquery/jquery.superfish-1.4.8.min.js */(function(b){b.fn.superfish=function(k){var g=b.fn.superfish,j=g.c,f=b(['<span class="',j.arrowClass,'"> &#187;</span>'].join("")),i=function(){var c=b(this),l=d(c);clearTimeout(l.sfTimer);c.showSuperfishUl().siblings().hideSuperfishUl()},e=function(){var c=b(this),m=d(c),l=g.op;clearTimeout(m.sfTimer);m.sfTimer=setTimeout(function(){l.retainPath=(b.inArray(c[0],l.$path)>-1);c.hideSuperfishUl();if(l.$path.length&&c.parents(["li.",l.hoverClass].join("")).length<1){i.call(l.$path)}},l.delay)},d=function(c){var l=c.parents(["ul.",j.menuClass,":first"].join(""))[0];g.op=g.o[l.serial];return l},h=function(c){c.addClass(j.anchorClass).append(f.clone())};return this.each(function(){var c=this.serial=g.o.length;var m=b.extend({},g.defaults,k);m.$path=b("li."+m.pathClass,this).slice(0,m.pathLevels).each(function(){b(this).addClass([m.hoverClass,j.bcClass].join(" ")).filter("li:has(ul)").removeClass(m.pathClass)});g.o[c]=g.op=m;b("li:has(ul)",this)[(b.fn.hoverIntent&&!m.disableHI)?"hoverIntent":"hover"](i,e).each(function(){if(m.autoArrows){h(b(">a:first-child",this))}}).not("."+j.bcClass).hideSuperfishUl();var l=b("a",this);l.each(function(n){var o=l.eq(n).parents("li");l.eq(n).focus(function(){i.call(o)}).blur(function(){e.call(o)})});m.onInit.call(this)}).each(function(){var c=[j.menuClass];if(g.op.dropShadows&&!(b.browser.msie&&b.browser.version<7)){c.push(j.shadowClass)}b(this).addClass(c.join(" "))})};var a=b.fn.superfish;a.o=[];a.op={};a.IE7fix=function(){var c=a.op;if(b.browser.msie&&b.browser.version>6&&c.dropShadows&&c.animation.opacity!=undefined){this.toggleClass(a.c.shadowClass+"-off")}};a.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"};a.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};b.fn.extend({hideSuperfishUl:function(){var e=a.op,d=(e.retainPath===true)?e.$path:"";e.retainPath=false;var c=b(["li.",e.hoverClass].join(""),this).add(this).not(d).removeClass(e.hoverClass).find(">ul").hide().css("visibility","hidden");e.onHide.call(c);return this},showSuperfishUl:function(){var e=a.op,d=a.c.shadowClass+"-off",c=this.addClass(e.hoverClass).find(">ul:hidden").css("visibility","visible");a.IE7fix.call(c);e.onBeforeShow.call(c);c.animate(e.animation,e.speed,function(){a.IE7fix.call(c);e.onShow.call(c)});return this}})})(jQuery);/* contents of /global/jquery/jquery.hotkeys.js */(function(b){b.hotkeys={version:"0.8",specialKeys:{8:"backspace",9:"tab",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",191:"/",224:"meta"},shiftNums:{"`":"~","1":"!","2":"@","3":"#","4":"$","5":"%","6":"^","7":"&","8":"*","9":"(","0":")","-":"_","=":"+",";":": ","'":'"',",":"<",".":">","/":"?","\\":"|"}};function a(d){if(typeof d.data!=="string"){return}var c=d.handler,e=d.data.toLowerCase().split(" ");d.handler=function(n){if(this!==n.target&&(/textarea|select/i.test(n.target.nodeName)||n.target.type==="text")){return}var h=n.type!=="keypress"&&b.hotkeys.specialKeys[n.which],o=String.fromCharCode(n.which).toLowerCase(),k,m="",g={};if(n.altKey&&h!=="alt"){m+="alt+"}if(n.ctrlKey&&h!=="ctrl"){m+="ctrl+"}if(n.metaKey&&!n.ctrlKey&&h!=="meta"){m+="meta+"}if(n.shiftKey&&h!=="shift"){m+="shift+"}if(h){g[m+h]=true}else{g[m+o]=true;g[m+b.hotkeys.shiftNums[o]]=true;if(m==="shift+"){g[b.hotkeys.shiftNums[o]]=true}}for(var j=0,f=e.length;j<f;j++){if(g[e[j]]){return c.apply(this,arguments)}}}}b.each(["keydown","keyup","keypress"],function(){b.event.special[this]={add:a}})})(jQuery);/* contents of /global/jquery/jquery.appear-1.1.1.min.js */(function(a){a.fn.appear=function(c,d){var b=a.extend({one:true},d);return this.each(function(){var g=a(this);g.appeared=false;if(!c){g.trigger("appear",b.data);return}var f=a(window);var h=function(){if(!g.is(":visible")){g.appeared=false;return}var k=f.scrollLeft();var j=f.scrollTop();var l=g.offset();var i=l.left;var m=l.top;if(m+g.height()>=j&&m<=j+f.height()&&i+g.width()>=k&&i<=k+f.width()){if(!g.appeared){g.trigger("appear",b.data)}}else{g.appeared=false}};var e=function(){g.appeared=true;if(b.one){f.unbind("scroll",h);var j=a.inArray(h,a.fn.appear.checks);if(j>=0){a.fn.appear.checks.splice(j,1)}}c.apply(this,arguments)};if(b.one){g.one("appear",b.data,e)}else{g.bind("appear",b.data,e)}f.scroll(h);a.fn.appear.checks.push(h);(h)()})};a.extend(a.fn.appear,{checks:[],timeout:null,checkAll:function(){var b=a.fn.appear.checks.length;if(b>0){while(b--){(a.fn.appear.checks[b])()}}},run:function(){if(a.fn.appear.timeout){clearTimeout(a.fn.appear.timeout)}a.fn.appear.timeout=setTimeout(a.fn.appear.checkAll,20)}});a.each(["append","prepend","after","before","attr","removeAttr","addClass","removeClass","toggleClass","remove","css","show","hide"],function(c,d){var b=a.fn[d];if(b){a.fn[d]=function(){var e=b.apply(this,arguments);a.fn.appear.run();return e}}})})(jQuery);/* contents of /global/jquery/jquery.json-2.2.min.js */(function($){$.toJSON=function(o){if(typeof(JSON)=="object"&&JSON.stringify){return JSON.stringify(o)}var type=typeof(o);if(o===null){return"null"}if(type=="undefined"){return undefined}if(type=="number"||type=="boolean"){return o+""}if(type=="string"){return $.quoteString(o)}if(type=="object"){if(typeof o.toJSON=="function"){return $.toJSON(o.toJSON())}if(o.constructor===Date){var month=o.getUTCMonth()+1;if(month<10){month="0"+month}var day=o.getUTCDate();if(day<10){day="0"+day}var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10){hours="0"+hours}var minutes=o.getUTCMinutes();if(minutes<10){minutes="0"+minutes}var seconds=o.getUTCSeconds();if(seconds<10){seconds="0"+seconds}var milli=o.getUTCMilliseconds();if(milli<100){milli="0"+milli}if(milli<10){milli="0"+milli}return'"'+year+"-"+month+"-"+day+"T"+hours+":"+minutes+":"+seconds+"."+milli+'Z"'}if(o.constructor===Array){var ret=[];for(var i=0;i<o.length;i++){ret.push($.toJSON(o[i])||"null")}return"["+ret.join(",")+"]"}var pairs=[];for(var k in o){var name;var type=typeof k;if(type=="number"){name='"'+k+'"'}else{if(type=="string"){name=$.quoteString(k)}else{continue}}if(typeof o[k]=="function"){continue}var val=$.toJSON(o[k]);pairs.push(name+":"+val)}return"{"+pairs.join(", ")+"}"}};$.evalJSON=function(src){if(typeof(JSON)=="object"&&JSON.parse){return JSON.parse(src)}return eval("("+src+")")};$.secureEvalJSON=function(src){if(typeof(JSON)=="object"&&JSON.parse){return JSON.parse(src)}var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,"@");filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]");filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,"");if(/^[\],:{}\s]*$/.test(filtered)){return eval("("+src+")")}else{throw new SyntaxError("Error parsing JSON, source is not valid.")}};$.quoteString=function(string){if(string.match(_escapeable)){return'"'+string.replace(_escapeable,function(a){var c=_meta[a];if(typeof c==="string"){return c}c=a.charCodeAt();return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)})+'"'}return'"'+string+'"'};var _escapeable=/["\\\x00-\x1f\x7f-\x9f]/g;var _meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"}})(jQuery);/* contents of /global/jquery/jquery.googleanalytics.js */var _gaq=_gaq||[];(function(c){var b;c.trackPage=function(h,e){var i=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");var d;var g=c.extend({},{onload:true,status_code:200},e);var j=i+"google-analytics.com/ga.js";function f(){if(typeof _gat!=undefined){a("Google Analytics loaded");b=_gat._createTracker(h,"tsaTracker");if(g.customvars instanceof Array&&g.customvars.length>0){for(x in g.customvars){customvar=g.customvars[x];c._setCustomVar(customvar[0],customvar[1],customvar[2],customvar[3])}}if(g.status_code==null||g.status_code==200){b._trackPageview()}else{a("Tracking error "+g.status_code);b._trackPageview("/"+g.status_code+".html?page="+document.location.pathname+document.location.search+"&from="+document.referrer)}if(c.isFunction(g.callback)){g.callback()}}else{throw"_gat is undefined"}}load_script=function(){c.ajax({type:"GET",url:j,success:function(){f()},dataType:"script",cache:true})};if(g.onload==true||g.onload==null){c(window).load(load_script)}else{load_script()}};c.trackEvent=function(f,h,d,g){if(typeof b=="undefined"){a("FATAL: pageTracker is not defined")}else{var e="category:'"+f+"' action:'"+h+"' label:'"+d+"' value:'"+g+"'";a("Tracking Event: "+e);b._trackEvent(f,h,d,g)}};c._setCustomVar=function(f,e,h,d){if(typeof b=="undefined"){a("FATAL: pageTracker is not defined")}else{var g="index:'"+f+"' name:'"+e+"' value:'"+h+"' opt_scope:'"+d+"'";a("Set custom var: "+g);b._setCustomVar(f,e,h,d)}};c.trackPageview=function(d){if(typeof b=="undefined"){a("FATAL: pageTracker is not defined")}else{b._trackPageview(d)}};c.fn.track=function(d){return this.each(function(){var g=c(this);if(g.hasClass("tracked")){return false}else{g.addClass("tracked")}var h=c.extend({},c.fn.track.defaults,d);var j=e(g,h.category);var l=e(g,h.action);var f=e(g,h.label);var k=e(g,h.value);var m=e(g,h.event_name);var i="category:'"+j+"' action:'"+l+"' label:'"+f+"' value:'"+k+"'";a("Tracking "+m+" "+i);g.bind(m+".track",function(){var n=h.skip_internal&&(g[0].hostname==location.hostname);if(!n){c.trackEvent(j,l,f,k);a("Tracked "+i)}else{a("Skipped "+i)}return true})});function e(g,f){if(typeof f=="function"){f=f(g)}return f}};function a(d){if(typeof console!="undefined"&&typeof console.debug!="undefined"&&c.fn.track.defaults.debug){console.debug(d)}}c.fn.track.defaults={category:function(d){return(d[0].hostname==location.hostname)?"internal":"external"},action:"click",label:function(d){return d.attr("href")},value:null,skip_internal:true,event_name:"click",debug:false}})(jQuery);/* contents of /global/comps/dateformat.js */Date.prototype.format=function(e){var d="";var c=Date.replaceChars;for(var b=0;b<e.length;b++){var a=e.charAt(b);if(b-1>=0&&e.charAt(b-1)=="\\"){d+=a}else{if(c[a]){d+=c[a].call(this)}else{if(a!="\\"){d+=a}}}}return d};Date.replaceChars={shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longMonths:["January","February","March","April","May","June","July","August","September","October","November","December"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longDays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d:function(){return(this.getDate()<10?"0":"")+this.getDate()},D:function(){return Date.replaceChars.shortDays[this.getDay()]},j:function(){return this.getDate()},l:function(){return Date.replaceChars.longDays[this.getDay()]},N:function(){return this.getDay()+1},S:function(){return(this.getDate()%10==1&&this.getDate()!=11?"st":(this.getDate()%10==2&&this.getDate()!=12?"nd":(this.getDate()%10==3&&this.getDate()!=13?"rd":"th")))},w:function(){return this.getDay()},z:function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil((this-a)/86400000)},W:function(){var a=new Date(this.getFullYear(),0,1);return Math.ceil((((this-a)/86400000)+a.getDay()+1)/7)},F:function(){return Date.replaceChars.longMonths[this.getMonth()]},m:function(){return(this.getMonth()<9?"0":"")+(this.getMonth()+1)},M:function(){return Date.replaceChars.shortMonths[this.getMonth()]},n:function(){return this.getMonth()+1},t:function(){var a=new Date();return new Date(a.getFullYear(),a.getMonth(),0).getDate()},L:function(){var a=this.getFullYear();return(a%400==0||(a%100!=0&&a%4==0))},o:function(){var a=new Date(this.valueOf());a.setDate(a.getDate()-((this.getDay()+6)%7)+3);return a.getFullYear()},Y:function(){return this.getFullYear()},y:function(){return(""+this.getFullYear()).substr(2)},a:function(){return this.getHours()<12?"am":"pm"},A:function(){return this.getHours()<12?"AM":"PM"},B:function(){return Math.floor((((this.getUTCHours()+1)%24)+this.getUTCMinutes()/60+this.getUTCSeconds()/3600)*1000/24)},g:function(){return this.getHours()%12||12},G:function(){return this.getHours()},h:function(){return((this.getHours()%12||12)<10?"0":"")+(this.getHours()%12||12)},H:function(){return(this.getHours()<10?"0":"")+this.getHours()},i:function(){return(this.getMinutes()<10?"0":"")+this.getMinutes()},s:function(){return(this.getSeconds()<10?"0":"")+this.getSeconds()},u:function(){var a=this.getMilliseconds();return(a<10?"00":(a<100?"0":""))+a},e:function(){return"Not Yet Supported"},I:function(){return"Not Yet Supported"},O:function(){return(-this.getTimezoneOffset()<0?"-":"+")+(Math.abs(this.getTimezoneOffset()/60)<10?"0":"")+(Math.abs(this.getTimezoneOffset()/60))+"00"},P:function(){return(-this.getTimezoneOffset()<0?"-":"+")+(Math.abs(this.getTimezoneOffset()/60)<10?"0":"")+(Math.abs(this.getTimezoneOffset()/60))+":00"},T:function(){var b=this.getMonth();this.setMonth(0);var a=this.toTimeString().replace(/^.+ \(?([^\)]+)\)?$/,"$1");this.setMonth(b);return a},Z:function(){return -this.getTimezoneOffset()*60},c:function(){return this.format("Y-m-d\\TH:i:sP")},r:function(){return this.toString()},U:function(){return this.getTime()/1000}};/* contents of /global/jquery/jquery.ajaxmanager.js */(function(c){var b={},a={};c.manageAjax=(function(){function e(g,h){b[g]=new c.manageAjax._manager(g,h);return b[g]}function d(g){if(b[g]){b[g].clear(true);delete b[g]}}var f={create:e,destroy:d};return f})();c.manageAjax._manager=function(d,e){this.requests={};this.inProgress=0;this.name=d;this.qName=d;this.opts=c.extend({},c.manageAjax.defaults,e);if(e&&e.queue&&e.queue!==true&&typeof e.queue==="string"&&e.queue!=="clear"){this.qName=e.queue}};c.manageAjax._manager.prototype={add:function(d,e){if(typeof d=="object"){e=d}else{if(typeof d=="string"){e=c.extend(e||{},{url:d})}}e=c.extend({},this.opts,e);var h=e.complete||c.noop,g=e.success||c.noop,k=e.beforeSend||c.noop,i=e.error||c.noop,m=(typeof e.data=="string")?e.data:c.param(e.data||{}),l=e.type+e.url+m,j=this,f=this._createAjax(l,e,g,h);if(e.preventDoubleRequests&&e.queueDuplicateRequests){if(e.preventDoubleRequests){e.queueDuplicateRequests=false}setTimeout(function(){throw ("preventDoubleRequests and queueDuplicateRequests can't be both true")},0)}if(this.requests[l]&&e.preventDoubleRequests){return}f.xhrID=l;e.xhrID=l;e.beforeSend=function(p,o){var n=k.call(this,p,o);if(n===false){j._removeXHR(l)}p=null;return n};e.complete=function(o,n){j._complete.call(j,this,h,o,n,l,e);o=null};e.success=function(o,n,p){j._success.call(j,this,g,o,n,p,e);p=null};e.error=function(o,n,r){var p="",q="";if(n!=="timeout"&&o){p=o.status;q=o.responseXML||o.responseText}if(i){i.call(this,o,n,r,e)}else{setTimeout(function(){throw n+"| status: "+p+" | URL: "+e.url+" | data: "+m+" | thrown: "+r+" | response: "+q},0)}o=null};if(e.queue==="clear"){c(document).clearQueue(this.qName)}if(e.queue||(e.queueDuplicateRequests&&this.requests[l])){c.queue(document,this.qName,f);if(this.inProgress<e.maxRequests&&(!this.requests[l]||!e.queueDuplicateRequests)){c.dequeue(document,this.qName)}return l}return f()},_createAjax:function(h,g,f,d){var e=this;return function(){if(g.beforeCreate.call(g.context||e,h,g)===false){return}e.inProgress++;if(e.inProgress===1){c.event.trigger(e.name+"AjaxStart")}if(g.cacheResponse&&a[h]){if(!a[h].cacheTTL||a[h].cacheTTL<0||((new Date().getTime()-a[h].timestamp)<a[h].cacheTTL)){e.requests[h]={};setTimeout(function(){e._success.call(e,g.context||g,f,a[h]._successData,"success",a[h],g);e._complete.call(e,g.context||g,d,a[h],"success",h,g)},0)}else{delete a[h]}}if(!g.cacheResponse||!a[h]){if(g.async){e.requests[h]=c.ajax(g)}else{c.ajax(g)}}return h}},_removeXHR:function(d){if(this.opts.queue||this.opts.queueDuplicateRequests){c.dequeue(document,this.qName)}this.inProgress--;this.requests[d]=null;delete this.requests[d]},clearCache:function(){a={}},_isAbort:function(g,d,f){if(!f.abortIsNoSuccess||(!g&&!d)){return false}var e=!!((!g||g.readyState===0||this.lastAbort===f.xhrID));g=null;return e},_complete:function(e,i,h,d,f,g){if(this._isAbort(h,d,g)){d="abort";g.abort.call(e,h,d,g)}i.call(e,h,d,g);c.event.trigger(this.name+"AjaxComplete",[h,d,g]);if(g.domCompleteTrigger){c(g.domCompleteTrigger).trigger(this.name+"DOMComplete",[h,d,g]).trigger("DOMComplete",[h,d,g])}this._removeXHR(f);if(!this.inProgress){c.event.trigger(this.name+"AjaxStop")}h=null},_success:function(e,m,j,i,l,g){var k=this;if(this._isAbort(l,i,g)){l=null;return}if(g.abortOld){c.each(this.requests,function(n){if(n===g.xhrID){return false}k.abort(n)})}if(g.cacheResponse&&!a[g.xhrID]){if(!l){l={}}a[g.xhrID]={status:l.status,statusText:l.statusText,responseText:l.responseText,responseXML:l.responseXML,_successData:j,cacheTTL:g.cacheTTL,timestamp:new Date().getTime()};if("getAllResponseHeaders" in l){var f=l.getAllResponseHeaders();var h;var d=function(){if(h){return}h={};c.each(f.split("\n"),function(o,p){var n=p.indexOf(":");h[p.substr(0,n)]=p.substr(n+2)})};c.extend(a[g.xhrID],{getAllResponseHeaders:function(){return f},getResponseHeader:function(n){d();return(n in h)?h[n]:null}})}}m.call(e,j,i,l,g);c.event.trigger(this.name+"AjaxSuccess",[l,g,j]);if(g.domSuccessTrigger){c(g.domSuccessTrigger).trigger(this.name+"DOMSuccess",[j,g]).trigger("DOMSuccess",[j,g])}l=null},getData:function(e){if(e){var d=this.requests[e];if(!d&&this.opts.queue){d=c.grep(c(document).queue(this.qName),function(g,f){return(g.xhrID===e)})[0]}return d}return{requests:this.requests,queue:(this.opts.queue)?c(document).queue(this.qName):[],inProgress:this.inProgress}},abort:function(g){var f;if(g){f=this.getData(g);if(f&&f.abort){this.lastAbort=g;f.abort();this.lastAbort=false}else{c(document).queue(this.qName,c.grep(c(document).queue(this.qName),function(j,h){return(j!==f)}))}f=null;return}var e=this,d=[];c.each(this.requests,function(h){d.push(h)});c.each(d,function(h,j){e.abort(j)})},clear:function(d){c(document).clearQueue(this.qName);if(d){this.abort()}}};c.manageAjax._manager.prototype.getXHR=c.manageAjax._manager.prototype.getData;c.manageAjax.defaults={beforeCreate:c.noop,abort:c.noop,abortIsNoSuccess:true,maxRequests:1,cacheResponse:false,async:true,domCompleteTrigger:false,domSuccessTrigger:false,preventDoubleRequests:true,queueDuplicateRequests:false,cacheTTL:-1,queue:false};c.each(c.manageAjax._manager.prototype,function(e,d){if(e.indexOf("_")===0||!c.isFunction(d)){return}c.manageAjax[e]=function(g,h){if(!b[g]){if(e==="add"){c.manageAjax.create(g,h)}else{return}}var f=Array.prototype.slice.call(arguments,1);b[g][e].apply(b[g],f)}})})(jQuery);/* contents of /global/jquery/jquery.tagsinput.js */(function(c){var a=new Array();var b=new Array();c.fn.doAutosize=function(j){var g=c(this).data("minwidth"),q=c(this).data("maxwidth"),l="",p=c(this),k=c("#"+c(this).data("tester_id"));if(l===(l=p.val())){return}var f=l.replace(/&/g,"&amp;").replace(/\s/g," ").replace(/</g,"&lt;").replace(/>/g,"&gt;");k.html(f);var n=k.width(),m=(n+j.comfortZone)>=g?n+j.comfortZone:g,h=p.width(),e=(m<h&&m>=g)||(m>g&&m<q);if(e){p.width(m)}};c.fn.resetAutosize=function(g){var j=c(this).data("minwidth")||g.minInputWidth||c(this).width(),k=c(this).data("maxwidth")||g.maxInputWidth||(c(this).closest(".tagsinput").width()-g.inputPadding),l="",f=c(this),h=c("<tester/>").css({position:"absolute",top:-9999,left:-9999,width:"auto",fontSize:f.css("fontSize"),fontFamily:f.css("fontFamily"),fontWeight:f.css("fontWeight"),letterSpacing:f.css("letterSpacing"),whiteSpace:"nowrap"}),e=c(this).attr("id")+"_autosize_tester";if(!c("#"+e).length>0){h.attr("id",e);h.appendTo("body")}f.data("minwidth",j);f.data("maxwidth",k);f.data("tester_id",e);f.css("width",j)};c.fn.addTag=function(f,e){e=jQuery.extend({focus:false,callback:true},e);this.each(function(){var l=c(this).attr("id");var g=c(this).val().split(a[l]);if(g[0]==""){g=new Array()}f=jQuery.trim(f);if(e.unique){var h=c(g).tagExist(f);if(h==true){c("#"+l+"_tag").addClass("not_valid")}}else{var h=false}if(f!=""&&h!=true){c("<span>").addClass("tag").append(c("<span>").text(f).append("&nbsp;&nbsp;"),c("<a>",{href:"#",title:"Removing tag",text:"x"}).click(function(){return c("#"+l).removeTag(escape(f))})).insertBefore("#"+l+"_addTag");g.push(f);c("#"+l+"_tag").val("");if(e.focus){c("#"+l+"_tag").focus()}else{c("#"+l+"_tag").blur()}c.fn.tagsInput.updateTagsField(this,g);if(e.callback&&b[l]&&b[l]["onAddTag"]){var k=b[l]["onAddTag"];k.call(this,f)}if(b[l]&&b[l]["onChange"]){var j=g.length;var k=b[l]["onChange"];k.call(this,c(this),g[j-1])}}});return false};c.fn.removeTag=function(e){e=unescape(e);this.each(function(){var j=c(this).attr("id");var g=c(this).val().split(a[j]);c("#"+j+"_tagsinput .tag").remove();str="";for(i=0;i<g.length;i++){if(g[i]!=e){str=str+a[j]+g[i]}}c.fn.tagsInput.importTags(this,str);if(b[j]&&b[j]["onRemoveTag"]){var h=b[j]["onRemoveTag"];h.call(this,e)}});return false};c.fn.tagExist=function(e){return(jQuery.inArray(e,c(this))>=0)};c.fn.importTags=function(e){id=c(this).attr("id");c("#"+id+"_tagsinput .tag").remove();c.fn.tagsInput.importTags(this,e)};c.fn.tagsInput=function(e){var f=jQuery.extend({interactive:true,defaultText:"add a tag",minChars:0,width:"300px",height:"100px",autocomplete:{selectFirst:false},hide:true,delimiter:",",unique:true,removeWithBackspace:true,placeholderColor:"#666666",autosize:true,comfortZone:20,inputPadding:6*2},e);this.each(function(){if(f.hide){c(this).hide()}var j=c(this).attr("id");var h=jQuery.extend({pid:j,real_input:"#"+j,holder:"#"+j+"_tagsinput",input_wrapper:"#"+j+"_addTag",fake_input:"#"+j+"_tag"},f);a[j]=h.delimiter;if(f.onAddTag||f.onRemoveTag||f.onChange){b[j]=new Array();b[j]["onAddTag"]=f.onAddTag;b[j]["onRemoveTag"]=f.onRemoveTag;b[j]["onChange"]=f.onChange}var g='<div id="'+j+'_tagsinput" class="tagsinput"><div id="'+j+'_addTag">';if(f.interactive){g=g+'<input id="'+j+'_tag" value="" data-default="'+f.defaultText+'" />'}g=g+'</div><div class="tags_clear"></div></div>';c(g).insertAfter(this);c(h.holder).css("width",f.width);c(h.holder).css("height",f.height);if(c(h.real_input).val()!=""){c.fn.tagsInput.importTags(c(h.real_input),c(h.real_input).val())}if(f.interactive){c(h.fake_input).val(c(h.fake_input).attr("data-default"));c(h.fake_input).css("color",f.placeholderColor);c(h.fake_input).resetAutosize(f);c(h.holder).bind("click",h,function(k){c(k.data.fake_input).focus()});c(h.fake_input).bind("focus",h,function(k){if(c(k.data.fake_input).val()==c(k.data.fake_input).attr("data-default")){c(k.data.fake_input).val("")}c(k.data.fake_input).css("color","#000000")});if(f.autocomplete_url!=undefined){autocomplete_options={source:f.autocomplete_url};for(attrname in f.autocomplete){autocomplete_options[attrname]=f.autocomplete[attrname]}if(jQuery.Autocompleter!==undefined){c(h.fake_input).autocomplete(f.autocomplete_url,f.autocomplete);c(h.fake_input).bind("result",h,function(k,m,l){if(m){if(f.autocomplete.dataType=="json"){d=m[f.ac_jsonFieldName]}else{d=m+""}c(k.data.real_input).addTag(d,{focus:true,unique:(f.unique)})}})}else{if(jQuery.ui.autocomplete!==undefined){c(h.fake_input).autocomplete(autocomplete_options);c(h.fake_input).bind("autocompleteselect",h,function(k,l){c(k.data.real_input).addTag(l.item.value,{focus:true,unique:(f.unique)});return false})}}}else{c(h.fake_input).bind("blur",h,function(k){var l=c(this).attr("data-default");if(c(k.data.fake_input).val()!=""&&c(k.data.fake_input).val()!=l){if((k.data.minChars<=c(k.data.fake_input).val().length)&&(!k.data.maxChars||(k.data.maxChars>=c(k.data.fake_input).val().length))){c(k.data.real_input).addTag(c(k.data.fake_input).val(),{focus:true,unique:(f.unique)})}}else{c(k.data.fake_input).val(c(k.data.fake_input).attr("data-default"));c(k.data.fake_input).css("color",f.placeholderColor)}return false})}c(h.fake_input).bind("keypress",h,function(k){if(k.which==k.data.delimiter.charCodeAt(0)||k.which==13){k.preventDefault();if((k.data.minChars<=c(k.data.fake_input).val().length)&&(!k.data.maxChars||(k.data.maxChars>=c(k.data.fake_input).val().length))){c(k.data.real_input).addTag(c(k.data.fake_input).val(),{focus:true,unique:(f.unique)})}c(k.data.fake_input).resetAutosize(f);return false}else{if(k.data.autosize){c(k.data.fake_input).doAutosize(f)}}});h.removeWithBackspace&&c(h.fake_input).bind("keydown",function(l){if(l.keyCode==8&&c(this).val()==""){l.preventDefault();var k=c(this).closest(".tagsinput").find(".tag:last").text();var m=c(this).attr("id").replace(/_tag$/,"");k=k.replace(/[\s]+x$/,"");c("#"+m).removeTag(escape(k));c(this).trigger("focus")}});c(h.fake_input).blur();if(h.unique){c(h.fake_input).keydown(function(k){if(k.keyCode==8||String.fromCharCode(k.which).match(/\w+|[áéíóúÁÉÍÓÚñÑ,/]+/)){c(this).removeClass("not_valid")}})}}return false});return this};c.fn.tagsInput.updateTagsField=function(f,e){var g=c(f).attr("id");c(f).val(e.join(a[g]))};c.fn.tagsInput.importTags=function(h,j){c(h).val("");var k=c(h).attr("id");var e=j.split(a[k]);for(i=0;i<e.length;i++){c(h).addTag(e[i],{focus:false,callback:false})}if(b[k]&&b[k]["onChange"]){var g=b[k]["onChange"];g.call(h,h,e[i])}}})(jQuery);/* contents of /comps/google_analytics.js */var gaCustomVars=new Array();(jQuery.cookie("user_name")!=null)?gaMemberType="Member":gaMemberType="Non-Member";gaCustomVars.push([1,"User Type",gaMemberType,2]);jQuery(document).ready(function(){jQuery.trackPage(gaSiteID,{onload:false,customvars:gaCustomVars});jQuery(".allabout-affiliate a").each(function(){jQuery.trackEvent("affiliate-"+jQuery(this).attr("rel"),"impression",jQuery(this).attr("href"),null)});jQuery(".allabout-affiliate a").track({category:function(a){return"affiliate-"+a.attr("rel")}});jQuery("#section-more-information a").track({category:"events-moreinfo"});if(jQuery(".tweet a").length>0){setTimeout(function(){jQuery(".tweet a").track({category:"events-twitter"})},4000)}if(jQuery("#homepage #feature-box").length){jQuery("#feature-box .feature a").each(function(){var b=jQuery(this);var a=jQuery("#features .feature").index(b.parents(".feature"))+1;b.track({category:"homepage",action:"whatshot",value:a})});if(jQuery("#network-footer").length){jQuery("#network-footer a").track({category:"network-footer",action:"click"})}if(jQuery("#footpanel").length){if(!$("#chatpanel a").hasClass("active")){jQuery("#chatpanel a.chat").track({category:"social-bar",action:"click",label:"chatterbox"})}if(!$("#alertpanel a").hasClass("active")){jQuery("#alertpanel a.chat").track({category:"social-bar",action:"click",label:"feed"})}if(!$("#statuspanel a").hasClass("active")){jQuery("#statuspanel a.status-bubble").track({category:"social-bar",action:"click",label:"status"})}jQuery("#mail a").track({category:"social-bar",action:"click"});jQuery("#request a").track({category:"social-bar",action:"click"});if(!$("#mypanel a").hasClass("active")){jQuery("#mypanel a.myitm").track({category:"social-bar",action:"click",label:"mymenu"})}jQuery("#open a").track({category:"social-bar",action:"click",label:"open"});jQuery("#socialclose a").track({category:"social-bar",action:"click",label:"close"})}}});_gaq.push(function(){var a=_gat._createTracker(gaSiteID,"tsaTracker")});
