$(function(){var g="a:not('#controls a,div.col a,a[rel=external]')",f=$("#pager li a span"),c=$("#top div.nav ul li a,#client_nav ul li a"),h=c.length;SyntaxHighlighter.config.clipboardSwf="/templates/default/js/clipboard.swf";for(var a=0;a<h;a++){$(c[a]).wrapInner("<span />");$(c[a]).children("span").hide();var e=$(c[a]).text();if($(c[a]).hasClass("selected")){$(c[a]).prepend('<img src="/templates/default/images/'+e+'_nav_active.jpg">')}else{$(c[a]).prepend('<img src="/templates/default/images/'+e+'_nav.jpg">')}}$(window).bind("hashchange",function(l){$("div#loader").slideToggle(250);var j=$.bbq.getState();j.page=(window.location.hash).substr(1);if(j.page==""||j.page=="/"){j.page="home"}var k=j.page.toLowerCase();var i=$("#top a.selected").text(),n=k.split("/")[0],m=$("span:contains("+n+")").parent("a");$("a.selected").removeClass().children("img").attr("src","/templates/default/images/"+i+"_nav.jpg");$(m).addClass("selected").children("img").css({paddingLeft:"0px"}).attr("src","/templates/default/images/"+n+"_nav_active.jpg");$("#contentLoader").load("/"+k+" div#content",function(){Cufon.replace("h2");Cufon.now();if($("pre").length>0){SyntaxHighlighter.highlight()}var o="a:not('#controls a')";if($("div.pageNumbers a[href=#]").length!=0){$("div.pageNumbers a[href=#]").hide()}if($("#map").length>0){(function(){if(GBrowserIsCompatible()){var s=new GMap2(document.getElementById("map"));var q=new GLatLng(50.913366,-1.438329);s.setCenter(q,13);s.setUIToDefault();var r=new GMarker(q);s.addOverlay(r);GEvent.addListener(r,"click",function(){var t="<strong>Bluebit Ltd</strong><br /><br />212 Solent Business Centre<br />Southampton<br />Hampshire<br /><br />SO15 0HW<br />Email: <a href='mailto:theteam@bluebit.co.uk'>theteam@bluebit.co.uk</a>";r.openInfoWindowHtml(t)})}})()}$("div#loader").fadeOut(250)})});$(window).trigger("hashchange");Cufon.replace("h1,h2");Cufon.now();$(g).live("click",function(n){if(n.button==2){return true}else{var k=$(this).attr("href");var l=k.substr(0,4);if(l==="http"){var j=k.split("/");var k="";for(var i=3;i<j.length;i++){k+=j[i]+"/"}}else{if(l==="mail"){return true}else{var m=k.substr(0,1);if(m==="/"){var k=k.substr(1)}}}$.bbq.pushState(k,2);return false}});$("#viewsite a,#slideshow a:eq(0)").attr({href:$(f[0]).text(),rel:"external"});$("#pager li:not(#viewsite) a").click(function(j){var i=(($(j.currentTarget).text()).substr(0,1))-1;$("li#viewsite a,div#slideshow a:eq("+i+")").attr({href:$(f[i]).text(),rel:"external"});$("#slideshow").cycle("pause")});var b=$("#slideshow");for(var d=2;d<7;d++){b.append('<a href="#"><img src="/templates/default/images/slide'+d+'.jpg" width="620" height="225"></a>')}b.cycle({fx:"scrollRight",speed:"slow",easing:"easeInOutCirc",timeout:5000,pager:"#pager",after:function(l){var k=l,j=$("a.activeSlide").text(),i=j.substr(1,j.length),m=j.substr(0,1)-1;if(j!==""){$("li#viewsite a,div#slideshow a:eq("+m+")").attr({href:i,rel:"external"})}},pagerAnchorBuilder:function(j,i){return"#pager li:eq("+j+") a"}});$("#top div.nav a:not(.selected) img,#client_nav a").live("mouseover",function(){var i=$(this);$(i).stop().animate({paddingLeft:"10px"},100)});$("#top div.nav a:not(.selected) img,#client_nav a").live("mouseout",function(){var i=$(this);$(i).stop().animate({paddingLeft:"0px"},100)});$("div.imageHolder a").live("mouseover",function(){$(this).parent().css({background:"#fff"})});$("div.imageHolder a").live("mouseout",function(){$(this).parent().css({background:"#82828C"})});$("#servicesNav li a").live("mouseover",function(){$(this).stop().animate({paddingLeft:"20px"},100)});$("#servicesNav li a").live("mouseout",function(){$(this).stop().animate({paddingLeft:"5px"},100)});$("div.col a.more").live("click",function(){$(this).parent("div").children("div.imageHolder").slideUp(500);$(this).parent("div").children("div.portfolio_more").show();$(this).text("Read Less").toggleClass("more").toggleClass("less");return false});$("div.col a.less").live("click",function(){$(this).parent("div").children("div.imageHolder").slideDown(500);$(this).parent("div").children("div.portfolio_more").hide();$(this).text("Read More").toggleClass("more").toggleClass("less");return false});$("html").removeClass("fouc");$("#top .leftcol:not(.rightcol .leftcol)").hide().slideDown(500);$("button").live("click",function(){$("input[name=ajax]").remove();var m=$(this).attr("id"),n=$(this).parents("form").attr("method");if(m=="ringback"){var k=$(this).parents("form").serialize(),j=$(this).parents("form").attr("action")}if(m=="subscribe"){var l=$(this).parents("form").serialize(),i=$(this).parents("form").attr("action"),j="/templates/default/js/proxy.php",k=l+"&action="+i}if(m=="loginbox"){var k=$(this).parents("form").serialize(),j=$(this).parents("form").attr("action")}$.ajax({type:n,url:j,data:k,dataType:"json",success:function(q){if(q.redirect){var r="Logging you in, please wait";window.location=q.redirect}else{var r=q.message}var o=$("#"+m).parents("fieldset").children(".response");o.fadeOut(500,function(){o.html("<p>"+r+"</p>").addClass("active").hide().fadeIn(500)})}});return false});jQuery.easing.jswing=jQuery.easing.swing;jQuery.extend(jQuery.easing,{easeInOutCirc:function(j,k,i,m,l){if((k/=l/2)<1){return -m/2*(Math.sqrt(1-k*k)-1)+i}return m/2*(Math.sqrt(1-(k-=2)*k)+1)+i}})});if(!window.SyntaxHighlighter){var SyntaxHighlighter=function(){var a={defaults:{"class-name":"","first-line":1,"pad-line-numbers":true,highlight:null,"smart-tabs":true,"tab-size":4,gutter:true,toolbar:true,collapse:false,"auto-links":true,light:false,"wrap-lines":true,"html-script":false},config:{useScriptTags:true,clipboardSwf:null,toolbarItemWidth:16,toolbarItemHeight:16,bloggerMode:false,stripBrs:false,tagName:"pre",strings:{expandSource:"show source",viewSource:"view source",copyToClipboard:"copy to clipboard",copyToClipboardConfirmation:"The code is in your clipboard now",print:"print",help:"?",alert:"SyntaxHighlighter\n\n",noBrush:"Can't find brush for: ",brushNotHtmlScript:"Brush wasn't configured for html-script option: ",aboutDialog:'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>About SyntaxHighlighter</title></head><body style="font-family:Geneva,Arial,Helvetica,sans-serif;background-color:#fff;color:#000;font-size:1em;text-align:center;"><div style="text-align:center;margin-top:3em;"><div style="font-size:xx-large;">SyntaxHighlighter</div><div style="font-size:.75em;margin-bottom:4em;"><div>version 2.1.364 (October 15 2009)</div><div><a href="http://alexgorbatchev.com" target="_blank" style="color:#0099FF;text-decoration:none;">http://alexgorbatchev.com</a></div><div>If you like this script, please <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2930402" style="color:#0099FF;text-decoration:none;">donate</a> to keep development active!</div></div><div>JavaScript code syntax highlighter.</div><div>Copyright 2004-2009 Alex Gorbatchev.</div></div></body></html>'},debug:false},vars:{discoveredBrushes:null,spaceWidth:null,printFrame:null,highlighters:{}},brushes:{},regexLib:{multiLineCComments:/\/\*[\s\S]*?\*\//gm,singleLineCComments:/\/\/.*$/gm,singleLinePerlComments:/#.*$/gm,doubleQuotedString:/"([^\\"\n]|\\.)*"/g,singleQuotedString:/'([^\\'\n]|\\.)*'/g,multiLineDoubleQuotedString:/"([^\\"]|\\.)*"/g,multiLineSingleQuotedString:/'([^\\']|\\.)*'/g,xmlComments:/(&lt;|<)!--[\s\S]*?--(&gt;|>)/gm,url:/&lt;\w+:\/\/[\w-.\/?%&=@:;]*&gt;|\w+:\/\/[\w-.\/?%&=@:;]*/g,phpScriptTags:{left:/(&lt;|<)\?=?/g,right:/\?(&gt;|>)/g},aspScriptTags:{left:/(&lt;|<)%=?/g,right:/%(&gt;|>)/g},scriptScriptTags:{left:/(&lt;|<)\s*script.*?(&gt;|>)/gi,right:/(&lt;|<)\/\s*script\s*(&gt;|>)/gi}},toolbar:{create:function(d){var h=document.createElement("DIV"),b=a.toolbar.items;h.className="toolbar";for(var c in b){var f=b[c],g=new f(d),e=g.create();d.toolbarCommands[c]=g;if(e==null){continue}if(typeof(e)=="string"){e=a.toolbar.createButton(e,d.id,c)}e.className+="item "+c;h.appendChild(e)}return h},createButton:function(f,c,g){var d=document.createElement("a"),i=d.style,e=a.config,h=e.toolbarItemWidth,b=e.toolbarItemHeight;d.href="#"+g;d.title=f;d.highlighterId=c;d.commandName=g;d.innerHTML=f;if(isNaN(h)==false){i.width=h+"px"}if(isNaN(b)==false){i.height=b+"px"}d.onclick=function(j){try{a.toolbar.executeCommand(this,j||window.event,this.highlighterId,this.commandName)}catch(j){a.utils.alert(j.message)}return false};return d},executeCommand:function(f,g,b,e,d){var c=a.vars.highlighters[b],h;if(c==null||(h=c.toolbarCommands[e])==null){return null}return h.execute(f,g,d)},items:{expandSource:function(b){this.create=function(){if(b.getParam("collapse")!=true){return}return a.config.strings.expandSource};this.execute=function(d,e,c){var f=b.div;d.parentNode.removeChild(d);f.className=f.className.replace("collapsed","")}},viewSource:function(b){this.create=function(){return a.config.strings.viewSource};this.execute=function(d,g,c){var f=a.utils.fixInputString(b.originalCode).replace(/</g,"&lt;"),e=a.utils.popup("","_blank",750,400,"location=0, resizable=1, menubar=0, scrollbars=1");f=a.utils.unindent(f);e.document.write("<pre>"+f+"</pre>");e.document.close()}},copyToClipboard:function(d){var e,c,b=d.id;this.create=function(){var g=a.config;if(g.clipboardSwf==null){return null}function l(o){var m="";for(var n in o){m+="<param name='"+n+"' value='"+o[n]+"'/>"}return m}function f(o){var m="";for(var n in o){m+=" "+n+"='"+o[n]+"'"}return m}var k={width:g.toolbarItemWidth,height:g.toolbarItemHeight,id:b+"_clipboard",type:"application/x-shockwave-flash",title:a.config.strings.copyToClipboard},j={allowScriptAccess:"always",wmode:"transparent",flashVars:"highlighterId="+b,menu:"false"},i=g.clipboardSwf,h;if(/msie/i.test(navigator.userAgent)){h="<object"+f({classid:"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000",codebase:"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"})+f(k)+">"+l(j)+l({movie:i})+"</object>"}else{h="<embed"+f(k)+f(j)+f({src:i})+"/>"}e=document.createElement("div");e.innerHTML=h;return e};this.execute=function(g,i,f){var j=f.command;switch(j){case"get":var h=a.utils.unindent(a.utils.fixInputString(d.originalCode).replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&"));if(window.clipboardData){window.clipboardData.setData("text",h)}else{return a.utils.unindent(h)}case"ok":a.utils.alert(a.config.strings.copyToClipboardConfirmation);break;case"error":a.utils.alert(f.message);break}}},printSource:function(b){this.create=function(){return a.config.strings.print};this.execute=function(e,g,d){var f=document.createElement("IFRAME"),h=null;if(a.vars.printFrame!=null){document.body.removeChild(a.vars.printFrame)}a.vars.printFrame=f;f.style.cssText="position:absolute;width:0px;height:0px;left:-500px;top:-500px;";document.body.appendChild(f);h=f.contentWindow.document;c(h,window.document);h.write('<div class="'+b.div.className.replace("collapsed","")+' printing">'+b.div.innerHTML+"</div>");h.close();f.contentWindow.focus();f.contentWindow.print();function c(j,m){var k=m.getElementsByTagName("link");for(var l=0;l<k.length;l++){if(k[l].rel.toLowerCase()=="stylesheet"&&/shCore\.css$/.test(k[l].href)){j.write('<link type="text/css" rel="stylesheet" href="'+k[l].href+'"></link>')}}}}},about:function(b){this.create=function(){return a.config.strings.help};this.execute=function(c,e){var d=a.utils.popup("","_blank",500,250,"scrollbars=0"),f=d.document;f.write(a.config.strings.aboutDialog);f.close();d.focus()}}}},utils:{indexOf:function(e,b,d){d=Math.max(d||0,0);for(var c=d;c<e.length;c++){if(e[c]==b){return c}}return -1},guid:function(b){return b+Math.round(Math.random()*1000000).toString()},merge:function(e,d){var b={},c;for(c in e){b[c]=e[c]}for(c in d){b[c]=d[c]}return b},toBoolean:function(b){switch(b){case"true":return true;case"false":return false}return b},popup:function(f,e,g,c,d){var b=(screen.width-g)/2,i=(screen.height-c)/2;d+=", left="+b+", top="+i+", width="+g+", height="+c;d=d.replace(/^,/,"");var h=window.open(f,e,d);h.focus();return h},addEvent:function(d,b,c){if(d.attachEvent){d["e"+b+c]=c;d[b+c]=function(){d["e"+b+c](window.event)};d.attachEvent("on"+b,d[b+c])}else{d.addEventListener(b,c,false)}},alert:function(b){alert(a.config.strings.alert+b)},findBrush:function(f,h){var g=a.vars.discoveredBrushes,b=null;if(g==null){g={};for(var d in a.brushes){var c=a.brushes[d].aliases;if(c==null){continue}a.brushes[d].name=d.toLowerCase();for(var e=0;e<c.length;e++){g[c[e]]=d}}a.vars.discoveredBrushes=g}b=a.brushes[g[f]];if(b==null&&h!=false){a.utils.alert(a.config.strings.noBrush+f)}return b},eachLine:function(d,e){var b=d.split("\n");for(var c=0;c<b.length;c++){b[c]=e(b[c])}return b.join("\n")},trimFirstAndLastLines:function(b){return b.replace(/^[ ]*[\n]+|[\n]*[ ]*$/g,"")},parseParams:function(h){var d,c={},e=new XRegExp("^\\[(?<values>(.*?))\\]$"),f=new XRegExp("(?<name>[\\w-]+)\\s*:\\s*(?<value>[\\w-%#]+|\\[.*?\\]|\".*?\"|'.*?')\\s*;?","g");while((d=f.exec(h))!=null){var g=d.value.replace(/^['"]|['"]$/g,"");if(g!=null&&e.test(g)){var b=e.exec(g);g=b.values.length>0?b.values.split(/\s*,\s*/):[]}c[d.name]=g}return c},decorate:function(c,b){if(c==null||c.length==0||c=="\n"){return c}c=c.replace(/</g,"&lt;");c=c.replace(/ {2,}/g,function(d){var e="";for(var f=0;f<d.length-1;f++){e+="&nbsp;"}return e+" "});if(b!=null){c=a.utils.eachLine(c,function(d){if(d.length==0){return""}var e="";d=d.replace(/^(&nbsp;| )+/,function(f){e=f;return""});if(d.length==0){return e}return e+'<code class="'+b+'">'+d+"</code>"})}return c},padNumber:function(d,c){var b=d.toString();while(b.length<c){b="0"+b}return b},measureSpace:function(){var c=document.createElement("div"),h,j=0,f=document.body,d=a.utils.guid("measureSpace"),i='<div class="',g="</div>",e="</span>";c.innerHTML=i+'syntaxhighlighter">'+i+'lines">'+i+'line">'+i+'content"><span class="block"><span id="'+d+'">&nbsp;'+e+e+g+g+g+g;f.appendChild(c);h=document.getElementById(d);if(/opera/i.test(navigator.userAgent)){var b=window.getComputedStyle(h,null);j=parseInt(b.getPropertyValue("width"))}else{j=h.offsetWidth}f.removeChild(c);return j},processTabs:function(d,e){var c="";for(var b=0;b<e;b++){c+=" "}return d.replace(/\t/g,c)},processSmartTabs:function(f,g){var b=f.split("\n"),e="\t",c="";for(var d=0;d<50;d++){c+="                    "}function h(i,k,j){return i.substr(0,k)+c.substr(0,j)+i.substr(k+1,i.length)}f=a.utils.eachLine(f,function(i){if(i.indexOf(e)==-1){return i}var k=0;while((k=i.indexOf(e))!=-1){var j=g-k%g;i=h(i,k,j)}return i});return f},fixInputString:function(c){var b=/<br\s*\/?>|&lt;br\s*\/?&gt;/gi;if(a.config.bloggerMode==true){c=c.replace(b,"\n")}if(a.config.stripBrs==true){c=c.replace(b,"")}return c},trim:function(b){return b.replace(/^\s+|\s+$/g,"")},unindent:function(j){var c=a.utils.fixInputString(j).split("\n"),h=new Array(),f=/^\s*/,e=1000;for(var d=0;d<c.length&&e>0;d++){var b=c[d];if(a.utils.trim(b).length==0){continue}var g=f.exec(b);if(g==null){return j}e=Math.min(g[0].length,e)}if(e>0){for(var d=0;d<c.length;d++){c[d]=c[d].substr(e)}}return c.join("\n")},matchesSortCallback:function(c,b){if(c.index<b.index){return -1}else{if(c.index>b.index){return 1}else{if(c.length<b.length){return -1}else{if(c.length>b.length){return 1}}}}return 0},getMatches:function(f,g){function h(i,j){return[new a.Match(i[0],i.index,j.css)]}var d=0,c=null,b=[],e=g.func?g.func:h;while((c=g.regex.exec(f))!=null){b=b.concat(e(c,g))}return b},processUrls:function(d){var b="&lt;",c="&gt;";return d.replace(a.regexLib.url,function(e){var g="",f="";if(e.indexOf(b)==0){f=b;e=e.substring(b.length)}if(e.indexOf(c)==e.length-c.length){e=e.substring(0,e.length-c.length);g=c}return f+'<a href="'+e+'">'+e+"</a>"+g})},getSyntaxHighlighterScriptTags:function(){var c=document.getElementsByTagName("script"),b=[];for(var d=0;d<c.length;d++){if(c[d].type=="syntaxhighlighter"){b.push(c[d])}}return b},stripCData:function(c){var d="<![CDATA[",b="]]>",f=a.utils.trim(c),e=false;if(f.indexOf(d)==0){f=f.substring(d.length);e=true}if(f.indexOf(b)==f.length-b.length){f=f.substring(0,f.length-b.length);e=true}return e?f:c}},highlight:function(h,f){function e(t){var r=[];for(var s=0;s<t.length;s++){r.push(t[s])}return r}var b=f?[f]:e(document.getElementsByTagName(a.config.tagName)),j="innerHTML",n=null,l=a.config;if(l.useScriptTags){b=b.concat(a.utils.getSyntaxHighlighterScriptTags())}if(b.length===0){return}for(var g=0;g<b.length;g++){var k=b[g],d=a.utils.parseParams(k.className),o,c,q;d=a.utils.merge(h,d);o=d.brush;if(o==null){continue}if(d["html-script"]=="true"||a.defaults["html-script"]==true){n=new a.HtmlScript(o);o="htmlscript"}else{var m=a.utils.findBrush(o);if(m){o=m.name;n=new m()}else{continue}}c=k[j];if(l.useScriptTags){c=a.utils.stripCData(c)}d["brush-name"]=o;n.highlight(c,d);q=n.div;if(a.config.debug){q=document.createElement("textarea");q.value=n.div.innerHTML;q.style.width="70em";q.style.height="30em"}k.parentNode.replaceChild(q,k)}},all:function(b){a.utils.addEvent(window,"load",function(){a.highlight(b)})}};a.Match=function(d,b,c){this.value=d;this.index=b;this.length=d.length;this.css=c;this.brushName=null};a.Match.prototype.toString=function(){return this.value};a.HtmlScript=function(b){var d=a.utils.findBrush(b),c,h=new a.brushes.Xml(),g=null;if(d==null){return}c=new d();this.xmlBrush=h;if(c.htmlScript==null){a.utils.alert(a.config.strings.brushNotHtmlScript+b);return}h.regexList.push({regex:c.htmlScript.code,func:f});function e(k,l){for(var i=0;i<k.length;i++){k[i].index+=l}}function f(s,l){var k=s.code,r=[],q=c.regexList,n=s.index+s.left.length,t=c.htmlScript,u;for(var o=0;o<q.length;o++){u=a.utils.getMatches(k,q[o]);e(u,n);r=r.concat(u)}if(t.left!=null&&s.left!=null){u=a.utils.getMatches(s.left,t.left);e(u,s.index);r=r.concat(u)}if(t.right!=null&&s.right!=null){u=a.utils.getMatches(s.right,t.right);e(u,s.index+s[0].lastIndexOf(s.right));r=r.concat(u)}for(var m=0;m<r.length;m++){r[m].brushName=d.name}return r}};a.HtmlScript.prototype.highlight=function(b,c){this.xmlBrush.highlight(b,c);this.div=this.xmlBrush.div};a.Highlighter=function(){};a.Highlighter.prototype={getParam:function(d,c){var b=this.params[d];return a.utils.toBoolean(b==null?c:b)},create:function(b){return document.createElement(b)},findMatches:function(e,d){var b=[];if(e!=null){for(var c=0;c<e.length;c++){if(typeof(e[c])=="object"){b=b.concat(a.utils.getMatches(d,e[c]))}}}return b.sort(a.utils.matchesSortCallback)},removeNestedMatches:function(){var f=this.matches;for(var e=0;e<f.length;e++){if(f[e]===null){continue}var b=f[e],d=b.index+b.length;for(var c=e+1;c<f.length&&f[e]!==null;c++){var g=f[c];if(g===null){continue}else{if(g.index>d){break}else{if(g.index==b.index&&g.length>b.length){this.matches[e]=null}else{if(g.index>=b.index&&g.index<d){this.matches[c]=null}}}}}}},createDisplayLines:function(b){var n=b.split(/\n/g),l=parseInt(this.getParam("first-line")),h=this.getParam("pad-line-numbers"),m=this.getParam("highlight",[]),f=this.getParam("gutter");b="";if(h==true){h=(l+n.length-1).toString().length}else{if(isNaN(h)==true){h=0}}for(var g=0;g<n.length;g++){var o=n[g],c=/^(&nbsp;|\s)+/.exec(o),k="alt"+(g%2==0?1:2),d=a.utils.padNumber(l+g,h),e=a.utils.indexOf(m,(l+g).toString())!=-1,j=null;if(c!=null){j=c[0].toString();o=o.substr(j.length)}o=a.utils.trim(o);if(o.length==0){o="&nbsp;"}if(e){k+=" highlighted"}b+='<div class="line '+k+'"><table><tr>'+(f?'<td class="number"><code>'+d+"</code></td>":"")+'<td class="content">'+(j!=null?'<code class="spaces">'+j.replace(" ","&nbsp;")+"</code>":"")+o+"</td></tr></table></div>"}return b},processMatches:function(b,h){var j=0,l="",c=a.utils.decorate,k=this.getParam("brush-name","");function e(m){var i=m?(m.brushName||k):k;return i?i+" ":""}for(var f=0;f<h.length;f++){var g=h[f],d;if(g===null||g.length===0){continue}d=e(g);l+=c(b.substr(j,g.index-j),d+"plain")+c(g.value,d+g.css);j=g.index+g.length}l+=c(b.substr(j),e()+"plain");return l},highlight:function(c,e){var j=a.config,k=a.vars,b,g,h,d="important";this.params={};this.div=null;this.lines=null;this.code=null;this.bar=null;this.toolbarCommands={};this.id=a.utils.guid("highlighter_");k.highlighters[this.id]=this;if(c===null){c=""}this.params=a.utils.merge(a.defaults,e||{});if(this.getParam("light")==true){this.params.toolbar=this.params.gutter=false}this.div=b=this.create("DIV");this.lines=this.create("DIV");this.lines.className="lines";className="syntaxhighlighter";b.id=this.id;if(this.getParam("collapse")){className+=" collapsed"}if(this.getParam("gutter")==false){className+=" nogutter"}if(this.getParam("wrap-lines")==false){this.lines.className+=" no-wrap"}className+=" "+this.getParam("class-name");className+=" "+this.getParam("brush-name");b.className=className;this.originalCode=c;this.code=a.utils.trimFirstAndLastLines(c).replace(/\r/g," ");h=this.getParam("tab-size");this.code=this.getParam("smart-tabs")==true?a.utils.processSmartTabs(this.code,h):a.utils.processTabs(this.code,h);this.code=a.utils.unindent(this.code);if(this.getParam("toolbar")){this.bar=this.create("DIV");this.bar.className="bar";this.bar.appendChild(a.toolbar.create(this));b.appendChild(this.bar);var i=this.bar;function f(){i.className=i.className.replace("show","")}b.onmouseover=function(){f();i.className+=" show"};b.onmouseout=function(){f()}}b.appendChild(this.lines);this.matches=this.findMatches(this.regexList,this.code);this.removeNestedMatches();c=this.processMatches(this.code,this.matches);c=this.createDisplayLines(a.utils.trim(c));if(this.getParam("auto-links")){c=a.utils.processUrls(c)}this.lines.innerHTML=c},getKeywords:function(b){b=b.replace(/^\s+|\s+$/g,"").replace(/\s+/g,"|");return"\\b(?:"+b+")\\b"},forHtmlScript:function(b){this.htmlScript={left:{regex:b.left,css:"script"},right:{regex:b.right,css:"script"},code:new XRegExp("(?<left>"+b.left.source+")(?<code>.*?)(?<right>"+b.right.source+")","sgi")}}};return a}()}if(!window.XRegExp){(function(){var e={exec:RegExp.prototype.exec,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},d={part:/(?:[^\\([#\s.]+|\\(?!k<[\w$]+>|[pP]{[^}]+})[\S\s]?|\((?=\?(?!#|<[\w$]+>)))+|(\()(?:\?(?:(#)[^)]*\)|<([$\w]+)>))?|\\(?:k<([\w$]+)>|[pP]{([^}]+)})|(\[\^?)|([\S\s])/g,replaceVar:/(?:[^$]+|\$(?![1-9$&`']|{[$\w]+}))+|\$(?:([1-9]\d*|[$&`'])|{([$\w]+)})/g,extended:/^(?:\s+|#.*)+/,quantifier:/^(?:[?*+]|{\d+(?:,\d*)?})/,classLeft:/&&\[\^?/g,classRight:/]/g},b=function(j,g,h){for(var f=h||0;f<j.length;f++){if(j[f]===g){return f}}return -1},c=/()??/.exec("")[1]!==undefined,a={};XRegExp=function(o,i){if(o instanceof RegExp){if(i!==undefined){throw TypeError("can't supply flags when constructing one RegExp from another")}return o.addFlags()}var i=i||"",f=i.indexOf("s")>-1,k=i.indexOf("x")>-1,q=false,s=[],h=[],g=d.part,l,j,n,m,r;g.lastIndex=0;while(l=e.exec.call(g,o)){if(l[2]){if(!d.quantifier.test(o.slice(g.lastIndex))){h.push("(?:)")}}else{if(l[1]){s.push(l[3]||null);if(l[3]){q=true}h.push("(")}else{if(l[4]){m=b(s,l[4]);h.push(m>-1?"\\"+(m+1)+(isNaN(o.charAt(g.lastIndex))?"":"(?:)"):l[0])}else{if(l[5]){h.push(a.unicode?a.unicode.get(l[5],l[0].charAt(1)==="P"):l[0])}else{if(l[6]){if(o.charAt(g.lastIndex)==="]"){h.push(l[6]==="["?"(?!)":"[\\S\\s]");g.lastIndex++}else{j=XRegExp.matchRecursive("&&"+o.slice(l.index),d.classLeft,d.classRight,"",{escapeChar:"\\"})[0];h.push(l[6]+j+"]");g.lastIndex+=j.length+1}}else{if(l[7]){if(f&&l[7]==="."){h.push("[\\S\\s]")}else{if(k&&d.extended.test(l[7])){n=e.exec.call(d.extended,o.slice(g.lastIndex-1))[0].length;if(!d.quantifier.test(o.slice(g.lastIndex-1+n))){h.push("(?:)")}g.lastIndex+=n-1}else{h.push(l[7])}}}else{h.push(l[0])}}}}}}}r=RegExp(h.join(""),e.replace.call(i,/[sx]+/g,""));r._x={source:o,captureNames:q?s:null};return r};XRegExp.addPlugin=function(f,g){a[f]=g};RegExp.prototype.exec=function(k){var h=e.exec.call(this,k),g,j,f;if(h){if(c&&h.length>1){f=new RegExp("^"+this.source+"$(?!\\s)",this.getNativeFlags());e.replace.call(h[0],f,function(){for(j=1;j<arguments.length-2;j++){if(arguments[j]===undefined){h[j]=undefined}}})}if(this._x&&this._x.captureNames){for(j=1;j<h.length;j++){g=this._x.captureNames[j-1];if(g){h[g]=h[j]}}}if(this.global&&this.lastIndex>(h.index+h[0].length)){this.lastIndex--}}return h}})()}RegExp.prototype.getNativeFlags=function(){return(this.global?"g":"")+(this.ignoreCase?"i":"")+(this.multiline?"m":"")+(this.extended?"x":"")+(this.sticky?"y":"")};RegExp.prototype.addFlags=function(a){var b=new XRegExp(this.source,(a||"")+this.getNativeFlags());if(this._x){b._x={source:this._x.source,captureNames:this._x.captureNames?this._x.captureNames.slice(0):null}}return b};RegExp.prototype.call=function(a,b){return this.exec(b)};RegExp.prototype.apply=function(b,a){return this.exec(a[0])};XRegExp.cache=function(c,a){var b="/"+c+"/"+(a||"");return XRegExp.cache[b]||(XRegExp.cache[b]=new XRegExp(c,a))};XRegExp.escape=function(a){return a.replace(/[-[\]{}()*+?.\\^$|,#\s]/g,"\\$&")};XRegExp.matchRecursive=function(q,d,t,f,b){var b=b||{},w=b.escapeChar,k=b.valueNames,f=f||"",r=f.indexOf("g")>-1,c=f.indexOf("i")>-1,h=f.indexOf("m")>-1,v=f.indexOf("y")>-1,f=f.replace(/y/g,""),d=d instanceof RegExp?(d.global?d:d.addFlags("g")):new XRegExp(d,"g"+f),t=t instanceof RegExp?(t.global?t:t.addFlags("g")):new XRegExp(t,"g"+f),i=[],a=0,j=0,n=0,l=0,m,e,o,s,g,u;if(w){if(w.length>1){throw SyntaxError("can't supply more than one escape character")}if(h){throw TypeError("can't supply escape character when using the multiline flag")}g=XRegExp.escape(w);u=new RegExp("^(?:"+g+"[\\S\\s]|(?:(?!"+d.source+"|"+t.source+")[^"+g+"])+)+",c?"i":"")}while(true){d.lastIndex=t.lastIndex=n+(w?(u.exec(q.slice(n))||[""])[0].length:0);o=d.exec(q);s=t.exec(q);if(o&&s){if(o.index<=s.index){s=null}else{o=null}}if(o||s){j=(o||s).index;n=(o?d:t).lastIndex}else{if(!a){break}}if(v&&!a&&j>l){break}if(o){if(!a++){m=j;e=n}}else{if(s&&a){if(!--a){if(k){if(k[0]&&m>l){i.push([k[0],q.slice(l,m),l,m])}if(k[1]){i.push([k[1],q.slice(m,e),m,e])}if(k[2]){i.push([k[2],q.slice(e,j),e,j])}if(k[3]){i.push([k[3],q.slice(j,n),j,n])}}else{i.push(q.slice(e,j))}l=n;if(!r){break}}}else{d.lastIndex=t.lastIndex=0;throw Error("subject data contains unbalanced delimiters")}}if(j===n){n++}}if(r&&!v&&k&&k[0]&&q.length>l){i.push([k[0],q.slice(l),l,q.length])}d.lastIndex=t.lastIndex=0;return i};SyntaxHighlighter.brushes.JScript=function(){var a="break case catch continue default delete do else false  for function if in instanceof new null return super switch this throw true try typeof var while with";this.regexList=[{regex:SyntaxHighlighter.regexLib.singleLineCComments,css:"comments"},{regex:SyntaxHighlighter.regexLib.multiLineCComments,css:"comments"},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:"string"},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:"string"},{regex:/\s*#.*/gm,css:"preprocessor"},{regex:new RegExp(this.getKeywords(a),"gm"),css:"keyword"}];this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags)};SyntaxHighlighter.brushes.JScript.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.JScript.aliases=["js","jscript","javascript"];SyntaxHighlighter.brushes.CSS=function(){function a(f){return"\\b([a-z_]|)"+f.replace(/ /g,"(?=:)\\b|\\b([a-z_\\*]|\\*|)")+"(?=:)\\b"}function c(f){return"\\b"+f.replace(/ /g,"(?!-)(?!:)\\b|\\b()")+":\\b"}var d="ascent azimuth background-attachment background-color background-image background-position background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index";var b="above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow";var e="[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif";this.regexList=[{regex:SyntaxHighlighter.regexLib.multiLineCComments,css:"comments"},{regex:SyntaxHighlighter.regexLib.doubleQuotedString,css:"string"},{regex:SyntaxHighlighter.regexLib.singleQuotedString,css:"string"},{regex:/\#[a-fA-F0-9]{3,6}/g,css:"value"},{regex:/(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g,css:"value"},{regex:/!important/g,css:"color3"},{regex:new RegExp(a(d),"gm"),css:"keyword"},{regex:new RegExp(c(b),"g"),css:"value"},{regex:new RegExp(this.getKeywords(e),"g"),css:"color1"}];this.forHtmlScript({left:/(&lt;|<)\s*style.*?(&gt;|>)/gi,right:/(&lt;|<)\/\s*style\s*(&gt;|>)/gi})};SyntaxHighlighter.brushes.CSS.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.CSS.aliases=["css"];SyntaxHighlighter.brushes.Xml=function(){function a(e,i){var f=SyntaxHighlighter.Match,h=e[0],c=new XRegExp("(&lt;|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)","xg").exec(h),b=[];if(e.attributes!=null){var d,g=new XRegExp("(?<name> [\\w:\\-\\.]+)\\s*=\\s*(?<value> \".*?\"|'.*?'|\\w+)","xg");while((d=g.exec(h))!=null){b.push(new f(d.name,e.index+d.index,"color1"));b.push(new f(d.value,e.index+d.index+d[0].indexOf(d.value),"string"))}}if(c!=null){b.push(new f(c.name,e.index+c[0].indexOf(c.name),"keyword"))}return b}this.regexList=[{regex:new XRegExp("(\\&lt;|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\&gt;|>)","gm"),css:"color2"},{regex:SyntaxHighlighter.regexLib.xmlComments,css:"comments"},{regex:new XRegExp("(&lt;|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(&gt;|>)","sg"),func:a}]};SyntaxHighlighter.brushes.Xml.prototype=new SyntaxHighlighter.Highlighter();SyntaxHighlighter.brushes.Xml.aliases=["xml","xhtml","xslt","html"];var Cufon=(function(){var P=function(){return P.replace.apply(null,arguments)};var D=P.DOM={ready:(function(){var c=false,a={loaded:1,complete:1};var d=[],b=function(){if(c){return}c=true;for(var e;e=d.shift();e()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("pageshow",b,false)}if(!window.opera&&document.readyState){(function(){a[document.readyState]?b():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");b()}catch(e){setTimeout(arguments.callee,1)}})()}K(window,"load",b);return function(e){if(!arguments.length){b()}else{c?e():d.push(e)}}})(),root:function(){return document.documentElement||document.body}};var O=P.CSS={Size:function(a,b){this.value=parseFloat(a);this.unit=String(a).match(/[a-z%]*$/)[0]||"px";this.convert=function(c){return c/b*this.value};this.convertFrom=function(c){return c/this.value*b};this.toString=function(){return this.value+this.unit}},addClass:function(b,c){var a=b.className;b.className=a+(a&&" ")+c;return b},color:S(function(a){var b={};b.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(d,e,c){b.opacity=parseFloat(c);return"rgb("+e+")"});return b}),fontStretch:S(function(a){if(typeof a=="number"){return a}if(/%$/.test(a)){return parseFloat(a)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[a]||1}),getStyle:function(a){var b=document.defaultView;if(b&&b.getComputedStyle){return new ab(b.getComputedStyle(a,null))}if(a.currentStyle){return new ab(a.currentStyle)}return new ab(a.style)},gradient:S(function(b){var a={id:b,type:b.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},e=b.substr(b.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var c=0,f=e.length,d;c<f;++c){d=e[c].split("=",2).reverse();a.stops.push([d[1]||c/(f-1),d[0]])}return a}),quotedList:S(function(a){var b=[],c=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,d;while(d=c.exec(a)){b.push(d[3]||d[1])}return b}),recognizesMedia:S(function(a){var c=document.createElement("style"),d,e,f;c.type="text/css";c.media=a;try{c.appendChild(document.createTextNode("/**/"))}catch(b){}e=V("head")[0];e.insertBefore(c,e.firstChild);d=(c.sheet||c.styleSheet);f=d&&!d.disabled;e.removeChild(c);return f}),removeClass:function(a,b){var c=RegExp("(?:^|\\s+)"+b+"(?=\\s|$)","g");a.className=a.className.replace(c,"");return a},supports:function(a,b){var c=document.createElement("span").style;if(c[a]===undefined){return false}c[a]=b;return c[a]===b},textAlign:function(a,b,d,c){if(b.get("textAlign")=="right"){if(d>0){a=" "+a}}else{if(d<c-1){a+=" "}}return a},textShadow:S(function(b){if(b=="none"){return null}var c=[],a={},f,e=0;var d=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(f=d.exec(b)){if(f[0]==","){c.push(a);a={};e=0}else{if(f[1]){a.color=f[1]}else{a[["offX","offY","blur"][e++]]=f[2]}}}c.push(a);return c}),textTransform:(function(){var a={uppercase:function(b){return b.toUpperCase()},lowercase:function(b){return b.toLowerCase()},capitalize:function(b){return b.replace(/\b./g,function(c){return c.toUpperCase()})}};return function(b,c){var d=a[c.get("textTransform")];return d?d(b):b}})(),whiteSpace:(function(){var a={inline:1,"inline-block":1,"run-in":1};var b=/^\s+/,c=/\s+$/;return function(d,f,e,g){if(g){if(g.nodeName.toLowerCase()=="br"){d=d.replace(b,"")}}if(a[f.get("display")]){return d}if(!e.previousSibling){d=d.replace(b,"")}if(!e.nextSibling){d=d.replace(c,"")}return d}})()};O.ready=(function(){var c=!O.recognizesMedia("all"),i=false;var a=[],f=function(){c=true;for(var j;j=a.shift();j()){}};var e=V("link"),d=V("style");function b(j){return j.disabled||g(j.sheet,j.media||"screen")}function g(q,m){if(!O.recognizesMedia(m||"all")){return true}if(!q||q.disabled){return false}try{var l=q.cssRules,n;if(l){search:for(var j=0,k=l.length;n=l[j],j<k;++j){switch(n.type){case 2:break;case 3:if(!g(n.styleSheet,n.media.mediaText)){return false}break;default:break search}}}}catch(o){}return true}function h(){if(document.createStyleSheet){return true}var j,k;for(k=0;j=e[k];++k){if(j.rel.toLowerCase()=="stylesheet"&&!b(j)){return false}}for(k=0;j=d[k];++k){if(!b(j)){return false}}return true}D.ready(function(){if(!i){i=O.getStyle(document.body).isUsable()}if(c||(i&&h())){f()}else{setTimeout(arguments.callee,10)}});return function(j){if(c){j()}else{a.push(j)}}})();function I(a){var b=this.face=a.face,c={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=a.glyphs;this.w=a.w;this.baseSize=parseInt(b["units-per-em"],10);this.family=b["font-family"].toLowerCase();this.weight=b["font-weight"];this.style=b["font-style"]||"normal";this.viewBox=(function(){var d=b.bbox.split(/\s+/);var e={minX:parseInt(d[0],10),minY:parseInt(d[1],10),maxX:parseInt(d[2],10),maxY:parseInt(d[3],10)};e.width=e.maxX-e.minX;e.height=e.maxY-e.minY;e.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return e})();this.ascent=-parseInt(b.ascent,10);this.descent=-parseInt(b.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(h,f,o){var e=this.glyphs,g,i,m,d=[],n=0,j=-1,k=-1,l;while(l=h[++j]){g=e[l]||this.missingGlyph;if(!g){continue}if(i){n-=m=i[l]||0;d[k]-=m}n+=d[++k]=~~(g.w||this.w)+f+(c[l]?o:0);i=g.k}d.total=n;return d}}function W(){var a={},b={oblique:"italic",italic:"oblique"};this.add=function(c){(a[c.style]||(a[c.style]={}))[c.weight]=c};this.get=function(f,e){var g=a[f]||a[b[f]]||a.normal||a.italic||a.oblique;if(!g){return null}e={normal:400,bold:700}[e]||parseInt(e,10);if(g[e]){return g[e]}var i={1:1,99:0}[e%100],c=[],h,j;if(i===undefined){i=e>400}if(e==500){e=400}for(var d in g){if(!R(g,d)){continue}d=parseInt(d,10);if(!h||d<h){h=d}if(!j||d>j){j=d}c.push(d)}if(e<h){e=h}if(e>j){e=j}c.sort(function(l,k){return(i?(l>=e&&k>=e)?l<k:l>k:(l<=e&&k<=e)?l>k:l<k)?-1:1});return g[c[0]]}}function J(){function b(f,e){if(f.contains){return f.contains(e)}return f.compareDocumentPosition(e)&16}function d(e){var f=e.relatedTarget;if(!f||b(this,f)){return}c(this,e.type=="mouseover")}function a(e){c(this,e.type=="mouseenter")}function c(f,e){setTimeout(function(){var g=Y.get(f).options;P.replace(f,e?U(g,g.hover):g,true)},10)}this.attach=function(e){if(e.onmouseenter===undefined){K(e,"mouseover",d);K(e,"mouseout",d)}else{K(e,"mouseenter",a);K(e,"mouseleave",a)}}}function G(){var b=[],a={};function c(d){var g=[],e;for(var f=0;e=d[f];++f){g[f]=b[a[e]]}return g}this.add=function(d,e){a[d]=b.push(e)-1};this.repeat=function(){var f=arguments.length?c(arguments):b,e;for(var d=0;e=f[d++];){P.replace(e[0],e[1],true)}}}function M(){var a={},c=0;function b(d){return d.cufid||(d.cufid=++c)}this.get=function(e){var d=b(e);return a[d]||(a[d]={})}}function ab(c){var a={},b={};this.extend=function(e){for(var d in e){if(R(e,d)){a[d]=e[d]}}return this};this.get=function(d){return a[d]!=undefined?a[d]:c[d]};this.getSize=function(d,e){return b[d]||(b[d]=new O.Size(this.get(d),e))};this.isUsable=function(){return !!c}}function K(b,c,a){if(b.addEventListener){b.addEventListener(c,a,false)}else{if(b.attachEvent){b.attachEvent("on"+c,function(){return a.call(b,window.event)})}}}function F(b,c){var a=Y.get(b);if(a.options){return b}if(c.hover&&c.hoverables[b.nodeName.toLowerCase()]){aa.attach(b)}a.options=c;return b}function S(b){var a={};return function(c){if(!R(a,c)){a[c]=b.apply(null,arguments)}return a[c]}}function Z(a,b){var e=O.quotedList(b.get("fontFamily").toLowerCase()),c;for(var d=0;c=e[d];++d){if(T[c]){return T[c].get(b.get("fontStyle"),b.get("fontWeight"))}}return null}function V(a){return document.getElementsByTagName(a)}function R(a,b){return a.hasOwnProperty(b)}function U(){var d={},e,a;for(var b=0,c=arguments.length;e=arguments[b],b<c;++b){for(a in e){if(R(e,a)){d[a]=e[a]}}}return d}function N(m,e,b,d,l,a){var g=document.createDocumentFragment(),j;if(e===""){return g}var f=d.separate;var i=e.split(L[f]),c=(f=="words");if(c&&H){if(/^\s/.test(e)){i.unshift("")}if(/\s$/.test(e)){i.push("")}}for(var h=0,k=i.length;h<k;++h){j=B[d.engine](m,c?O.textAlign(i[h],b,h,k):i[h],b,d,l,a,h<k-1);if(j){g.appendChild(j)}}return g}function Q(a,d){var b=a.nodeName.toLowerCase();if(d.ignore[b]){return}var l=!d.textless[b];var c=O.getStyle(F(a,d)).extend(d);var k=Z(a,c),j,f,h,i,e,g;if(!k){return}for(j=a.firstChild;j;j=h){f=j.nodeType;h=j.nextSibling;if(l&&f==3){if(i){i.appendData(j.data);a.removeChild(j)}else{i=j}if(h){continue}}if(i){a.replaceChild(N(k,O.whiteSpace(i.data,c,i,g),c,d,j,a),i);i=null}if(f==1){if(j.firstChild){if(j.nodeName.toLowerCase()=="cufon"){B[d.engine](k,null,c,d,j,a)}else{arguments.callee(j,d)}}g=j}}}var H=" ".split(/\s+/).length==0;var Y=new M();var aa=new J();var C=new G();var X=false;var B={},T={},E={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(a){return jQuery(a)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(a){return $$(a)})||(window.$&&function(a){return $(a)})||(document.querySelectorAll&&function(a){return document.querySelectorAll(a)})||V),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var L={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};P.now=function(){D.ready();return P};P.refresh=function(){C.repeat.apply(C,arguments);return P};P.registerEngine=function(a,b){if(!b){return P}B[a]=b;return P.set("engine",a)};P.registerFont=function(a){if(!a){return P}var c=new I(a),b=c.family;if(!T[b]){T[b]=new W()}T[b].add(c);return P.set("fontFamily",'"'+b+'"')};P.replace=function(a,b,c){b=U(E,b);if(!b.engine){return P}if(!X){O.addClass(D.root(),"cufon-active cufon-loading");O.ready(function(){O.addClass(O.removeClass(D.root(),"cufon-loading"),"cufon-ready")});X=true}if(b.hover){b.forceHitArea=true}if(b.autoDetect){delete b.fontFamily}if(typeof b.textShadow=="string"){b.textShadow=O.textShadow(b.textShadow)}if(typeof b.color=="string"&&/^-/.test(b.color)){b.textGradient=O.gradient(b.color)}else{delete b.textGradient}if(!c){C.add(a,arguments)}if(a.nodeType||typeof a=="string"){a=[a]}O.ready(function(){for(var e=0,f=a.length;e<f;++e){var d=a[e];if(typeof d=="string"){P.replace(b.selector(d),b,true)}else{Q(d,b)}}});return P};P.set=function(b,a){E[b]=a;return P};return P})();Cufon.registerEngine("canvas",(function(){var g=document.createElement("canvas");if(!g||!g.getContext||!g.getContext.apply){return}g=null;var h=Cufon.CSS.supports("display","inline-block");var j=!h&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var i=document.createElement("style");i.type="text/css";i.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(j?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(h?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(i);function k(a,r){var c=0,d=0;var s=[],b=/([mrvxe])([^a-z]*)/g,f;generate:for(var q=0;f=b.exec(a);++q){var e=f[2].split(",");switch(f[1]){case"v":s[q]={m:"bezierCurveTo",a:[c+~~e[0],d+~~e[1],c+~~e[2],d+~~e[3],c+=~~e[4],d+=~~e[5]]};break;case"r":s[q]={m:"lineTo",a:[c+=~~e[0],d+=~~e[1]]};break;case"m":s[q]={m:"moveTo",a:[c=~~e[0],d=~~e[1]]};break;case"x":s[q]={m:"closePath"};break;case"e":break generate}r[s[q].m].apply(r,s[q].a)}return s}function l(a,b){for(var c=0,d=a.length;c<d;++c){var e=a[c];b[e.m].apply(b,e.a)}}return function(e,aw,ad,az,aq,d){var aH=(aw===null);if(aH){aw=aq.getAttribute("alt")}var at=e.viewBox;var aG=ad.getSize("fontSize",e.baseSize);var ar=0,ae=0,af=0,ay=0;var av=az.textShadow,ah=[];if(av){for(var f=av.length;f--;){var an=av[f];var ai=aG.convertFrom(parseFloat(an.offX));var ak=aG.convertFrom(parseFloat(an.offY));ah[f]=[ai,ak];if(ak<ar){ar=ak}if(ai>ae){ae=ai}if(ak>af){af=ak}if(ai<ay){ay=ai}}}var a=Cufon.CSS.textTransform(aw,ad).split("");var ao=e.spacing(a,~~aG.convertFrom(parseFloat(ad.get("letterSpacing"))||0),~~aG.convertFrom(parseFloat(ad.get("wordSpacing"))||0));if(!ao.length){return null}var aJ=ao.total;ae+=at.width-ao[ao.length-1];ay+=at.minX;var aA,aF;if(aH){aA=aq;aF=aq.firstChild}else{aA=document.createElement("cufon");aA.className="cufon cufon-canvas";aA.setAttribute("alt",aw);aF=document.createElement("canvas");aA.appendChild(aF);if(az.printable){var y=document.createElement("cufontext");y.appendChild(document.createTextNode(aw));aA.appendChild(y)}}var au=aA.style;var al=aF.style;var aI=aG.convert(at.height);var b=Math.ceil(aI);var ag=b/aI;var am=ag*Cufon.CSS.fontStretch(ad.get("fontStretch"));var aj=aJ*am;var ac=Math.ceil(aG.convert(aj+ae-ay));var aE=Math.ceil(aG.convert(at.height-ar+af));aF.width=ac;aF.height=aE;al.width=ac+"px";al.height=aE+"px";ar+=at.minY;al.top=Math.round(aG.convert(ar-e.ascent))+"px";al.left=Math.round(aG.convert(ay))+"px";var aB=Math.max(Math.ceil(aG.convert(aj)),0)+"px";if(h){au.width=aB;au.height=aG.convert(e.height)+"px"}else{au.paddingLeft=aB;au.paddingBottom=(aG.convert(e.height)-1)+"px"}var c=aF.getContext("2d"),ap=aI/at.height;c.scale(ap,ap*ag);c.translate(-ay,-ar);c.save();function x(){var m=e.glyphs,q,n=-1,o=-1,r;c.scale(am,1);while(r=a[++n]){var q=m[a[n]]||e.missingGlyph;if(!q){continue}if(q.d){c.beginPath();if(q.code){l(q.code,c)}else{q.code=k("m"+q.d,c)}c.fill()}c.translate(ao[++o],0)}c.restore()}if(av){for(var f=av.length;f--;){var an=av[f];c.save();c.fillStyle=an.color;c.translate.apply(c,ah[f]);x()}}var aC=az.textGradient;if(aC){var ax=aC.stops,aD=c.createLinearGradient(0,at.minY,0,at.maxY);for(var f=0,ab=ax.length;f<ab;++f){aD.addColorStop.apply(aD,ax[f])}c.fillStyle=aD}else{c.fillStyle=ad.get("color")}x();return aA}})());Cufon.registerEngine("vml",(function(){var n=document.namespaces;if(!n){return}n.add("cvml","urn:schemas-microsoft-com:vml");n=null;var i=document.createElement("cvml:shape");i.style.behavior="url(#default#VML)";if(!i.coordsize){return}i=null;var k=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(k?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function q(b,a){return j(b,/(?:em|ex|%)$|^[a-z-]+$/i.test(a)?"1em":a)}function j(b,a){if(a==="0"){return 0}if(/px$/i.test(a)){return parseFloat(a)}var c=b.style.left,d=b.runtimeStyle.left;b.runtimeStyle.left=b.currentStyle.left;b.style.left=a.replace("%","em");var e=b.style.pixelLeft;b.style.left=c;b.runtimeStyle.left=d;return e}function m(b,c,d,f){var e="computed"+f,a=c[e];if(isNaN(a)){a=c.get(f);c[e]=a=(a=="normal")?0:~~d.convertFrom(j(b,a))}return a}var l={};function o(e){var d=e.id;if(!l[d]){var g=e.stops,f=document.createElement("cvml:fill"),c=[];f.type="gradient";f.angle=180;f.focus="0";f.method="sigma";f.color=g[0][1];for(var a=1,b=g.length-1;a<b;++a){c.push(g[a][0]*100+"% "+g[a][1])}f.colors=c.join(",");f.color2=g[b][1];l[d]=f}return l[d]}return function(aH,ax,b,aF,aq,aE,d){var aX=(ax===null);if(aX){ax=aq.alt}var at=aH.viewBox;var aV=b.computedFontSize||(b.computedFontSize=new Cufon.CSS.Size(q(aE,b.get("fontSize"))+"px",aH.baseSize));var aM,aU;if(aX){aM=aq;aU=aq.firstChild}else{aM=document.createElement("cufon");aM.className="cufon cufon-vml";aM.alt=ax;aU=document.createElement("cufoncanvas");aM.appendChild(aU);if(aF.printable){var a=document.createElement("cufontext");a.appendChild(document.createTextNode(ax));aM.appendChild(a)}if(!d){aM.appendChild(document.createElement("cvml:shape"))}}var au=aM.style;var aj=aU.style;var aZ=aV.convert(at.height),aB=Math.ceil(aZ);var e=aB/aZ;var al=e*Cufon.CSS.fontStretch(b.get("fontStretch"));var f=at.minX,g=at.minY;aj.height=aB;aj.top=Math.round(aV.convert(g-aH.ascent));aj.left=Math.round(aV.convert(f));au.height=aV.convert(aH.height)+"px";var az=b.get("color");var ay=Cufon.CSS.textTransform(ax,b).split("");var ap=aH.spacing(ay,m(aE,b,aV,"letterSpacing"),m(aE,b,aV,"wordSpacing"));if(!ap.length){return null}var a0=ap.total;var aN=-f+a0+(at.width-ap[ap.length-1]);var aw=aV.convert(aN*al),c=Math.round(aw);var am=aN+","+at.height,aY;var ar="r"+am+"ns";var aQ=aF.textGradient&&o(aF.textGradient);var aW=aH.glyphs,h=0;var av=aF.textShadow;var aJ=-1,aK=0,aO;while(aO=ay[++aJ]){var aD=aW[ay[aJ]]||aH.missingGlyph,aP;if(!aD){continue}if(aX){aP=aU.childNodes[aK];while(aP.firstChild){aP.removeChild(aP.firstChild)}}else{aP=document.createElement("cvml:shape");aU.appendChild(aP)}aP.stroked="f";aP.coordsize=am;aP.coordorigin=aY=(f-h)+","+g;aP.path=(aD.d?"m"+aD.d+"xe":"")+"m"+aY+ar;aP.fillcolor=az;if(aQ){aP.appendChild(aQ.cloneNode(false))}var aC=aP.style;aC.width=c;aC.height=aB;if(av){var aS=av[0],aT=av[1];var aG=Cufon.CSS.color(aS.color),aL;var an=document.createElement("cvml:shadow");an.on="t";an.color=aG.color;an.offset=aS.offX+","+aS.offY;if(aT){aL=Cufon.CSS.color(aT.color);an.type="double";an.color2=aL.color;an.offset2=aT.offX+","+aT.offY}an.opacity=aG.opacity||(aL&&aL.opacity)||1;aP.appendChild(an)}h+=ap[aK++]}var ao=aP.nextSibling,aR,aI;if(aF.forceHitArea){if(!ao){ao=document.createElement("cvml:rect");ao.stroked="f";ao.className="cufon-vml-cover";aR=document.createElement("cvml:fill");aR.opacity=0;ao.appendChild(aR);aU.appendChild(ao)}aI=ao.style;aI.width=c;aI.height=aB}else{if(ao){aU.removeChild(ao)}}au.width=Math.max(Math.ceil(aV.convert(a0*al)),0);if(k){var ak=b.computedYAdjust;if(ak===undefined){var aA=b.get("lineHeight");if(aA=="normal"){aA="1em"}else{if(!isNaN(aA)){aA+="em"}}b.computedYAdjust=ak=0.5*(j(aE,aA)-parseFloat(au.height))}if(ak){au.marginTop=Math.ceil(ak)+"px";au.marginBottom=ak+"px"}}return aM}})());
/*
 * The following copyright notice may not be removed under any circumstances.
 *
 * Copyright:
 *  Copyright (c) 1987, 1991, 1993, 1995 Fundicion Tipografica Neufville S. A.
 * This record material and the data recorded thereon is the property of
 Fundicion
 * Tipografica Neufville S. A. and Adobe Systems Incorporated,
 or its licensors,
 * and may not be reproduced, used, displayed, modified,
 disclosed or transferred
 * in any manner without the express written
 approval of Fundicion Tipografica
 * Neufville S. A. and Adobe Systems
 Incorporated.
 */
Cufon.registerFont({w:686,face:{"font-family":"Futura","font-weight":700,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 0 8 3 0 0 0 0 0 0",ascent:"800",descent:"-200",bbox:"-22 -874 1132 240","underline-thickness":"50","underline-position":"-100",stemh:"158",stemv:"182","unicode-range":"U+0020-U+007E"},glyphs:{" ":{w:343},"!":{d:"192,-214v65,0,117,52,117,117v0,64,-52,117,-117,117v-65,0,-117,-53,-117,-117v0,-65,52,-117,117,-117xm98,-256r0,-498r189,0r0,498r-189,0",w:384},'"':{d:"47,-754r170,0r-27,331r-116,0xm283,-754r170,0r-27,331r-116,0",w:500},"#":{d:"265,-726r106,0r-39,203r101,0r39,-203r105,0r-39,203r80,0r0,113r-98,0r-24,124r94,0r0,113r-118,0r-33,173r-106,0r33,-173r-101,0r-33,173r-106,0r33,-173r-91,0r0,-113r113,0r24,-124r-96,0r0,-113r117,0xm311,-410r-24,124r102,0r26,-124r-104,0"},"$":{d:"68,-87r82,-151v46,43,117,84,181,84v42,0,94,-24,94,-73v0,-56,-78,-66,-157,-95v-78,-29,-157,-74,-157,-196v0,-118,82,-227,204,-235r0,-121r93,0r0,121v63,6,128,23,182,58r-74,145v-36,-29,-81,-49,-128,-49v-44,0,-85,16,-85,56v0,46,63,66,98,78v114,38,217,80,217,219v0,140,-80,212,-210,244r0,125r-93,0r0,-119v-44,0,-87,-9,-129,-25v-42,-16,-85,-35,-118,-66"},"%":{d:"225,-764v112,0,206,63,206,183v0,122,-91,186,-206,186v-115,0,-206,-64,-206,-186v0,-120,94,-183,206,-183xm225,-664v-47,0,-85,38,-85,85v0,47,38,84,85,84v47,0,85,-37,85,-84v0,-47,-38,-85,-85,-85xm750,-359v112,0,206,63,206,183v0,122,-91,186,-206,186v-115,0,-206,-64,-206,-186v0,-120,94,-183,206,-183xm750,-259v-47,0,-85,38,-85,85v0,47,38,84,85,84v47,0,85,-37,85,-84v0,-47,-38,-85,-85,-85xm657,-754r98,0r-438,754r-98,0",w:975},"&":{d:"431,-187r-119,-128v-32,20,-71,48,-71,90v0,45,45,69,85,69v37,0,74,-13,105,-31xm393,-479v34,-19,70,-51,70,-92v0,-38,-26,-70,-66,-70v-35,0,-63,25,-63,62v0,37,35,73,59,100xm603,0r-65,-70v-75,51,-167,90,-258,90v-130,0,-242,-78,-242,-216v0,-113,67,-168,162,-210r18,-8r-16,-22v-24,-33,-54,-69,-54,-131v0,-130,113,-207,234,-207v120,0,236,76,236,205v0,94,-62,142,-140,181r95,100v37,-33,71,-67,99,-107r111,106v-33,41,-83,89,-104,111r169,178r-245,0",w:848},"'":{d:"40,-754r170,0r-27,331r-116,0",w:250},"(":{d:"194,-790r109,62v-82,132,-115,300,-115,454v0,143,35,331,115,452r-109,62v-105,-137,-145,-357,-145,-526v0,-165,47,-369,145,-504",w:352},")":{d:"49,-728r109,-62v98,135,145,339,145,504v0,169,-40,389,-145,526r-109,-62v80,-121,115,-309,115,-452v0,-154,-33,-322,-115,-454",w:352},"*":{d:"106,-754r90,0r-5,107r89,-56r45,76r-95,50r94,52r-45,75r-88,-57r4,101r-90,0r6,-100r-85,54r-45,-76r90,-50r-93,-51r46,-76r87,55",w:302},"+":{d:"268,-332r0,-181r150,0r0,181r181,0r0,150r-181,0r0,182r-150,0r0,-182r-181,0r0,-150r181,0"},",":{d:"152,-191r171,0r-184,332r-117,0",w:343},"-":{d:"53,-396r286,0r0,150r-286,0r0,-150",w:392},".":{d:"172,-214v65,0,117,52,117,117v0,64,-52,117,-117,117v-65,0,-117,-53,-117,-117v0,-65,52,-117,117,-117",w:343},"/":{d:"409,-830r143,0r-382,923r-143,0",w:579},"0":{d:"343,-784v224,0,320,211,320,407v0,196,-95,407,-320,407v-225,0,-320,-211,-320,-407v0,-196,96,-407,320,-407xm343,-611v-101,0,-125,160,-125,233v0,73,24,235,125,235v101,0,125,-162,125,-235v0,-73,-24,-233,-125,-233"},"1":{d:"269,-588r-108,0r0,-166r304,0r0,754r-196,0r0,-588"},"2":{d:"392,-166r247,0r0,166r-606,0r308,-335v44,-48,86,-116,86,-185v0,-48,-34,-98,-86,-98v-53,0,-82,41,-82,92v0,10,1,21,3,32r-216,0v6,-173,116,-290,294,-290v158,0,291,104,291,268v0,108,-45,171,-122,241"},"3":{d:"255,-537r-182,0v8,-79,40,-139,88,-182v48,-43,115,-65,192,-65v135,0,241,78,241,219v0,60,-24,124,-79,155v80,21,123,113,123,190v0,165,-143,250,-293,250v-86,0,-164,-23,-225,-85v-45,-46,-88,-124,-86,-190r200,0v0,60,43,107,105,107v60,0,105,-40,105,-101v0,-57,-49,-101,-104,-101v-12,0,-23,3,-34,6r0,-131r20,0v50,0,86,-31,86,-83v0,-46,-33,-76,-77,-76v-50,0,-81,38,-80,87"},"4":{d:"564,-306r91,0r0,150r-91,0r0,156r-182,0r0,-156r-366,0r0,-125r291,-473r257,0r0,448xm382,-306r0,-290r-2,0r-176,290r178,0"},"5":{d:"565,-588r-261,0r-13,86r62,-5v154,-12,267,114,267,270v0,79,-35,153,-97,204v-60,48,-145,63,-220,63v-86,0,-173,-21,-246,-68r29,-185v58,52,132,87,210,87v62,0,120,-45,120,-111v0,-91,-87,-129,-165,-129v-50,0,-99,10,-144,31r66,-409r392,0r0,166",w:689},"6":{d:"306,-754r222,0r-214,255r2,2v34,-15,66,-23,105,-23v148,0,242,127,242,265v0,185,-152,285,-324,285v-73,0,-157,-19,-215,-65v-60,-50,-101,-129,-101,-207v0,-109,56,-215,121,-300xm338,-124v69,0,121,-56,121,-125v0,-68,-52,-123,-121,-123v-68,0,-124,55,-124,123v0,69,56,125,124,125"},"7":{d:"386,-588r-315,0r0,-166r619,0r-433,754r-215,0"},"8":{d:"343,-648v-46,0,-83,38,-83,85v0,47,37,85,83,85v46,0,83,-38,83,-85v0,-47,-37,-85,-83,-85xm343,-317v-50,0,-90,42,-90,94v0,51,40,92,90,92v50,0,90,-41,90,-92v0,-52,-40,-94,-90,-94xm343,-784v129,0,257,71,257,215v0,80,-50,148,-119,171r0,2v90,30,150,99,150,198v0,156,-158,228,-288,228v-130,0,-288,-72,-288,-228v0,-99,60,-168,150,-198r0,-2v-69,-23,-119,-91,-119,-171v0,-144,128,-215,257,-215"},"9":{d:"381,0r-223,0r215,-254r-2,-2v-34,15,-66,23,-106,23v-148,0,-242,-127,-242,-266v0,-185,152,-285,324,-285v73,0,157,18,215,65v61,49,101,129,101,208v0,109,-56,214,-121,300xm348,-629v-69,0,-121,55,-121,124v0,69,52,124,121,124v69,0,125,-55,125,-124v0,-69,-56,-124,-125,-124"},":":{d:"172,-214v65,0,117,52,117,117v0,64,-52,117,-117,117v-65,0,-117,-53,-117,-117v0,-65,52,-117,117,-117xm172,-551v65,0,117,52,117,117v0,64,-52,117,-117,117v-65,0,-117,-53,-117,-117v0,-65,52,-117,117,-117",w:343},";":{d:"138,-191r171,0r-184,332r-117,0xm218,-551v65,0,117,52,117,117v0,64,-52,117,-117,117v-65,0,-117,-53,-117,-117v0,-65,52,-117,117,-117",w:343},"<":{d:"99,-197r0,-120r489,-182r0,150r-274,91r0,2r274,91r0,150"},"=":{d:"87,-452r512,0r0,150r-512,0r0,-150xm87,-212r512,0r0,150r-512,0r0,-150"},">":{d:"588,-317r0,120r-489,182r0,-150r274,-91r0,-2r-274,-91r0,-150"},"?":{d:"186,-252r0,-194v14,3,28,5,42,5v57,0,129,-33,129,-99v0,-41,-31,-75,-73,-75v-46,0,-70,33,-70,76r-199,0v1,-152,133,-235,274,-235v63,0,126,20,175,62v50,42,86,107,86,173v0,113,-79,184,-181,216r0,71r-183,0xm281,-214v65,0,117,52,117,117v0,64,-52,117,-117,117v-65,0,-117,-53,-117,-117v0,-65,52,-117,117,-117",w:595},"@":{d:"280,-354v0,49,27,92,76,92v62,0,88,-60,94,-110v7,-57,-23,-97,-72,-97v-57,0,-98,60,-98,115xm592,-570r-50,260v-5,25,-17,69,12,66v36,-4,93,-87,98,-174v9,-169,-115,-262,-268,-262v-168,0,-285,128,-285,303v0,185,131,303,302,303v83,0,147,-20,179,-40r82,66v-70,36,-162,68,-269,68v-215,0,-388,-168,-388,-397v0,-226,169,-397,382,-397v88,0,169,27,235,87v68,60,112,139,112,234v0,83,-22,160,-62,213v-48,64,-106,90,-154,88v-28,-1,-54,-26,-62,-58v-26,30,-68,58,-128,58v-88,0,-168,-83,-168,-186v0,-123,80,-241,204,-241v51,0,93,19,123,62r10,-53r95,0",w:740},A:{d:"526,-131r-270,0r-52,131r-208,0r290,-754r214,0r284,754r-209,0xm473,-281r-80,-240r-2,0r-81,240r163,0",w:781},B:{d:"260,-312r0,162r25,0v58,0,156,3,156,-80v0,-91,-97,-82,-161,-82r-20,0xm366,0r-302,0r0,-754r280,0v134,0,224,52,224,196v0,68,-22,123,-83,154r0,2v108,14,154,87,154,192v0,158,-135,210,-273,210xm260,-604r0,146r22,0v52,0,106,-9,106,-73v0,-69,-61,-73,-114,-73r-14,0",w:677},C:{d:"603,-736r0,235v-40,-54,-105,-83,-172,-83v-120,0,-201,92,-201,209v0,119,82,205,204,205v64,0,128,-31,169,-80r0,235v-65,20,-112,35,-173,35v-105,0,-205,-40,-283,-111v-83,-75,-121,-173,-121,-285v0,-103,39,-202,111,-276v74,-76,181,-122,287,-122v63,0,121,14,179,38",w:660},D:{d:"64,0r0,-754r278,0v210,0,383,165,383,377v0,212,-174,377,-383,377r-278,0xm260,-588r0,422r44,0v117,0,217,-64,217,-211v0,-135,-89,-211,-215,-211r-46,0",w:752},E:{d:"493,-588r-233,0r0,126r221,0r0,166r-221,0r0,130r233,0r0,166r-429,0r0,-754r429,0r0,166",w:550},F:{d:"497,-588r-237,0r0,126r215,0r0,166r-215,0r0,296r-196,0r0,-754r433,0r0,166",w:542},G:{d:"427,-421r389,0v-2,110,-10,204,-77,298v-74,103,-185,148,-311,148v-237,0,-402,-161,-402,-398v0,-245,166,-406,409,-406v155,0,275,70,340,211r-186,78v-27,-72,-84,-120,-163,-120v-129,0,-196,123,-196,238v0,117,70,236,199,236v85,0,150,-44,158,-131r-160,0r0,-154",w:842},H:{d:"260,-463r283,0r0,-291r196,0r0,754r-196,0r0,-309r-283,0r0,309r-196,0r0,-754r196,0r0,291",w:803},I:{d:"260,-754r0,754r-196,0r0,-754r196,0",w:324},J:{d:"233,-754r196,0r0,509v0,159,-83,265,-250,265v-84,0,-149,-42,-194,-111r113,-119v22,30,53,64,79,64v58,0,56,-69,56,-111r0,-497",w:489},K:{d:"262,-443r237,-311r243,0r-300,357r327,397r-254,0r-253,-327r-2,0r0,327r-196,0r0,-754r196,0r0,311r2,0",w:758},L:{d:"260,-754r0,588r235,0r0,166r-431,0r0,-754r196,0",w:495},M:{d:"19,0r128,-754r193,0r153,403r162,-403r195,0r114,754r-196,0r-55,-434r-2,0r-181,434r-78,0r-173,-434r-2,0r-63,434r-195,0",w:983},N:{d:"64,0r0,-754r196,0r359,461r2,0r0,-461r196,0r0,754r-196,0r-359,-462r-2,0r0,462r-196,0",w:881},O:{d:"443,-779v217,0,417,160,417,388v0,244,-175,416,-417,416v-242,0,-417,-172,-417,-416v0,-228,200,-388,417,-388xm443,-589v-117,0,-213,95,-213,199v0,130,96,225,213,225v117,0,213,-95,213,-225v0,-104,-96,-199,-213,-199",w:887},P:{d:"64,0r0,-754r300,0v162,0,274,75,274,248v0,178,-96,256,-267,256r-111,0r0,250r-196,0xm260,-596r0,188r33,0v71,0,141,0,141,-92v0,-95,-65,-96,-141,-96r-33,0",w:661},Q:{d:"568,-318r53,55v23,-32,35,-73,35,-111v0,-113,-94,-215,-212,-215v-117,0,-214,95,-214,199v0,130,97,225,214,225v20,0,40,-3,60,-10r-121,-120xm890,19r-180,28r-60,-71v-58,35,-126,49,-207,49v-242,0,-417,-172,-417,-416v0,-228,200,-388,417,-388v235,0,417,159,417,404v0,100,-34,187,-97,265",w:887},R:{d:"454,-309r237,309r-244,0r-185,-290r-2,0r0,290r-196,0r0,-754r293,0v149,0,262,71,262,232v0,104,-58,194,-165,213xm260,-604r0,188r19,0v64,0,136,-12,136,-94v0,-82,-72,-94,-136,-94r-19,0",w:680},S:{d:"556,-712r-78,152v-36,-30,-82,-50,-130,-50v-36,0,-84,21,-84,63v0,44,53,61,87,72r50,15v105,31,186,84,186,206v0,75,-18,152,-78,203v-59,50,-138,71,-214,71v-95,0,-188,-32,-265,-86r84,-158v49,43,107,78,174,78v46,0,95,-23,95,-76v0,-55,-77,-74,-119,-86v-123,-35,-204,-67,-204,-213v0,-153,109,-253,260,-253v76,0,169,24,236,62",w:616},T:{d:"364,-588r0,588r-196,0r0,-588r-162,0r0,-166r520,0r0,166r-162,0",w:533},U:{d:"522,-754r196,0r0,424v0,97,-4,193,-79,266v-63,62,-162,84,-250,84v-88,0,-187,-22,-250,-84v-75,-73,-79,-169,-79,-266r0,-424r196,0r0,397v0,98,7,205,133,205v126,0,133,-107,133,-205r0,-397",w:778},V:{d:"198,-754r182,458r183,-458r213,0r-322,754r-152,0r-317,-754r213,0",w:761},W:{d:"189,-754r131,487r2,0r158,-487r156,0r148,487r2,0r142,-487r204,0r-241,754r-200,0r-132,-437r-2,0r-148,437r-199,0r-225,-754r204,0",w:1117},X:{d:"287,-403r-241,-351r241,0r115,195r115,-195r241,0r-241,351r279,403r-236,0r-158,-246r-173,246r-237,0",w:789},Y:{d:"259,-362r-278,-392r235,0r141,205r141,-205r235,0r-278,392r0,362r-196,0r0,-362",w:714},Z:{d:"341,-166r316,0r0,166r-646,0r357,-588r-296,0r0,-166r624,0",w:707},"[":{d:"191,-684r0,818r107,0r0,106r-246,0r0,-1030r246,0r0,106r-107,0",w:350},"\\":{d:"27,-830r143,0r382,923r-143,0",w:579},"]":{d:"159,134r0,-818r-107,0r0,-106r246,0r0,1030r-246,0r0,-106r107,0",w:350},"^":{d:"217,-340r-114,-67r180,-377r120,0r180,377r-114,67r-126,-269"},_:{d:"500,125r-500,0r0,-50r500,0r0,50",w:500},"`":{d:"25,-740r111,-80r141,172r-81,59",w:302},"{":{d:"36,-227r0,-104v20,0,70,4,70,-53r0,-253v0,-107,77,-153,113,-153r97,0r0,120r-25,0v-46,0,-46,31,-46,59r0,225v0,85,-65,101,-96,106r0,2v31,4,96,11,96,117r0,222v0,29,0,59,46,59r25,0r0,120r-97,0v-36,0,-113,-46,-113,-151r0,-253v0,-70,-50,-63,-70,-63",w:352},"|":{d:"365,-786r0,1000r-150,0r0,-1000r150,0",w:579},"}":{d:"316,-331r0,104v-20,0,-70,-7,-70,63r0,253v0,105,-77,151,-113,151r-97,0r0,-120r25,0v46,0,46,-30,46,-59r0,-222v0,-106,65,-113,96,-117r0,-2v-31,-5,-96,-21,-96,-106r0,-225v0,-28,0,-59,-46,-59r-25,0r0,-120r97,0v36,0,113,46,113,153r0,253v0,57,50,53,70,53",w:352},"~":{d:"523,-373r114,97v-35,59,-92,156,-175,156v-49,0,-88,-28,-123,-48v-45,-26,-82,-58,-112,-58v-26,0,-51,52,-65,84r-113,-96v42,-52,94,-157,176,-157v41,0,90,27,128,56v32,25,78,50,108,50v27,0,52,-57,62,-84"},"\u00a0":{w:343}}});(function(G,ak){var ag,aa=ak.location,ae=Array.prototype.slice,N=decodeURIComponent,am=G.param,Y,aj,T,X=G.bbq=G.bbq||{},V,ai,W,al="hashchange",K="querystring",H="fragment",I="elemUrlAttr",af="href",P="src",R=G.browser,Z=R.msie&&R.version<8,ab="on"+al in ak&&!Z,Q=/^.*\?|#.*$/g,U=/^.*\#/,M={};function O(a){return typeof a==="string"}function J(a){var b=ae.call(arguments,1);return function(){return a.apply(this,b.concat(ae.call(arguments)))}}function ad(a){return a.replace(/^[^#]*#?(.*)$/,"$1")}function ac(a){return a.replace(/(?:^[^?#]*\?([^#]*).*$)?.*/,"$1")}function ah(i,b,j,h,e){var c,d,f,a,g;if(h!==ag){f=j.match(i?/^([^#]*)\#?(.*)$/:/^([^#?]*)\??([^#]*)(#?.*)/);g=f[3]||"";if(e===2&&O(h)){d=h.replace(i?U:Q,"")}else{a=aj(f[2]);h=O(h)?aj[i?H:K](h):h;d=e===2?h:e===1?G.extend({},h,a):G.extend({},a,h);d=am(d)}c=f[1]+(i?"#":d||!f[1]?"?":"")+d+g}else{c=b(j!==ag?j:aa[af])}return c}am[K]=J(ah,0,ac);am[H]=Y=J(ah,1,ad);G.deparam=aj=function(a,c){var b={},d={"true":!0,"false":!1,"null":null};G.each(a.replace(/\+/g," ").split("&"),function(j,h){var k=h.split("="),g=N(k[0]),l,f=b,i=0,e=g.split("]["),m=e.length-1;if(/\[/.test(e[0])&&/\]$/.test(e[m])){e[m]=e[m].replace(/\]$/,"");e=e.shift().split("[").concat(e);m=e.length-1}else{m=0}if(k.length===2){l=N(k[1]);if(c){l=l&&!isNaN(l)?+l:l==="undefined"?ag:d[l]!==ag?d[l]:l}if(m){for(;i<=m;i++){g=e[i]===""?f.length:e[i];f=f[g]=i<m?f[g]||(e[i+1]&&isNaN(e[i+1])?{}:[]):l}}else{if(G.isArray(b[g])){b[g].push(l)}else{if(b[g]!==ag){b[g]=[b[g],l]}else{b[g]=l}}}}else{if(g){b[g]=c?ag:""}}});return b};function L(a,b,c){if(b===ag||typeof b==="boolean"){c=b;b=am[a?H:K]()}else{b=O(b)?b.replace(a?U:Q,""):b}return aj(b,c)}aj[K]=J(L,0);aj[H]=T=J(L,1);G[I]||(G[I]=function(a){return G.extend(M,a)})({a:af,base:af,iframe:P,img:P,input:P,form:"action",link:af,script:P});ai=G[I];function S(a,d,b,c){if(!O(b)&&typeof b!=="object"){c=b;b=d;d=ag}return this.each(function(){var g=G(this),f=d||ai()[(this.nodeName||"").toLowerCase()]||"",e=f&&g.attr(f)||"";g.attr(f,am[a](e,b,c))})}G.fn[K]=J(S,K);G.fn[H]=J(S,H);X.pushState=V=function(a,b){if(O(a)&&/^#/.test(a)&&b===ag){b=2}var c=a!==ag,d=Y(aa[af],c?a:{},c?b:2);aa[af]=d+(/#/.test(d)?"":"#")};X.getState=function(a,b){return a===ag||typeof a==="boolean"?T(a):T(b)[a]};X.pollDelay=100;G.event.special[al]={setup:function(){if(ab){return false}W.start()},teardown:function(){if(ab){return false}W.stop()},add:function(c,a,b){return function(d){var e=d[H]=Y();d.getState=function(g,f){return g===ag||typeof g==="boolean"?aj(e,g):aj(e,f)[g]};c.apply(this,arguments)}}};W=(function(){var e={},a,f,d,b;function c(){d=b=function(g){return g};if(Z){f=G('<iframe src="javascript:0"/>').hide().appendTo("body")[0].contentWindow;b=function(){return ad(f.document.location[af])};d=function(g,i){if(g!==i){var h=f.document;h.open().close();h.location.hash="#"+g}};d(Y())}}e.start=function(){if(a){return}var g=Y();d||c();(function h(){var i=Y(),j=b(g);if(i!==g){d(g=i,j);G(ak).trigger(al)}else{if(j!==g){V("#"+j)}}a=setTimeout(h,X.pollDelay)})()};e.stop=function(){if(!f){a&&clearTimeout(a);a=0}};return e})()})(jQuery,this);(function(w){var t="2.73";if(w.support==undefined){w.support={opacity:!(w.browser.msie)}}function E(a){if(w.fn.cycle.debug){z(a)}}function z(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "))}}w.fn.cycle=function(b,c){var a={s:this.selector,c:this.context};if(this.length===0&&b!="stop"){if(!w.isReady&&a.s){z("DOM not ready, queuing slideshow");w(function(){w(a.s,a.c).cycle(b,c)});return this}z("terminating; zero elements found by selector"+(w.isReady?"":" (DOM not ready)"));return this}return this.each(function(){var e=s(this,b,c);if(e===false){return}if(this.cycleTimeout){clearTimeout(this.cycleTimeout)}this.cycleTimeout=this.cyclePause=0;var d=w(this);var i=e.slideExpr?w(e.slideExpr,this):d.children();var g=i.get();if(g.length<2){z("terminating; too few slides: "+g.length);return}var h=u(d,i,g,e,a);if(h===false){return}var f=h.continuous?10:x(h.currSlide,h.nextSlide,h,!h.rev);if(f){f+=(h.delay||0);if(f<10){f=10}E("first timeout: "+f);this.cycleTimeout=setTimeout(function(){A(g,h,0,!h.rev)},f)}})};function s(e,b,d){if(e.cycleStop==undefined){e.cycleStop=0}if(b===undefined||b===null){b={}}if(b.constructor==String){switch(b){case"stop":e.cycleStop++;if(e.cycleTimeout){clearTimeout(e.cycleTimeout)}e.cycleTimeout=0;w(e).removeData("cycle.opts");return false;case"pause":e.cyclePause=1;return false;case"resume":e.cyclePause=0;if(d===true){b=w(e).data("cycle.opts");if(!b){z("options not found, can not resume");return false}if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}A(b.elements,b,1,1)}return false;case"prev":case"next":var a=w(e).data("cycle.opts");if(!a){z('options not found, "prev/next" ignored');return false}w.fn.cycle[b](a);return false;default:b={fx:b}}return b}else{if(b.constructor==Number){var c=b;b=w(e).data("cycle.opts");if(!b){z("options not found, can not advance slide");return false}if(c<0||c>=b.elements.length){z("invalid slide index: "+c);return false}b.nextSlide=c;if(e.cycleTimeout){clearTimeout(e.cycleTimeout);e.cycleTimeout=0}if(typeof d=="string"){b.oneTimeFx=d}A(b.elements,b,1,c>=b.currSlide);return false}}return b}function D(c,b){if(!w.support.opacity&&b.cleartype&&c.style.filter){try{c.style.removeAttribute("filter")}catch(a){}}}function u(d,c,k,m,l){var L=w.extend({},w.fn.cycle.defaults,m||{},w.metadata?d.metadata():w.meta?d.data():{});if(L.autostop){L.countdown=L.autostopCount||k.length}var M=d[0];d.data("cycle.opts",L);L.$cont=d;L.stopCount=M.cycleStop;L.elements=k;L.before=L.before?[L.before]:[];L.after=L.after?[L.after]:[];L.after.unshift(function(){L.busy=0});if(!w.support.opacity&&L.cleartype){L.after.push(function(){D(this,L)})}if(L.continuous){L.after.push(function(){A(k,L,0,!L.rev)})}r(L);if(!w.support.opacity&&L.cleartype&&!L.cleartypeNoBg){y(c)}if(d.css("position")=="static"){d.css("position","relative")}if(L.width){d.width(L.width)}if(L.height&&L.height!="auto"){d.height(L.height)}if(L.startingSlide){L.startingSlide=parseInt(L.startingSlide)}if(L.random){L.randomMap=[];for(var g=0;g<k.length;g++){L.randomMap.push(g)}L.randomMap.sort(function(F,G){return Math.random()-0.5});L.randomIndex=0;L.startingSlide=L.randomMap[0]}else{if(L.startingSlide>=k.length){L.startingSlide=0}}L.currSlide=L.startingSlide=L.startingSlide||0;var f=L.startingSlide;c.css({position:"absolute",top:0,left:0}).hide().each(function(G){var F=f?G>=f?k.length-(G-f):f-G:k.length-G;w(this).css("z-index",F)});w(k[f]).css("opacity",1).show();D(k[f],L);if(L.fit&&L.width){c.width(L.width)}if(L.fit&&L.height&&L.height!="auto"){c.height(L.height)}var o=L.containerResize&&!d.innerHeight();if(o){var i=0,N=0;for(var j=0;j<k.length;j++){var O=w(k[j]),b=O[0],P=O.outerWidth(),e=O.outerHeight();if(!P){P=b.offsetWidth}if(!e){e=b.offsetHeight}i=P>i?P:i;N=e>N?e:N}if(i>0&&N>0){d.css({width:i+"px",height:N+"px"})}}if(L.pause){d.hover(function(){this.cyclePause++},function(){this.cyclePause--})}if(C(L)===false){return false}var n=false;m.requeueAttempts=m.requeueAttempts||0;c.each(function(){var I=w(this);this.cycleH=(L.fit&&L.height)?L.height:I.height();this.cycleW=(L.fit&&L.width)?L.width:I.width();if(I.is("img")){var F=(w.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var H=(w.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var J=(w.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var G=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(F||H||J||G){if(l.s&&L.requeueOnImageNotLoaded&&++m.requeueAttempts<100){z(m.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){w(l.s,l.c).cycle(m)},L.requeueTimeout);n=true;return false}else{z("could not determine size of image: "+this.src,this.cycleW,this.cycleH)}}}return true});if(n){return false}L.cssBefore=L.cssBefore||{};L.animIn=L.animIn||{};L.animOut=L.animOut||{};c.not(":eq("+f+")").css(L.cssBefore);if(L.cssFirst){w(c[f]).css(L.cssFirst)}if(L.timeout){L.timeout=parseInt(L.timeout);if(L.speed.constructor==String){L.speed=w.fx.speeds[L.speed]||parseInt(L.speed)}if(!L.sync){L.speed=L.speed/2}while((L.timeout-L.speed)<250){L.timeout+=L.speed}}if(L.easing){L.easeIn=L.easeOut=L.easing}if(!L.speedIn){L.speedIn=L.speed}if(!L.speedOut){L.speedOut=L.speed}L.slideCount=k.length;L.currSlide=L.lastSlide=f;if(L.random){L.nextSlide=L.currSlide;if(++L.randomIndex==k.length){L.randomIndex=0}L.nextSlide=L.randomMap[L.randomIndex]}else{L.nextSlide=L.startingSlide>=(k.length-1)?0:L.startingSlide+1}if(!L.multiFx){var h=w.fn.cycle.transitions[L.fx];if(w.isFunction(h)){h(d,c,L)}else{if(L.fx!="custom"&&!L.multiFx){z("unknown transition: "+L.fx,"; slideshow terminating");return false}}}var a=c[f];if(L.before.length){L.before[0].apply(a,[a,a,L,true])}if(L.after.length>1){L.after[1].apply(a,[a,a,L,true])}if(L.next){w(L.next).bind(L.prevNextEvent,function(){return q(L,L.rev?-1:1)})}if(L.prev){w(L.prev).bind(L.prevNextEvent,function(){return q(L,L.rev?1:-1)})}if(L.pager){B(k,L)}v(L,k);return L}function r(a){a.original={before:[],after:[]};a.original.cssBefore=w.extend({},a.cssBefore);a.original.cssAfter=w.extend({},a.cssAfter);a.original.animIn=w.extend({},a.animIn);a.original.animOut=w.extend({},a.animOut);w.each(a.before,function(){a.original.before.push(this)});w.each(a.after,function(){a.original.after.push(this)})}function C(a){var c,e,f=w.fn.cycle.transitions;if(a.fx.indexOf(",")>0){a.multiFx=true;a.fxs=a.fx.replace(/\s*/g,"").split(",");for(c=0;c<a.fxs.length;c++){var b=a.fxs[c];e=f[b];if(!e||!f.hasOwnProperty(b)||!w.isFunction(e)){z("discarding unknown transition: ",b);a.fxs.splice(c,1);c--}}if(!a.fxs.length){z("No valid transitions named; slideshow terminating.");return false}}else{if(a.fx=="all"){a.multiFx=true;a.fxs=[];for(p in f){e=f[p];if(f.hasOwnProperty(p)&&w.isFunction(e)){a.fxs.push(p)}}}}if(a.multiFx&&a.randomizeEffects){var d=Math.floor(Math.random()*20)+30;for(c=0;c<d;c++){var g=Math.floor(Math.random()*a.fxs.length);a.fxs.push(a.fxs.splice(g,1)[0])}E("randomized fx sequence: ",a.fxs)}return true}function v(a,b){a.addSlide=function(e,d){var f=w(e),c=f[0];if(!a.autostopCount){a.countdown++}b[d?"unshift":"push"](c);if(a.els){a.els[d?"unshift":"push"](c)}a.slideCount=b.length;f.css("position","absolute");f[d?"prependTo":"appendTo"](a.$cont);if(d){a.currSlide++;a.nextSlide++}if(!w.support.opacity&&a.cleartype&&!a.cleartypeNoBg){y(f)}if(a.fit&&a.width){f.width(a.width)}if(a.fit&&a.height&&a.height!="auto"){$slides.height(a.height)}c.cycleH=(a.fit&&a.height)?a.height:f.height();c.cycleW=(a.fit&&a.width)?a.width:f.width();f.css(a.cssBefore);if(a.pager){w.fn.cycle.createPagerAnchor(b.length-1,c,w(a.pager),b,a)}if(w.isFunction(a.onAddSlide)){a.onAddSlide(f)}else{f.hide()}}}w.fn.cycle.resetState=function(b,c){c=c||b.fx;b.before=[];b.after=[];b.cssBefore=w.extend({},b.original.cssBefore);b.cssAfter=w.extend({},b.original.cssAfter);b.animIn=w.extend({},b.original.animIn);b.animOut=w.extend({},b.original.animOut);b.fxFn=null;w.each(b.original.before,function(){b.before.push(this)});w.each(b.original.after,function(){b.after.push(this)});var a=w.fn.cycle.transitions[c];if(w.isFunction(a)){a(b.$cont,w(b.elements),b)}};function A(f,b,g,e){if(g&&b.busy&&b.manualTrump){w(f).stop(true,true);b.busy=false}if(b.busy){return}var i=b.$cont[0],c=f[b.currSlide],d=f[b.nextSlide];if(i.cycleStop!=b.stopCount||i.cycleTimeout===0&&!g){return}if(!g&&!i.cyclePause&&((b.autostop&&(--b.countdown<=0))||(b.nowrap&&!b.random&&b.nextSlide<b.currSlide))){if(b.end){b.end(b)}return}if(g||!i.cyclePause){var h=b.fx;c.cycleH=c.cycleH||w(c).height();c.cycleW=c.cycleW||w(c).width();d.cycleH=d.cycleH||w(d).height();d.cycleW=d.cycleW||w(d).width();if(b.multiFx){if(b.lastFx==undefined||++b.lastFx>=b.fxs.length){b.lastFx=0}h=b.fxs[b.lastFx];b.currFx=h}if(b.oneTimeFx){h=b.oneTimeFx;b.oneTimeFx=null}w.fn.cycle.resetState(b,h);if(b.before.length){w.each(b.before,function(m,l){if(i.cycleStop!=b.stopCount){return}l.apply(d,[c,d,b,e])})}var k=function(){w.each(b.after,function(m,l){if(i.cycleStop!=b.stopCount){return}l.apply(d,[c,d,b,e])})};if(b.nextSlide!=b.currSlide){b.busy=1;if(b.fxFn){b.fxFn(c,d,b,k,e)}else{if(w.isFunction(w.fn.cycle[b.fx])){w.fn.cycle[b.fx](c,d,b,k)}else{w.fn.cycle.custom(c,d,b,k,g&&b.fastOnEvent)}}}b.lastSlide=b.currSlide;if(b.random){b.currSlide=b.nextSlide;if(++b.randomIndex==f.length){b.randomIndex=0}b.nextSlide=b.randomMap[b.randomIndex]}else{var j=(b.nextSlide+1)==f.length;b.nextSlide=j?0:b.nextSlide+1;b.currSlide=j?f.length-1:b.nextSlide-1}if(b.pager){w.fn.cycle.updateActivePagerLink(b.pager,b.currSlide)}}var a=0;if(b.timeout&&!b.continuous){a=x(c,d,b,e)}else{if(b.continuous&&i.cyclePause){a=10}}if(a>0){i.cycleTimeout=setTimeout(function(){A(f,b,0,!b.rev)},a)}}w.fn.cycle.updateActivePagerLink=function(b,a){w(b).each(function(){w(this).find("a").removeClass("activeSlide").filter("a:eq("+a+")").addClass("activeSlide")})};function x(a,c,b,d){if(b.timeoutFn){var e=b.timeoutFn(a,c,b,d);while((e-b.speed)<250){e+=b.speed}E("calculated timeout: "+e+"; speed: "+b.speed);if(e!==false){return e}}return b.timeout}w.fn.cycle.next=function(a){q(a,a.rev?-1:1)};w.fn.cycle.prev=function(a){q(a,a.rev?1:-1)};function q(d,a){var e=d.elements;var b=d.$cont[0],c=b.cycleTimeout;if(c){clearTimeout(c);b.cycleTimeout=0}if(d.random&&a<0){d.randomIndex--;if(--d.randomIndex==-2){d.randomIndex=e.length-2}else{if(d.randomIndex==-1){d.randomIndex=e.length-1}}d.nextSlide=d.randomMap[d.randomIndex]}else{if(d.random){if(++d.randomIndex==e.length){d.randomIndex=0}d.nextSlide=d.randomMap[d.randomIndex]}else{d.nextSlide=d.currSlide+a;if(d.nextSlide<0){if(d.nowrap){return false}d.nextSlide=e.length-1}else{if(d.nextSlide>=e.length){if(d.nowrap){return false}d.nextSlide=0}}}}if(w.isFunction(d.prevNextClick)){d.prevNextClick(a>0,d.nextSlide,e[d.nextSlide])}A(e,d,1,a>=0);return false}function B(b,a){var c=w(a.pager);w.each(b,function(e,d){w.fn.cycle.createPagerAnchor(e,d,c,b,a)});w.fn.cycle.updateActivePagerLink(a.pager,a.startingSlide)}w.fn.cycle.createPagerAnchor=function(d,c,f,e,b){var g;if(w.isFunction(b.pagerAnchorBuilder)){g=b.pagerAnchorBuilder(d,c)}else{g='<a href="#">'+(d+1)+"</a>"}if(!g){return}var a=w(g);if(a.parents("body").length===0){var h=[];if(f.length>1){f.each(function(){var i=a.clone(true);w(this).append(i);h.push(i[0])});a=w(h)}else{a.appendTo(f)}}a.bind(b.pagerEvent,function(i){i.preventDefault();b.nextSlide=d;var j=b.$cont[0],k=j.cycleTimeout;if(k){clearTimeout(k);j.cycleTimeout=0}if(w.isFunction(b.pagerClick)){b.pagerClick(b.nextSlide,e[b.nextSlide])}A(e,b,1,b.currSlide<d);return false});if(b.pagerEvent!="click"){a.click(function(){return false})}if(b.pauseOnPagerHover){a.hover(function(){b.$cont[0].cyclePause++},function(){b.$cont[0].cyclePause--})}};w.fn.cycle.hopsFromLast=function(b,c){var d,e=b.lastSlide,a=b.currSlide;if(c){d=a>e?a-e:b.slideCount-e}else{d=a<e?e-a:e+b.slideCount-a}return d};function y(a){function b(d){d=parseInt(d).toString(16);return d.length<2?"0"+d:d}function c(d){for(;d&&d.nodeName.toLowerCase()!="html";d=d.parentNode){var f=w.css(d,"background-color");if(f.indexOf("rgb")>=0){var e=f.match(/\d+/g);return"#"+b(e[0])+b(e[1])+b(e[2])}if(f&&f!="transparent"){return f}}return"#ffffff"}a.each(function(){w(this).css("background-color",c(this))})}w.fn.cycle.commonReset=function(a,c,b,e,d,f){w(b.elements).not(a).hide();b.cssBefore.opacity=1;b.cssBefore.display="block";if(e!==false&&c.cycleW>0){b.cssBefore.width=c.cycleW}if(d!==false&&c.cycleH>0){b.cssBefore.height=c.cycleH}b.cssAfter=b.cssAfter||{};b.cssAfter.display="none";w(a).css("zIndex",b.slideCount+(f===true?1:0));w(c).css("zIndex",b.slideCount+(f===true?0:1))};w.fn.cycle.custom=function(c,i,b,l,a){var d=w(c),h=w(i);var k=b.speedIn,e=b.speedOut,j=b.easeIn,f=b.easeOut;h.css(b.cssBefore);if(a){if(typeof a=="number"){k=e=a}else{k=e=1}j=f=null}var g=function(){h.animate(b.animIn,k,j,l)};d.animate(b.animOut,e,f,function(){if(b.cssAfter){d.css(b.cssAfter)}if(!b.sync){g()}});if(b.sync){g()}};w.fn.cycle.transitions={fade:function(b,a,c){a.not(":eq("+c.currSlide+")").css("opacity",0);c.before.push(function(d,f,e){w.fn.cycle.commonReset(d,f,e);e.cssBefore.opacity=0});c.animIn={opacity:1};c.animOut={opacity:0};c.cssBefore={top:0,left:0}}};w.fn.cycle.ver=function(){return t};w.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,prevNextClick:null,prevNextEvent:"click",pager:null,pagerClick:null,pagerEvent:"click",pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!w.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250}})(jQuery);(function(b){b.fn.cycle.transitions.none=function(f,e,a){a.fxFn=function(d,j,i,c){b(j).show();b(d).hide();c()}};b.fn.cycle.transitions.scrollUp=function(g,f,h){g.css("overflow","hidden");h.before.push(b.fn.cycle.commonReset);var a=g.height();h.cssBefore={top:a,left:0};h.cssFirst={top:0};h.animIn={top:0};h.animOut={top:-a}};b.fn.cycle.transitions.scrollDown=function(g,f,h){g.css("overflow","hidden");h.before.push(b.fn.cycle.commonReset);var a=g.height();h.cssFirst={top:0};h.cssBefore={top:-a,left:0};h.animIn={top:0};h.animOut={top:a}};b.fn.cycle.transitions.scrollLeft=function(g,f,h){g.css("overflow","hidden");h.before.push(b.fn.cycle.commonReset);var a=g.width();h.cssFirst={left:0};h.cssBefore={left:a,top:0};h.animIn={left:0};h.animOut={left:0-a}};b.fn.cycle.transitions.scrollRight=function(g,f,h){g.css("overflow","hidden");h.before.push(b.fn.cycle.commonReset);var a=g.width();h.cssFirst={left:0};h.cssBefore={left:-a,top:0};h.animIn={left:0};h.animOut={left:a}};b.fn.cycle.transitions.scrollHorz=function(f,e,a){f.css("overflow","hidden").width();a.before.push(function(c,i,d,j){b.fn.cycle.commonReset(c,i,d);d.cssBefore.left=j?(i.cycleW-1):(1-i.cycleW);d.animOut.left=j?-c.cycleW:c.cycleW});a.cssFirst={left:0};a.cssBefore={top:0};a.animIn={left:0};a.animOut={top:0}};b.fn.cycle.transitions.scrollVert=function(f,e,a){f.css("overflow","hidden");a.before.push(function(c,i,d,j){b.fn.cycle.commonReset(c,i,d);d.cssBefore.top=j?(1-i.cycleH):(i.cycleH-1);d.animOut.top=j?c.cycleH:-c.cycleH});a.cssFirst={top:0};a.cssBefore={left:0};a.animIn={top:0};a.animOut={left:0}};b.fn.cycle.transitions.slideX=function(f,e,a){a.before.push(function(c,h,d){b(d.elements).not(c).hide();b.fn.cycle.commonReset(c,h,d,false,true);d.animIn.width=h.cycleW});a.cssBefore={left:0,top:0,width:0};a.animIn={width:"show"};a.animOut={width:0}};b.fn.cycle.transitions.slideY=function(f,e,a){a.before.push(function(c,h,d){b(d.elements).not(c).hide();b.fn.cycle.commonReset(c,h,d,true,false);d.animIn.height=h.cycleH});a.cssBefore={left:0,top:0,height:0};a.animIn={height:"show"};a.animOut={height:0}};b.fn.cycle.transitions.shuffle=function(h,g,i){var j,a=h.css("overflow","visible").width();g.css({left:0,top:0});i.before.push(function(c,e,d){b.fn.cycle.commonReset(c,e,d,true,true,true)});if(!i.speedAdjusted){i.speed=i.speed/2;i.speedAdjusted=true}i.random=0;i.shuffle=i.shuffle||{left:-a,top:15};i.els=[];for(j=0;j<g.length;j++){i.els.push(g[j])}for(j=0;j<i.currSlide;j++){i.els.push(i.els.shift())}i.fxFn=function(c,f,d,q,n){var o=n?b(c):b(f);b(f).css(d.cssBefore);var e=d.slideCount;o.animate(d.shuffle,d.speedIn,d.easeIn,function(){var t=b.fn.cycle.hopsFromLast(d,n);for(var m=0;m<t;m++){n?d.els.push(d.els.shift()):d.els.unshift(d.els.pop())}if(n){for(var l=0,u=d.els.length;l<u;l++){b(d.els[l]).css("z-index",u-l+e)}}else{var k=b(c).css("z-index");o.css("z-index",parseInt(k)+1+e)}o.animate({left:0,top:0},d.speedOut,d.easeOut,function(){b(n?this:c).hide();if(q){q()}})})};i.cssBefore={display:"block",opacity:1,top:0,left:0}};b.fn.cycle.transitions.turnUp=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,true,false);d.cssBefore.top=h.cycleH;d.animIn.height=h.cycleH});a.cssFirst={top:0};a.cssBefore={left:0,height:0};a.animIn={top:0};a.animOut={height:0}};b.fn.cycle.transitions.turnDown=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,true,false);d.animIn.height=h.cycleH;d.animOut.top=c.cycleH});a.cssFirst={top:0};a.cssBefore={left:0,top:0,height:0};a.animOut={height:0}};b.fn.cycle.transitions.turnLeft=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,false,true);d.cssBefore.left=h.cycleW;d.animIn.width=h.cycleW});a.cssBefore={top:0,width:0};a.animIn={left:0};a.animOut={width:0}};b.fn.cycle.transitions.turnRight=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,false,true);d.animIn.width=h.cycleW;d.animOut.left=c.cycleW});a.cssBefore={top:0,left:0,width:0};a.animIn={left:0};a.animOut={width:0}};b.fn.cycle.transitions.zoom=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,false,false,true);d.cssBefore.top=h.cycleH/2;d.cssBefore.left=h.cycleW/2;d.animIn={top:0,left:0,width:h.cycleW,height:h.cycleH};d.animOut={width:0,height:0,top:c.cycleH/2,left:c.cycleW/2}});a.cssFirst={top:0,left:0};a.cssBefore={width:0,height:0}};b.fn.cycle.transitions.fadeZoom=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,false,false);d.cssBefore.left=h.cycleW/2;d.cssBefore.top=h.cycleH/2;d.animIn={top:0,left:0,width:h.cycleW,height:h.cycleH}});a.cssBefore={width:0,height:0};a.animOut={opacity:0}};b.fn.cycle.transitions.blindX=function(g,f,h){var a=g.css("overflow","hidden").width();h.before.push(function(c,e,d){b.fn.cycle.commonReset(c,e,d);d.animIn.width=e.cycleW;d.animOut.left=c.cycleW});h.cssBefore={left:a,top:0};h.animIn={left:0};h.animOut={left:a}};b.fn.cycle.transitions.blindY=function(g,f,h){var a=g.css("overflow","hidden").height();h.before.push(function(c,e,d){b.fn.cycle.commonReset(c,e,d);d.animIn.height=e.cycleH;d.animOut.top=c.cycleH});h.cssBefore={top:a,left:0};h.animIn={top:0};h.animOut={top:a}};b.fn.cycle.transitions.blindZ=function(h,g,i){var j=h.css("overflow","hidden").height();var a=h.width();i.before.push(function(c,e,d){b.fn.cycle.commonReset(c,e,d);d.animIn.height=e.cycleH;d.animOut.top=c.cycleH});i.cssBefore={top:j,left:a};i.animIn={top:0,left:0};i.animOut={top:j,left:a}};b.fn.cycle.transitions.growX=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,false,true);d.cssBefore.left=this.cycleW/2;d.animIn={left:0,width:this.cycleW};d.animOut={left:0}});a.cssBefore={width:0,top:0}};b.fn.cycle.transitions.growY=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,true,false);d.cssBefore.top=this.cycleH/2;d.animIn={top:0,height:this.cycleH};d.animOut={top:0}});a.cssBefore={height:0,left:0}};b.fn.cycle.transitions.curtainX=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,false,true,true);d.cssBefore.left=h.cycleW/2;d.animIn={left:0,width:this.cycleW};d.animOut={left:c.cycleW/2,width:0}});a.cssBefore={top:0,width:0}};b.fn.cycle.transitions.curtainY=function(f,e,a){a.before.push(function(c,h,d){b.fn.cycle.commonReset(c,h,d,true,false,true);d.cssBefore.top=h.cycleH/2;d.animIn={top:0,height:h.cycleH};d.animOut={top:c.cycleH/2,height:0}});a.cssBefore={left:0,height:0}};b.fn.cycle.transitions.cover=function(j,h,k){var d=k.direction||"left";var a=j.css("overflow","hidden").width();var l=j.height();k.before.push(function(c,f,e){b.fn.cycle.commonReset(c,f,e);if(d=="right"){e.cssBefore.left=-a}else{if(d=="up"){e.cssBefore.top=l}else{if(d=="down"){e.cssBefore.top=-l}else{e.cssBefore.left=a}}}});k.animIn={left:0,top:0};k.animOut={opacity:1};k.cssBefore={top:0,left:0}};b.fn.cycle.transitions.uncover=function(j,h,k){var d=k.direction||"left";var a=j.css("overflow","hidden").width();var l=j.height();k.before.push(function(c,f,e){b.fn.cycle.commonReset(c,f,e,true,true,true);if(d=="right"){e.animOut.left=a}else{if(d=="up"){e.animOut.top=-l}else{if(d=="down"){e.animOut.top=l}else{e.animOut.left=-a}}}});k.animIn={left:0,top:0};k.animOut={opacity:1};k.cssBefore={top:0,left:0}};b.fn.cycle.transitions.toss=function(h,g,i){var a=h.css("overflow","visible").width();var j=h.height();i.before.push(function(c,e,d){b.fn.cycle.commonReset(c,e,d,true,true,true);if(!d.animOut.left&&!d.animOut.top){d.animOut={left:a*2,top:-j/2,opacity:0}}else{d.animOut.opacity=0}});i.cssBefore={left:0,top:0};i.animIn={left:0}};b.fn.cycle.transitions.wipe=function(B,l,y){var a=B.css("overflow","hidden").width();var t=B.height();y.cssBefore=y.cssBefore||{};var w;if(y.clip){if(/l2r/.test(y.clip)){w="rect(0px 0px "+t+"px 0px)"}else{if(/r2l/.test(y.clip)){w="rect(0px "+a+"px "+t+"px "+a+"px)"}else{if(/t2b/.test(y.clip)){w="rect(0px "+a+"px 0px 0px)"}else{if(/b2t/.test(y.clip)){w="rect("+t+"px "+a+"px "+t+"px 0px)"}else{if(/zoom/.test(y.clip)){var d=parseInt(t/2);var x=parseInt(a/2);w="rect("+d+"px "+x+"px "+d+"px "+x+"px)"}}}}}}y.cssBefore.clip=y.cssBefore.clip||w||"rect(0px 0px 0px 0px)";var r=y.cssBefore.clip.match(/(\d+)/g);var A=parseInt(r[0]),z=parseInt(r[1]),h=parseInt(r[2]),v=parseInt(r[3]);y.before.push(function(f,j,i){if(f==j){return}var m=b(f),c=b(j);b.fn.cycle.commonReset(f,j,i,true,true,false);i.cssAfter.display="block";var k=1,e=parseInt((i.speedIn/13))-1;(function g(){var s=A?A-parseInt(k*(A/e)):0;var q=v?v-parseInt(k*(v/e)):0;var o=h<t?h+parseInt(k*((t-h)/e||1)):t;var n=z<a?z+parseInt(k*((a-z)/e||1)):a;c.css({clip:"rect("+s+"px "+n+"px "+o+"px "+q+"px)"});(k++<=e)?setTimeout(g,13):m.css("display","none")})()});y.cssBefore={display:"block",opacity:1,top:0,left:0};y.animIn={left:0};y.animOut={left:0}}})(jQuery);