﻿/**
* hoverIntent r5 // 2007.03.27 // jQuery 1.1.2+
* <http://cherne.net/brian/resources/jquery.hoverIntent.html>
* 
* @param  f  onMouseOver function || An object with configuration options
* @param  g  onMouseOut function  || Nothing (use configuration options object)
* @author    Brian Cherne <brian@cherne.net>
*/
(function($){$.fn.hoverIntent=function(f,g){var cfg={sensitivity:7,interval:100,timeout:0};cfg=$.extend(cfg,g?{over:f,out:g}:f);var cX,cY,pX,pY;var track=function(ev){cX=ev.pageX;cY=ev.pageY;};var compare=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if((Math.abs(pX-cX)+Math.abs(pY-cY))<cfg.sensitivity){$(ob).unbind("mousemove",track);ob.hoverIntent_s=1;return cfg.over.apply(ob,[ev]);}else{pX=cX;pY=cY;ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}};var delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev]);};var handleHover=function(e){var p=(e.type=="mouseover"?e.fromElement:e.toElement)||e.relatedTarget;while(p&&p!=this){try{p=p.parentNode;}catch(e){p=this;}}if(p==this){return false;}var ev=jQuery.extend({},e);var ob=this;if(ob.hoverIntent_t){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);}if(e.type=="mouseover"){pX=ev.pageX;pY=ev.pageY;$(ob).bind("mousemove",track);if(ob.hoverIntent_s!=1){ob.hoverIntent_t=setTimeout(function(){compare(ev,ob);},cfg.interval);}}else{$(ob).unbind("mousemove",track);if(ob.hoverIntent_s==1){ob.hoverIntent_t=setTimeout(function(){delay(ev,ob);},cfg.timeout);}}};return this.mouseover(handleHover).mouseout(handleHover);};})(jQuery);

/* * jNice * version: 1.0 (11.26.08) * by Sean Mooney (sean@whitespace-creative.com)  * Examples at: http://www.whitespace-creative.com/jquery/jnice/ * Dual licensed under the MIT and GPL licenses: *   http://www.opensource.org/licenses/mit-license.php *   http://www.gnu.org/licenses/gpl.html * * To Use: place in the head  *  <link href="inc/style/jNice.css" rel="stylesheet" type="text/css" /> *  <script type="text/javascript" src="inc/js/jquery.jNice.js"></script> * * And apply the jNice class to the form you want to style * * To Do: Add textareas, Add File upload * ******************************************** */(function($){	$.fn.jNice = function(options){		var self = this;		var safari = $.browser.safari; /* We need to check for safari to fix the input:text problem */		/* Apply document listener */		$(document).mousedown(checkExternalClick);		/* each form */		return this.each(function(){			$('input:submit, input:reset, input:button', this).each(ButtonAdd);			$('button').focus(function(){ $(this).addClass('jNiceFocus')}).blur(function(){ $(this).removeClass('jNiceFocus')});			$('input:text:visible, input:password', this).each(TextAdd);			/* If this is safari we need to add an extra class */			if (safari){$('.jNiceInputWrapper').each(function(){$(this).addClass('jNiceSafari').find('input').css('width', $(this).width()+11);});}			$('input:checkbox', this).each(CheckAdd);			$('input:radio', this).each(RadioAdd);			$('select', this).each(function(index){ SelectAdd(this, index); });			/* Add a new handler for the reset action */			$(this).bind('reset',function(){var action = function(){ Reset(this); }; window.setTimeout(action, 10); });			$('.jNiceHidden').css({opacity:0});		});			};/* End the Plugin */	var Reset = function(form){		var sel;		$('.jNiceSelectWrapper select', form).each(function(){sel = (this.selectedIndex<0) ? 0 : this.selectedIndex; $('ul', $(this).parent()).each(function(){$('a:eq('+ sel +')', this).click();});});		$('a.jNiceCheckbox, a.jNiceRadio', form).removeClass('jNiceChecked');		$('input:checkbox, input:radio', form).each(function(){if(this.checked){$('a', $(this).parent()).addClass('jNiceChecked');}});	};	var RadioAdd = function(){		var $input = $(this).addClass('jNiceHidden').wrap('<span class="jRadioWrapper jNiceWrapper"></span>');		var $wrapper = $input.parent();		var $a = $('<span class="jNiceRadio"></span>');		$wrapper.prepend($a);		/* Click Handler */		$a.click(function(){				var $input = $(this).addClass('jNiceChecked').siblings('input').attr('checked',true);				/* uncheck all others of same name */				$('input:radio[name="'+ $input.attr('name') +'"]').not($input).each(function(){					$(this).attr('checked',false).siblings('.jNiceRadio').removeClass('jNiceChecked');				});				return false;		});		$input.click(function(){			if(this.checked){				var $input = $(this).siblings('.jNiceRadio').addClass('jNiceChecked').end();				/* uncheck all others of same name */				$('input:radio[name="'+ $input.attr('name') +'"]').not($input).each(function(){					$(this).attr('checked',false).siblings('.jNiceRadio').removeClass('jNiceChecked');				});			}		}).focus(function(){ $a.addClass('jNiceFocus'); }).blur(function(){ $a.removeClass('jNiceFocus'); });		/* set the default state */		if (this.checked){ $a.addClass('jNiceChecked'); }	};	var CheckAdd = function(){		var $input = $(this).addClass('jNiceHidden').wrap('<span class="jNiceWrapper"></span>');		var $wrapper = $input.parent().append('<span class="jNiceCheckbox"></span>');		/* Click Handler */		var $a = $wrapper.find('.jNiceCheckbox').click(function(){				var $a = $(this);				var input = $a.siblings('input')[0];				if (input.checked===true){					input.checked = false;					$a.removeClass('jNiceChecked');				}				else {					input.checked = true;					$a.addClass('jNiceChecked');				}				return false;		});		$input.click(function(){			if(this.checked){ $a.addClass('jNiceChecked'); 	}			else { $a.removeClass('jNiceChecked'); }		}).focus(function(){ $a.addClass('jNiceFocus'); }).blur(function(){ $a.removeClass('jNiceFocus'); });				/* set the default state */		if (this.checked){$('.jNiceCheckbox', $wrapper).addClass('jNiceChecked');}	};	var TextAdd = function(){		var $input = $(this).addClass('jNiceInput').wrap('<div class="jNiceInputWrapper"><div class="jNiceInputInner"></div></div>');		var $wrapper = $input.parents('.jNiceInputWrapper');		$input.focus(function(){ 			$wrapper.addClass('jNiceInputWrapper_hover');		}).blur(function(){			$wrapper.removeClass('jNiceInputWrapper_hover');		});	};	var ButtonAdd = function(){		var value = $(this).attr('value');		$(this).replaceWith('<button id="'+ this.id +'" name="'+ this.name +'" type="'+ this.type +'" class="'+ this.className +'" value="'+ value +'"><span><span>'+ value +'</span></span>');	};	/* Hide all open selects */	var SelectHide = function(){			$('.jNiceSelectWrapper ul:visible').hide();	};	/* Check for an external click */	var checkExternalClick = function(event) {		if ($(event.target).parents('.jNiceSelectWrapper').length === 0) { SelectHide(); }	};	var SelectAdd = function(element, index){		var $select = $(element);		index = index || $select.css('zIndex')*1;		index = (index) ? index : 0;		/* First thing we do is Wrap it */		$select.wrap($('<div class="jNiceWrapper"></div>').css({zIndex: 100-index}));		var width = $select.width();		$select.addClass('jNiceHidden').after('<div class="jNiceSelectWrapper"><div><span class="jNiceSelectText"></span><span class="jNiceSelectOpen"></span></div><ul></ul></div>');		var $wrapper = $(element).siblings('.jNiceSelectWrapper').css({width: width +'px'});		$('.jNiceSelectText, .jNiceSelectWrapper ul', $wrapper).width( width - $('.jNiceSelectOpen', $wrapper).width());		/* IF IE 6 */		if ($.browser.msie && jQuery.browser.version < 7) {			$select.after($('<iframe src="javascript:\'\';" marginwidth="0" marginheight="0" align="bottom" scrolling="no" tabIndex="-1" frameborder="0"></iframe>').css({ height: $select.height()+4 +'px' }));		}		/* Now we add the options */		SelectUpdate(element);		/* Apply the click handler to the Open */		$('div', $wrapper).click(function(){			var $ul = $(this).siblings('ul');			if ($ul.css('display')=='none'){ SelectHide(); } /* Check if box is already open to still allow toggle, but close all other selects */			$ul.slideToggle();			var offSet = ($('a.selected', $ul).offset().top - $ul.offset().top);			$ul.animate({scrollTop: offSet});			return false;		});		/* Add the key listener */		$select.keydown(function(e){			var selectedIndex = this.selectedIndex;			switch(e.keyCode){				case 40: /* Down */					if (selectedIndex < this.options.length - 1){ selectedIndex+=1; }					break;				case 38: /* Up */					if (selectedIndex > 0){ selectedIndex-=1; }					break;				default:					return;					break;			}			$('ul a', $wrapper).removeClass('selected').eq(selectedIndex).addClass('selected');			$('span:eq(0)', $wrapper).html($('option:eq('+ selectedIndex +')', $select).attr('selected', 'selected').text());			return false;		}).focus(function(){ $wrapper.addClass('jNiceFocus'); }).blur(function(){ $wrapper.removeClass('jNiceFocus'); });	};	var SelectUpdate = function(element){		var $select = $(element);		var $wrapper = $select.siblings('.jNiceSelectWrapper');		var $ul = $wrapper.find('ul').find('li').remove().end().hide();		$('option', $select).each(function(i){			$ul.append('<li><a href="#" index="'+ i +'">'+ this.text +'</a></li>');		});		/* Add click handler to the a */		$ul.find('a').click(function(){			$('a.selected', $wrapper).removeClass('selected');			$(this).addClass('selected');				/* Fire the onchange event */			if ($select[0].selectedIndex != $(this).attr('index') && $select[0].onchange) { $select[0].selectedIndex = $(this).attr('index'); $select[0].onchange(); }			$select[0].selectedIndex = $(this).attr('index');			$('span:eq(0)', $wrapper).html($(this).html());			$ul.hide();			return false;		});		/* Set the defalut */		$('a:eq('+ $select[0].selectedIndex +')', $ul).click();	};	var SelectRemove = function(element){		var zIndex = $(element).siblings('.jNiceSelectWrapper').css('zIndex');		$(element).css({zIndex: zIndex}).removeClass('jNiceHidden');		$(element).siblings('.jNiceSelectWrapper').remove();	};	/* Utilities */	$.jNice = {			SelectAdd : function(element, index){ 	SelectAdd(element, index); },			SelectRemove : function(element){ SelectRemove(element); },			SelectUpdate : function(element){ SelectUpdate(element); }	};/* End Utilities */	/* Automatically apply to any forms with class jNice */	$(function(){$('form.jNice').jNice();	});})(jQuery);

/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 5/25/2009
 * @author Ariel Flesler
 * @version 1.4.2
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

/**
 * jQuery.LocalScroll - Animated scrolling navigation, using anchors.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 3/11/2009
 * @author Ariel Flesler
 * @version 1.2.7
 **/
;(function($){var l=location.href.replace(/#.*/,'');var g=$.localScroll=function(a){$('body').localScroll(a)};g.defaults={duration:1e3,axis:'y',event:'click',stop:true,target:window,reset:true};g.hash=function(a){if(location.hash){a=$.extend({},g.defaults,a);a.hash=false;if(a.reset){var e=a.duration;delete a.duration;$(a.target).scrollTo(0,a);a.duration=e}i(0,location,a)}};$.fn.localScroll=function(b){b=$.extend({},g.defaults,b);return b.lazy?this.bind(b.event,function(a){var e=$([a.target,a.target.parentNode]).filter(d)[0];if(e)i(a,e,b)}):this.find('a,area').filter(d).bind(b.event,function(a){i(a,this,b)}).end().end();function d(){return!!this.href&&!!this.hash&&this.href.replace(this.hash,'')==l&&(!b.filter||$(this).is(b.filter))}};function i(a,e,b){var d=e.hash.slice(1),f=document.getElementById(d)||document.getElementsByName(d)[0];if(!f)return;if(a)a.preventDefault();var h=$(b.target);if(b.lock&&h.is(':animated')||b.onBefore&&b.onBefore.call(b,a,f,h)===false)return;if(b.stop)h.stop(true);if(b.hash){var j=f.id==d?'id':'name',k=$('<a> </a>').attr(j,d).css({position:'absolute',top:$(window).scrollTop(),left:$(window).scrollLeft()});f[j]='';$('body').prepend(k);location=e.hash;k.remove();f[j]=d}h.scrollTo(f,b).trigger('notify.serialScroll',[f])}})(jQuery);

/* ------------------------------------------------------------------------
	Class: prettyPhoto
	Use: Lightbox clone for jQuery
	Author: Stephane Caron (http://www.no-margin-for-errors.com)
	Version: 2.4.2
------------------------------------------------------------------------- */

var $pp_pic_holder;var $ppt;(function(A){A.fn.prettyPhoto=function(W){var E=true;var K=false;var O=[];var D=0;var R;var S;var V;var Y;var F="image";var Z;var M=G();if(A.browser.msie&&A.browser.version==6&&(W.theme=="light_rounded"||W.theme=="dark_rounded"||W.theme=="dark_square")){W.theme="light_square"}A(window).scroll(function(){M=G();C()});A(window).resize(function(){C();U()});A(document).keypress(function(c){switch(c.keyCode){case 37:if(D==1){return }N("previous");break;case 39:if(D==setCount){return }N("next");break;case 27:L();break}});W=jQuery.extend({animationSpeed:"normal",padding:40,opacity:0.8,showTitle:true,allowresize:true,counter_separator_label:"/",theme:"light_rounded",callback:function(){}},W);A(this).each(function(){var e=false;var d=false;var f=0;var c=0;O[O.length]=this;A(this).bind("click",function(){J(this);return false})});function J(c){Z=A(c);theRel=Z.attr("rel");galleryRegExp=/\[(?:.*)\]/;theGallery=galleryRegExp.exec(theRel);isSet=false;setCount=0;b();for(i=0;i<O.length;i++){if(A(O[i]).attr("rel").indexOf(theGallery)!=-1){setCount++;if(setCount>1){isSet=true}if(A(O[i]).attr("href")==Z.attr("href")){D=setCount;arrayPosition=i}}}X();$pp_pic_holder.find("p.currentTextHolder").text(D+W.counter_separator_label+setCount);C();A("#pp_full_res").hide();$pp_pic_holder.find(".pp_loaderIcon").show()}showimage=function(f,c,j,h,g,d,e){A(".pp_loaderIcon").hide();if(A.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth}else{windowHeight=A(window).height();windowWidth=A(window).width()}$pp_pic_holder.find(".pp_content").animate({height:g},W.animationSpeed);projectedTop=M.scrollTop+((windowHeight/2)-(h/2));if(projectedTop<0){projectedTop=0+$pp_pic_holder.find(".ppt").height()}$pp_pic_holder.animate({top:projectedTop,left:((windowWidth/2)-(j/2)),width:j},W.animationSpeed,function(){$pp_pic_holder.width(j);$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(c).width(f);$pp_pic_holder.find("#pp_full_res").fadeIn(W.animationSpeed,function(){A(this).find("object,embed").css("visibility","visible")});I();if(e){A("a.pp_expand,a.pp_contract").fadeIn(W.animationSpeed)}})};function I(){if(isSet&&F=="image"){$pp_pic_holder.find(".pp_hoverContainer").fadeIn(W.animationSpeed)}else{$pp_pic_holder.find(".pp_hoverContainer").hide()}$pp_pic_holder.find(".pp_details").fadeIn(W.animationSpeed);if(W.showTitle&&hasTitle){$ppt.css({top:$pp_pic_holder.offset().top-22,left:$pp_pic_holder.offset().left+(W.padding/2),display:"none"});$ppt.fadeIn(W.animationSpeed)}}function Q(){$pp_pic_holder.find(".pp_hoverContainer,.pp_details").fadeOut(W.animationSpeed);$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden");$pp_pic_holder.find("#pp_full_res").fadeOut(W.animationSpeed,function(){A(".pp_loaderIcon").show();a()});$ppt.fadeOut(W.animationSpeed)}function N(c){if(c=="previous"){arrayPosition--;D--}else{arrayPosition++;D++}if(!E){E=true}Q();A("a.pp_expand,a.pp_contract").fadeOut(W.animationSpeed,function(){A(this).removeClass("pp_contract").addClass("pp_expand")})}function L(){$pp_pic_holder.find("object,embed").css("visibility","hidden");A("div.pp_pic_holder,div.ppt").fadeOut(W.animationSpeed);A("div.pp_overlay").fadeOut(W.animationSpeed,function(){A("div.pp_overlay,div.pp_pic_holder,div.ppt").remove();if(A.browser.msie&&A.browser.version==6){A("select").css("visibility","visible")}W.callback()});E=true}function H(){if(D==setCount){$pp_pic_holder.find("a.pp_next").css("visibility","hidden");$pp_pic_holder.find("a.pp_arrow_next").addClass("disabled").unbind("click")}else{$pp_pic_holder.find("a.pp_next").css("visibility","visible");$pp_pic_holder.find("a.pp_arrow_next.disabled").removeClass("disabled").bind("click",function(){N("next");return false})}if(D==1){$pp_pic_holder.find("a.pp_previous").css("visibility","hidden");$pp_pic_holder.find("a.pp_arrow_previous").addClass("disabled").unbind("click")}else{$pp_pic_holder.find("a.pp_previous").css("visibility","visible");$pp_pic_holder.find("a.pp_arrow_previous.disabled").removeClass("disabled").bind("click",function(){N("previous");return false})}$pp_pic_holder.find("p.currentTextHolder").text(D+W.counter_separator_label+setCount);Z=(isSet)?A(O[arrayPosition]):Z;b();if(Z.attr("title")){$pp_pic_holder.find(".pp_description").show().html(unescape(Z.attr("title")))}else{$pp_pic_holder.find(".pp_description").hide().text("")}if(Z.find("img").attr("alt")&&W.showTitle){hasTitle=true;$ppt.html(unescape(Z.find("img").attr("alt")))}else{hasTitle=false}}function P(d,c){hasBeenResized=false;T(d,c);imageWidth=d;imageHeight=c;windowHeight=A(window).height();windowWidth=A(window).width();if(((Y>windowWidth)||(V>windowHeight))&&E&&W.allowresize&&!K){hasBeenResized=true;notFitting=true;while(notFitting){if((Y>windowWidth)){imageWidth=(windowWidth-200);imageHeight=(c/d)*imageWidth}else{if((V>windowHeight)){imageHeight=(windowHeight-200);imageWidth=(d/c)*imageHeight}else{notFitting=false}}V=imageHeight;Y=imageWidth}T(imageWidth,imageHeight)}return{width:imageWidth,height:imageHeight,containerHeight:V,containerWidth:Y,contentHeight:R,contentWidth:S,resized:hasBeenResized}}function T(d,c){$pp_pic_holder.find(".pp_details").width(d).find(".pp_description").width(d-parseFloat($pp_pic_holder.find("a.pp_close").css("width")));R=c+$pp_pic_holder.find(".pp_details").height()+parseFloat($pp_pic_holder.find(".pp_details").css("marginTop"))+parseFloat($pp_pic_holder.find(".pp_details").css("marginBottom"));S=d;V=R+$pp_pic_holder.find(".ppt").height()+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height();Y=d+W.padding}function b(){if(Z.attr("href").match(/youtube\.com\/watch/i)){F="youtube"}else{if(Z.attr("href").indexOf(".mov")!=-1){F="quicktime"}else{if(Z.attr("href").indexOf(".swf")!=-1){F="flash"}else{if(Z.attr("href").indexOf("iframe")!=-1){F="iframe"}else{F="image"}}}}}function C(){if($pp_pic_holder){if($pp_pic_holder.size()==0){return }}else{return }if(A.browser.opera){windowHeight=window.innerHeight;windowWidth=window.innerWidth}else{windowHeight=A(window).height();windowWidth=A(window).width()}if(E){$pHeight=$pp_pic_holder.height();$pWidth=$pp_pic_holder.width();$tHeight=$ppt.height();projectedTop=(windowHeight/2)+M.scrollTop-($pHeight/2);if(projectedTop<0){projectedTop=0+$tHeight}$pp_pic_holder.css({top:projectedTop,left:(windowWidth/2)+M.scrollLeft-($pWidth/2)});$ppt.css({top:projectedTop-$tHeight,left:(windowWidth/2)+M.scrollLeft-($pWidth/2)+(W.padding/2)})}}function a(){H();if(F=="image"){imgPreloader=new Image();nextImage=new Image();if(isSet&&D>setCount){nextImage.src=A(O[arrayPosition+1]).attr("href")}prevImage=new Image();if(isSet&&O[arrayPosition-1]){prevImage.src=A(O[arrayPosition-1]).attr("href")}pp_typeMarkup='<img id="fullResImage" src="" />';$pp_pic_holder.find("#pp_full_res")[0].innerHTML=pp_typeMarkup;$pp_pic_holder.find(".pp_content").css("overflow","hidden");$pp_pic_holder.find("#fullResImage").attr("src",Z.attr("href"));imgPreloader.onload=function(){var c=P(imgPreloader.width,imgPreloader.height);imgPreloader.width=c.width;imgPreloader.height=c.height;showimage(imgPreloader.width,imgPreloader.height,c.containerWidth,c.containerHeight,c.contentHeight,c.contentWidth,c.resized)};imgPreloader.src=Z.attr("href")}else{movie_width=(parseFloat(B("width",Z.attr("href"))))?B("width",Z.attr("href")):"425";movie_height=(parseFloat(B("height",Z.attr("href"))))?B("height",Z.attr("href")):"344";if(movie_width.indexOf("%")!=-1||movie_height.indexOf("%")!=-1){movie_height=(A(window).height()*parseFloat(movie_height)/100)-100;movie_width=(A(window).width()*parseFloat(movie_width)/100)-100;parsentBased=true}else{movie_height=parseFloat(movie_height);movie_width=parseFloat(movie_width)}if(F=="quicktime"){movie_height+=13}correctSizes=P(movie_width,movie_height);if(F=="youtube"){pp_typeMarkup='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+correctSizes.width+'" height="'+correctSizes.height+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://www.youtube.com/v/'+B("v",Z.attr("href"))+'" /><embed src="http://www.youtube.com/v/'+B("v",Z.attr("href"))+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+correctSizes.width+'" height="'+correctSizes.height+'"></embed></object>'}else{if(F=="quicktime"){pp_typeMarkup='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="'+correctSizes.height+'" width="'+correctSizes.width+'"><param name="src" value="'+Z.attr("href")+'"><param name="autoplay" value="true"><param name="type" value="video/quicktime"><embed src="'+Z.attr("href")+'" height="'+correctSizes.height+'" width="'+correctSizes.width+'" autoplay="true" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>'}else{if(F=="flash"){flash_vars=Z.attr("href");flash_vars=flash_vars.substring(Z.attr("href").indexOf("flashvars")+10,Z.attr("href").length);filename=Z.attr("href");filename=filename.substring(0,filename.indexOf("?"));pp_typeMarkup='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+correctSizes.width+'" height="'+correctSizes.height+'"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="'+filename+"?"+flash_vars+'" /><embed src="'+filename+"?"+flash_vars+'" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="'+correctSizes.width+'" height="'+correctSizes.height+'"></embed></object>'}else{if(F=="iframe"){movie_url=Z.attr("href");movie_url=movie_url.substr(0,movie_url.indexOf("?"));pp_typeMarkup='<iframe src ="'+movie_url+'" width="'+(correctSizes.width-10)+'" height="'+(correctSizes.height-10)+'" frameborder="no"></iframe>'}}}}$pp_pic_holder.find("#pp_full_res")[0].innerHTML=pp_typeMarkup;showimage(correctSizes.width,correctSizes.height,correctSizes.containerWidth,correctSizes.containerHeight,correctSizes.contentHeight,correctSizes.contentWidth,correctSizes.resized)}}function G(){if(self.pageYOffset){scrollTop=self.pageYOffset;scrollLeft=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){scrollTop=document.documentElement.scrollTop;scrollLeft=document.documentElement.scrollLeft}else{if(document.body){scrollTop=document.body.scrollTop;scrollLeft=document.body.scrollLeft}}}return{scrollTop:scrollTop,scrollLeft:scrollLeft}}function U(){A("div.pp_overlay").css({height:A(document).height(),width:A(window).width()})}function X(){toInject="";toInject+="<div class='pp_overlay'></div>";if(F=="image"){pp_typeMarkup='<img id="fullResImage" src="" />'}else{pp_typeMarkup=""}toInject+='<div class="pp_pic_holder"><div class="pp_top"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div><div class="pp_content"><a href="#" class="pp_expand" title="Expand the image">Expand</a><div class="pp_loaderIcon"></div><div class="pp_hoverContainer"><a class="pp_next" href="#">next</a><a class="pp_previous" href="#">previous</a></div><div id="pp_full_res">'+pp_typeMarkup+'</div><div class="pp_details clearfix"><a class="pp_close" href="#">Close</a><p class="pp_description"></p><div class="pp_nav"><a href="#" class="pp_arrow_previous">Previous</a><p class="currentTextHolder">0'+W.counter_separator_label+'0</p><a href="#" class="pp_arrow_next">Next</a></div></div></div><div class="pp_bottom"><div class="pp_left"></div><div class="pp_middle"></div><div class="pp_right"></div></div></div>';toInject+='<div class="ppt"></div>';A("body").append(toInject);$pp_pic_holder=A(".pp_pic_holder");$ppt=A(".ppt");A("div.pp_overlay").css("height",A(document).height()).bind("click",function(){L()});$pp_pic_holder.css({opacity:0}).addClass(W.theme);A("a.pp_close").bind("click",function(){L();return false});A("a.pp_expand").bind("click",function(){$this=A(this);if($this.hasClass("pp_expand")){$this.removeClass("pp_expand").addClass("pp_contract");E=false}else{$this.removeClass("pp_contract").addClass("pp_expand");E=true}Q();$pp_pic_holder.find(".pp_hoverContainer, #pp_full_res, .pp_details").fadeOut(W.animationSpeed,function(){a()});return false});$pp_pic_holder.find(".pp_previous, .pp_arrow_previous").bind("click",function(){N("previous");return false});$pp_pic_holder.find(".pp_next, .pp_arrow_next").bind("click",function(){N("next");return false});$pp_pic_holder.find(".pp_hoverContainer").css({"margin-left":W.padding/2});if(!isSet){$pp_pic_holder.find(".pp_hoverContainer,.pp_nav").hide()}if(A.browser.msie&&A.browser.version==6){A("body").addClass("ie6");A("select").css("visibility","hidden")}A("div.pp_overlay").css("opacity",0).fadeTo(W.animationSpeed,W.opacity,function(){$pp_pic_holder.css("opacity",0).fadeIn(W.animationSpeed,function(){$pp_pic_holder.attr("style","left:"+$pp_pic_holder.css("left")+";top:"+$pp_pic_holder.css("top")+";");a()})})}};function B(E,D){E=E.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var C="[\\?&]"+E+"=([^&#]*)";var G=new RegExp(C);var F=G.exec(D);if(F==null){return""}else{return F[1]}}})(jQuery);

/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 */
var Cufon=(function(){var L=function(){return L.replace.apply(null,arguments)};var V=L.DOM={ready:(function(){var a=false,c={loaded:1,complete:1};var Z=[],b=function(){if(a){return}a=true;for(var d;d=Z.shift();d()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("pageshow",b,false)}if(!window.opera&&document.readyState){(function(){c[document.readyState]?b():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");b()}catch(d){setTimeout(arguments.callee,1)}})()}P(window,"load",b);return function(d){if(!arguments.length){b()}else{a?d():Z.push(d)}}})()};var M=L.CSS={Size:function(a,Z){this.value=parseFloat(a);this.unit=String(a).match(/[a-z%]*$/)[0]||"px";this.convert=function(b){return b/Z*this.value};this.convertFrom=function(b){return b/this.value*Z};this.toString=function(){return this.value+this.unit}},color:I(function(a){var Z={};Z.color=a.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(c,b,d){Z.opacity=parseFloat(d);return"rgb("+b+")"});return Z}),getStyle:function(a){var Z=document.defaultView;if(Z&&Z.getComputedStyle){return new A(Z.getComputedStyle(a,null))}if(a.currentStyle){return new A(a.currentStyle)}return new A(a.style)},gradient:I(function(d){var e={id:d,type:d.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},a=d.substr(d.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var c=0,Z=a.length,b;c<Z;++c){b=a[c].split("=",2).reverse();e.stops.push([b[1]||c/(Z-1),b[0]])}return e}),quotedList:I(function(c){var b=[],a=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,Z;while(Z=a.exec(c)){b.push(Z[3]||Z[1])}return b}),recognizesMedia:I(function(c){var b=document.createElement("style"),a,Z;b.type="text/css";b.media=c;a=F("head")[0];a.insertBefore(b,a.firstChild);Z=!!(b.sheet||b.styleSheet);a.removeChild(b);return Z}),supports:function(b,a){var Z=document.createElement("span").style;if(Z[b]===undefined){return false}Z[b]=a;return Z[b]===a},textAlign:function(c,b,Z,a){if(b.get("textAlign")=="right"){if(Z>0){c=" "+c}}else{if(Z<a-1){c+=" "}}return c},textDecoration:function(e,d){if(!d){d=this.getStyle(e)}var a={underline:null,overline:null,"line-through":null};for(var Z=e;Z.parentNode&&Z.parentNode.nodeType==1;){var c=true;for(var b in a){if(!J(a,b)||a[b]){continue}if(d.get("textDecoration").indexOf(b)!=-1){a[b]=d.get("color")}c=false}if(c){break}d=this.getStyle(Z=Z.parentNode)}return a},textShadow:I(function(d){if(d=="none"){return null}var c=[],e={},Z,a=0;var b=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(Z=b.exec(d)){if(Z[0]==","){c.push(e);e={},a=0}else{if(Z[1]){e.color=Z[1]}else{e[["offX","offY","blur"][a++]]=Z[2]}}}c.push(e);return c}),textTransform:function(a,Z){return a[{uppercase:"toUpperCase",lowercase:"toLowerCase"}[Z.get("textTransform")]||"toString"]()},whiteSpace:(function(){var Z={inline:1,"inline-block":1,"run-in":1};return function(c,a,b){if(Z[a.get("display")]){return c}if(!b.previousSibling){c=c.replace(/^\s+/,"")}if(!b.nextSibling){c=c.replace(/\s+$/,"")}return c}})()};M.ready=(function(){var b=!M.recognizesMedia("all"),a=false;var Z=[],d=function(){b=true;for(var g;g=Z.shift();g()){}};var e=F("link"),f={stylesheet:1};function c(){var h,g,j;for(g=0;j=e[g];++g){if(j.disabled||!f[j.rel.toLowerCase()]||!M.recognizesMedia(j.media||"screen")){continue}h=j.sheet||j.styleSheet;if(!h||h.disabled){return false}}return true}V.ready(function(){if(!a){a=M.getStyle(document.body).isUsable()}if(b||(a&&c())){d()}else{setTimeout(arguments.callee,10)}});return function(g){if(b){g()}else{Z.push(g)}}})();function R(a){var Z=this.face=a.face;this.glyphs=a.glyphs;this.w=a.w;this.baseSize=parseInt(Z["units-per-em"],10);this.family=Z["font-family"].toLowerCase();this.weight=Z["font-weight"];this.style=Z["font-style"]||"normal";this.viewBox=(function(){var c=Z.bbox.split(/\s+/);var b={minX:parseInt(c[0],10),minY:parseInt(c[1],10),maxX:parseInt(c[2],10),maxY:parseInt(c[3],10)};b.width=b.maxX-b.minX,b.height=b.maxY-b.minY;b.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return b})();this.ascent=-parseInt(Z.ascent,10);this.descent=-parseInt(Z.descent,10);this.height=-this.ascent+this.descent}function E(){var a={},Z={oblique:"italic",italic:"oblique"};this.add=function(b){(a[b.style]||(a[b.style]={}))[b.weight]=b};this.get=function(f,g){var e=a[f]||a[Z[f]]||a.normal||a.italic||a.oblique;if(!e){return null}g={normal:400,bold:700}[g]||parseInt(g,10);if(e[g]){return e[g]}var c={1:1,99:0}[g%100],i=[],d,b;if(c===undefined){c=g>400}if(g==500){g=400}for(var h in e){if(!J(e,h)){continue}h=parseInt(h,10);if(!d||h<d){d=h}if(!b||h>b){b=h}i.push(h)}if(g<d){g=d}if(g>b){g=b}i.sort(function(k,j){return(c?(k>g&&j>g)?k<j:k>j:(k<g&&j<g)?k>j:k<j)?-1:1});return e[i[0]]}}function Q(){function b(d,e){if(d.contains){return d.contains(e)}return d.compareDocumentPosition(e)&16}function Z(f){var d=f.relatedTarget;if(!d||b(this,d)){return}a(this)}function c(d){a(this)}function a(d){setTimeout(function(){L.replace(d,D.get(d).options,true)},10)}this.attach=function(d){if(d.onmouseenter===undefined){P(d,"mouseover",Z);P(d,"mouseout",Z)}else{P(d,"mouseenter",c);P(d,"mouseleave",c)}}}function Y(){var b={},Z=0;function a(c){return c.cufid||(c.cufid=++Z)}this.get=function(c){var d=a(c);return b[d]||(b[d]={})}}function A(Z){var b={},a={};this.extend=function(c){for(var d in c){if(J(c,d)){b[d]=c[d]}}return this};this.get=function(c){return b[c]!=undefined?b[c]:Z[c]};this.getSize=function(d,c){return a[d]||(a[d]=new M.Size(this.get(d),c))};this.isUsable=function(){return !!Z}}function P(a,Z,b){if(a.addEventListener){a.addEventListener(Z,b,false)}else{if(a.attachEvent){a.attachEvent("on"+Z,function(){return b.call(a,window.event)})}}}function T(a,Z){var b=D.get(a);if(b.options){return a}if(Z.hover&&Z.hoverables[a.nodeName.toLowerCase()]){B.attach(a)}b.options=Z;return a}function I(Z){var a={};return function(b){if(!J(a,b)){a[b]=Z.apply(null,arguments)}return a[b]}}function C(e,d){if(!d){d=M.getStyle(e)}var a=M.quotedList(d.get("fontFamily").toLowerCase()),c;for(var b=0,Z=a.length;b<Z;++b){c=a[b];if(H[c]){return H[c].get(d.get("fontStyle"),d.get("fontWeight"))}}return null}function F(Z){return document.getElementsByTagName(Z)}function J(a,Z){return a.hasOwnProperty(Z)}function G(){var Z={},b,d;for(var c=0,a=arguments.length;b=arguments[c],c<a;++c){for(d in b){if(J(b,d)){Z[d]=b[d]}}}return Z}function N(c,m,a,n,d,b){var k=n.separate;if(k=="none"){return X[n.engine].apply(null,arguments)}var j=document.createDocumentFragment(),f;var g=m.split(O[k]),Z=(k=="words");if(Z&&S){if(/^\s/.test(m)){g.unshift("")}if(/\s$/.test(m)){g.push("")}}for(var h=0,e=g.length;h<e;++h){f=X[n.engine](c,Z?M.textAlign(g[h],a,h,e):g[h],a,n,d,b,h<e-1);if(f){j.appendChild(f)}}return j}function K(a,i){var b,Z,c,f,e,h;for(c=T(a,i).firstChild;c;c=e){f=c.nodeType;e=c.nextSibling;h=false;if(f==1){if(!c.firstChild){continue}if(!/cufon/.test(c.className)){arguments.callee(c,i);continue}else{h=true}}else{if(f!=3){continue}}if(!Z){Z=M.getStyle(a).extend(i)}if(!b){b=C(a,Z)}if(!b){continue}if(h){X[i.engine](b,null,Z,i,c,a);continue}var g=M.whiteSpace(c.data,Z,c);if(g===""){continue}var d=N(b,g,Z,i,c,a);if(d){c.parentNode.replaceChild(d,c)}else{c.parentNode.removeChild(c)}}}var S=" ".split(/\s+/).length==0;var D=new Y();var B=new Q();var W=[];var X={},H={},U={enableTextDecoration:false,engine:null,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||(window.jQuery&&function(Z){return jQuery(Z)})||(window.dojo&&dojo.query)||(window.$$&&function(Z){return $$(Z)})||(window.$&&function(Z){return $(Z)})||(document.querySelectorAll&&function(Z){return document.querySelectorAll(Z)})||F),separate:"words",textShadow:"none"};var O={words:/[^\S\u00a0]+/,characters:""};L.now=function(){V.ready();return L};L.refresh=function(){var b=W.splice(0,W.length);for(var a=0,Z=b.length;a<Z;++a){L.replace.apply(null,b[a])}return L};L.registerEngine=function(a,Z){if(!Z){return L}X[a]=Z;return L.set("engine",a)};L.registerFont=function(b){var Z=new R(b),a=Z.family;if(!H[a]){H[a]=new E()}H[a].add(Z);return L.set("fontFamily",'"'+a+'"')};L.replace=function(b,a,Z){a=G(U,a);if(!a.engine){return L}if(typeof a.textShadow=="string"){a.textShadow=M.textShadow(a.textShadow)}if(typeof a.color=="string"&&/^-/.test(a.color)){a.textGradient=M.gradient(a.color)}if(!Z){W.push(arguments)}if(b.nodeType||typeof b=="string"){b=[b]}M.ready(function(){for(var d=0,c=b.length;d<c;++d){var e=b[d];if(typeof e=="string"){L.replace(a.selector(e),a,true)}else{K(e,a)}}});return L};L.set=function(Z,a){U[Z]=a;return L};return L})();Cufon.registerEngine("canvas",(function(){var B=document.createElement("canvas");if(!B||!B.getContext||!B.getContext.apply){return}B=null;var A=Cufon.CSS.supports("display","inline-block");var E=!A&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var F=document.createElement("style");F.type="text/css";F.appendChild(document.createTextNode(".cufon-canvas{text-indent:0}@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle"+(E?"":";font-size:1px;line-height:1px")+"}.cufon-canvas .cufon-alt{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden}"+(A?".cufon-canvas canvas{position:relative}":".cufon-canvas canvas{position:absolute}")+"}@media print{.cufon-canvas{padding:0 !important}.cufon-canvas canvas{display:none}.cufon-canvas .cufon-alt{display:inline}}"));document.getElementsByTagName("head")[0].appendChild(F);function D(O,H){var M=0,L=0;var G=[],N=/([mrvxe])([^a-z]*)/g,J;generate:for(var I=0;J=N.exec(O);++I){var K=J[2].split(",");switch(J[1]){case"v":G[I]={m:"bezierCurveTo",a:[M+~~K[0],L+~~K[1],M+~~K[2],L+~~K[3],M+=~~K[4],L+=~~K[5]]};break;case"r":G[I]={m:"lineTo",a:[M+=~~K[0],L+=~~K[1]]};break;case"m":G[I]={m:"moveTo",a:[M=~~K[0],L=~~K[1]]};break;case"x":G[I]={m:"closePath"};break;case"e":break generate}H[G[I].m].apply(H,G[I].a)}return G}function C(K,J){for(var I=0,H=K.length;I<H;++I){var G=K[I];J[G.m].apply(J,G.a)}}return function(t,W,o,R,a,u){var I=(W===null);var Y=t.viewBox;var J=o.getSize("fontSize",t.baseSize);var m=o.get("letterSpacing");m=(m=="normal")?0:J.convertFrom(parseInt(m,10));var Z=0,n=0,k=0,T=0;var X=R.textShadow,h=[];if(X){for(var s=X.length;s--;){var c=X[s];var f=J.convertFrom(parseFloat(c.offX));var e=J.convertFrom(parseFloat(c.offY));h[s]=[f,e];if(e<Z){Z=e}if(f>n){n=f}if(e>k){k=e}if(f<T){T=f}}}var z=Cufon.CSS.textTransform(I?a.alt:W,o).split("");var G=0,U=null;for(var s=0,p=z.length;s<p;++s){var S=t.glyphs[z[s]]||t.missingGlyph;if(!S){continue}G+=U=Number(S.w||t.w)+m}if(U===null){return null}n+=(Y.width-U);T+=Y.minX;var Q,K;if(I){Q=a;K=a.firstChild}else{Q=document.createElement("span");Q.className="cufon cufon-canvas";Q.alt=W;K=document.createElement("canvas");Q.appendChild(K);if(R.printable){var q=document.createElement("span");q.className="cufon-alt";q.appendChild(document.createTextNode(W));Q.appendChild(q)}}var AA=Q.style;var d=K.style;var H=J.convert(Y.height);var w=Math.ceil(H);var j=w/H;K.width=Math.ceil(J.convert(G*j+n-T));K.height=Math.ceil(J.convert(Y.height-Z+k));Z+=Y.minY;d.top=Math.round(J.convert(Z-t.ascent))+"px";d.left=Math.round(J.convert(T))+"px";var P=Math.ceil(J.convert(G*j))+"px";if(A){AA.width=P;AA.height=J.convert(t.height)+"px"}else{AA.paddingLeft=P;AA.paddingBottom=(J.convert(t.height)-1)+"px"}var v=K.getContext("2d"),b=H/Y.height;v.scale(b,b*j);v.translate(-T,-Z);v.lineWidth=t.face["underline-thickness"];v.save();function L(i,g){v.strokeStyle=g;v.beginPath();v.moveTo(0,i);v.lineTo(G,i);v.stroke()}var M=R.enableTextDecoration?Cufon.CSS.textDecoration(u,o):{};if(M.underline){L(-t.face["underline-position"],M.underline)}if(M.overline){L(t.ascent,M.overline)}function r(){v.scale(j,1);for(var x=0,g=z.length;x<g;++x){var y=t.glyphs[z[x]]||t.missingGlyph;if(!y){continue}if(y.d){v.beginPath();if(y.code){C(y.code,v)}else{y.code=D("m"+y.d,v)}v.fill()}v.translate(Number(y.w||t.w)+m,0)}v.restore()}if(X){for(var s=X.length;s--;){var c=X[s];v.save();v.fillStyle=c.color;v.translate.apply(v,h[s]);r()}}var O=R.textGradient;if(O){var V=O.stops,N=v.createLinearGradient(0,Y.minY,0,Y.maxY);for(var s=0,p=V.length;s<p;++s){N.addColorStop.apply(N,V[s])}v.fillStyle=N}else{v.fillStyle=o.get("color")}r();if(M["line-through"]){L(-t.descent,M["line-through"])}return Q}})());Cufon.registerEngine("vml",(function(){if(!document.namespaces){return}if(document.namespaces.cvml==null){document.namespaces.add("cvml","urn:schemas-microsoft-com:vml")}var B=document.createElement("cvml:shape");B.style.behavior="url(#default#VML)";if(!B.coordsize){return}B=null;document.write('<style type="text/css">.cufon-vml-canvas{text-indent:0}@media screen{cvml\\:shape,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute}.cufon-vml-canvas{position:absolute;text-align:left}.cufon-vml{display:inline-block;position:relative;vertical-align:middle}.cufon-vml .cufon-alt{position:absolute;left:-10000in;font-size:1px}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none}.cufon-vml .cufon-alt{display:inline}}</style>');function C(F,G){return A(F,/(?:em|ex|%)$/i.test(G)?"1em":G)}function A(I,J){if(/px$/i.test(J)){return parseFloat(J)}var H=I.style.left,G=I.runtimeStyle.left;I.runtimeStyle.left=I.currentStyle.left;I.style.left=J;var F=I.style.pixelLeft;I.style.left=H;I.runtimeStyle.left=G;return F}var E={};function D(K){var L=K.id;if(!E[L]){var I=K.stops,J=document.createElement("cvml:fill"),F=[];J.type="gradient";J.angle=180;J.focus="0";J.method="sigma";J.color=I[0][1];for(var H=1,G=I.length-1;H<G;++H){F.push(I[H][0]*100+"% "+I[H][1])}J.colors=F.join(",");J.color2=I[G][1];E[L]=J}return E[L]}return function(v,Y,q,V,c,w,o){var I=(Y===null);if(I){Y=c.alt}var a=v.viewBox;var J=q.computedFontSize||(q.computedFontSize=new Cufon.CSS.Size(C(w,q.get("fontSize"))+"px",v.baseSize));var n=q.computedLSpacing;if(n==undefined){n=q.get("letterSpacing");q.computedLSpacing=n=(n=="normal")?0:~~J.convertFrom(A(w,n))}var S,K;if(I){S=c;K=c.firstChild}else{S=document.createElement("span");S.className="cufon cufon-vml";S.alt=Y;K=document.createElement("span");K.className="cufon-vml-canvas";S.appendChild(K);if(V.printable){var t=document.createElement("span");t.className="cufon-alt";t.appendChild(document.createTextNode(Y));S.appendChild(t)}if(!o){S.appendChild(document.createElement("cvml:shape"))}}var AB=S.style;var f=K.style;var G=J.convert(a.height),y=Math.ceil(G);var m=y/G;var j=a.minX,h=a.minY;f.height=y;f.top=Math.round(J.convert(h-v.ascent));f.left=Math.round(J.convert(j));AB.height=J.convert(v.height)+"px";var N=V.enableTextDecoration?Cufon.CSS.textDecoration(w,q):{};var X=q.get("color");var z=Cufon.CSS.textTransform(Y,q).split("");var F=0,g=0,O=null;var W,Q,Z=V.textShadow;for(var u=0,s=0,r=z.length;u<r;++u){W=v.glyphs[z[u]]||v.missingGlyph;if(W){F+=O=~~(W.w||v.w)+n}}if(O===null){return null}var R=-j+F+(a.width-O);var AA=J.convert(R*m),p=Math.round(AA);var e=R+","+a.height,H;var b="r"+e+"ns";var P=V.textGradient&&D(V.textGradient);for(u=0;u<r;++u){W=v.glyphs[z[u]]||v.missingGlyph;if(!W){continue}if(I){Q=K.childNodes[s];if(Q.firstChild){Q.removeChild(Q.firstChild)}}else{Q=document.createElement("cvml:shape");K.appendChild(Q)}Q.stroked="f";Q.coordsize=e;Q.coordorigin=H=(j-g)+","+h;Q.path=(W.d?"m"+W.d+"xe":"")+"m"+H+b;Q.fillcolor=X;if(P){Q.appendChild(P.cloneNode(false))}var x=Q.style;x.width=p;x.height=y;if(Z){var M=Z[0],L=Z[1];var U=Cufon.CSS.color(M.color),T;var d=document.createElement("cvml:shadow");d.on="t";d.color=U.color;d.offset=M.offX+","+M.offY;if(L){T=Cufon.CSS.color(L.color);d.type="double";d.color2=T.color;d.offset2=L.offX+","+L.offY}d.opacity=U.opacity||(T&&T.opacity)||1;Q.appendChild(d)}g+=~~(W.w||v.w)+n;++s}AB.width=Math.max(Math.ceil(J.convert(F*m)),0);return S}})());

Cufon.registerFont({"w":314,"face":{"font-family":"Orbit","font-weight":500,"font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0","ascent":"288","descent":"-72","bbox":"0 -303 351 108","underline-thickness":"18","underline-position":"-27","stemh":"27","stemv":"27","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":180},"!":{"d":"52,-54r-31,0r0,-194r31,0r0,194xm55,0r-37,0r0,-38r37,0r0,38","w":73},"\"":{"d":"61,-166r-30,0r0,-82r30,0r0,82xm107,-166r-31,0r0,-82r31,0r0,82","w":137},"#":{"d":"142,0r12,-62r-90,0r-11,62r-32,0r12,-62r-31,0r6,-31r31,0r12,-63r-31,0r6,-30r31,0r11,-62r32,0r-12,62r89,0r12,-62r32,0r-12,62r30,0r-5,30r-31,0r-12,63r30,0r-5,31r-31,0r-11,62r-32,0xm82,-156r-12,63r89,0r13,-63r-90,0","w":271},"$":{"d":"177,-248r-8,31r66,0r0,31r-74,0r-14,50r47,6v27,4,44,19,44,43r0,10v0,29,-19,46,-47,46r-74,0r-8,31r-31,0r8,-31r-65,0r0,-30r74,0r14,-51r-47,-6v-26,-4,-44,-20,-44,-44r0,-9v0,-28,18,-46,47,-46r73,0r9,-31r30,0xm193,-101r-54,-7r-13,47r64,0v12,0,18,-4,18,-16r0,-9v0,-11,-9,-14,-15,-15xm63,-148r54,8r13,-46r-64,0v-12,0,-18,3,-18,15r0,8v0,11,9,14,15,15","w":255},"%":{"d":"253,-248r-144,248r-33,0r126,-217r-63,0v3,6,5,14,5,22r0,21v0,29,-23,52,-52,52r-22,0v-29,0,-52,-23,-52,-52r0,-21v0,-29,23,-53,52,-53r183,0xm311,-52v0,29,-24,52,-53,52r-21,0v-29,0,-52,-23,-52,-52r0,-22v0,-29,23,-52,52,-52r21,0v29,0,53,23,53,52r0,22xm280,-55r0,-16v0,-14,-11,-24,-25,-24r-15,0v-13,0,-24,10,-24,24r0,16v0,13,11,24,24,24r15,0v14,0,25,-11,25,-24xm113,-177r0,-15v0,-14,-11,-25,-24,-25r-16,0v-13,0,-24,11,-24,25r0,15v0,14,11,24,24,24r16,0v13,0,24,-10,24,-24","w":328},"&":{"d":"203,-170r32,0r0,31r30,0r0,30r-30,0r0,54v0,33,-23,55,-56,55r-89,0v-33,0,-56,-22,-56,-55r0,-29v0,-18,9,-32,22,-43v-10,-11,-16,-21,-16,-37r0,-28v0,-33,22,-56,55,-56r78,0r0,31r-78,0v-15,0,-24,10,-24,25r0,28v0,15,13,25,28,25r104,0r0,-31xm204,-55r-1,-54r-110,0v-15,0,-28,10,-28,25r0,29v0,16,10,24,25,24r89,0v15,0,25,-8,25,-24","w":273},"(":{"d":"142,-302r-29,0v-45,0,-81,36,-81,81r0,195v0,44,36,80,81,80r29,0r0,-31r-29,0v-28,0,-50,-23,-50,-50r0,-194v0,-27,23,-50,50,-50r29,0r0,-31","w":150},")":{"d":"32,-302r29,0v45,0,81,36,81,81r0,195v0,44,-36,80,-81,80r-29,0r0,-31r29,0v28,0,50,-23,50,-50r0,-194v0,-27,-23,-50,-50,-50r-29,0r0,-31","w":150},"*":{"d":"91,-248r-15,47r-12,0r-15,-47r42,0xm58,-187r-51,0r13,-40r38,27r0,13xm133,-187r-51,0r0,-13r38,-27xm68,-177r-15,48r-35,-24r40,-30r0,6r10,0xm122,-153r-34,24r-16,-48r10,0r0,-6","w":140},"+":{"d":"145,-108r-49,0r0,48r-30,0r0,-48r-48,0r0,-31r48,0r0,-48r30,0r0,48r49,0r0,31","w":162},",":{"d":"66,-3v0,15,-3,33,-15,59r-28,-12v9,-21,10,-36,10,-47r0,-31r33,0r0,31","w":89},"-":{"d":"118,-109r-100,0r0,-30r100,0r0,30","w":136},".":{"d":"58,0r-35,0r0,-34r35,0r0,34","w":81},"\/":{"d":"177,-248r-144,248r-33,0r143,-248r34,0","w":176},"0":{"d":"267,-103v0,57,-45,102,-102,102r-36,0v-57,0,-102,-45,-102,-102r0,-42v0,-57,45,-103,102,-103r36,0v57,0,102,46,102,103r0,42xm237,-103r0,-42v0,-40,-32,-72,-72,-72r-36,0v-40,0,-71,32,-71,72r0,42v0,39,31,71,71,71r36,0v40,0,72,-32,72,-71","w":294},"1":{"d":"129,0r-30,0r0,-209r-86,34r0,-34r95,-38v1,-1,3,-1,5,-1v3,0,6,1,9,3v4,3,7,7,7,12r0,233","w":176},"2":{"d":"18,0r187,0r0,-31r-156,0r0,-45v0,-18,18,-23,26,-25r79,-22v30,-8,51,-28,51,-56r0,-8v0,-33,-28,-61,-61,-61r-126,0r0,31r126,0v16,0,30,14,30,30r0,8v0,18,-18,24,-26,26r-79,22v-30,8,-51,28,-51,55r0,76","w":223},"3":{"d":"222,-59v0,33,-26,59,-59,59r-136,0r0,-31r136,0v15,0,28,-12,28,-28r0,-22v0,-15,-13,-28,-28,-28r-106,0r0,-30r101,0v15,0,28,-13,28,-28r0,-22v0,-15,-13,-28,-28,-28r-131,0r0,-31r131,0v33,0,59,26,59,59r0,22v0,16,-7,29,-17,40v13,11,22,28,22,46r0,22","w":256},"4":{"d":"270,-60r-49,0r0,60r-31,0r0,-60r-132,0v-15,0,-27,-10,-27,-25r53,-163r31,0r-52,159r127,0r0,-159r31,0r0,159r49,0r0,29","w":300},"5":{"d":"49,-154r94,0v43,0,70,26,70,69r0,16v0,42,-26,69,-69,69r-126,0r0,-31r126,0v23,0,37,-14,37,-37r0,-17v0,-24,-14,-38,-38,-38r-125,0r0,-125r186,0r0,31r-155,0r0,63","w":230},"6":{"d":"34,-167v0,-44,36,-81,81,-81r123,0r0,31r-123,0v-28,0,-50,22,-50,50r0,15r128,0v33,0,59,26,59,59r0,34v0,33,-26,59,-59,59r-78,0v-45,0,-81,-36,-81,-81r0,-86xm65,-122r0,41v0,27,23,50,50,50r78,0v16,0,28,-13,28,-28r0,-34v0,-15,-12,-29,-28,-29r-128,0","w":279},"7":{"d":"95,0r-36,0r115,-199r0,-9v0,-4,-4,-9,-8,-9r-157,0r0,-31r176,0v11,0,25,12,25,25r0,24","w":222},"8":{"d":"93,0r100,0v33,0,59,-26,59,-59r0,-22v0,-18,-9,-35,-22,-46v10,-11,17,-24,17,-40r0,-22v0,-33,-26,-59,-59,-59r-89,0v-33,0,-59,26,-59,59r0,22v0,16,7,29,17,40v-13,11,-23,28,-23,46r0,22v0,33,26,59,59,59xm93,-109r100,0v15,0,28,13,28,28r0,22v0,16,-13,28,-28,28r-100,0v-15,0,-28,-12,-28,-28r0,-22v0,-15,13,-28,28,-28xm188,-139r-89,0v-15,0,-28,-13,-28,-28r0,-22v0,-15,13,-28,28,-28r89,0v15,0,28,13,28,28r0,22v0,15,-13,28,-28,28","w":286},"9":{"d":"245,-81v0,44,-36,81,-81,81r-123,0r0,-31r123,0v28,0,50,-22,50,-50r0,-14r-128,0v-33,0,-59,-26,-59,-59r0,-35v0,-33,26,-59,59,-59r78,0v45,0,81,36,81,81r0,86xm214,-126r0,-41v0,-27,-23,-50,-50,-50r-78,0v-16,0,-28,13,-28,28r0,35v0,15,12,28,27,28r129,0","w":279},":":{"d":"59,0r-37,0r0,-38r37,0r0,38xm59,-136r-37,0r0,-37r37,0r0,37","w":80},";":{"d":"60,-3v0,15,-2,33,-14,59r-28,-12v9,-21,10,-36,10,-47r0,-35r32,0r0,35xm60,-136r-37,0r0,-37r37,0r0,37","w":82},"<":{"d":"66,-124r97,40r0,33r-141,-58v-5,-2,-9,-9,-9,-15v0,-6,4,-13,9,-15r141,-58r0,34","w":184},"=":{"d":"145,-136r-127,0r0,-30r127,0r0,30xm145,-82r-127,0r0,-30r127,0r0,30","w":162},">":{"d":"115,-124r-97,40r0,33r140,-58v5,-2,10,-9,10,-15v0,-6,-5,-13,-10,-15r-140,-58r0,34","w":186},"?":{"d":"55,-54r31,0r0,-32v0,-18,18,-25,26,-26r45,-8v31,-5,51,-28,51,-56r0,-11v0,-33,-28,-61,-61,-61r-138,0r0,31r138,0v16,0,30,14,30,30r0,11v0,18,-18,25,-26,26r-44,8v-30,5,-52,29,-52,56r0,32xm87,0r-34,0r0,-34r34,0r0,34","w":234},"@":{"d":"272,0r-172,0v-45,0,-73,-28,-73,-73r0,-102v0,-44,29,-73,73,-73r99,0v45,0,73,29,73,73r0,69v0,27,-21,48,-47,48r-110,0v-14,0,-26,-12,-26,-26r0,-76v0,-15,12,-26,26,-26r70,0v14,0,26,11,26,26r0,71r14,0v10,0,18,-7,18,-17r0,-68v0,-28,-16,-43,-44,-43r-99,0v-28,0,-43,15,-43,43r0,100v0,28,15,43,43,43r172,0r0,31xm119,-156r0,67r62,0r0,-67r-62,0","w":306},"A":{"d":"126,-202r-45,113r127,0r-45,-113v-5,-12,-7,-15,-10,-15r-17,0v-3,0,-5,3,-10,15xm70,-60r-24,60r-33,0r84,-214v4,-11,13,-34,39,-34r17,0v26,0,35,23,39,34r85,214r-34,0r-23,-60r-150,0","w":289,"k":{"'":14,"y":25,"w":14,"v":27,"t":23,"Y":25,"W":14,"V":27,"T":23,"\"":14}},"B":{"d":"273,-60v0,33,-27,60,-59,60r-178,0r0,-248r173,0v33,0,59,26,59,59r0,21v0,16,-7,30,-17,41v14,11,22,28,22,46r0,21xm243,-60r0,-21v0,-15,-14,-28,-29,-28r-147,0r0,78r147,0v15,0,29,-13,29,-29xm237,-168r0,-21v0,-15,-13,-28,-28,-28r-142,0r0,78r142,0v15,0,28,-14,28,-29","w":299},"C":{"d":"251,0r-136,0v-45,0,-81,-37,-81,-81r0,-86v0,-45,36,-81,81,-81r136,0r0,31r-136,0v-28,0,-50,23,-50,50r0,86v0,27,23,50,50,50r136,0r0,31","w":277},"D":{"d":"284,-81v0,44,-37,81,-81,81r-167,0r0,-248r167,0v44,0,81,36,81,81r0,86xm253,-81r0,-86v0,-27,-23,-50,-50,-50r-136,0r0,186r136,0v27,0,50,-23,50,-50","w":311},"E":{"d":"255,0r-162,0v-32,0,-59,-26,-59,-59r0,-130v0,-33,27,-59,59,-59r162,0r0,31r-162,0v-15,0,-28,13,-28,28r0,50r179,0r0,30r-179,0r0,50v0,16,13,28,28,28r162,0r0,31","w":282},"F":{"d":"250,-217r-157,0v-15,0,-28,13,-28,28r0,50r174,0r0,30r-174,0r0,109r-31,0r0,-189v0,-33,27,-59,59,-59r157,0r0,31","w":267},"G":{"d":"282,0r-167,0v-45,0,-81,-37,-81,-81r0,-86v0,-45,36,-81,81,-81r167,0r0,31r-167,0v-28,0,-51,23,-51,50r0,86v0,28,24,50,51,50r137,0r0,-78r-87,0r0,-30r117,0r0,139","w":316},"H":{"d":"279,0r-31,0r0,-109r-181,0r0,109r-31,0r0,-248r31,0r0,109r181,0r0,-109r31,0r0,248"},"I":{"d":"70,0r-30,0r0,-248r30,0r0,248","w":109},"J":{"d":"174,-248r31,0r0,171v0,44,-33,77,-77,77r-119,0r0,-31r119,0v27,0,46,-19,46,-46r0,-171","w":231},"K":{"d":"156,-109r-89,0r0,109r-31,0r0,-248r31,0r0,109r88,0v5,0,10,-4,18,-15r66,-94r37,0r-78,112v-3,5,-5,8,-5,12v0,4,2,8,5,13r80,111r-37,0r-67,-94v-8,-11,-13,-15,-18,-15","w":287},"L":{"d":"235,0r-151,0v-27,0,-48,-21,-48,-48r0,-200r31,0r0,200v0,9,8,17,17,17r151,0r0,31","w":244,"k":{"'":14,"y":32,"w":14,"v":23,"t":36,"W":14,"V":23,"T":36,"\"":14}},"M":{"d":"36,0r30,0r0,-185r100,148v3,4,7,6,12,6v5,0,10,-2,13,-6r98,-149r0,186r30,0r0,-233v0,-8,-8,-15,-16,-15v-4,0,-8,2,-11,6r-114,170r-114,-169v-3,-4,-8,-7,-12,-7v-8,0,-16,6,-16,15r0,233","w":355},"N":{"d":"278,-15v0,9,-7,15,-15,15v-4,0,-8,-1,-11,-5r-185,-189r0,194r-31,0r0,-233v0,-9,8,-15,16,-15v4,0,8,2,11,5r185,190r0,-195r30,0r0,233"},"O":{"d":"115,0r102,0v45,0,81,-37,81,-81r0,-86v0,-45,-36,-81,-81,-81r-102,0v-45,0,-81,36,-81,81r0,86v0,44,36,81,81,81xm115,-217r102,0v27,0,50,23,50,50r0,86v0,27,-23,50,-50,50r-102,0v-27,0,-50,-23,-50,-50r0,-86v0,-27,23,-50,50,-50","w":331},"P":{"d":"263,-146v0,32,-27,59,-59,59r-137,0r0,87r-31,0r0,-248r168,0v33,0,59,26,59,59r0,43xm232,-147r0,-42v0,-15,-13,-28,-28,-28r-137,0r0,99r137,0v15,0,28,-14,28,-29","w":280,"k":{"a":14,"A":14}},"Q":{"d":"112,66r47,-26v3,-1,5,-3,8,-3v5,0,10,2,14,4r117,56r0,-35r-97,-45v-12,-5,-24,-9,-36,-9v-8,0,-16,2,-23,6r-30,17r0,35xm115,0r102,0v45,0,81,-37,81,-81r0,-86v0,-45,-36,-81,-81,-81r-102,0v-45,0,-81,36,-81,81r0,86v0,44,36,81,81,81xm115,-217r102,0v27,0,50,23,50,50r0,86v0,27,-23,50,-50,50r-102,0v-27,0,-50,-23,-50,-50r0,-86v0,-27,23,-50,50,-50","w":331},"R":{"d":"194,-89r-127,0r0,89r-31,0r0,-248r192,0v33,0,56,23,56,56r0,48v0,31,-22,54,-53,55r57,89r-37,0xm253,-144r0,-48v0,-15,-10,-25,-25,-25r-161,0r0,97r161,0v15,0,25,-9,25,-24"},"S":{"d":"253,-60v0,33,-27,60,-60,60r-164,0r0,-31r164,0v16,0,30,-12,30,-29r0,-9v0,-16,-18,-25,-26,-26r-128,-25v-31,-6,-51,-28,-51,-56r0,-11v0,-33,27,-61,60,-61r165,0r0,31r-165,0v-16,0,-29,14,-29,30r0,11v0,18,18,25,26,26r127,25v30,6,51,29,51,56r0,9","w":271},"T":{"d":"259,-218r-109,0r0,218r-30,0r0,-218r-109,0r0,-30r248,0r0,30","w":269,"k":{"a":23,"A":23}},"U":{"d":"281,-81v0,44,-36,81,-81,81r-87,0v-45,0,-81,-37,-81,-81r0,-167r31,0r0,167v0,27,23,50,50,50r87,0v28,0,50,-23,50,-50r0,-167r31,0r0,167","w":313},"V":{"d":"276,-248r-85,214v-4,11,-12,34,-38,34r-17,0v-26,0,-35,-23,-39,-34r-84,-214r33,0r80,203v5,13,8,14,10,14r17,0v3,0,4,-2,9,-14r80,-203r34,0","w":288,"k":{"a":27,"A":27,".":14,",":14}},"W":{"d":"351,-248r-66,236v-2,7,-8,12,-14,12v-5,0,-11,-3,-14,-9r-78,-187r-80,187v-3,6,-8,9,-13,9v-6,0,-13,-5,-15,-12r-66,-236r32,0r51,193r77,-180v3,-6,8,-8,14,-8v6,0,10,2,13,8r77,180r51,-193r31,0","w":356,"k":{"a":14,"A":14,".":14,",":14}},"X":{"d":"9,0r39,0r92,-102r93,102r38,0r-112,-124r112,-124r-38,0r-93,103r-92,-103r-39,0r112,124","w":279},"Y":{"d":"158,0r0,-88v9,-4,22,-13,32,-28r92,-132r-37,0r-79,114v-12,17,-15,17,-16,17r-14,0v-1,0,-4,0,-16,-17r-79,-114r-37,0r92,132v10,15,22,24,31,28r0,88r31,0","w":285,"k":{"a":25,"A":25,".":14}},"Z":{"d":"266,0r-233,0v-9,0,-15,-8,-15,-16v0,-4,1,-7,4,-10r196,-193r-200,0r0,-29r233,0v9,0,15,9,15,17v0,4,-1,7,-4,10r-196,192r200,0r0,29","w":284},"[":{"d":"112,54r-80,0r0,-356r80,0r0,31r-49,0r0,295r49,0r0,30","w":149},"\\":{"d":"0,-248r144,248r33,0r-143,-248r-34,0","w":176},"]":{"d":"32,-302r80,0r0,356r-80,0r0,-30r49,0r0,-295r-49,0r0,-31","w":149},"^":{"d":"125,-248r0,0v-6,0,-11,4,-14,10r-46,115r33,0r27,-72r27,72r33,0r-46,-115v-3,-6,-8,-10,-14,-10","w":249},"_":{"d":"176,31r-160,0r0,-31r160,0r0,31","w":192},"a":{"d":"77,-78r110,0r-38,-93v-5,-12,-7,-15,-10,-15r-15,0v-3,0,-5,3,-10,15xm66,-52r-20,52r-33,0r72,-183v4,-11,13,-34,39,-34r15,0v26,0,35,23,39,34r73,183r-34,0r-20,-52r-131,0","w":263,"k":{"y":25,"w":14,"v":27,"t":23,"Y":25,"W":14,"V":27,"T":23}},"b":{"d":"261,-55v0,33,-27,55,-59,55r-166,0r0,-217r161,0v33,0,59,23,59,56r0,13v0,16,-7,26,-17,37v14,11,22,25,22,43r0,13xm231,-55r0,-13v0,-15,-14,-25,-29,-25r-135,0r0,62r135,0v15,0,29,-8,29,-24xm225,-148r0,-13v0,-15,-13,-25,-28,-25r-130,0r0,63r130,0v15,0,28,-10,28,-25","w":288},"c":{"d":"236,-217r-125,0v-45,0,-77,33,-77,77r0,63v0,45,32,77,77,77r125,0r0,-31r-125,0v-28,0,-46,-19,-46,-46r0,-63v0,-27,19,-46,46,-46r125,0r0,-31","w":262},"d":{"d":"263,-77v0,44,-33,77,-77,77r-150,0r0,-217r150,0v44,0,77,32,77,77r0,63xm232,-77r0,-63v0,-27,-19,-46,-46,-46r-119,0r0,155r119,0v27,0,46,-19,46,-46","w":289},"e":{"d":"240,0r-151,0v-32,0,-55,-22,-55,-55r0,-106v0,-33,23,-56,55,-56r151,0r0,31r-151,0v-15,0,-24,10,-24,25r0,37r164,0r0,31r-164,0r0,38v0,16,9,24,24,24r151,0r0,31","w":267},"f":{"d":"240,-186r-151,0v-15,0,-24,9,-24,24r0,39r164,0r0,30r-164,0r0,93r-31,0r0,-162v0,-33,23,-55,55,-55r151,0r0,31","w":258},"g":{"d":"261,0r-150,0v-45,0,-77,-33,-77,-77r0,-63v0,-45,32,-77,77,-77r150,0r0,31r-150,0v-28,0,-47,19,-47,46r0,63v0,28,20,46,47,46r119,0r0,-62r-91,0r0,-30r122,0r0,123","w":294},"h":{"d":"248,0r-31,0r0,-93r-150,0r0,93r-31,0r0,-217r31,0r0,94r150,0r0,-94r31,0r0,217","w":284},"i":{"d":"70,-217r-30,0r0,217r30,0r0,-217","w":109},"j":{"d":"174,-77r0,-140r31,0r0,140v0,44,-33,77,-77,77r-119,0r0,-31r119,0v27,0,46,-19,46,-46","w":231},"k":{"d":"67,-217r0,93r88,0v5,0,10,-4,18,-15r57,-78r37,0r-69,96v-3,5,-4,9,-4,13v0,4,1,7,4,12r69,96r-37,0r-57,-78v-8,-11,-13,-15,-18,-15r-88,0r0,93r-31,0r0,-217r31,0","w":275},"l":{"d":"235,0r-151,0v-27,0,-48,-21,-48,-48r0,-169r31,0r0,169v0,9,8,17,17,17r151,0r0,31","w":244,"k":{"y":32,"w":14,"v":23,"t":36,"Y":32,"W":14,"V":23,"T":36}},"m":{"d":"168,-72r-105,-138v-3,-4,-8,-7,-12,-7v-8,0,-15,6,-15,15r0,202r30,0r0,-154r89,117v3,4,8,6,13,6v5,0,9,-2,12,-6r90,-117r0,154r30,0r0,-202v0,-9,-8,-15,-16,-15v-4,0,-9,3,-12,7","w":335},"n":{"d":"278,-15v0,8,-7,15,-15,15v-4,0,-9,-2,-12,-5r-184,-158r0,163r-31,0r0,-202v0,-9,7,-15,15,-15v4,0,9,2,12,5r184,159r0,-164r31,0r0,202","w":313},"o":{"d":"111,0r87,0v45,0,77,-33,77,-77r0,-63v0,-45,-32,-77,-77,-77r-87,0v-45,0,-77,32,-77,77r0,63v0,44,32,77,77,77xm198,-31r-87,0v-27,0,-46,-19,-46,-46r0,-63v0,-27,19,-46,46,-46r87,0v27,0,47,19,47,46r0,63v0,27,-20,46,-47,46","w":309},"p":{"d":"248,-133v0,32,-24,55,-56,55r-125,0r0,78r-31,0r0,-217r156,0v33,0,56,23,56,56r0,28xm217,-134r0,-27v0,-15,-10,-25,-25,-25r-125,0r0,77r125,0v15,0,25,-10,25,-25","w":265,"k":{"a":14,"A":14}},"q":{"d":"93,66r47,-26v3,-2,5,-3,8,-3v5,0,10,1,14,4r113,67r0,-35r-94,-56v-10,-6,-22,-10,-34,-10v-8,0,-16,3,-24,7r-30,17r0,35xm111,0r87,0v45,0,77,-33,77,-77r0,-63v0,-45,-32,-77,-77,-77r-87,0v-45,0,-77,32,-77,77r0,63v0,44,32,77,77,77xm198,-31r-87,0v-27,0,-46,-19,-46,-46r0,-63v0,-27,19,-46,46,-46r87,0v27,0,47,19,47,46r0,63v0,27,-20,46,-47,46","w":309},"r":{"d":"158,-78r-91,0r0,78r-31,0r0,-217r156,0v33,0,56,23,56,56r0,27v0,31,-22,55,-53,56r57,78r-37,0xm217,-134r0,-27v0,-15,-10,-25,-25,-25r-125,0r0,77r125,0v15,0,25,-10,25,-25","w":278},"s":{"d":"217,-53v0,33,-22,53,-55,53r-141,0r0,-31r141,0v16,0,24,-5,24,-22r0,-7v0,-17,-15,-20,-24,-22r-93,-22v-30,-7,-51,-25,-51,-53r0,-6v0,-33,22,-54,55,-54r140,0r0,31r-140,0v-16,0,-24,7,-24,23r0,6v0,17,14,20,23,22r94,23v30,7,51,25,51,52r0,7","w":234},"t":{"d":"229,-187r-94,0r0,186r-31,0r0,-186r-93,0r0,-30r218,0r0,30","w":239},"u":{"d":"251,-77v0,44,-32,77,-77,77r-65,0v-45,0,-77,-33,-77,-77r0,-140r31,0r0,140v0,27,19,46,46,46r65,0v28,0,46,-19,46,-46r0,-140r31,0r0,140","w":282},"v":{"d":"147,-31r-16,0v-3,0,-5,-2,-10,-14r-75,-172r-33,0r80,183v5,11,12,34,38,34r16,0v26,0,33,-23,38,-34r80,-183r-33,0r-75,172v-5,12,-7,14,-10,14","w":277,"k":{"a":27,"A":27,".":14,",":14}},"w":{"d":"162,-169r-69,160v-3,5,-8,9,-13,9r-1,0v-6,0,-11,-6,-13,-12r-61,-205r32,0r45,162r66,-153v2,-5,8,-9,14,-9v6,0,12,4,14,9r66,153r45,-162r32,0r-61,205v-2,6,-7,12,-13,12r-1,0v-5,0,-10,-4,-13,-9","w":324,"k":{".":14,",":14}},"x":{"d":"9,0r41,0r77,-85r76,85r41,0r-97,-108r97,-109r-41,0r-76,86r-77,-86r-41,0r97,109","w":253},"y":{"d":"114,-102r13,-1v1,0,6,1,16,-16r57,-98r37,0r-70,116v-10,15,-22,24,-31,28r0,73r-31,0r0,-73v-9,-4,-21,-13,-31,-28r-70,-116r37,0r57,98v10,17,15,17,16,17","w":240,"k":{"a":25,"A":25,".":14}},"z":{"d":"234,0r-201,0v-9,0,-15,-8,-15,-16v0,-4,1,-7,4,-10r167,-162r-171,0r0,-29r202,0v9,0,15,8,15,16v0,4,-1,8,-4,11r-166,162r169,0r0,28","w":253},"{":{"d":"18,-124v0,-6,5,-12,10,-15r43,-17r0,-66v0,-44,36,-80,81,-80r28,0r0,31r-28,0v-28,0,-50,22,-50,49r0,85r-31,13r31,12r0,85v0,27,22,50,50,50r28,0r0,31r-28,0v-45,0,-81,-37,-81,-81r0,-65r-43,-18v-5,-3,-10,-8,-10,-14","w":189},"|":{"d":"71,-303r-31,0r0,357r31,0r0,-357","w":110},"}":{"d":"180,-124v0,6,-4,11,-9,14r-44,18r0,65v0,44,-35,81,-80,81r-29,0r0,-31r29,0v28,0,50,-23,50,-50r0,-85r30,-12r-30,-13r0,-85v0,-27,-22,-49,-50,-49r-29,0r0,-31r29,0v45,0,80,36,80,80r0,66r44,17v5,3,9,9,9,15","w":189},"~":{"d":"155,-99v-5,-12,-10,-22,-18,-22r-35,0v-4,0,-12,5,-17,19r-12,32r-39,0r13,-32v11,-27,23,-54,55,-54r36,0v26,0,40,21,45,36v5,12,10,22,18,22r35,0v4,0,12,-5,17,-19r12,-32r39,0r-13,32v-11,27,-23,54,-55,54r-36,0v-26,0,-40,-21,-45,-36","w":338},"'":{"d":"61,-166r-30,0r0,-82r30,0r0,82","w":91},"`":{"d":"124,-237r34,0r-31,-56r-34,0","w":282},"\u00a0":{"w":180}}});

/**
 * SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 */
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;

function loadScreen(obj,path) {
	$('#tab-2 ul li a').removeClass('active');
	$(obj).addClass("active");
	$('#player').fadeOut(300, function() {
		$('#player').html('<img src="/images/screens/' + path + '" width="630" height="361" />');
	});
	$('#player').fadeIn();
	return false;
}

function loadPlayer(obj,vidPath) {
	$('#tab-1 ul li').removeClass('active');
	$(obj).parent().addClass("active");
	$('#player').fadeOut(300, function() {	
		var so = new SWFObject('/player.swf','mpl','630','361','9');
		so.addParam('allowscriptaccess','always');
		so.addParam('allowfullscreen','true');
		so.addParam('wmode', 'opaque');
		so.addParam('flashvars','&file='+ vidPath +'&skin=stylish_slim.swf&controlbar=over&autostart=true');
		so.write('player');
	});
	$('#player').fadeIn();
	return false;

}

function goto() {
	if (!document.getElementById('url')) return;
		var si = document.getElementById('url').selectedIndex;
		location.href = document.getElementById('url').options[si].value;
}

$(function() {

	$("#tabs").tabs();
	//$("#tabs").tabs({ fx: { opacity: 'toggle' } });
	
	$('.side li ul').css('display','none');
	$('.side li.active ul').css('display','block');
	
	$('ul.side li:not(.active)').hoverIntent(
		function() { $('ul', this).slideDown(); },
		function() { $('ul', this).slideUp(); }
	);
	
	$('#nav .dropdown').css('display','none');
	$('#nav li').hoverIntent(
		function() { $('ul.dropdown', this).slideDown(300); },
		function() { $('ul.dropdown', this).slideUp(); }
	);
	
	$('a#nav-register').parent().hoverIntent(
		function() { $('#dd-register', this).slideDown(300); },
		function() { $('#dd-register', this).slideUp(); }
	);
	
	$.localScroll();
	
	$("a[rel^='prettyPhoto']").prettyPhoto({
		animationSpeed: 'normal', /* fast/slow/normal */
		padding: 40, /* padding for each side of the picture */
		opacity: 0.35, /* Value betwee 0 and 1 */
		showTitle: true, /* true/false */
		allowresize: true, /* true/false */
		counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
		theme: 'dark_rounded', /* light_rounded / dark_rounded / light_square / dark_square */
		callback: function(){}
	});
	
	Cufon('h2')('.inner h3');
	
});