/*! This file has */
/*! been minimized. */
/*! credits of reused code can be found by removing '-min' from the url. */
if(typeof SOUPGIANT=="undefined"||!SOUPGIANT){SOUPGIANT={}}SOUPGIANT.base=function(){var j=jQuery,g,e=window,h=document,d=null,b=true,n=false,k=0;j(function(){g=j("body");g.removeClass("nojs").addClass("js")});j(e).ready(function(){g.removeClass("nojswin").addClass("jswin")});function a(q,s,i){if(q==d){q="ul.nav li"}else{var r=q.split(","),t=r.length;q="";for(k=0;k<t;k++){q+=r[k]+" li";if(k<t-1){q+=", "}}}if(s==d){s="sfhover"}if(i==d){i=s}j(function(){j(q).each(function(){var u=j(this);u.hover(function(){u.addClass(s)},function(){u.removeClass(s)});u.find("a").each(function(){var v=j(this);v.focus(function(){u.addClass(i)});v.blur(function(){u.removeClass(i)})})})})}function p(i,r,u,q){if(i==d){return d}if(r==d){r="equalHeight"}if(u==d){u="screen, projection, handheld"}if(q==d){q=""}else{q=" "+q+" "}var w=Math.floor(Math.random()*999999),t=0,v,s;r=r+"-"+w;j(i).each(function(){var x=j(this);if(x.height()>t){t=x.height()}x.addClass(r)});r="."+r;v="min-height: "+t+"px;";s="height: "+t+"px;";l(q+r,v,u);l("* html "+q+r,s,u);return r}function l(u,s,r){
/*! Copyright 2005 Bobby van der Sluis */
/*! This software is licensed under the CC-GNU LGPL <http://creativecommons.org/licenses/LGPL/2.1/> */
if(r==d){r="screen, projection, handheld"}if(!h.getElementsByTagName||!(h.createElement||h.createElementNS)){return}var t=navigator.userAgent.toLowerCase(),v=((t.indexOf("msie")!=-1)&&(t.indexOf("opera")==-1)),x=(v&&(t.indexOf("win")!=-1)),z=(v&&(t.indexOf("mac")!=-1));if(z){return}var w=h.getElementsByTagName("head")[0],q=(typeof h.createElementNS!="undefined")?h.createElementNS("http://www.w3.org/1999/xhtml","style"):h.createElement("style");if(!x){var y=h.createTextNode(u+" {"+s+"}");q.appendChild(y)}q.setAttribute("type","text/css");q.setAttribute("media",r);w.appendChild(q);if(x&&h.styleSheets&&h.styleSheets.length>0){var i=h.styleSheets[h.styleSheets.length-1];if(typeof i.addRule=="object"){i.addRule(u,s)}}}function f(s,A,D,x,C,t){if(s==d){return n}if(A==d){A="#slides"}if(D==d){D="#slides > img"}if(x==d){x=5}if(C==d){C=400}if(t==d){t=b}var y=j(A),z=j(D),E=s.length,w,r,q=0,i=0,u=0,B=E+1;if(t==b){u=1;z.eq(0).css({zIndex:B,position:"absolute"})}for(k=u;k<E;k++){if((s[k] instanceof j)==b){w=s[k]}else{w=j(s[k])}w.css({position:"absolute",zIndex:E-k});y.append(w)}z=j(D);z.stop().fadeTo(1,0);z.eq(0).stop().fadeTo(1,1);function v(){i=q+1;if(i==E){i=0}r=q;z.eq(i).css("z-index",B+1);z.eq(q).css("z-index",B);z.eq(i).stop().fadeTo(C,1,function(){z.eq(r).fadeTo(1,0)});q=i;setTimeout(v,x*1000)}setTimeout(v,x*1000)}function o(q,s,i,v,r,u){if((q==d)||(s==d)){return n}if(v==d){v="/"}var t;if(typeof i=="object"){t=i}else{if(i!=d){i=i*1000;t=new Date(i)}}h.cookie=q+"="+escape(s)+((i)?";expires="+t.toGMTString():"")+(";path="+v)+((r)?";domain="+r:"")+((u)?";secure":"")}function m(i){var v=h.cookie.split(";"),r="",t="",u="",s=n,q=v.length;for(k=0;k<q;k++){r=v[k].split("=");t=r[0].replace(/^\s+|\s+$/g,"");if(t==i){s=b;if(r.length>1){u=unescape(r[1].replace(/^\s+|\s+$/g,""))}return u;break}r=d;t=""}if(!s){return d}}function c(q,s,t,z,r,w,u,y,x,i){if(!s){s="/"}if(!t){t=500}if(!z){z=320}if(!r){r="SGpopup"}if(!w){w="yes"}if(!u){u="no"}if(!y){y="no"}if(!x){x="no"}if(!i){i="yes"}var v=e.open(s,r,"width="+t+",height="+z+",scrollbars="+w+",location="+u+",toolbar="+y+",status="+x+",resizable="+i);if(v!=d){if(e.focus){v.focus()}q.preventDefault()}return d}return{nav:a,equalHeight:p,createStyleRule:l,slideShow:f,setCookie:o,getCookie:m,popup:c}}();(function(a){a.fn.prettyPhoto=function(c){var e={cyclic:true,overlayOpacity:0.8,overlayColor:"#000",titlePosition:"inside",transitionIn:"elastic",transitionOut:"elastic"},d=this,b={};if(typeof c=="object"){c=a.extend(e,c)}else{c=e}if(d.selector.indexOf("a[rel^='prettyPhoto']")!=-1){d.each(function(){var f=a(this),g;if(f.attr("rel").indexOf("[")!=-1){g=d.attr("rel").replace(/(\[|\])+/g,"__");f.attr("rel",g);b[g]=g;f.addClass(g);d=d.not(f)}});for(subSelector in b){if(b.hasOwnProperty(subSelector)){a("a."+subSelector).fancybox(c)}}}d.fancybox(c);return this}})(jQuery);
