/*! Modernizr 2.0.6 (Custom Build) | MIT & BSD
 * Build: http://www.modernizr.com/download/#-borderradius-cssgradients-cssclasses-testprop-testallprops-prefixes-domprefixes
 */
window.Modernizr=function(af,ae,ad){function O(f,e){var h=f.charAt(0).toUpperCase()+f.substr(1),g=(f+" "+R.join(h+" ")+h).split(" ");return Q(g,e)}function Q(e,c){for(var f in e){if(V[e[f]]!==ad){return c=="pfx"?e[f]:!0}}return !1}function D(d,c){return !!~(""+d).indexOf(c)}function E(d,c){return typeof d===c}function F(d,c){return G(S.join(d+";")+(c||""))}function G(b){V.cssText=b}var ac="2.0.6",ab={},aa=!0,Z=ae.documentElement,Y=ae.head||ae.getElementsByTagName("head")[0],X="modernizr",W=ae.createElement(X),V=W.style,U,T=Object.prototype.toString,S=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),R="Webkit Moz O ms Khtml".split(" "),P={},N={},M={},K=[],J,I={}.hasOwnProperty,H;!E(I,ad)&&!E(I.call,ad)?H=function(d,c){return I.call(d,c)}:H=function(d,c){return c in d&&E(d.constructor.prototype[c],ad)},P.borderradius=function(){return O("borderRadius")},P.cssgradients=function(){var e="background-image:",d="gradient(linear,left top,right bottom,from(#9f9),to(white));",f="linear-gradient(left top,#9f9, white);";G((e+S.join(d+e)+S.join(f+e)).slice(0,-e.length));return D(V.backgroundImage,"gradient")};for(var L in P){H(P,L)&&(J=L.toLowerCase(),ab[J]=P[L](),K.push((ab[J]?"":"no-")+J))}G(""),W=U=null,ab._version=ac,ab._prefixes=S,ab._domPrefixes=R,ab.testProp=function(b){return Q([b])},ab.testAllProps=O,Z.className=Z.className.replace(/\bno-js\b/,"")+(aa?" js "+K.join(" "):"");return ab}(this,this.document);(function(a){
/*! hoverIntent by Brian Cherne */
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);
/*!
 * Superfish v1.4.8 - jQuery menu widget
 * Copyright (c) 2008 Joel Birch
 *
 * Dual licensed under the MIT and GPL licenses:
 * 	http://www.opensource.org/licenses/mit-license.php
 * 	http://www.gnu.org/licenses/gpl.html
 *
 * CHANGELOG: http://users.tpg.com.au/j_birch/plugins/superfish/changelog.txt
 */
(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:"hov",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);(function(a){a.fn.supersubs=function(b){var c=a.extend({},a.fn.supersubs.defaults,b);return this.each(function(){var d=a(this);var e=a.meta?a.extend({},c,d.data()):c;var f=a('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:"absolute",top:"-999em",width:"auto"}).appendTo(d).width();a("#menu-fontsize").remove();$ULs=d.find("ul");$ULs.each(function(l){var k=$ULs.eq(l);var j=k.children();var g=j.children("a");var m=j.css("white-space","nowrap").css("float");var h=k.add(j).add(g).css({"float":"none",width:"auto"}).end().end()[0].clientWidth/f;h+=e.extraWidth;if(h>e.maxWidth){h=e.maxWidth}else{if(h<e.minWidth){h=e.minWidth}}h+="em";k.css("width",h);j.css({"float":m,width:"100%","white-space":"normal"}).each(function(){var n=a(">ul",this);var i=n.css("left")!==undefined?"left":"right";n.css(i,h)})})})};a.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);
/*!
Watermark v3.0.6 (June 21, 2010) plugin for jQuery
http://jquery-watermark.googlecode.com/
Copyright (c) 2009-2010 Todd Northrop
http://www.speednet.biz/
Dual licensed under the MIT or GPL Version 2 licenses.
*/
(function(b){var q="function",n="password",d="maxLength",f="type",c=true,a="",e=false,m="watermark",o,r=m,l="watermarkClass",g="watermarkFocus",p="watermarkSubmit",t="watermarkMaxLength",k="watermarkPassword",i="watermarkText",j=":data("+r+")",s=":text,:password,:search,textarea",u=["Page_ClientValidate"],h=e;b.extend(b.expr[":"],{search:function(v){return"search"===(v.type||a)},data:function(z,w,v){var y,x=/^((?:[^=!^$*]|[!^$*](?!=))+)(?:([!^$*]?=)(.*))?$/.exec(v[3]);if(x){y=b(z).data(x[1]);if(y!==o){if(x[2]){y=a+y;switch(x[2]){case"=":return y==x[3];case"!=":return y!=x[3];case"^=":return y.slice(0,x[3].length)==x[3];case"$=":return y.slice(-x[3].length)==x[3];case"*=":return y.indexOf(x[3])!==-1}}return c}}return e}});b.watermark={version:"3.0.6",options:{className:m,useNative:c},hide:function(v){b(v).filter(j).each(function(){b.watermark._hide(b(this))})},_hide:function(C,A){var v=C.val()||a,y=C.data(i)||a,z=C.data(t)||0,x=C.data(l);if(y.length&&v==y){C.val(a);if(C.data(k)){if((C.attr(f)||a)==="text"){var w=C.data(k)||[],B=C.parent()||[];if(w.length&&B.length){B[0].removeChild(C[0]);B[0].appendChild(w[0]);C=w}}}if(z){C.attr(d,z);C.removeData(t)}if(A){C.attr("autocomplete","off");window.setTimeout(function(){C.select()},1)}}x&&C.removeClass(x)},show:function(v){b(v).filter(j).each(function(){b.watermark._show(b(this))})},_show:function(y){var B=y.val()||a,C=y.data(i)||a,z=y.attr(f)||a,A=y.data(l);if((B.length==0||B==C)&&!y.data(g)){h=c;if(y.data(k)){if(z===n){var x=y.data(k)||[],w=y.parent()||[];if(x.length&&w.length){w[0].removeChild(y[0]);w[0].appendChild(x[0]);y=x;y.attr(d,C.length)}}}if(z==="text"||z==="search"){var v=y.attr(d)||0;if(v>0&&C.length>v){y.data(t,v);y.attr(d,C.length)}}A&&y.addClass(A);y.val(C)}else{b.watermark._hide(y)}},hideAll:function(){if(h){b.watermark.hide(s);h=e}},showAll:function(){b.watermark.show(s)}};b.fn.watermark=function(z,x){var y="string";if(!this.length){return this}var v=e,w=typeof z===y;if(typeof x==="object"){v=typeof x.className===y;x=b.extend({},b.watermark.options,x)}else{if(typeof x===y){v=c;x=b.extend({},b.watermark.options,{className:x})}else{x=b.watermark.options}}if(typeof x.useNative!==q){x.useNative=x.useNative?function(){return c}:function(){return e}}return this.each(function(){var D="dragleave",C="dragenter",G=this,A=b(G);if(!A.is(s)){return}if(A.data(r)){if(w||v){b.watermark._hide(A);w&&A.data(i,z);v&&A.data(l,x.className)}}else{if(x.useNative.call(G,A)){if((a+A.css("-webkit-appearance")).replace("undefined",a)!==a&&(A.attr("tagName")||a)!=="TEXTAREA"){w&&A.attr("placeholder",z);return}}A.data(i,w?z:a);A.data(l,x.className);A.data(r,1);if((A.attr(f)||a)===n){var H=A.wrap("<span>").parent(),E=b(H.html().replace(/type=["']?password["']?/i,'type="text"'));E.data(i,A.data(i));E.data(l,A.data(l));E.data(r,1);E.attr(d,z.length);E.focus(function(){b.watermark._hide(E,c)}).bind(C,function(){b.watermark._hide(E)}).bind("dragend",function(){window.setTimeout(function(){E.blur()},1)});A.blur(function(){b.watermark._show(A)}).bind(D,function(){b.watermark._show(A)});E.data(k,A);A.data(k,E)}else{A.focus(function(){A.data(g,1);b.watermark._hide(A,c)}).blur(function(){A.data(g,0);b.watermark._show(A)}).bind(C,function(){b.watermark._hide(A)}).bind(D,function(){b.watermark._show(A)}).bind("dragend",function(){window.setTimeout(function(){b.watermark._show(A)},1)}).bind("drop",function(J){var I=J.originalEvent.dataTransfer.getData("Text");A.val().replace(I,a)===A.data(i)&&A.val(I);A.focus()})}if(G.form){var B=G.form,F=b(B);if(!F.data(p)){F.submit(b.watermark.hideAll);if(B.submit){F.data(p,B.submit);B.submit=function(J,I){return function(){var K=I.data(p);b.watermark.hideAll();if(K.apply){K.apply(J,Array.prototype.slice.call(arguments))}else{K()}}}(B,F)}else{F.data(p,1);B.submit=function(I){return function(){b.watermark.hideAll();delete I.submit;I.submit()}}(B)}}}}b.watermark._show(A)})};u.length&&b(function(){for(var v,w,x=u.length-1;x>=0;x--){v=u[x];w=window[v];if(typeof w===q){window[v]=function(y){return function(){b.watermark.hideAll();return y.apply(null,Array.prototype.slice.call(arguments))}}(w)}}});b("#searchstuff input:text").watermark("Search");b("#Breadcrumbs a:last").removeAttr("href").css("color","#6b6b6b")})(jQuery);
/*!
* Modified to automatically call for the document
* --------------------------------------------------------------------
* jQuery-Plugin "pngFix"
* Version: 1.1, 11.09.2007
* by Andreas Eberhard, andreas.eberhard@gmail.com
*                      http://jquery.andreaseberhard.de/
*
* Copyright (c) 2007 Andreas Eberhard
* Licensed under GPL (http://www.opensource.org/licenses/gpl-license.php)
*/
(function(b){jQuery.fn.pngFix=function(e){e=jQuery.extend({blankgif:"blank.gif"},e);var f=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 5.5")!=-1);var a=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1);if(jQuery.browser.msie&&(f||a)){jQuery(this).find("img[src$=.png]").each(function(){jQuery(this).attr("width",jQuery(this).width());jQuery(this).attr("height",jQuery(this).height());var o="";var t="";var c=(jQuery(this).attr("id"))?'id="'+jQuery(this).attr("id")+'" ':"";var n=(jQuery(this).attr("class"))?'class="'+jQuery(this).attr("class")+'" ':"";var r=(jQuery(this).attr("title"))?'title="'+jQuery(this).attr("title")+'" ':"";var q=(jQuery(this).attr("alt"))?'alt="'+jQuery(this).attr("alt")+'" ':"";var s=(jQuery(this).attr("align"))?"float:"+jQuery(this).attr("align")+";":"";var d=(jQuery(this).parent().attr("href"))?"cursor:hand;":"";if(this.style.border){o+="border:"+this.style.border+";";this.style.border=""}if(this.style.padding){o+="padding:"+this.style.padding+";";this.style.padding=""}if(this.style.margin){o+="margin:"+this.style.margin+";";this.style.margin=""}var p=(this.style.cssText);t+="<span "+c+n+r+q;t+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+s+d;t+="width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+"px;";t+="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+jQuery(this).attr("src")+"', sizingMethod='scale');";t+=p+'"></span>';if(o!=""){t='<span style="position:relative;display:inline-block;'+o+d+"width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+'px;">'+t+"</span>"}jQuery(this).hide();jQuery(this).after(t)});jQuery(this).find("*").each(function(){var c=jQuery(this).css("background-image");if(c.indexOf(".png")!=-1){var d=c.split('url("')[1].split('")')[0];jQuery(this).css("background-image","none");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+d+"',sizingMethod='scale')"}});jQuery(this).find("input[src$=.png]").each(function(){var c=jQuery(this).attr("src");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+c+"', sizingMethod='scale');";jQuery(this).attr("src",e.blankgif)})}return jQuery};b(function(){b(document).pngFix()})})(jQuery);
