(function(a){if(typeof a.userAgs!=="function"){(a.userAgs=function(){if(a.fn.jquery<1.4){a.browser={};var c=(function(){var g=navigator.userAgent.toLowerCase();var f=/(webkit)[ \/]([\w.]+)/.exec(g)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(g)||/(msie) ([\w.]+)/.exec(g)||!/compatible/.test(g)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(g)||[];return{browser:f[1]||"",version:f[2]||"0"}})();if(c.browser){a.browser[c.browser]=true}a.browser.version=c.version}var e=function(j,h){if(typeof j==="string"&&typeof h==="string"){j=a.trim(j.replace(/[^0-9\.]+$/g,"").replace(/\.+$/g,""));h=a.trim(h.replace(/[^0-9\.]+$/g,"").replace(/\.+$/g,""));if(j.match(/[0-9]+/)&&j.match(/^[0-9\.]+$/)){if(h.match(/[0-9]+/)&&h.match(/^[0-9\.]+$/)){var g=j.split("."),f=h.split(".");for(var k=0;k<g.length;k++){if(isNaN(g[k]=Number(g[k]))){return false}else{if(f.length<k+1){return true}else{if(isNaN(f[k]=Number(f[k]))){return false}else{if(g[k]<f[k]){return true}else{if(f.length<k+2){return false}}}}}}}}}return false};var b=a("html"),d=a.browser.version;if(a.browser.msie){b.addClass("msie");if(e(d,"8")){b.addClass("msie-lt-8")}if(e(d,"9")){b.addClass("msie-lt-9")}if(e(d,"10")){b.addClass("msie-lt-10")}}else{if(a.browser.webkit){b.addClass("webkit");if(e(d,"530")){b.addClass("webkit-lt-530")}if(e(d,"540")){b.addClass("webkit-lt-540")}if(e(d,"550")){b.addClass("webkit-lt-550")}}else{if(a.browser.mozilla){b.addClass("mozilla");if(e(d,"1.9.1")){b.addClass("mozilla-lt-1-9-1")}if(e(d,"1.9.2")){b.addClass("mozilla-lt-1-9-2")}if(e(d,"1.9.3")){b.addClass("mozilla-lt-1-9-3")}}else{if(a.browser.opera){b.addClass("opera");if(e(d,"10")){b.addClass("opera-lt-10")}if(e(d,"10.5")){b.addClass("opera-lt-10-5")}if(e(d,"11")){b.addClass("opera-lt-11")}}}}}})()}})(jQuery);
(function(a){if(typeof a.fn.hoverIntent!=="function"){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);
(function(C){if(typeof C.fn.colorbox!=="function"){var s="colorbox",q="hover",y=true,Q=false,V,o=!C.support.opacity,S=o&&!window.XMLHttpRequest,z="cbox_open",K="cbox_load",v="cbox_complete",J="cbox_cleanup",p="cbox_closed",N="resize.cbox_resize",H,T,U,d,A,l,b,G,c,O,E,h,g,t,k,n,L,m,I,u,W,j,f,a,r,i,B,P,x,M,D={transition:"elastic",speed:350,width:Q,height:Q,innerWidth:Q,innerHeight:Q,initialWidth:"400",initialHeight:"400",maxWidth:Q,maxHeight:Q,scalePhotos:y,scrolling:y,inline:Q,html:Q,iframe:Q,photo:Q,href:Q,title:Q,rel:Q,opacity:0.9,preloading:y,current:"image {current} of {total}",previous:"previous",next:"next",close:"close",open:Q,overlayClose:y,slideshow:Q,slideshowAuto:y,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",onOpen:Q,onLoad:Q,onComplete:Q,onCleanup:Q,onClosed:Q};function F(X,Y){Y=Y==="x"?O.width():O.height();return(typeof X==="string")?Math.round((X.match(/%/)?(Y/100)*parseInt(X,10):parseInt(X,10))):X}function w(X){X=C.isFunction(X)?X.call(r):X;return P.photo||X.match(/\.(gif|png|jpg|jpeg|bmp)(?:\?([^#]*))?(?:#(\.*))?$/i)}function R(){for(var X in P){if(C.isFunction(P[X])&&X.substring(0,2)!=="on"){P[X]=P[X].call(r)}}P.rel=P.rel||r.rel;P.href=P.href||r.href;P.title=P.title||r.title}function e(X){r=X;P=C(r).data(s);R();if(P.rel&&P.rel!=="nofollow"){c=C(".cboxElement").filter(function(){var Y=C(this).data(s).rel||this.rel;return(Y===P.rel)});B=c.index(r);if(B<0){c=c.add(r);B=c.length-1}}else{c=C(r);B=0}if(!x){x=y;M=y;i=r;i.blur();C(document).bind("keydown.cbox_close",function(Y){if(Y.keyCode===27){Y.preventDefault();V.close()}}).bind("keydown.cbox_arrows",function(Y){if(c.length>1){if(Y.keyCode===37){Y.preventDefault();I.click()}else{if(Y.keyCode===39){Y.preventDefault();m.click()}}}});if(P.overlayClose){H.css({cursor:"pointer"}).one("click",V.close)}C.event.trigger(z);if(P.onOpen){P.onOpen.call(r)}H.css({opacity:P.opacity}).show();P.w=F(P.initialWidth,"x");P.h=F(P.initialHeight,"y");V.position(0);if(S){O.bind("resize.cboxie6 scroll.cboxie6",function(){H.css({width:O.width(),height:O.height(),top:O.scrollTop(),left:O.scrollLeft()})}).trigger("scroll.cboxie6")}}n.add(I).add(m).add(L).add(k).hide();u.html(P.close).show();V.slideshow();V.load()}V=C.fn.colorbox=function(X,Z){var Y=this;if(!Y.length){if(Y.selector===""){Y=C("<a/>");X.open=y}else{return this}}Y.each(function(){var aa=C.extend({},C(this).data(s)?C(this).data(s):D,X);C(this).data(s,aa).addClass("cboxElement");if(Z){C(this).data(s).onComplete=Z}});if(X&&X.open){e(Y)}return this};V.init=function(){function X(Y){return C('<div id="cbox'+Y+'"/>')}O=C(window);T=C('<div id="colorbox"/>');H=X("Overlay").hide();U=X("Wrapper");d=X("Content").append(E=X("LoadedContent").css({width:0,height:0}),g=X("LoadingOverlay"),t=X("LoadingGraphic"),k=X("Title"),n=X("Current"),L=X("Slideshow"),m=X("Next"),I=X("Previous"),u=X("Close"));U.append(C("<div/>").append(X("TopLeft"),A=X("TopCenter"),X("TopRight")),C("<div/>").append(l=X("MiddleLeft"),d,b=X("MiddleRight")),C("<div/>").append(X("BottomLeft"),G=X("BottomCenter"),X("BottomRight"))).children().children().css({"float":"left"});h=C("<div style='position:absolute; top:0; left:0; width:9999px; height:0;'/>");C("body").prepend(H,T.append(U,h));if(o){T.addClass("cboxIE");if(S){H.css("position","absolute")}}d.children().bind("mouseover mouseout",function(){C(this).toggleClass(q)}).addClass(q);W=A.height()+G.height()+d.outerHeight(y)-d.height();j=l.width()+b.width()+d.outerWidth(y)-d.width();f=E.outerHeight(y);a=E.outerWidth(y);T.css({"padding-bottom":W,"padding-right":j}).hide();m.click(V.next);I.click(V.prev);u.click(V.close);d.children().removeClass(q);C(".cboxElement").live("click",function(Y){if(Y.button!==0&&typeof Y.button!=="undefined"){return y}else{e(this);return Q}})};V.position=function(ac,Z){var ab,Y=O.height(),aa=Math.max(Y-P.h-f-W,0)/2+O.scrollTop(),X=Math.max(document.documentElement.clientWidth-P.w-a-j,0)/2+O.scrollLeft();ab=(T.width()===P.w+a&&T.height()===P.h+f)?0:ac;U[0].style.width=U[0].style.height="9999px";function ad(ae){A[0].style.width=G[0].style.width=d[0].style.width=ae.style.width;t[0].style.height=g[0].style.height=d[0].style.height=l[0].style.height=b[0].style.height=ae.style.height}T.dequeue().animate({width:P.w+a,height:P.h+f,top:aa,left:X},{duration:ab,complete:function(){ad(this);M=Q;U[0].style.width=(P.w+a+j)+"px";U[0].style.height=(P.h+f+W)+"px";if(Z){Z()}},step:function(){ad(this)}})};V.resize=function(ab){if(!x){return}var ac,aa,Y,ae,ai,X,ag,Z=P.transition==="none"?0:P.speed;O.unbind(N);if(!ab){ag=setTimeout(function(){var aj=E.wrapInner("<div style='overflow:auto'></div>").children();P.h=aj.height();E.css({height:P.h});aj.replaceWith(aj.children());V.position(Z)},1);return}E.remove();E=C('<div id="cboxLoadedContent"/>').html(ab);function af(){P.w=P.w||E.width();P.w=P.mw&&P.mw<P.w?P.mw:P.w;return P.w}function ad(){P.h=P.h||E.height();P.h=P.mh&&P.mh<P.h?P.mh:P.h;return P.h}E.hide().appendTo(h).css({width:af(),overflow:P.scrolling?"auto":"hidden"}).css({height:ad()}).prependTo(d);C("#cboxPhoto").css({cssFloat:"none"});if(S){C("select:not(#colorbox select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one(J,function(){this.style.visibility="inherit"})}function ah(aj){V.position(aj,function(){if(!x){return}if(o){if(X){E.fadeIn(100)}T[0].style.removeAttribute("filter")}if(P.iframe){E.append("<iframe id='cboxIframe'"+(P.scrolling?" ":"scrolling='no'")+" name='iframe_"+new Date().getTime()+"' frameborder=0 src='"+P.href+"' "+(o?"allowtransparency='true'":"")+" />")}E.show();k.show().html(P.title);if(c.length>1){n.html(P.current.replace(/\{current\}/,B+1).replace(/\{total\}/,c.length)).show();m.html(P.next).show();I.html(P.previous).show();if(P.slideshow){L.show()}}g.hide();t.hide();C.event.trigger(v);if(P.onComplete){P.onComplete.call(r)}if(P.transition==="fade"){T.fadeTo(Z,1,function(){if(o){T[0].style.removeAttribute("filter")}})}O.bind(N,function(){V.position(0)})})}if((P.transition==="fade"&&T.fadeTo(Z,0,function(){ah(0)}))||ah(Z)){}if(P.preloading&&c.length>1){aa=B>0?c[B-1]:c[c.length-1];ae=B<c.length-1?c[B+1]:c[0];ai=C(ae).data(s).href||ae.href;Y=C(aa).data(s).href||aa.href;if(w(ai)){C("<img />").attr("src",ai)}if(w(Y)){C("<img />").attr("src",Y)}}};V.load=function(){var Y,X,aa,Z=V.resize;M=y;r=c[B];P=C(r).data(s);R();C.event.trigger(K);if(P.onLoad){P.onLoad.call(r)}P.h=P.height?F(P.height,"y")-f-W:P.innerHeight?F(P.innerHeight,"y"):Q;P.w=P.width?F(P.width,"x")-a-j:P.innerWidth?F(P.innerWidth,"x"):Q;P.mw=P.w;P.mh=P.h;if(P.maxWidth){P.mw=F(P.maxWidth,"x")-a-j;P.mw=P.w&&P.w<P.mw?P.w:P.mw}if(P.maxHeight){P.mh=F(P.maxHeight,"y")-f-W;P.mh=P.h&&P.h<P.mh?P.h:P.mh}Y=P.href;g.show();t.show();if(P.inline){C('<div id="cboxInlineTemp" />').hide().insertBefore(C(Y)[0]).bind(K+" "+J,function(){C(this).replaceWith(E.children())});Z(C(Y))}else{if(P.iframe){Z(" ")}else{if(P.html){Z(P.html)}else{if(w(Y)){X=new Image();X.onload=function(){var ab;X.onload=null;X.id="cboxPhoto";C(X).css({margin:"auto",border:"none",display:"block",cssFloat:"left"});if(P.scalePhotos){aa=function(){X.height-=X.height*ab;X.width-=X.width*ab};if(P.mw&&X.width>P.mw){ab=(X.width-P.mw)/X.width;aa()}if(P.mh&&X.height>P.mh){ab=(X.height-P.mh)/X.height;aa()}}if(P.h){X.style.marginTop=Math.max(P.h-X.height,0)/2+"px"}Z(X);if(c.length>1){C(X).css({cursor:"pointer"}).click(V.next)}if(o){X.style.msInterpolationMode="bicubic"}};X.src=Y}else{C("<div />").appendTo(h).load(Y,function(ab,ac){if(ac==="success"){Z(this)}else{Z(C("<p>Request unsuccessful.</p>"))}})}}}}};V.next=function(){if(!M){B=B<c.length-1?B+1:0;V.load()}};V.prev=function(){if(!M){B=B>0?B-1:c.length-1;V.load()}};V.slideshow=function(){var Y,X,Z="cboxSlideshow_";L.bind(p,function(){L.unbind();clearTimeout(X);T.removeClass(Z+"off "+Z+"on")});function aa(){L.text(P.slideshowStop).bind(v,function(){X=setTimeout(V.next,P.slideshowSpeed)}).bind(K,function(){clearTimeout(X)}).one("click",function(){Y();C(this).removeClass(q)});T.removeClass(Z+"off").addClass(Z+"on")}Y=function(){clearTimeout(X);L.text(P.slideshowStart).unbind(v+" "+K).one("click",function(){aa();X=setTimeout(V.next,P.slideshowSpeed);C(this).removeClass(q)});T.removeClass(Z+"on").addClass(Z+"off")};if(P.slideshow&&c.length>1){if(P.slideshowAuto){aa()}else{Y()}}};V.close=function(){C.event.trigger(J);if(P.onCleanup){P.onCleanup.call(r)}x=Q;C(document).unbind("keydown.cbox_close keydown.cbox_arrows");O.unbind(N+" resize.cboxie6 scroll.cboxie6");H.css({cursor:"auto"}).fadeOut("fast");T.stop(y,Q).fadeOut("fast",function(){C("#colorbox iframe").attr("src","about:blank");E.remove();T.css({opacity:1});try{i.focus()}catch(X){}C.event.trigger(p);if(P.onClosed){P.onClosed.call(r)}})};V.element=function(){return C(r)};V.settings=D;C(V.init)}}(jQuery));



(function(a){if(typeof a.addThis!=="function"){var b="xa-4b537663748d4b79";document.write('<script type="text/javascript" src="//s7.addthis.com/js/250/addthis_widget.js#username='+b+'"><\/script>');document.write('<style type="text/css">div#atffc { width: 0; height: 0; overflow: hidden; }</style>');a.addThis=function(d){var f,e={hover:false,offsetY:true,regex2Domain:{match:null,title:"",description:""}};var c=a("meta[name=description]").attr("content");f=d=a.extend(true,{},e,d);if(typeof addthis==="object"&&typeof addthis.button==="function"){a("a.share-save").each(function(){a(this).css("cursor","pointer");var l=242,j=208;var h=parseInt(a("img",this).css("width")),g=parseInt(a("img",this).css("height"));var i=(!isNaN(g)&&g&&f.offsetY)?g+((j-g)/2):0;var k=(!isNaN(h)&&h)?(l-h)/2:0;k=(k>0)?-k:Math.abs(k);i=(i>0)?-i:Math.abs(i);if(f.regex2Domain.match&&f.regex2Domain.title&&document.URL.match(f.regex2Domain.match)){addthis.button(this,{data_ga_tracker:((typeof window.pageTracker==="object")?pageTracker:null),ui_click:(f.hover?false:true),ui_offset_top:i,ui_offset_left:k},{url:"http://"+document.domain+"/",title:f.regex2Domain.title,description:f.regex2Domain.description})}else{addthis.button(this,{data_ga_tracker:((typeof window.pageTracker==="object")?pageTracker:null),ui_click:(f.hover?false:true),ui_offset_top:i,ui_offset_left:k},{url:document.URL,title:document.title,description:c})}})}}}})(jQuery);
(function(a){if(typeof a.boxOpen!=="function"&&typeof a.fn.colorbox==="function"){a.boxOpen=a.fn.boxOpen=function(c){var g,h,d,b=[],f={maxWidth:"95%",maxHeight:"95%"};h=c=(typeof boxOpen==="object")?a.extend(true,{},f,boxOpen,c):a.extend(true,{},f,c);g=(this instanceof jQuery)?this:null;if(!g){return a.fn.colorbox(h)}var e=function(y){y=(typeof y==="string")?y:"";var x=/^boxopen/i;var v={},j,r,k,o,n,i,q,s;var w=";";var u=/(options)( ?)(\=)( ?)(\{)(.+)(\})/i;var l=",";var t=/([a-z_]+)( ?)(\:)( ?)('?)([^'$]*)('?)/i;if(y.match(x)&&((r=y.split(w)).length)){for(k=0,o=r.length;k<o;k++){if((n=r[k].match(u))&&((i=n[6].split(l)).length)){for(q=0,s=i.length;q<s;q++){if(n=i[q].match(t)){v[a.trim(n[1])]=a.trim(n[6])}}}}}for(j in v){if(typeof v[j]==="string"){if(v[j].match(/^(true|false)$/)){v[j]=(v[j]==="true")?true:false}else{if(v[j].match(/^([0-9\.]+)$/)){v[j]=Number(v[j])}}}}return v};g.each(function(){var i=a(this).attr("rel");if(a.inArray(i,b)===-1){b.push(i)}});for(d=0;d<b.length;d++){g.filter(function(){return this.rel===b[d]}).colorbox(a.extend(true,{},h,e(b[d])))}return g};a(document).ready(function(b){b("div.gallery").each(function(){var f=b(this),c=f.attr("id"),d=b("a",this);var e=(f.parent().is("div.gallery-slideshow"))?",slideshow:true":"";if(c&&d.length&&typeof d[0].href==="string"){if(d[0].href.match(/\.(svg|png|gif|jpg|jpe|jpeg|bmp)$/i)){d.attr("rel","boxopen-"+c+";options={photo:true"+e+"}")}}})});a(document).ready(function(b){b('a[rel^="boxopen"]').boxOpen()})}})(jQuery);

(function(a){if(typeof a.easyCols!=="function"){a.easyCols=function(b){var d,c={margin3rds:15,margin4ths:16};d=b=a.extend(true,{},c,b);a("div.with-1-3rd-column-width, div.with-2-3rds-column-width").each(function(){var h=a(this),g=parseInt(h.css("padding-left"))+parseInt(h.css("padding-right")),f=h.parent().width();var e=Math.floor(f-(d.margin3rds*2)-((g)?(g*3):0))/3;if(h.hasClass("with-2-3rds-column-width")){e=(e*2)+(d.margin3rds*1)+(g*1)}h.css("width",e+"px")});a("div.with-1-4th-column-width, div.with-2-4ths-column-width, div.with-3-4ths-column-width").each(function(){var h=a(this),g=parseInt(h.css("padding-left"))+parseInt(h.css("padding-right")),f=h.parent().width();var e=Math.floor(f-(d.margin4ths*3)-((g)?(g*4):0))/4;if(h.hasClass("with-2-4ths-column-width")){e=(e*2)+(d.margin4ths*1)+(g*1)}else{if(h.hasClass("with-3-4ths-column-width")){e=(e*3)+(d.margin4ths*2)+(g*2)}}h.css("width",e+"px")})}}})(jQuery);

(function(a){if(typeof a.iFlash!=="function"){a.iFlash=function(b){var d={movie:"",width:"",height:"",wMode:"",bgColor:"",flashVars:"",menu:"",scale:"",idName:"iFlash-"+Math.round(0+Math.random()*(10000000-0)),version:"9",quality:"high",swLiveConnect:"true",allowScriptAccess:"always",returnCode:false};b=a.extend(true,{},d,b);var c='<object id="'+b.idName+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+b.version+'" width="'+b.width+'" height="'+b.height+'" swliveconnect="'+b.swLiveConnect+'">';c+='<param name="movie" value="'+b.movie+'" />';c+='<param name="quality" value="'+b.quality+'" />';c+='<param name="wmode" value="'+b.wMode+'" />';c+='<param name="scale" value="'+b.scale+'" />';c+='<param name="menu" value="'+b.menu+'" />';c+='<param name="bgcolor" value="'+b.bgColor+'" />';c+='<param name="flashvars" value="'+b.flashVars+'" />';c+='<param name="allowscriptaccess" value="'+b.allowScriptAccess+'" />';c+='<embed name="'+b.idName+'" src="'+b.movie+'" flashvars="'+b.flashVars+'" width="'+b.width+'" height="'+b.height+'" quality="'+b.quality+'" pluginspage="//www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="'+b.wMode+'" scale="'+b.scale+'" menu="'+b.menu+'" bgcolor="'+b.bgColor+'" allowscriptaccess="'+b.allowScriptAccess+'" swliveconnect="'+b.swLiveConnect+'"></embed>';c+="</object>";if(b.movie&&b.width&&b.height){if(b.returnCode){return c}else{document.write(c)}}else{if(b.returnCode){return""}}}}})(jQuery);
(function(a){if(typeof a.fn.megafish!=="function"&&typeof a.fn.hoverIntent==="function"){a.fn.megafish=function(c){var f=this,h,e={parentClass:"parent",currentClass:"current",depressedClass:"depressed",dividerClass:"divider",arrowClass:"arrow",downArrow:"&#9660;",rightArrow:"&#9658;",animShow:"fadeIn",animHide:"fadeOut",animSpeed:"fast",hoverSensitivity:5,hoverInterval:200,hoverTimeout:500,openOnClick:"arrows-only",switchOnClick:false};var g=(a.browser.msie)?true:false,d=(g&&a.browser.version<8)?true:false,b=(a.browser.opera)?true:false;h=c=a.extend(true,{},e,c);return f.each(function(){var k,i='<li class="'+h.dividerClass+'"></li>';(k=a("> li",this)).each(function(m){if(m+1<k.length){a(this).after(i)}});var j='<ins style="display:none;">&nbsp;</ins>';a("> li:has(ul)",this).each(function(){a(this).append('<ins class="'+h.arrowClass+'">'+j+h.downArrow+"</ins>")});a("ul li:has(ul)",this).each(function(){a(this).prepend('<ins class="'+h.arrowClass+'">'+j+h.rightArrow+"</ins>")});if(h.openOnClick){a("li:has(ul)",this).addClass(h.parentClass).each(function(){a(((h.openOnClick==="arrows-only")?'> a[href="#"]':"> a")+", > ins."+h.arrowClass,this).click(function(){var m=a(this);if(a("> ul",m.parent()).css("display")==="none"){m.parent().addClass(h.depressedClass);if(g||b||!h.animShow){a("> ul",m.parent()).show()}else{a("> ul",m.parent())[h.animShow](h.animSpeed)}}else{m.parent().removeClass(h.depressedClass);if(g||b||!h.animHide){a("> ul",m.parent()).hide()}else{a("> ul",m.parent())[h.animHide](h.animSpeed)}}return false});a(this).hoverIntent({sensitivity:100,interval:100,timeout:h.hoverTimeout,over:function(){return},out:function(){a(this).removeClass(h.depressedClass);if(g||b||!h.animHide){a("> ul",this).hide()}else{a("> ul",this)[h.animHide](h.animSpeed)}}})})}else{a("li:has(ul)",this).addClass(h.parentClass).hoverIntent({sensitivity:h.hoverSensitivity,interval:h.hoverInterval,timeout:h.hoverTimeout,over:function(){a(this).addClass(h.depressedClass);if(g||b||!h.animShow){a("> ul",this).show()}else{a("> ul",this)[h.animShow](h.animSpeed)}},out:function(){a(this).removeClass(h.depressedClass);if(g||b||!h.animHide){a("> ul",this).hide()}else{a("> ul",this)[h.animHide](h.animSpeed)}}})}if(h.switchOnClick){a("li > a",this).click(function(){a("li > a",f).each(function(){a(this).parent().removeClass(h.currentClass)});a(this).parent().addClass(h.currentClass)})}if(d){var l=1000;a("li",this).each(function(){a(this).css("z-index",l--)})}})}}})(jQuery);
(function(a){if(typeof a.noFOUT!=="function"){(a.noFOUT=function(){if(window!=top){if(typeof document.documentElement.style.MozTransform==="string"){document.write('<style type="text/css">body { visibility: hidden; }</style>');a(document).ready(function(){a("body").css("visibility","visible")})}else{if(document.documentMode&&typeof document.styleSheets==="object"){for(var c=0,d=null,b="";c<document.styleSheets.length;c++){if((d=document.styleSheets[c])&&typeof d.href==="string"&&(b=d.href)){if(b.match(/font-faces\.css/)&&typeof d.cssText==="string"&&d.cssText){document.write('<style type="text/css">'+d.cssText+"</style>")}}}}}}})()}})(jQuery);
(function(a){if(typeof a.ooFade!=="function"){a.ooFade=function(b){if(!a.browser.msie){var d,c={clickFadeOutAmount:0.3,hoverFadeInOpacity:1,hoverFadeOutOpacity:0.5};d=b=a.extend(true,{},c,b);a("div.oo-clickfade-o, img.oo-clickfade-o, a.oo-clickfade-o").each(function(){a(this).css("outline",0);a(this).parent("a").css("outline",0);a("a",this).css("outline",0)});a("div.oo-clickfade-o, img.oo-clickfade-o, a.oo-clickfade-o").click(function(){if(!a(this).attr("oo-clickfaded-o")){a(this).attr("oo-clickfaded-o","true");a(this).fadeTo("fast",d.clickFadeOutAmount)}});a("div.oo-hoverfade-i, img.oo-hoverfade-i, a.oo-hoverfade-i").hover(function(){if(!a(this).attr("oo-clickfaded-o")){a(this).fadeTo("fast",d.hoverFadeInOpacity)}},function(){if(!a(this).attr("oo-clickfaded-o")){a(this).fadeTo("fast",d.hoverFadeOutOpacity)}});a("div.oo-hoverfade-o, img.oo-hoverfade-o, a.oo-hoverfade-o").hover(function(){if(!a(this).attr("oo-clickfaded-o")){a(this).fadeTo("fast",d.hoverFadeOutOpacity)}},function(){if(!a(this).attr("oo-clickfaded-o")){a(this).fadeTo("fast",d.hoverFadeInOpacity)}})}}}})(jQuery);
(function(a){if(typeof a.preload!=="function"){a.preload=function(e){if(typeof e==="object"){for(var c=0,d=new Array();c<e.length;c++){d[c]=new Image(),d[c].src=e[c]}}else{if(typeof e==="string"){var b=new Image();b.src=e}}}}})(jQuery);

(function(a){if(typeof a.fn.watermark!=="function"){document.write('<style type="text/css">.watermarked { color: #999999; font-style: italic; }</style>');a.fn.watermark=function(d){var f=this,g,c,b,e={source:"title",watermarkedClass:"watermarked"};g=d=a.extend(true,{},e,d);c={title:function(h){return a(h).attr("title")},label:function(h){return a("label[for="+h.id+"]").text()}};b=function(){f.each(function(){var i=a(this),h=a.trim(i.val());if(h===""||h===i.data("watermark")){i.val(""),i.removeClass(g.watermarkedClass)}})};f.parents("form").submit(b),a(window).unload(b);return f.each(function(){var k=a(this),j=a.trim(k.val()),h,i;if(typeof(i=g.source)==="function"||typeof(i=c[g.source])==="function"){if(a.trim(h=i(this))!==""){k.data("watermark",h.replace(/[\r\n\t]+/g,""));if(j===""){k.val(k.data("watermark")),k.addClass(g.watermarkedClass)}k.focus(function(){var m=a(this),l=a.trim(m.val());if(l===""||l===m.data("watermark")){m.val(""),m.removeClass(g.watermarkedClass)}});k.blur(function(){var m=a(this),l=a.trim(m.val());if(l===""||l===m.data("watermark")){m.val(m.data("watermark")),m.addClass(g.watermarkedClass)}})}}else{return false}})}}})(jQuery);
(function(a){if(typeof a.winOpen!=="function"){a.winOpen=a.fn.winOpen=function(c){var h,i,g={top:0,left:0,name:"_winopen",href:"",width:((screen.width>=1280)?1280:screen.width),height:((screen.height>=768)?768:screen.height),resizable:1,toolbar:0,scrollbars:1,status:0,center:1,location:0,menubar:0};i=c=(typeof winOpen==="object")?a.extend(true,{},g,winOpen,c):a.extend(true,{},g,c);h=(this instanceof jQuery&&this[0].nodeType===1)?a(this[0]):null;var f=function(z){z=(typeof z==="string")?z:"";var y=/^winopen/i;var w={},k,s,l,q,o,j,r,t;var x=";";var v=/(options)( ?)(\=)( ?)(\{)(.+)(\})/i;var n=",";var u=/([a-z_]+)( ?)(\:)( ?)('?)([^'$]*)('?)/i;if(z.match(y)&&((s=z.split(x)).length)){for(l=0,q=s.length;l<q;l++){if((o=s[l].match(v))&&((j=o[6].split(n)).length)){for(r=0,t=j.length;r<t;r++){if(o=j[r].match(u)){w[a.trim(o[1])]=a.trim(o[6])}}}}}for(k in w){if(typeof w[k]==="string"){if(w[k].match(/^(true|false)$/)){w[k]=(w[k]==="true")?true:false}else{if(w[k].match(/^([0-9\.]+)$/)){w[k]=Number(w[k])}}}}return w};var b=(h)?h.attr("rel"):"";i=c=a.extend(true,{},c,f(b));if(i.center==1){i.top=(screen.height-i.height)/2,i.left=(screen.width-i.width)/2}var d,e="location="+i.location+",menubar="+i.menubar+",height="+i.height+",width="+i.width+",toolbar="+i.toolbar+",scrollbars="+i.scrollbars+",status="+i.status+",resizable="+i.resizable+",left="+i.left+",screenX="+i.left+",top="+i.top+",screenY="+i.top;if(!(d=window.open(((i.href)?i.href:((h&&h.attr("href"))?h.attr("href"):"about:blank")),i.name,e))){alert("Ot oh! It looks like you have a popup blocker preventing the window from opening. Please turn off all popup blockers and try again.")}else{d.focus()}return d};a(document).ready(function(b){b('a[rel^="winopen"]').bind("click",function(c){b(this).winOpen();return false})})}})(jQuery);
/*
Copyright: Â© 2009 WebSharks, Inc. ( coded in the USA )
<mailto:support@websharks-inc.com> <http://www.websharks-inc.com/>

Released under the terms of the GNU General Public License.
You should have received a copy of the GNU General Public License,
along with this software. In the main directory, see: /licensing/
If not, see: <http://www.gnu.org/licenses/>.
*/
(function($)
	{
		/*
		Handles basic signup requests.
		*/
		basicSignup = function()
			{
				$('#paypal-basic').each (function()
					{
						if (!S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER)
							{
								prepareCheckout (), this.submit ();
							}
						else if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER)
							{
								alert('You\'re already logged in.');
							}
					});
			};
		/*
		Handles premium signup requests.
		*/
		premiumSignup = function()
			{
				$('#paypal-premium').each (function()
					{
						if (!S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER)
							{
								prepareCheckout (), this.submit ();
							}
						else if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER && S2MEMBER_CURRENT_USER_ACCESS_LEVEL < 2)
							{
								premiumUpgrade (); /* They actually need the upgrade form. Call premiumUpgrade(). */
							}
						else if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER && S2MEMBER_CURRENT_USER_ACCESS_LEVEL >= 2)
							{
								alert('You\'re already logged in as a Premium Member.');
							}
						else if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER)
							{
								alert('You\'re already logged in.');
							}
					});
			};
		/*
		Handles premium upgrade requests.
		*/
		premiumUpgrade = function()
			{
				if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER && S2MEMBER_CURRENT_USER_ACCESS_LEVEL < 2)
					{
						$.boxOpen ({open: true, title: 'Upgrade To Premium Membership', innerWidth: 450, innerHeight: 340, html: '<div style="text-align:center;">If you\'d like to upgrade to Premium Membership, the fee is $100. After that, you can pay just $25/month if you choose to remain a member.<br /><img src="http://www.primothemes.com/wp-content/themes/custom/colors/default/images/premium-membership-upgrade.png" style="width:450px; height:295px; cursor:pointer; border:0px;" alt="Premium" onclick="premiumUpgrade_();" /></div>'});
					}
				else if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER && S2MEMBER_CURRENT_USER_ACCESS_LEVEL >= 2)
					{
						alert('You\'re already logged in as a Premium Member.');
					}
				else if (!S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER)
					{
						alert('You must be logged in before you can upgrade to Premium Membership.');
					}
			};
		/*
		Handles premium upgrade requests.
		*/
		premiumUpgrade_ = function()
			{
				$('#paypal-premium-upgrade').each (function()
					{
						if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER && S2MEMBER_CURRENT_USER_ACCESS_LEVEL < 2)
							{
								prepareCheckout (), this.submit ();
							}
						else if (S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER && S2MEMBER_CURRENT_USER_ACCESS_LEVEL >= 2)
							{
								alert('You\'re already logged in as a Premium Member.');
							}
						else if (!S2MEMBER_CURRENT_USER_IS_LOGGED_IN_AS_MEMBER)
							{
								alert('You must be logged in before you can upgrade to Premium Membership.');
							}
					});
			};
		/*
		Diplays checkout preparation message.
		*/
		prepareCheckout = function()
			{
				$.boxOpen ({open: true, title: 'Preparing Checkout', innerWidth: 300, innerHeight: 100, overlayClose: false, html: '<div style="font-size:110%; text-align:center; margin-top:35px;">Redirecting to PayPalÂ®...</div>'});
			};
		/*
		Builds and adds PayPal forms to the DOM.
		*/
		addPayPalForms = function()
			{
				var paypal = '<!-- Basic -->';
				paypal += '<form id="paypal-basic" action="https://' + S2MEMBER_PAYPAL_ENDPOINT + '/cgi-bin/webscr" method="post">';
				paypal += '<input type="hidden" name="business" value="' + S2MEMBER_PAYPAL_BUSINESS + '" />';
				paypal += '<input type="hidden" name="cmd" value="_xclick" />';
				paypal += '<!-- Instant Payment Notification & Return Page Details -->';
				paypal += '<input type="hidden" name="notify_url" value="' + S2MEMBER_PAYPAL_NOTIFY_URL + '" />';
				paypal += '<input type="hidden" name="cancel_return" value="' + S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL + '" />';
				paypal += '<input type="hidden" name="return" value="' + S2MEMBER_PAYPAL_RETURN_URL + '" />';
				paypal += '<input type="hidden" name="rm" value="2" />';
				paypal += '<!-- Configures All Of The Checkout Fields -->';
				paypal += '<input type="hidden" name="no_shipping" value="1" />';
				paypal += '<input type="hidden" name="no_note" value="1" />';
				paypal += '<input type="hidden" name="custom" value="www.primothemes.com|' + S2MEMBER_CURRENT_USER_IP + '" />';
				paypal += '<input type="hidden" name="currency_code" value="USD" />';
				paypal += '<input type="hidden" name="page_style" value="PriMoThemes" />';
				paypal += '<input type="hidden" name="item_name" value="BASIC ( 2 THEME ACCESS, ONE-TIME NON-RECURRING CHARGE )" />';
				paypal += '<input type="hidden" name="item_number" value="1::30 D" />';
				paypal += '<!-- Identifies/Updates An Existing Member After Checkout -->';
				paypal += '<input type="hidden" name="on0" value="' + S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0 + '" />';
				paypal += '<input type="hidden" name="os0" value="' + S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0 + '" />';
				paypal += '<input type="hidden" name="modify" value="0" />';
				paypal += '<!-- Customizes Prices, Payments & Billing Cycle -->';
				paypal += '<input type="hidden" name="amount" value="75" />';
				paypal += '</form>';
				/**/
				paypal += '<!-- Premium -->';
				paypal += '<form id="paypal-premium" action="https://' + S2MEMBER_PAYPAL_ENDPOINT + '/cgi-bin/webscr" method="post">';
				paypal += '<input type="hidden" name="business" value="' + S2MEMBER_PAYPAL_BUSINESS + '" />';
				paypal += '<input type="hidden" name="cmd" value="_xclick-subscriptions" />';
				paypal += '<!-- Instant Payment Notification & Return Page Details -->';
				paypal += '<input type="hidden" name="notify_url" value="' + S2MEMBER_PAYPAL_NOTIFY_URL + '" />';
				paypal += '<input type="hidden" name="cancel_return" value="' + S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL + '" />';
				paypal += '<input type="hidden" name="return" value="' + S2MEMBER_PAYPAL_RETURN_URL + '" />';
				paypal += '<input type="hidden" name="rm" value="2" />';
				paypal += '<!-- Configures All Of The Checkout Fields -->';
				paypal += '<input type="hidden" name="no_shipping" value="1" />';
				paypal += '<input type="hidden" name="no_note" value="1" />';
				paypal += '<input type="hidden" name="custom" value="www.primothemes.com|' + S2MEMBER_CURRENT_USER_IP + '" />';
				paypal += '<input type="hidden" name="currency_code" value="USD" />';
				paypal += '<input type="hidden" name="page_style" value="PriMoThemes" />';
				paypal += '<input type="hidden" name="item_name" value="PREMIUM ( UNLIMITED THEME ACCESS FOR 30 DAYS + NEWLY RELEASED THEMES EACH MONTH IF YOU CHOOSE TO REMAIN A MEMBER! )" />';
				paypal += '<input type="hidden" name="item_number" value="2" />';
				paypal += '<!-- Identifies/Updates An Existing Member After Checkout -->';
				paypal += '<input type="hidden" name="on0" value="' + S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0 + '" />';
				paypal += '<input type="hidden" name="os0" value="' + S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0 + '" />';
				paypal += '<input type="hidden" name="modify" value="0" />';
				paypal += '<!-- Customizes Prices, Payments & Billing Cycle -->';
				paypal += '<input type="hidden" name="src" value="1" />';
				paypal += '<input type="hidden" name="sra" value="1" />';
				paypal += '<input type="hidden" name="a1" value="175" />';
				paypal += '<input type="hidden" name="p1" value="1" />';
				paypal += '<input type="hidden" name="t1" value="M" />';
				paypal += '<input type="hidden" name="a3" value="25" />';
				paypal += '<input type="hidden" name="p3" value="1" />';
				paypal += '<input type="hidden" name="t3" value="M" />';
				paypal += '</form>';
				/**/
				paypal += '<!-- Premium Upgrade -->';
				paypal += '<form id="paypal-premium-upgrade" action="https://' + S2MEMBER_PAYPAL_ENDPOINT + '/cgi-bin/webscr" method="post">';
				paypal += '<input type="hidden" name="business" value="' + S2MEMBER_PAYPAL_BUSINESS + '" />';
				paypal += '<input type="hidden" name="cmd" value="_xclick-subscriptions" />';
				paypal += '<!-- Instant Payment Notification & Return Page Details -->';
				paypal += '<input type="hidden" name="notify_url" value="' + S2MEMBER_PAYPAL_NOTIFY_URL + '" />';
				paypal += '<input type="hidden" name="cancel_return" value="' + S2MEMBER_MEMBERSHIP_OPTIONS_PAGE_URL + '" />';
				paypal += '<input type="hidden" name="return" value="' + S2MEMBER_PAYPAL_RETURN_URL + '" />';
				paypal += '<input type="hidden" name="rm" value="2" />';
				paypal += '<!-- Configures All Of The Checkout Fields -->';
				paypal += '<input type="hidden" name="no_shipping" value="1" />';
				paypal += '<input type="hidden" name="no_note" value="1" />';
				paypal += '<input type="hidden" name="custom" value="www.primothemes.com|' + S2MEMBER_CURRENT_USER_IP + '" />';
				paypal += '<input type="hidden" name="currency_code" value="USD" />';
				paypal += '<input type="hidden" name="page_style" value="PriMoThemes" />';
				paypal += '<input type="hidden" name="item_name" value="PREMIUM ( UNLIMITED THEME ACCESS FOR 30 DAYS + NEWLY RELEASED THEMES EACH MONTH IF YOU CHOOSE TO REMAIN A MEMBER! )" />';
				paypal += '<input type="hidden" name="item_number" value="2" />';
				paypal += '<!-- Identifies/Updates An Existing Member After Checkout -->';
				paypal += '<input type="hidden" name="on0" value="' + S2MEMBER_CURRENT_USER_VALUE_FOR_PP_ON0 + '" />';
				paypal += '<input type="hidden" name="os0" value="' + S2MEMBER_CURRENT_USER_VALUE_FOR_PP_OS0 + '" />';
				paypal += '<input type="hidden" name="modify" value="1" />';
				paypal += '<!-- Customizes Prices, Payments & Billing Cycle -->';
				paypal += '<input type="hidden" name="src" value="1" />';
				paypal += '<input type="hidden" name="sra" value="1" />';
				paypal += '<input type="hidden" name="a1" value="100" />';
				paypal += '<input type="hidden" name="p1" value="1" />';
				paypal += '<input type="hidden" name="t1" value="M" />';
				paypal += '<input type="hidden" name="a3" value="25" />';
				paypal += '<input type="hidden" name="p3" value="1" />';
				paypal += '<input type="hidden" name="t3" value="M" />';
				paypal += '</form>';
				/**/
				$('body').append (paypal);
			};
		/*
		Handle gravatar checking.
		*/
		gravatarCheck = function()
			{
				var email = $.trim ($('div#respond-form-email > input').val ());
				/**/
				if (email && email.match (/@/) && email.match (/\./))
					{
						$.get ('†Ûiÿü0Âšâš‹azg¬r‰¿Â—(ž×§·ûazg¬ýË¬¶‰/md5.x.php?str=' + escape(email), function(md5)
							{
								var img = new Image (), div = 'div#respond-form-gravatar';
								var get = '†Ûiÿü0Âšâš‹azg¬r‰¿Â—(ž×§·ûazg¬ýË¬¶‰/colors/default/images/respond-form-gravatar-get.png';
								var windowFocusedOnError = $(div).attr ('data-window-focused-on-error') ? true : false;
								var gravatar = 'http://www.gravatar.com/avatar/%%email%%?size=96&default=404&nocache=' + new Date ().getTime ();
								/**/
								$(img) /* Creates a new script-based image and tries to load it. */
								/**/
								.load (function() /* If successful, use this gravatar image on-site. */
									{
										$(div).html ('<img src="' + gravatar.replace (/%%email%%/, md5) + '" />');
									})/**/
								.error (function() /* Error, they need to get a gravatar. */
									{
										$(div).html ('<img src="' + get + '" />'); /* No Gravatar? */
										(!windowFocusedOnError) ? $(window).focus (gravatarCheck) : null;
										$(div).attr ('data-window-focused-on-error', 'true');
									})/**/
								.attr ('src', gravatar.replace (/%%email%%/, md5));
							});
					}
			};
	/**/
	})(jQuery);
/*
Copyright: Â© 2009 WebSharks, Inc. ( coded in the USA )
<mailto:support@websharks-inc.com> <http://www.websharks-inc.com/>

Released under the terms of the GNU General Public License.
You should have received a copy of the GNU General Public License,
along with this software. In the main directory, see: /licensing/
If not, see: <http://www.gnu.org/licenses/>.
*/
jQuery(document).ready (function($)
	{
		/*
		This scripting is for: table rows.
		*/
		$('table tr:odd').addClass ('odd'), $('table tr:even').addClass ('even');
		/*
		This scripting is for: header.php.
		*/
		$.preload ('†Ûiÿü0Âšâš‹azg¬r‰¿Â—(ž×§·ûazg¬ýË¬¶‰/colors/default/images/body-header-theme-demos-over.png');
		$.preload ('†Ûiÿü0Âšâš‹azg¬r‰¿Â—(ž×§·ûazg¬ýË¬¶‰/colors/default/images/extra-light-texture-bg.png');
		/*
		This scripting is for: index.php.
		*/
		$('div#index-posts > div.index-post:last-child').css ({'margin-bottom': '0', 'padding-bottom': '0', 'border-bottom-width': '0'});
		/*
		This scripting is for: page.php.
		*/
		$('form#contact-form input, form#contact-form textarea').watermark ();
		$('div#software-details > div.softbox > form > div > input[type=button]').click (function()
			{
				var $this = $(this), $form = $(this).parent ().parent ();
				$form.attr ('target', '_blank'); /* Open in a new window. */
				$form.attr ('action', $('> div > select', $form).val ());
				if (!this.returnedFalse)
					$form.submit ();
				return false;
			});
		/*
		This scripting is for: backonly.x.php.
		*/
		$('div#backonly-content > div.readme > div.section:last-child').css ({'margin-bottom': '0', 'padding-bottom': '0', 'border-bottom-width': '0'});
		/*
		This scripting is for: footbar.x.php.
		*/
		$('ul#footbar > li.widget:nth-child(3n)').css ({'margin-right': '0', 'padding-right': '0', 'border-right-width': '0'});
		$('ul#footbar > li.widget:nth-child(3n)').after ('<div class="clear"></div>');
		$('ul#footbar > li.widget:nth-child(1n+4)').css ({'margin-top': '25px'});
		/*
		This scripting is for: comments.php ( gravatar specific ).
		*/
		$('div#respond-form-gravatar').click (function()
			{
				$.winOpen ({href: 'http://www.gravatar.com/'});
			});
		$('div#respond-form-email > input').blur (gravatarCheck);
		$('div#respond-form-comment > textarea').focus (gravatarCheck).blur (gravatarCheck);
		/*
		This scripting is for: comments.php ( other ).
		*/
		$('div#respond-form input, div#respond-form textarea').watermark ();
		$('a#respond-form-comment-allowed-tags-link').click (function()
			{
				$('div#respond-form-comment-allowed-tags').slideToggle ('fast');
				return false;
			});
		/*
		Share/Save. Here we restrict the /account/ page. Force to the main domain.
		*/
		$.addThis ({regex2Domain: {match: /\/(account)\/$/, title: 'PriMoThemes.com'}});
		/*
		Handle easy column layouts, and assign margins.
		*/
		$.easyCols ({margin3rds: 15, margin4ths: 16});
		/*
		Add PayPal forms.
		*/
		addPayPalForms ();
	});
/*
Copyright: Â© 2009 WebSharks, Inc. ( coded in the USA )
<mailto:support@websharks-inc.com> <http://www.websharks-inc.com/>

Released under the terms of the GNU General Public License.
You should have received a copy of the GNU General Public License,
along with this software. In the main directory, see: /licensing/
If not, see: <http://www.gnu.org/licenses/>.
*/
jQuery(window).load (function()
	{
		/*
		Reference to jQuery.
		*/
		var $ = jQuery;
		/*
		Do not allow short-sheet pages to mess up the layout.
		This just moves the wp-footer and it's siblings down to fill the page.
		*/
		if ($('body').outerHeight (true) < $(window).height ())
			$('div#wpf-wrapper').css ({'margin-top': (parseInt($('div#wpf-wrapper').css ('margin-top')) + $(window).height () - $('body').outerHeight (true)) + 'px'});
	});



