function hide_submit_button(obj,message){$(obj).siblings('input:submit').hide();$(obj).hide();$(message).insertAfter(obj)}
function disable_submit_button(obj){$(obj).siblings('input:submit').attr("disabled","disabled");$(obj).attr("disabled","disabled");$("#edit-hide-submit-fake-op").attr("name","op");$("#edit-hide-submit-fake-op").attr("value",$(obj).attr("value"));$(obj).parents("form").submit()};$(document).ready(function(){var settings=Drupal.settings.hide_submit;if(settings.dbg){$('input:submit').css({border:'6px red solid'});$(settings.selector).css({border:'6px green solid'})};if(settings.mode=='hide'){jQuery("<img>").attr("src",settings.image);$(settings.selector).click(function(){hide_submit_button(this,settings.message)});if(settings.keypress)$(settings.selector).keypress(function(){$(this).parents("form").submit();hide_submit_button(this,settings.message)})}else{$(settings.selector).click(function(){disable_submit_button(this)});if(settings.keypress)$(settings.selector).keypress(function(){disable_submit_button(this)})}});
function parse_url(url,param){param=param.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");url=url.replace(/&amp;/,"&");var regexS="[\\?&]"+param+"=([^&#]*)",regex=new RegExp(regexS),results=regex.exec(url);if(results===null){return""}else return results[1]}
function lightbox2_init_triggers(classes,rel_type,custom_class){if(classes==''||rel_type==0)return;var settings=Drupal.settings.lightbox2,link_target="";if(settings.node_link_target!==0)link_target='target="'+settings.node_link_target+'"';$(".node a[href*='.jpg']:has("+classes+"), .node a[href*='.gif']:has("+classes+"), .node a[href*='.png']:has("+classes+"), .view:not([class*=cycle],[class*=slide],[class*=manage_images]) a:has("+classes+")").each(function(i){if((!settings.disable_for_gallery_lists&&!settings.disable_for_acidfree_gallery_lists)||(!$(this).parents("td.giAlbumCell").attr("class")&&!$(this).parents(".galleries").length&&!$(this).parents(".acidfree-folder").length&&!$(this).parents(".acidfree-list").length)||($(this).parents(".galleries").length&&!settings.disable_for_gallery_lists)||(($(this).parents(".acidfree-folder").length||$(this).parents(".acidfree-list").length)&&!settings.disable_for_acidfree_gallery_lists)){var child=$(this).find(classes);if($(child).attr("class")&&!$(this).parents("div.acidfree-video").length){var alt=$(child).attr("alt");if(!alt)alt="";var link_text=settings.node_link_text,download_link_text=settings.download_link_text,rewrite=1,rel="lightbox",lightframe=false;if(rel_type=="lightframe_ungrouped"){rel="lightframe[]";lightframe=true}else if(rel_type=="lightframe"){lightframe=true}else if(rel_type=="lightbox_ungrouped")rel="lightbox[]";if(rel_type!="lightbox_ungrouped"&&rel_type!="lightframe_ungrouped")rel=rel_type+"["+$(child).attr("class")+"]";var id=null,href=$(child).attr("src"),download=null,orig_href=$(this).attr("href"),pattern=new RegExp(settings.file_path);if(orig_href.match(pattern)){var lang_pattern=new RegExp(Drupal.settings.basePath+"\\w\\w\\/");orig_href=orig_href.replace(lang_pattern,Drupal.settings.basePath)};var frame_href=orig_href;if($(child).attr("class").match("flickr-photo-img")||$(child).attr("class").match("flickr-photoset-img")){href=$(child).attr("src").replace("_s.",".").replace("_t.",".").replace("_m.",".").replace("_b.",".");if(rel_type!="lightbox_ungrouped"&&rel_type!="lightframe_ungrouped"){rel=rel_type+"[flickr]";if($(child).parents("div.block-flickr").attr("class")){id=$(child).parents("div.block-flickr").attr("id");rel=rel_type+"["+id+"]"}};download=href}else if($(child).filter("img[class*=img_assist_custom]").size()){if(settings.display_image_size!="original"){orig_href=orig_href.replace(/\+/," ");href=$(child).attr("src").replace(new RegExp("\\.img_assist_custom-[0-9]+x[0-9]+"),((settings.display_image_size==="")?settings.display_image_size:"."+settings.display_image_size));if(rel_type!="lightbox_ungrouped"&&rel_type!="lightframe_ungrouped")rel=rel_type+"[node_images]";if(lightframe)frame_href=orig_href+"/lightbox2"}else rewrite=0}else if($(child).attr("class").match("inline")){href=orig_href}else if($(child).attr("class").match("ImageFrame_image")||$(child).attr("class").match("ImageFrame_none")){var thumb_id=parse_url(href,"g2_itemId"),new_id=parse_url(orig_href,"g2_itemId");if(new_id&&thumb_id){var g2pattern=new RegExp("g2_itemId="+thumb_id),replacement="g2_itemId="+new_id;href=href.replace(g2pattern,replacement)};rel=rel_type+"[gallery2]";if($(child).parents("div.block-gallery").attr("class")){id=$(child).parents("div.block-gallery").attr("id");rel=rel_type+"["+id+"]"};download=href}else if(settings.image_node_sizes!='()'&&!custom_class)if(settings.display_image_size!="original"){href=$(child).attr("src").replace(new RegExp(settings.image_node_sizes),((settings.display_image_size==="")?settings.display_image_size:"."+settings.display_image_size)).replace(/(image\/view\/\d+)(\/[\w\-]*)/,((settings.display_image_size==="")?"$1/_original":"$1/"+settings.display_image_size));if(rel_type!="lightbox_ungrouped"&&rel_type!="lightframe_ungrouped"){rel=rel_type+"[node_images]";if($(child).parents("div.block-multiblock,div.block-image").attr("class")){id=$(child).parents("div.block-multiblock,div.block-image").attr("id");rel=rel_type+"["+id+"]"}};download=$(child).attr("src").replace(new RegExp(settings.image_node_sizes),"").replace(/(image\/view\/\d+)(\/[\w\-]*)/,"$1/_original");if(lightframe)frame_href=orig_href+"/lightbox2"}else rewrite=0;var img_title=$(child).attr("title");if(!img_title){img_title=$(this).attr("title");if(!img_title)img_title=$(child).attr("alt");$(child).attr({title:img_title})};if(lightframe)href=frame_href;if(rewrite)if(!custom_class){var title_link="";if(link_text.length)title_link="<br /><br /><a href=\""+orig_href+"\" id=\"lightbox2-node-link-text\" "+link_target+" >"+link_text+"</a>";if(download_link_text.length&&download)title_link=title_link+" - <a href=\""+download+"\" id=\"lightbox2-download-link-text\" target=\"_blank\">"+download_link_text+"</a>";rel=rel+"["+img_title+title_link+"]";$(this).attr({rel:rel,href:href})}else{if(rel_type!="lightbox_ungrouped"&&rel_type!="lightframe_ungrouped"){rel=rel_type+"["+$(child).attr("class")+"]";if($(child).parents("div.block-image").attr("class")){id=$(child).parents("div.block-image").attr("id");rel=rel_type+"["+id+"]"}};rel=rel+"["+img_title+"]";$(this).attr({rel:rel,href:orig_href})}}}})}
function lightbox2_init_acidfree_video(){var settings=Drupal.settings.lightbox2,link_target="";if(settings.node_link_target!==0)link_target='target="'+settings.node_link_target+'"';var link_text=settings.node_link_text,rel="lightframe";$("div.acidfree-video a").each(function(i){if(!settings.disable_for_acidfree_gallery_lists||(!$(this).parents(".acidfree-folder").length&&!$(this).parents(".acidfree-list").length)||(($(this).parents(".acidfree-folder").length||$(this).parents(".acidfree-list").length)&&!settings.disable_for_acidfree_gallery_lists)){var orig_href=$(this).attr("href"),href=orig_href+"/lightframevideo",title=$(this).attr("title"),title_link="";if(link_text.length)title_link="<br /><a href=\""+orig_href+"\" id=\"lightbox2-node-link-text\" "+link_target+" >"+link_text+"</a>";$(this).attr({rel:rel,title:title+title_link,href:href})}})}
function lightbox2_image_nodes(){var settings=Drupal.settings.lightbox2,img_assist=document.getElementById("img_assist_thumbs");if(!img_assist){lightbox2_init_triggers(settings.trigger_lightbox_classes,"lightbox_ungrouped");lightbox2_init_triggers(settings.custom_trigger_classes,settings.custom_class_handler,true);lightbox2_init_triggers(settings.trigger_lightbox_group_classes,"lightbox");lightbox2_init_triggers(settings.trigger_slideshow_classes,"lightshow");lightbox2_init_triggers(settings.trigger_lightframe_classes,"lightframe_ungrouped");lightbox2_init_triggers(settings.trigger_lightframe_group_classes,"lightframe");if(settings.enable_acidfree_videos)lightbox2_init_acidfree_video()}};Drupal.behaviors.initAutoLightbox=function(context){lightbox2_image_nodes()};
var Lightvideo={startVideo:function(href){if(Lightvideo.checkKnownVideos(href)){return}else if(href.match(/\.mov$/i)){if(navigator.plugins&&navigator.plugins.length){Lightbox.modalHTML='<object id="qtboxMovie" type="video/quicktime" codebase="http://www.apple.com/qtactivex/qtplugin.cab" data="'+href+'" width="'+Lightbox.modalWidth+'" height="'+Lightbox.modalHeight+'"><param name="allowFullScreen" value="true"></param><param name="src" value="'+href+'" /><param name="scale" value="aspect" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="bgcolor" value="#000000" /><param name="enablejavascript" value="true" /></object>'}else Lightbox.modalHTML='<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="'+Lightbox.modalWidth+'" height="'+Lightbox.modalHeight+'" id="qtboxMovie"><param name="allowFullScreen" value="true"></param><param name="src" value="'+href+'" /><param name="scale" value="aspect" /><param name="controller" value="true" /><param name="autoplay" value="true" /><param name="bgcolor" value="#000000" /><param name="enablejavascript" value="true" /></object>'}else if(href.match(/\.wmv$/i)||href.match(/\.asx$/i)){Lightbox.modalHTML='<object NAME="Player" WIDTH="'+Lightbox.modalWidth+'" HEIGHT="'+Lightbox.modalHeight+'" align="left" hspace="0" type="application/x-oleobject" CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"><param name="allowFullScreen" value="true"></param><param NAME="URL" VALUE="'+href+'"></param><param NAME="AUTOSTART" VALUE="true"></param><param name="showControls" value="true"></param><embed WIDTH="'+Lightbox.modalWidth+'" HEIGHT="'+Lightbox.modalHeight+'" align="left" hspace="0" SRC="'+href+'" TYPE="application/x-oleobject" AUTOSTART="false"></embed></object>'}else{Lightbox.videoId=href;variables='';if(!href.match(/\.swf$/i)){href=Lightbox.flvPlayer+'?file='+href;if(Lightbox.flvFlashvars.length)variables=Lightbox.flvFlashvars};Lightvideo.createEmbed(href,"flvplayer","#ffffff",variables)}},createEmbed:function(href,id,color,variables){var bgcolor='bgcolor="'+color+'"',flashvars='';if(variables)flashvars='flashvars="'+variables+'"';Lightbox.modalHTML='<embed type="application/x-shockwave-flash" src="'+href+'" id="'+id+'" name="'+id+'" '+bgcolor+' quality="high" wmode="transparent" '+flashvars+' height="'+Lightbox.modalHeight+'" width="'+Lightbox.modalWidth+'" allowfullscreen="true" ></embed>'},checkKnownVideos:function(href){if(Lightvideo.checkYouTubeVideo(href)||Lightvideo.checkGoogleVideo(href)||Lightvideo.checkMySpaceVideo(href)||Lightvideo.checkLiveVideo(href)||Lightvideo.checkMetacafeVideo(href)||Lightvideo.checkIFilmSpikeVideo(href))return true;return false},checkYouTubeVideo:function(href){var patterns=['youtube.com/v/([^"&]+)','youtube.com/watch\\?v=([^"&]+)','youtube.com/\\?v=([^"&]+)'];for(var i=0;i<patterns.length;i++){var pattern=new RegExp(patterns[i],"i"),results=pattern.exec(href);if(results!==null){Lightbox.videoId=results[1];var href="http://www.youtube.com/v/"+Lightbox.videoId,variables='fs=1';if(Lightbox.flvFlashvars.length){variables=variables+'&'+Lightbox.flvFlashvars;href=href+'&'+variables};Lightvideo.createEmbed(href,"flvvideo","#ffffff",variables);return true}};return false},checkGoogleVideo:function(href){var patterns=['http://video.google.[a-z]{2,4}/googleplayer.swf\\?docId=(-?\\d*)','http://video.google.[a-z]{2,4}/videoplay\\?docid=([^&]*)&','http://video.google.[a-z]{2,4}/videoplay\\?docid=(.*)'];for(var i=0;i<patterns.length;i++){var pattern=new RegExp(patterns[i],"i"),results=pattern.exec(href);if(results!==null){Lightbox.videoId=results[1];var href="http://video.google.com/googleplayer.swf?docId="+Lightbox.videoId+"&hl=en",variables='fs=true';if(Lightbox.flvFlashvars.length){variables=variables+'&'+Lightbox.flvFlashvars;href=href+'&'+variables};Lightvideo.createEmbed(href,"flvvideo","#ffffff",variables);return true}};return false},checkMetacafeVideo:function(href){var patterns=['metacafe.com/watch/(\.[^/]*)/(\.[^/]*)/','metacafe.com/watch/(\.[^/]*)/(\.*)','metacafe.com/fplayer/(\.[^/]*)/(\.[^.]*).'];for(var i=0;i<patterns.length;i++){var pattern=new RegExp(patterns[i],"i"),results=pattern.exec(href);if(results!==null){Lightbox.videoId=results[1];Lightvideo.createEmbed("http://www.metacafe.com/fplayer/"+Lightbox.videoId+"/.swf","flvvideo","#ffffff");return true}};return false},checkIFilmSpikeVideo:function(href){var patterns=['spike.com/video/[^/&"]*?/(\\d+)','ifilm.com/video/[^/&"]*?/(\\d+)','spike.com/video/([^/&"]*)','ifilm.com/video/([^/&"]*)'];for(var i=0;i<patterns.length;i++){var pattern=new RegExp(patterns[i],"i"),results=pattern.exec(href);if(results!==null){Lightbox.videoId=results[1];Lightvideo.createEmbed("http://www.spike.com/efp","flvvideo","#000","flvbaseclip="+Lightbox.videoId+"&amp;");return true}};return false},checkMySpaceVideo:function(href){var patterns=['src="myspace.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)','myspace.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)','src="myspacetv.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)"','myspacetv.com/index.cfm\\?fuseaction=vids.individual&videoid=([^&"]+)'];for(var i=0;i<patterns.length;i++){var pattern=new RegExp(patterns[i],"i"),results=pattern.exec(href);if(results!==null){Lightbox.videoId=results[1];Lightvideo.createEmbed("http://lads.myspace.com/videos/vplayer.swf","flvvideo","#ffffff","m="+Lightbox.videoId);return true}};return false},checkLiveVideo:function(href){var patterns=['livevideo.com/flvplayer/embed/([^"]*)"','livevideo.com/video/[^/]*?/([^/]*)/','livevideo.com/video/([^/]*)/'];for(var i=0;i<patterns.length;i++){var pattern=new RegExp(patterns[i],"i"),results=pattern.exec(href);if(results!==null){Lightbox.videoId=results[1];Lightvideo.createEmbed("http://www.livevideo.com/flvplayer/embed/"+Lightbox.videoId,"flvvideo","#ffffff");return true}};return false}};
var Lightbox={auto_modal:false,overlayOpacity:0.8,overlayColor:'000',disableCloseClick:true,resizeSequence:0,resizeSpeed:'normal',fadeInSpeed:'normal',slideDownSpeed:'slow',minWidth:240,borderSize:10,boxColor:'fff',fontColor:'000',topPosition:'',infoHeight:20,alternative_layout:false,imageArray:[],imageNum:null,total:0,activeImage:null,inprogress:false,disableResize:false,disableZoom:false,isZoomedIn:false,rtl:false,loopItems:false,keysClose:['c','x',27],keysPrevious:['p',37],keysNext:['n',39],keysZoom:['z'],keysPlayPause:[32],slideInterval:5000,showPlayPause:true,autoStart:true,autoExit:true,pauseOnNextClick:false,pauseOnPrevClick:true,slideIdArray:[],slideIdCount:0,isSlideshow:false,isPaused:false,loopSlides:false,isLightframe:false,iframe_width:600,iframe_height:400,iframe_border:1,enableVideo:false,flvPlayer:'/flvplayer.swf',flvFlashvars:'',isModal:false,isVideo:false,videoId:false,modalWidth:400,modalHeight:400,modalHTML:null,initialize:function(){var s=Drupal.settings.lightbox2;Lightbox.overlayOpacity=s.overlay_opacity;Lightbox.overlayColor=s.overlay_color;Lightbox.disableCloseClick=s.disable_close_click;Lightbox.resizeSequence=s.resize_sequence;Lightbox.resizeSpeed=s.resize_speed;Lightbox.fadeInSpeed=s.fade_in_speed;Lightbox.slideDownSpeed=s.slide_down_speed;Lightbox.borderSize=s.border_size;Lightbox.boxColor=s.box_color;Lightbox.fontColor=s.font_color;Lightbox.topPosition=s.top_position;Lightbox.rtl=s.rtl;Lightbox.loopItems=s.loop_items;Lightbox.keysClose=s.keys_close.split(" ");Lightbox.keysPrevious=s.keys_previous.split(" ");Lightbox.keysNext=s.keys_next.split(" ");Lightbox.keysZoom=s.keys_zoom.split(" ");Lightbox.keysPlayPause=s.keys_play_pause.split(" ");Lightbox.disableResize=s.disable_resize;Lightbox.disableZoom=s.disable_zoom;Lightbox.slideInterval=s.slideshow_interval;Lightbox.showPlayPause=s.show_play_pause;Lightbox.showCaption=s.show_caption;Lightbox.autoStart=s.slideshow_automatic_start;Lightbox.autoExit=s.slideshow_automatic_exit;Lightbox.pauseOnNextClick=s.pause_on_next_click;Lightbox.pauseOnPrevClick=s.pause_on_previous_click;Lightbox.loopSlides=s.loop_slides;Lightbox.alternative_layout=s.use_alt_layout;Lightbox.iframe_width=s.iframe_width;Lightbox.iframe_height=s.iframe_height;Lightbox.iframe_border=s.iframe_border;Lightbox.enableVideo=s.enable_video;if(s.enable_video){Lightbox.flvPlayer=s.flvPlayer;Lightbox.flvFlashvars=s.flvFlashvars};var layout_class=(s.use_alt_layout?'lightbox2-alt-layout':'lightbox2-orig-layout'),output='<div id="lightbox2-overlay" style="display: none;"></div>\
      <div id="lightbox" style="display: none;" class="'+layout_class+'">\
        <div id="outerImageContainer"></div>\
        <div id="imageDataContainer" class="clearfix">\
          <div id="imageData"></div>\
        </div>\
      </div>',loading='<div id="loading"><a href="#" id="loadingLink"></a></div>',modal='<div id="modalContainer" style="display: none;"></div>',frame='<div id="frameContainer" style="display: none;"></div>',imageContainer='<div id="imageContainer" style="display: none;"></div>',details='<div id="imageDetails"></div>',bottomNav='<div id="bottomNav"></div>',image='<img id="lightboxImage" alt="" />',hoverNav='<div id="hoverNav"><a id="prevLink" href="#"></a><a id="nextLink" href="#"></a></div>',frameNav='<div id="frameHoverNav"><a id="framePrevLink" href="#"></a><a id="frameNextLink" href="#"></a></div>',hoverNav='<div id="hoverNav"><a id="prevLink" title="'+Drupal.t('Previous')+'" href="#"></a><a id="nextLink" title="'+Drupal.t('Next')+'" href="#"></a></div>',frameNav='<div id="frameHoverNav"><a id="framePrevLink" title="'+Drupal.t('Previous')+'" href="#"></a><a id="frameNextLink" title="'+Drupal.t('Next')+'" href="#"></a></div>',caption='<span id="caption"></span>',numberDisplay='<span id="numberDisplay"></span>',close='<a id="bottomNavClose" title="'+Drupal.t('Close')+'" href="#"></a>',zoom='<a id="bottomNavZoom" href="#"></a>',zoomOut='<a id="bottomNavZoomOut" href="#"></a>',pause='<a id="lightshowPause" title="'+Drupal.t('Pause Slideshow')+'" href="#" style="display: none;"></a>',play='<a id="lightshowPlay" title="'+Drupal.t('Play Slideshow')+'" href="#" style="display: none;"></a>';$("body").append(output);$('#outerImageContainer').append(modal+frame+imageContainer+loading);if(!s.use_alt_layout){$('#imageContainer').append(image+hoverNav);$('#imageData').append(details+bottomNav);$('#imageDetails').append(caption+numberDisplay);$('#bottomNav').append(frameNav+close+zoom+zoomOut+pause+play)}else{$('#outerImageContainer').append(bottomNav);$('#imageContainer').append(image);$('#bottomNav').append(close+zoom+zoomOut);$('#imageData').append(hoverNav+details);$('#imageDetails').append(caption+numberDisplay+pause+play)};if(Lightbox.disableCloseClick)$('#lightbox2-overlay').click(function(){Lightbox.end();return false}).hide();$('#loadingLink, #bottomNavClose').click(function(){Lightbox.end('forceClose');return false});$('#prevLink, #framePrevLink').click(function(){Lightbox.changeData(Lightbox.activeImage-1);return false});$('#nextLink, #frameNextLink').click(function(){Lightbox.changeData(Lightbox.activeImage+1);return false});$('#bottomNavZoom').click(function(){Lightbox.changeData(Lightbox.activeImage,true);return false});$('#bottomNavZoomOut').click(function(){Lightbox.changeData(Lightbox.activeImage,false);return false});$('#lightshowPause').click(function(){Lightbox.togglePlayPause("lightshowPause","lightshowPlay");return false});$('#lightshowPlay').click(function(){Lightbox.togglePlayPause("lightshowPlay","lightshowPause");return false});$('#prevLink, #nextLink, #framePrevLink, #frameNextLink').css({paddingTop:Lightbox.borderSize+'px'});$('#imageContainer, #frameContainer, #modalContainer').css({padding:Lightbox.borderSize+'px'});$('#outerImageContainer, #imageDataContainer, #bottomNavClose').css({backgroundColor:'#'+Lightbox.boxColor,color:'#'+Lightbox.fontColor});if(Lightbox.alternative_layout){$('#bottomNavZoom, #bottomNavZoomOut').css({bottom:Lightbox.borderSize+'px',right:Lightbox.borderSize+'px'})}else if(Lightbox.rtl==1&&$.browser.msie)$('#bottomNavZoom, #bottomNavZoomOut').css({left:'0px'});if(s.force_show_nav)$('#prevLink, #nextLink').addClass("force_show_nav")},initList:function(context){if(context==undefined||context==null)context=document;$("a[rel^='lightbox']:not(.lightbox-processed), area[rel^='lightbox']:not(.lightbox-processed)",context).addClass('lightbox-processed').click(function(e){if(Lightbox.disableCloseClick){$('#lightbox').unbind('click');$('#lightbox').click(function(){Lightbox.end('forceClose')})};Lightbox.start(this,false,false,false,false);if(e.preventDefault)e.preventDefault();return false});$("a[rel^='lightshow']:not(.lightbox-processed), area[rel^='lightshow']:not(.lightbox-processed)",context).addClass('lightbox-processed').click(function(e){if(Lightbox.disableCloseClick){$('#lightbox').unbind('click');$('#lightbox').click(function(){Lightbox.end('forceClose')})};Lightbox.start(this,true,false,false,false);if(e.preventDefault)e.preventDefault();return false});$("a[rel^='lightframe']:not(.lightbox-processed), area[rel^='lightframe']:not(.lightbox-processed)",context).addClass('lightbox-processed').click(function(e){if(Lightbox.disableCloseClick){$('#lightbox').unbind('click');$('#lightbox').click(function(){Lightbox.end('forceClose')})};Lightbox.start(this,false,true,false,false);if(e.preventDefault)e.preventDefault();return false});if(Lightbox.enableVideo)$("a[rel^='lightvideo']:not(.lightbox-processed), area[rel^='lightvideo']:not(.lightbox-processed)",context).addClass('lightbox-processed').click(function(e){if(Lightbox.disableCloseClick){$('#lightbox').unbind('click');$('#lightbox').click(function(){Lightbox.end('forceClose');window.location.reload()})};Lightbox.start(this,false,false,true,false);if(e.preventDefault)e.preventDefault();return false});$("a[rel^='lightmodal']:not(.lightbox-processed), area[rel^='lightmodal']:not(.lightbox-processed)",context).addClass('lightbox-processed').click(function(e){$('#lightbox').unbind('click');$('#lightbox').addClass($(this).attr('class'));$('#lightbox').removeClass('lightbox-processed');Lightbox.start(this,false,false,false,true);if(e.preventDefault)e.preventDefault();return false});$("#lightboxAutoModal:not(.lightbox-processed)",context).addClass('lightbox-processed').click(function(e){Lightbox.auto_modal=true;$('#lightbox').unbind('click');Lightbox.start(this,false,false,false,true);if(e.preventDefault)e.preventDefault();return false})},start:function(imageLink,slideshow,lightframe,lightvideo,lightmodal){Lightbox.isPaused=!Lightbox.autoStart;Lightbox.toggleSelectsFlash('hide');var arrayPageSize=Lightbox.getPageSize();$("#lightbox2-overlay").hide().css({width:'100%',zIndex:'10090',height:arrayPageSize[1]+'px',backgroundColor:'#'+Lightbox.overlayColor});if(lightvideo&&this.detectMacFF2()){$("#lightbox2-overlay").removeClass("overlay_default");$("#lightbox2-overlay").addClass("overlay_macff2");$("#lightbox2-overlay").css({opacity:null})}else{$("#lightbox2-overlay").removeClass("overlay_macff2");$("#lightbox2-overlay").addClass("overlay_default");$("#lightbox2-overlay").css({opacity:Lightbox.overlayOpacity})};$("#lightbox2-overlay").fadeIn(Lightbox.fadeInSpeed);Lightbox.isSlideshow=slideshow;Lightbox.isLightframe=lightframe;Lightbox.isVideo=lightvideo;Lightbox.isModal=lightmodal;Lightbox.imageArray=[];Lightbox.imageNum=0;var anchors=$(imageLink.tagName),anchor=null,rel_parts=Lightbox.parseRel(imageLink),rel=rel_parts.rel,rel_group=rel_parts.group,title=(rel_parts.title?rel_parts.title:imageLink.title),rel_style=null,i=0;if(rel_parts.flashvars)Lightbox.flvFlashvars=Lightbox.flvFlashvars+'&'+rel_parts.flashvars;var alt=imageLink.title;if(!alt){var img=$(imageLink).find("img");if(img&&$(img).attr("alt")){alt=$(img).attr("alt")}else alt=title};if($(imageLink).attr('id')=='lightboxAutoModal'){rel_style=rel_parts.style;Lightbox.imageArray.push(['#lightboxAutoModal > *',title,alt,rel_style,1])}else if((rel=='lightbox'||rel=='lightshow')&&!rel_group){Lightbox.imageArray.push([imageLink.href,title,alt])}else if(!rel_group){rel_style=rel_parts.style;Lightbox.imageArray.push([imageLink.href,title,alt,rel_style])}else{for(i=0;i<anchors.length;i++){anchor=anchors[i];if(anchor.href&&typeof (anchor.href)=="string"&&$(anchor).attr('rel')){var rel_data=Lightbox.parseRel(anchor),anchor_title=(rel_data.title?rel_data.title:anchor.title);img_alt=anchor.title;if(!img_alt){var anchor_img=$(anchor).find("img");if(anchor_img&&$(anchor_img).attr("alt")){img_alt=$(anchor_img).attr("alt")}else img_alt=title};if(rel_data.rel==rel)if(rel_data.group==rel_group){if(Lightbox.isLightframe||Lightbox.isModal||Lightbox.isVideo)rel_style=rel_data.style;Lightbox.imageArray.push([anchor.href,anchor_title,img_alt,rel_style])}}};for(i=0;i<Lightbox.imageArray.length;i++)for(j=Lightbox.imageArray.length-1;j>i;j--)if(Lightbox.imageArray[i][0]==Lightbox.imageArray[j][0])Lightbox.imageArray.splice(j,1);while(Lightbox.imageArray[Lightbox.imageNum][0]!=imageLink.href)Lightbox.imageNum++};if(Lightbox.isSlideshow&&Lightbox.showPlayPause&&Lightbox.isPaused){$('#lightshowPlay').show();$('#lightshowPause').hide()};var arrayPageScroll=Lightbox.getPageScroll(),lightboxTop=arrayPageScroll[1]+(Lightbox.topPosition==''?(arrayPageSize[3]/10):Lightbox.topPosition)*1,lightboxLeft=arrayPageScroll[0];$('#frameContainer, #modalContainer, #lightboxImage').hide();$('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide();$('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide();$('#outerImageContainer').css({width:'250px',height:'250px'});$('#lightbox').css({zIndex:'10500',top:lightboxTop+'px',left:lightboxLeft+'px'}).show();Lightbox.total=Lightbox.imageArray.length;Lightbox.changeData(Lightbox.imageNum)},changeData:function(imageNum,zoomIn){if(Lightbox.inprogress===false){if(Lightbox.total>1&&((Lightbox.isSlideshow&&Lightbox.loopSlides)||(!Lightbox.isSlideshow&&Lightbox.loopItems))){if(imageNum>=Lightbox.total)imageNum=0;if(imageNum<0)imageNum=Lightbox.total-1};if(Lightbox.isSlideshow)for(var i=0;i<Lightbox.slideIdCount;i++)window.clearTimeout(Lightbox.slideIdArray[i]);Lightbox.inprogress=true;Lightbox.activeImage=imageNum;if(Lightbox.disableResize&&!Lightbox.isSlideshow)zoomIn=true;Lightbox.isZoomedIn=zoomIn;$('#loading').css({zIndex:'10500'}).show();if(!Lightbox.alternative_layout)$('#imageContainer').hide();$('#frameContainer, #modalContainer, #lightboxImage').hide();$('#hoverNav, #prevLink, #nextLink, #frameHoverNav, #framePrevLink, #frameNextLink').hide();$('#imageDataContainer, #numberDisplay, #bottomNavZoom, #bottomNavZoomOut').hide();if(!Lightbox.isLightframe&&!Lightbox.isVideo&&!Lightbox.isModal){$("#lightbox #imageDataContainer").removeClass('lightbox2-alt-layout-data');imgPreloader=new Image();imgPreloader.onerror=function(){Lightbox.imgNodeLoadingError(this)};imgPreloader.onload=function(){var photo=document.getElementById('lightboxImage');photo.src=Lightbox.imageArray[Lightbox.activeImage][0];photo.alt=Lightbox.imageArray[Lightbox.activeImage][2];var imageWidth=imgPreloader.width,imageHeight=imgPreloader.height,arrayPageSize=Lightbox.getPageSize(),targ={w:arrayPageSize[2]-(Lightbox.borderSize*2),h:arrayPageSize[3]-(Lightbox.borderSize*6)-(Lightbox.infoHeight*4)-(arrayPageSize[3]/10)},orig={w:imgPreloader.width,h:imgPreloader.height};if(zoomIn!==true){var ratio=1.0;$('#bottomNavZoomOut, #bottomNavZoom').hide();if((orig.w>=targ.w||orig.h>=targ.h)&&orig.h&&orig.w){ratio=((targ.w/orig.w)<(targ.h/orig.h))?targ.w/orig.w:targ.h/orig.h;if(!Lightbox.disableZoom&&!Lightbox.isSlideshow)$('#bottomNavZoom').css({zIndex:'10500'}).show()};imageWidth=Math.floor(orig.w*ratio);imageHeight=Math.floor(orig.h*ratio)}else{$('#bottomNavZoom').hide();if((orig.w>=targ.w||orig.h>=targ.h)&&orig.h&&orig.w)if(!Lightbox.disableResize&&Lightbox.isSlideshow===false&&!Lightbox.disableZoom)$('#bottomNavZoomOut').css({zIndex:'10500'}).show()};photo.style.width=(imageWidth)+'px';photo.style.height=(imageHeight)+'px';Lightbox.resizeContainer(imageWidth,imageHeight);imgPreloader.onload=function(){}};imgPreloader.src=Lightbox.imageArray[Lightbox.activeImage][0];imgPreloader.alt=Lightbox.imageArray[Lightbox.activeImage][2]}else if(Lightbox.isLightframe){$("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data');var src=Lightbox.imageArray[Lightbox.activeImage][0];$('#frameContainer').html('<iframe id="lightboxFrame" style="display: none;" src="'+src+'"></iframe>');if($.browser.mozilla&&src.indexOf('.swf')!=-1)setTimeout(function(){document.getElementById("lightboxFrame").src=Lightbox.imageArray[Lightbox.activeImage][0]},1000);if(!Lightbox.iframe_border){$('#lightboxFrame').css({border:'none'});$('#lightboxFrame').attr('frameborder','0')};var iframe=document.getElementById('lightboxFrame'),iframeStyles=Lightbox.imageArray[Lightbox.activeImage][3];iframe=Lightbox.setStyles(iframe,iframeStyles);Lightbox.resizeContainer(parseInt(iframe.width,10),parseInt(iframe.height,10))}else if(Lightbox.isVideo||Lightbox.isModal){$("#lightbox #imageDataContainer").addClass('lightbox2-alt-layout-data');var container=document.getElementById('modalContainer'),modalStyles=Lightbox.imageArray[Lightbox.activeImage][3];container=Lightbox.setStyles(container,modalStyles);if(Lightbox.isVideo){Lightbox.modalHeight=parseInt(container.height,10)-10;Lightbox.modalWidth=parseInt(container.width,10)-10;Lightvideo.startVideo(Lightbox.imageArray[Lightbox.activeImage][0])};Lightbox.resizeContainer(parseInt(container.width,10),parseInt(container.height,10))}}},imgNodeLoadingError:function(image){var s=Drupal.settings.lightbox2,original_image=Lightbox.imageArray[Lightbox.activeImage][0];if(s.display_image_size!=="")original_image=original_image.replace(new RegExp("."+s.display_image_size),"");Lightbox.imageArray[Lightbox.activeImage][0]=original_image;image.onerror=function(){Lightbox.imgLoadingError(image)};image.src=original_image},imgLoadingError:function(image){var s=Drupal.settings.lightbox2;Lightbox.imageArray[Lightbox.activeImage][0]=s.default_image;image.src=s.default_image},resizeContainer:function(imgWidth,imgHeight){imgWidth=(imgWidth<Lightbox.minWidth?Lightbox.minWidth:imgWidth);this.widthCurrent=$('#outerImageContainer').width();this.heightCurrent=$('#outerImageContainer').height();var widthNew=(imgWidth+(Lightbox.borderSize*2)),heightNew=(imgHeight+(Lightbox.borderSize*2));this.xScale=(widthNew/this.widthCurrent)*100;this.yScale=(heightNew/this.heightCurrent)*100;wDiff=this.widthCurrent-widthNew;hDiff=this.heightCurrent-heightNew;$('#modalContainer').css({width:imgWidth,height:imgHeight});if(Lightbox.resizeSequence){var animate1={width:widthNew},animate2={height:heightNew};if(Lightbox.resizeSequence==2){animate1={height:heightNew};animate2={width:widthNew}};$('#outerImageContainer').animate(animate1,Lightbox.resizeSpeed).animate(animate2,Lightbox.resizeSpeed,'linear',function(){Lightbox.showData()})}else $('#outerImageContainer').animate({width:widthNew,height:heightNew},Lightbox.resizeSpeed,'linear',function(){Lightbox.showData()});if((hDiff===0)&&(wDiff===0))if($.browser.msie){Lightbox.pause(250)}else Lightbox.pause(100);var s=Drupal.settings.lightbox2;if(!s.use_alt_layout)$('#prevLink, #nextLink').css({height:imgHeight+'px'});$('#imageDataContainer').css({width:widthNew+'px'})},showData:function(){$('#loading').hide();if(Lightbox.isLightframe||Lightbox.isVideo||Lightbox.isModal){Lightbox.updateDetails();if(Lightbox.isLightframe){$('#frameContainer').show();if($.browser.safari||Lightbox.fadeInSpeed===0){$('#lightboxFrame').css({zIndex:'10500'}).show()}else $('#lightboxFrame').css({zIndex:'10500'}).fadeIn(Lightbox.fadeInSpeed)}else if(Lightbox.isVideo){$("#modalContainer").html(Lightbox.modalHTML).click(function(){return false}).css('zIndex','10500').show()}else{var src=unescape(Lightbox.imageArray[Lightbox.activeImage][0]);if(Lightbox.imageArray[Lightbox.activeImage][4]){$(src).appendTo("#modalContainer");$('#modalContainer').css({zIndex:'10500'}).show()}else $("#modalContainer").hide().load(src,function(){$('#modalContainer').css({zIndex:'10500'}).show()});$('#modalContainer').unbind('click')}}else{$('#imageContainer').show();if($.browser.safari||Lightbox.fadeInSpeed===0){$('#lightboxImage').css({zIndex:'10500'}).show()}else $('#lightboxImage').css({zIndex:'10500'}).fadeIn(Lightbox.fadeInSpeed);Lightbox.updateDetails();this.preloadNeighborImages()};Lightbox.inprogress=false;if(Lightbox.isSlideshow){if(!Lightbox.loopSlides&&Lightbox.activeImage==(Lightbox.total-1)){if(Lightbox.autoExit)Lightbox.slideIdArray[Lightbox.slideIdCount++]=setTimeout(function(){Lightbox.end('slideshow')},Lightbox.slideInterval)}else if(!Lightbox.isPaused&&Lightbox.total>1)Lightbox.slideIdArray[Lightbox.slideIdCount++]=setTimeout(function(){Lightbox.changeData(Lightbox.activeImage+1)},Lightbox.slideInterval);if(Lightbox.showPlayPause&&Lightbox.total>1&&!Lightbox.isPaused){$('#lightshowPause').show();$('#lightshowPlay').hide()}else if(Lightbox.showPlayPause&&Lightbox.total>1){$('#lightshowPause').hide();$('#lightshowPlay').show()}};var arrayPageSize=Lightbox.getPageSize(),arrayPageScroll=Lightbox.getPageScroll(),pageHeight=arrayPageSize[1];if(Lightbox.isZoomedIn&&arrayPageSize[1]>arrayPageSize[3]){var lightboxTop=(Lightbox.topPosition==''?(arrayPageSize[3]/10):Lightbox.topPosition)*1;pageHeight=pageHeight+arrayPageScroll[1]+lightboxTop};$('#lightbox2-overlay').css({height:pageHeight+'px',width:arrayPageSize[0]+'px'});if($.browser.mozilla)if(Lightbox.imageArray[Lightbox.activeImage][0].indexOf(".pdf")!=-1)setTimeout(function(){document.getElementById("lightboxFrame").src=Lightbox.imageArray[Lightbox.activeImage][0]},1000)},updateDetails:function(){$("#imageDataContainer").hide();var s=Drupal.settings.lightbox2;if(s.show_caption){var caption=Lightbox.filterXSS(Lightbox.imageArray[Lightbox.activeImage][1]);if(!caption)caption='';$('#caption').html(caption).css({zIndex:'10500'}).show()};var numberDisplay=null;if(s.image_count&&Lightbox.total>1){var currentImage=Lightbox.activeImage+1;if(!Lightbox.isLightframe&&!Lightbox.isModal&&!Lightbox.isVideo){numberDisplay=s.image_count.replace(/\!current/,currentImage).replace(/\!total/,Lightbox.total)}else if(Lightbox.isVideo){numberDisplay=s.video_count.replace(/\!current/,currentImage).replace(/\!total/,Lightbox.total)}else numberDisplay=s.page_count.replace(/\!current/,currentImage).replace(/\!total/,Lightbox.total);$('#numberDisplay').html(numberDisplay).css({zIndex:'10500'}).show()}else $('#numberDisplay').hide();$("#imageDataContainer").hide().slideDown(Lightbox.slideDownSpeed,function(){$("#bottomNav").show()});if(Lightbox.rtl==1)$("#bottomNav").css({'float':'left'});Lightbox.updateNav()},updateNav:function(){$('#hoverNav').css({zIndex:'10500'}).show();var prevLink='#prevLink',nextLink='#nextLink';if(Lightbox.isSlideshow){if((Lightbox.total>1&&Lightbox.loopSlides)||Lightbox.activeImage!==0){$(prevLink).css({zIndex:'10500'}).show().click(function(){if(Lightbox.pauseOnPrevClick)Lightbox.togglePlayPause("lightshowPause","lightshowPlay");Lightbox.changeData(Lightbox.activeImage-1);return false})}else $(prevLink).hide();if((Lightbox.total>1&&Lightbox.loopSlides)||Lightbox.activeImage!=(Lightbox.total-1)){$(nextLink).css({zIndex:'10500'}).show().click(function(){if(Lightbox.pauseOnNextClick)Lightbox.togglePlayPause("lightshowPause","lightshowPlay");Lightbox.changeData(Lightbox.activeImage+1);return false})}else $(nextLink).hide()}else{if((Lightbox.isLightframe||Lightbox.isModal||Lightbox.isVideo)&&!Lightbox.alternative_layout){$('#frameHoverNav').css({zIndex:'10500'}).show();$('#hoverNav').css({zIndex:'10500'}).hide();prevLink='#framePrevLink';nextLink='#frameNextLink'};if((Lightbox.total>1&&Lightbox.loopItems)||Lightbox.activeImage!==0){$(prevLink).css({zIndex:'10500'}).show().unbind().click(function(){Lightbox.changeData(Lightbox.activeImage-1);return false})}else $(prevLink).hide();if((Lightbox.total>1&&Lightbox.loopItems)||Lightbox.activeImage!=(Lightbox.total-1)){$(nextLink).css({zIndex:'10500'}).show().unbind().click(function(){Lightbox.changeData(Lightbox.activeImage+1);return false})}else $(nextLink).hide()};if(!Lightbox.isModal)this.enableKeyboardNav()},enableKeyboardNav:function(){$(document).bind("keydown",this.keyboardAction)},disableKeyboardNav:function(){$(document).unbind("keydown",this.keyboardAction)},keyboardAction:function(e){if(e===null){keycode=event.keyCode;escapeKey=27}else{keycode=e.keyCode;escapeKey=e.DOM_VK_ESCAPE};key=String.fromCharCode(keycode).toLowerCase();if(Lightbox.checkKey(Lightbox.keysClose,key,keycode)){Lightbox.end('forceClose')}else if(Lightbox.checkKey(Lightbox.keysPrevious,key,keycode)){if((Lightbox.total>1&&((Lightbox.isSlideshow&&Lightbox.loopSlides)||(!Lightbox.isSlideshow&&Lightbox.loopItems)))||Lightbox.activeImage!==0)Lightbox.changeData(Lightbox.activeImage-1)}else if(Lightbox.checkKey(Lightbox.keysNext,key,keycode)){if((Lightbox.total>1&&((Lightbox.isSlideshow&&Lightbox.loopSlides)||(!Lightbox.isSlideshow&&Lightbox.loopItems)))||Lightbox.activeImage!=(Lightbox.total-1))Lightbox.changeData(Lightbox.activeImage+1)}else if(Lightbox.checkKey(Lightbox.keysZoom,key,keycode)&&!Lightbox.disableResize&&!Lightbox.disableZoom&&!Lightbox.isSlideshow&&!Lightbox.isLightframe){if(Lightbox.isZoomedIn){Lightbox.changeData(Lightbox.activeImage,false)}else if(!Lightbox.isZoomedIn)Lightbox.changeData(Lightbox.activeImage,true);return false}else if(Lightbox.checkKey(Lightbox.keysPlayPause,key,keycode)&&Lightbox.isSlideshow){if(Lightbox.isPaused){Lightbox.togglePlayPause("lightshowPlay","lightshowPause")}else Lightbox.togglePlayPause("lightshowPause","lightshowPlay");return false}},preloadNeighborImages:function(){if((Lightbox.total-1)>Lightbox.activeImage){preloadNextImage=new Image();preloadNextImage.src=Lightbox.imageArray[Lightbox.activeImage+1][0]};if(Lightbox.activeImage>0){preloadPrevImage=new Image();preloadPrevImage.src=Lightbox.imageArray[Lightbox.activeImage-1][0]}},end:function(caller){var closeClick=(caller=='slideshow'?false:true);if(Lightbox.isSlideshow&&Lightbox.isPaused&&!closeClick)return;if(Lightbox.inprogress===true&&caller!='forceClose')return;Lightbox.disableKeyboardNav();$('#lightbox').hide();$("#lightbox2-overlay").fadeOut();Lightbox.isPaused=true;Lightbox.inprogress=false;Lightbox.toggleSelectsFlash('visible');if(Lightbox.isSlideshow){for(var i=0;i<Lightbox.slideIdCount;i++)window.clearTimeout(Lightbox.slideIdArray[i]);$('#lightshowPause, #lightshowPlay').hide()}else if(Lightbox.isLightframe){$('#frameContainer').empty().hide()}else if(Lightbox.isVideo||Lightbox.isModal){if(!Lightbox.auto_modal)$('#modalContainer').hide().html("");Lightbox.auto_modal=false}},getPageScroll:function(){var xScroll,yScroll;if(self.pageYOffset||self.pageXOffset){yScroll=self.pageYOffset;xScroll=self.pageXOffset}else if(document.documentElement&&(document.documentElement.scrollTop||document.documentElement.scrollLeft)){yScroll=document.documentElement.scrollTop;xScroll=document.documentElement.scrollLeft}else if(document.body){yScroll=document.body.scrollTop;xScroll=document.body.scrollLeft};arrayPageScroll=[xScroll,yScroll];return arrayPageScroll},getPageSize:function(){var xScroll,yScroll;if(window.innerHeight&&window.scrollMaxY){xScroll=window.innerWidth+window.scrollMaxX;yScroll=window.innerHeight+window.scrollMaxY}else if(document.body.scrollHeight>document.body.offsetHeight){xScroll=document.body.scrollWidth;yScroll=document.body.scrollHeight}else{xScroll=document.body.offsetWidth;yScroll=document.body.offsetHeight};var windowWidth,windowHeight;if(self.innerHeight){if(document.documentElement.clientWidth){windowWidth=document.documentElement.clientWidth}else windowWidth=self.innerWidth;windowHeight=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){windowWidth=document.documentElement.clientWidth;windowHeight=document.documentElement.clientHeight}else if(document.body){windowWidth=document.body.clientWidth;windowHeight=document.body.clientHeight};if(yScroll<windowHeight){pageHeight=windowHeight}else pageHeight=yScroll;if(xScroll<windowWidth){pageWidth=xScroll}else pageWidth=windowWidth;arrayPageSize=new Array(pageWidth,pageHeight,windowWidth,windowHeight);return arrayPageSize},pause:function(ms){var date=new Date(),curDate=null;do{curDate=new Date()}while(curDate-date<ms)},toggleSelectsFlash:function(state){if(state=='visible'){$("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").show()}else if(state=='hide'){$("select:visible, embed:visible, object:visible").not('#lightboxAutoModal select, #lightboxAutoModal embed, #lightboxAutoModal object').addClass("lightbox_hidden");$("select.lightbox_hidden, embed.lightbox_hidden, object.lightbox_hidden").hide()}},parseRel:function(link){var parts=[];parts.rel=parts.title=parts.group=parts.style=parts.flashvars=null;if(!$(link).attr('rel'))return parts;parts.rel=$(link).attr('rel').match(/\w+/)[0];if($(link).attr('rel').match(/\[(.*)\]/)){var info=$(link).attr('rel').match(/\[(.*?)\]/)[1].split('|');parts.group=info[0];parts.style=info[1];if(parts.style!=undefined&&parts.style.match(/flashvars:\s?(.*?);/))parts.flashvars=parts.style.match(/flashvars:\s?(.*?);/)[1]};if($(link).attr('rel').match(/\[.*\]\[(.*)\]/))parts.title=$(link).attr('rel').match(/\[.*\]\[(.*)\]/)[1];return parts},setStyles:function(item,styles){item.width=Lightbox.iframe_width;item.height=Lightbox.iframe_height;item.scrolling="auto";if(!styles)return item;var stylesArray=styles.split(';');for(var i=0;i<stylesArray.length;i++)if(stylesArray[i].indexOf('width:')>=0){var w=stylesArray[i].replace('width:','');item.width=jQuery.trim(w)}else if(stylesArray[i].indexOf('height:')>=0){var h=stylesArray[i].replace('height:','');item.height=jQuery.trim(h)}else if(stylesArray[i].indexOf('scrolling:')>=0){var scrolling=stylesArray[i].replace('scrolling:','');item.scrolling=jQuery.trim(scrolling)}else if(stylesArray[i].indexOf('overflow:')>=0){var overflow=stylesArray[i].replace('overflow:','');item.overflow=jQuery.trim(overflow)};return item},togglePlayPause:function(hideId,showId){if(Lightbox.isSlideshow&&hideId=="lightshowPause")for(var i=0;i<Lightbox.slideIdCount;i++)window.clearTimeout(Lightbox.slideIdArray[i]);$('#'+hideId).hide();$('#'+showId).show();if(hideId=="lightshowPlay"){Lightbox.isPaused=false;if(!Lightbox.loopSlides&&Lightbox.activeImage==(Lightbox.total-1)){Lightbox.end()}else if(Lightbox.total>1)Lightbox.changeData(Lightbox.activeImage+1)}else Lightbox.isPaused=true},triggerLightbox:function(rel_type,rel_group){if(rel_type.length)if(rel_group&&rel_group.length){$("a[rel^='"+rel_type+"\["+rel_group+"\]'], area[rel^='"+rel_type+"\["+rel_group+"\]']").eq(0).trigger("click")}else $("a[rel^='"+rel_type+"'], area[rel^='"+rel_type+"']").eq(0).trigger("click")},detectMacFF2:function(){var ua=navigator.userAgent.toLowerCase();if(/firefox[\/\s](\d+\.\d+)/.test(ua)){var ffversion=new Number(RegExp.$1);if(ffversion<3&&ua.indexOf('mac')!=-1)return true};return false},checkKey:function(keys,key,code){return(jQuery.inArray(key,keys)!=-1||jQuery.inArray(String(code),keys)!=-1)},filterXSS:function(str,allowed_tags){var output="";$.ajax({url:Drupal.settings.basePath+'system/lightbox2/filter-xss',data:{string:str,allowed_tags:allowed_tags},type:"POST",async:false,dataType:"json",success:function(data){output=data}});return output}};Drupal.behaviors.initLightbox=function(context){$('body:not(.lightbox-processed)',context).addClass('lightbox-processed').each(function(){Lightbox.initialize();return false});Lightbox.initList(context);$('#lightboxAutoModal',context).triggerHandler('click')};
(function($){Drupal.behaviors.mollomPrivacy=function(context){$('.mollom-privacy a',context).click(function(){this.target='_blank'})};Drupal.behaviors.mollomCaptcha=function(context){$('a.mollom-switch-captcha',context).click(getMollomCaptcha)}
function getMollomCaptcha(){var newCaptchaType=$(this).hasClass('mollom-audio-captcha')?'audio':'image',context=$(this).parents('form'),mollomSessionId=$('input.mollom-session-id',context).val();$.getJSON(Drupal.settings.basePath+'mollom/captcha/'+newCaptchaType+'/'+mollomSessionId,function(data){if(!(data&&data.content))return;$('.mollom-captcha-content',context).parent().html(data.content);$('input.mollom-session-id',context).val(data.session_id);Drupal.attachBehaviors(context);$('input[name="mollom[captcha]"]',context).focus()});return false}})(jQuery);
/** @license

 SoundManager 2: JavaScript Sound for the Web
 ----------------------------------------------
 http://schillmania.com/projects/soundmanager2/

 Copyright (c) 2007, Scott Schiller. All rights reserved.
 Code provided under the BSD License:
 http://schillmania.com/projects/soundmanager2/license.txt

 V2.97a.20110705
*/
(function(X){function L(L,W){function i(b){return function(a){return!this._t||!this._t._a?null:b.call(this,a)}}function oa(){if(b.debugURLParam.test(M))b.debugMode=!0}this.flashVersion=8;this.debugFlash=this.debugMode=!1;this.useConsole=!0;this.waitForWindowLoad=this.consoleOnly=!1;this.nullURL="about:blank";this.allowPolling=!0;this.useFastPolling=!1;this.useMovieStar=!0;this.bgColor="#ffffff";this.useHighPerformance=!1;this.flashPollingInterval=null;this.flashLoadTimeout=1E3;this.wmode=null;this.allowScriptAccess=
"always";this.useHTML5Audio=this.useFlashBlock=!1;this.html5Test=/^probably$/i;this.preferFlash=this.useGlobalHTML5Audio=!0;this.requireFlash=!1;this.audioFormats={mp3:{type:['audio/mpeg; codecs="mp3"',"audio/mpeg","audio/mp3","audio/MPA","audio/mpa-robust"],required:!0},mp4:{related:["aac","m4a"],type:['audio/mp4; codecs="mp4a.40.2"',"audio/aac","audio/x-m4a","audio/MP4A-LATM","audio/mpeg4-generic"],required:!0},ogg:{type:["audio/ogg; codecs=vorbis"],required:!1},wav:{type:['audio/wav; codecs="1"',
"audio/wav","audio/wave","audio/x-wav"],required:!1}};this.defaultOptions={autoLoad:!1,stream:!0,autoPlay:!1,loops:1,onid3:null,onload:null,whileloading:null,onplay:null,onpause:null,onresume:null,whileplaying:null,onstop:null,onfailure:null,onfinish:null,onbeforefinish:null,onbeforefinishtime:5E3,onbeforefinishcomplete:null,onjustbeforefinish:null,onjustbeforefinishtime:200,multiShot:!0,multiShotEvents:!1,position:null,pan:0,type:null,usePolicyFile:!1,volume:100};this.flash9Options={isMovieStar:null,
usePeakData:!1,useWaveformData:!1,useEQData:!1,onbufferchange:null,ondataerror:null};this.movieStarOptions={bufferTime:3,serverURL:null,onconnect:null,duration:null};this.version=null;this.versionNumber="V2.97a.20110705";this.movieURL=null;this.url=L||null;this.altURL=null;this.enabled=this.swfLoaded=!1;this.o=null;this.movieID="sm2-container";this.id=W||"sm2movie";this.swfCSS={swfBox:"sm2-object-box",swfDefault:"movieContainer",swfError:"swf_error",swfTimedout:"swf_timedout",swfLoaded:"swf_loaded",
swfUnblocked:"swf_unblocked",sm2Debug:"sm2_debug",highPerf:"high_performance",flashDebug:"flash_debug"};this.oMC=null;this.sounds={};this.soundIDs=[];this.muted=!1;this.debugID="soundmanager-debug";this.debugURLParam=/([#?&])debug=1/i;this.didFlashBlock=this.specialWmodeCase=!1;this.filePattern=null;this.filePatterns={flash8:/\.mp3(\?.*)?$/i,flash9:/\.mp3(\?.*)?$/i};this.baseMimeTypes=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;this.netStreamMimeTypes=/^\s*audio\/(?:x-)?(?:mp(?:eg|3))\s*(?:$|;)/i;
this.netStreamTypes=["aac","flv","mov","mp4","m4v","f4v","m4a","mp4v","3gp","3g2"];this.netStreamPattern=RegExp("\\.("+this.netStreamTypes.join("|")+")(\\?.*)?$","i");this.mimePattern=this.baseMimeTypes;this.features={buffering:!1,peakData:!1,waveformData:!1,eqData:!1,movieStar:!1};this.sandbox={};this.hasHTML5=null;this.html5={usingFlash:null};this.flash={};this.ignoreFlash=!1;var Y,b=this,x,n=navigator.userAgent,h=X,M=h.location.href.toString(),k=this.flashVersion,g=document,Z,N,q=[],D=!1,E=!1,
m=!1,s=!1,pa=!1,F,o,$,t,y,aa,O,qa,ba,u,ra,G,z,ca,da,P,ea,sa,ta,Q,ua,H=null,fa=null,v,ga,A,R,S,ha,j,T=!1,ia=!1,va,wa,w=null,xa,U,I,r,ja,ya,l,Da=Array.prototype.slice,J=!1,ka,B,za,Aa=n.match(/pre\//i),Ea=n.match(/(ipad|iphone|ipod)/i);n.match(/mobile/i);var p=n.match(/msie/i),Fa=n.match(/webkit/i),K=n.match(/safari/i)&&!n.match(/chrome/i),Ga=n.match(/opera/i),la=!M.match(/usehtml5audio/i)&&!M.match(/sm2\-ignorebadua/i)&&K&&n.match(/OS X 10_6_([3-7])/i),ma=typeof g.hasFocus!=="undefined"?g.hasFocus():
null,C=typeof g.hasFocus==="undefined"&&K,Ba=!C,Ca=/(mp3|mp4|mpa)/i;this.html5Only=!1;this._use_maybe=M.match(/sm2\-useHTML5Maybe\=1/i);this._overHTTP=g.location?g.location.protocol.match(/http/i):null;this._http=!this._overHTTP?"http:":"";this.useAltURL=!this._overHTTP;this._global_a=null;if(Ea||Aa)b.useHTML5Audio=!0,b.ignoreFlash=!0,J=b.useGlobalHTML5Audio=!0;if(Aa||this._use_maybe)b.html5Test=/^(probably|maybe)$/i;this.supported=this.ok=function(){return w?m&&!s:b.useHTML5Audio&&b.hasHTML5};this.getMovie=
function(b){return p?h[b]:K?x(b)||g[b]:x(b)};this.createSound=function(c){function a(){e=R(e);b.sounds[d.id]=new Y(d);b.soundIDs.push(d.id);return b.sounds[d.id]}var e=null,f=null,d=null;if(!m||!b.ok())return ha("soundManager.createSound(): "+v(!m?"notReady":"notOK")),!1;arguments.length===2&&(c={id:arguments[0],url:arguments[1]});d=e=o(c);if(j(d.id,!0))return b.sounds[d.id];if(U(d))f=a(),f._setup_html5(d);else{if(k>8&&b.useMovieStar){if(d.isMovieStar===null)d.isMovieStar=d.serverURL||d.type&&d.type.match(b.netStreamPattern)||
d.url.match(b.netStreamPattern)?!0:!1;if(d.isMovieStar&&d.usePeakData)d.usePeakData=!1}d=S(d,"soundManager.createSound(): ");f=a();if(k===8)b.o._createSound(d.id,d.onjustbeforefinishtime,d.loops||1,d.usePolicyFile);else if(b.o._createSound(d.id,d.url,d.onjustbeforefinishtime,d.usePeakData,d.useWaveformData,d.useEQData,d.isMovieStar,d.isMovieStar?d.bufferTime:!1,d.loops||1,d.serverURL,d.duration||null,d.autoPlay,!0,d.autoLoad,d.usePolicyFile),!d.serverURL)f.connected=!0,d.onconnect&&d.onconnect.apply(f);
(d.autoLoad||d.autoPlay)&&!d.serverURL&&f.load(d)}d.autoPlay&&!d.serverURL&&f.play();return f};this.destroySound=function(c,a){if(!j(c))return!1;var e=b.sounds[c],f;e._iO={};e.stop();e.unload();for(f=0;f<b.soundIDs.length;f++)if(b.soundIDs[f]===c){b.soundIDs.splice(f,1);break}a||e.destruct(!0);delete b.sounds[c];return!0};this.load=function(c,a){return!j(c)?!1:b.sounds[c].load(a)};this.unload=function(c){return!j(c)?!1:b.sounds[c].unload()};this.start=this.play=function(c,a){return!m||!b.ok()?(ha("soundManager.play(): "+
v(!m?"notReady":"notOK")),!1):!j(c)?(a instanceof Object||(a={url:a}),a&&a.url?(a.id=c,b.createSound(a).play()):!1):b.sounds[c].play(a)};this.setPosition=function(c,a){return!j(c)?!1:b.sounds[c].setPosition(a)};this.stop=function(c){return!j(c)?!1:b.sounds[c].stop()};this.stopAll=function(){for(var c in b.sounds)b.sounds[c]instanceof Y&&b.sounds[c].stop()};this.pause=function(c){return!j(c)?!1:b.sounds[c].pause()};this.pauseAll=function(){for(var c=b.soundIDs.length;c--;)b.sounds[b.soundIDs[c]].pause()};
this.resume=function(c){return!j(c)?!1:b.sounds[c].resume()};this.resumeAll=function(){for(var c=b.soundIDs.length;c--;)b.sounds[b.soundIDs[c]].resume()};this.togglePause=function(c){return!j(c)?!1:b.sounds[c].togglePause()};this.setPan=function(c,a){return!j(c)?!1:b.sounds[c].setPan(a)};this.setVolume=function(c,a){return!j(c)?!1:b.sounds[c].setVolume(a)};this.mute=function(c){var a=0;typeof c!=="string"&&(c=null);if(c)return!j(c)?!1:b.sounds[c].mute();else{for(a=b.soundIDs.length;a--;)b.sounds[b.soundIDs[a]].mute();
b.muted=!0}return!0};this.muteAll=function(){b.mute()};this.unmute=function(c){typeof c!=="string"&&(c=null);if(c)return!j(c)?!1:b.sounds[c].unmute();else{for(c=b.soundIDs.length;c--;)b.sounds[b.soundIDs[c]].unmute();b.muted=!1}return!0};this.unmuteAll=function(){b.unmute()};this.toggleMute=function(c){return!j(c)?!1:b.sounds[c].toggleMute()};this.getMemoryUse=function(){if(k===8)return 0;if(b.o)return parseInt(b.o._getMemoryUse(),10)};this.disable=function(c){typeof c==="undefined"&&(c=!1);if(s)return!1;
s=!0;for(var a=b.soundIDs.length;a--;)ta(b.sounds[b.soundIDs[a]]);F(c);l.remove(h,"load",y);return!0};this.canPlayMIME=function(c){var a;b.hasHTML5&&(a=I({type:c}));return!w||a?a:c?c.match(b.mimePattern)?!0:!1:null};this.canPlayURL=function(c){var a;b.hasHTML5&&(a=I({url:c}));return!w||a?a:c?c.match(b.filePattern)?!0:!1:null};this.canPlayLink=function(c){return typeof c.type!=="undefined"&&c.type&&b.canPlayMIME(c.type)?!0:b.canPlayURL(c.href)};this.getSoundById=function(c){if(!c)throw Error("soundManager.getSoundById(): sID is null/undefined");
return b.sounds[c]};this.onready=function(b,a){if(b&&b instanceof Function)return a||(a=h),$("onready",b,a),t(),!0;else throw v("needFunction","onready");};this.ontimeout=function(b,a){if(b&&b instanceof Function)return a||(a=h),$("ontimeout",b,a),t({type:"ontimeout"}),!0;else throw v("needFunction","ontimeout");};this.getMoviePercent=function(){return b.o&&typeof b.o.PercentLoaded!=="undefined"?b.o.PercentLoaded():null};this._wD=this._writeDebug=function(){return!0};this._debug=function(){};this.reboot=
function(){var c,a;for(c=b.soundIDs.length;c--;)b.sounds[b.soundIDs[c]].destruct();try{if(p)fa=b.o.innerHTML;H=b.o.parentNode.removeChild(b.o)}catch(e){}fa=H=null;b.enabled=m=T=ia=D=E=s=b.swfLoaded=!1;b.soundIDs=b.sounds=[];b.o=null;for(c in q)if(q.hasOwnProperty(c))for(a=q[c].length;a--;)q[c][a].fired=!1;h.setTimeout(function(){b.beginDelayedInit()},20)};this.destruct=function(){b.disable(!0)};this.beginDelayedInit=function(){pa=!0;z();setTimeout(ra,20);O()};this._html5_events={abort:i(function(){}),
canplay:i(function(){if(this._t._html5_canplay)return!0;this._t._html5_canplay=!0;this._t._onbufferchange(0);var b=!isNaN(this._t.position)?this._t.position/1E3:null;if(this._t.position&&this.currentTime!==b)try{this.currentTime=b}catch(a){}}),load:i(function(){this._t.loaded||(this._t._onbufferchange(0),this._t._whileloading(this._t.bytesTotal,this._t.bytesTotal,this._t._get_html5_duration()),this._t._onload(!0))}),emptied:i(function(){}),ended:i(function(){this._t._onfinish()}),error:i(function(){this._t._onload(!1)}),
loadeddata:i(function(){}),loadedmetadata:i(function(){}),loadstart:i(function(){this._t._onbufferchange(1)}),play:i(function(){this._t._onbufferchange(0)}),playing:i(function(){this._t._onbufferchange(0)}),progress:i(function(c){if(this._t.loaded)return!1;var a,e=0,f=c.type==="progress",d=c.target.buffered;a=c.loaded||0;var na=c.total||1;if(d&&d.length){for(a=d.length;a--;)e=d.end(a)-d.start(a);a=e/c.target.duration;f&&isNaN(a)}isNaN(a)||(this._t._onbufferchange(0),this._t._whileloading(a,na,this._t._get_html5_duration()),
a&&na&&a===na&&b._html5_events.load.call(this,c))}),ratechange:i(function(){}),suspend:i(function(c){b._html5_events.progress.call(this,c)}),stalled:i(function(){}),timeupdate:i(function(){this._t._onTimer()}),waiting:i(function(){this._t._onbufferchange(1)})};Y=function(c){var a=this,e,f,d;this.sID=c.id;this.url=c.url;this._iO=this.instanceOptions=this.options=o(c);this.pan=this.options.pan;this.volume=this.options.volume;this._lastURL=null;this.isHTML5=!1;this._a=null;this.id3={};this._debug=function(){};
this._debug();this.load=function(c){var d=null;if(typeof c!=="undefined")a._iO=o(c,a.options),a.instanceOptions=a._iO;else if(c=a.options,a._iO=c,a.instanceOptions=a._iO,a._lastURL&&a._lastURL!==a.url)a._iO.url=a.url,a.url=null;if(!a._iO.url)a._iO.url=a.url;if(a._iO.url===a.url&&a.readyState!==0&&a.readyState!==2)return a;a._lastURL=a.url;a.loaded=!1;a.readyState=1;a.playState=0;if(U(a._iO)){if(d=a._setup_html5(a._iO),!d._called_load)a._html5_canplay=!1,d.load(),d._called_load=!0,a._iO.autoPlay&&
a.play()}else try{a.isHTML5=!1,a._iO=S(R(a._iO)),k===8?b.o._load(a.sID,a._iO.url,a._iO.stream,a._iO.autoPlay,a._iO.whileloading?1:0,a._iO.loops||1,a._iO.usePolicyFile):b.o._load(a.sID,a._iO.url,a._iO.stream?!0:!1,a._iO.autoPlay?!0:!1,a._iO.loops||1,a._iO.autoLoad?!0:!1,a._iO.usePolicyFile)}catch(e){ea()}return a};this.unload=function(){if(a.readyState!==0){if(a.isHTML5){if(f(),a._a)a._a.pause(),a._a.src=""}else k===8?b.o._unload(a.sID,b.nullURL):b.o._unload(a.sID);e()}return a};this.destruct=function(c){if(a.isHTML5){if(f(),
a._a)a._a.pause(),a._a.src="",J||a._remove_html5_events()}else a._iO.onfailure=null,b.o._destroySound(a.sID);c||b.destroySound(a.sID,!0)};this.start=this.play=function(c,V){var e,V=V===void 0?!0:V;c||(c={});a._iO=o(c,a._iO);a._iO=o(a._iO,a.options);a.instanceOptions=a._iO;if(a._iO.serverURL&&!a.connected)return a.getAutoPlay()||a.setAutoPlay(!0),a;U(a._iO)&&(a._setup_html5(a._iO),d());if(a.playState===1&&!a.paused&&(e=a._iO.multiShot,!e))return a;if(!a.loaded)if(a.readyState===0){if(!a.isHTML5)a._iO.autoPlay=
!0;a.load(a._iO)}else if(a.readyState===2)return a;if(a.paused&&a.position&&a.position>0)a.resume();else{a.playState=1;a.paused=!1;(!a.instanceCount||a._iO.multiShotEvents||k>8&&!a.isHTML5&&!a.getAutoPlay())&&a.instanceCount++;a.position=typeof a._iO.position!=="undefined"&&!isNaN(a._iO.position)?a._iO.position:0;if(!a.isHTML5)a._iO=S(R(a._iO));if(a._iO.onplay&&V)a._iO.onplay.apply(a),a._onplay_called=!0;a.setVolume(a._iO.volume,!0);a.setPan(a._iO.pan,!0);a.isHTML5?(d(),e=a._setup_html5(),a.setPosition(a.position),
e.play()):b.o._start(a.sID,a._iO.loops||1,k===9?a.position:a.position/1E3)}return a};this.stop=function(c){if(a.playState===1){a._onbufferchange(0);a.resetOnPosition(0);if(!a.isHTML5)a.playState=0;a.paused=!1;a._iO.onstop&&a._iO.onstop.apply(a);if(a.isHTML5){if(a._a)a.setPosition(0),a._a.pause(),a.playState=0,a._onTimer(),f(),a.unload()}else b.o._stop(a.sID,c),a._iO.serverURL&&a.unload();a.instanceCount=0;a._iO={}}return a};this.setAutoPlay=function(c){a._iO.autoPlay=c;a.isHTML5?a._a&&c&&a.play():
b.o._setAutoPlay(a.sID,c);c&&!a.instanceCount&&a.readyState===1&&a.instanceCount++};this.getAutoPlay=function(){return a._iO.autoPlay};this.setPosition=function(c){c===void 0&&(c=0);var d=a.isHTML5?Math.max(c,0):Math.min(a.duration||a._iO.duration,Math.max(c,0));a.position=d;c=a.position/1E3;a.resetOnPosition(a.position);a._iO.position=d;if(a.isHTML5){if(a._a&&a._html5_canplay&&a._a.currentTime!==c)try{a._a.currentTime=c,(a.playState===0||a.paused)&&a._a.pause()}catch(e){}}else c=k===9?a.position:
c,a.readyState&&a.readyState!==2&&b.o._setPosition(a.sID,c,a.paused||!a.playState);a.isHTML5&&a.paused&&a._onTimer(!0);return a};this.pause=function(c){if(a.paused||a.playState===0&&a.readyState!==1)return a;a.paused=!0;a.isHTML5?(a._setup_html5().pause(),f()):(c||c===void 0)&&b.o._pause(a.sID);a._iO.onpause&&a._iO.onpause.apply(a);return a};this.resume=function(){if(!a.paused)return a;a.paused=!1;a.playState=1;a.isHTML5?(a._setup_html5().play(),d()):(a._iO.isMovieStar&&a.setPosition(a.position),
b.o._pause(a.sID));!a._onplay_called&&a._iO.onplay?(a._iO.onplay.apply(a),a._onplay_called=!0):a._iO.onresume&&a._iO.onresume.apply(a);return a};this.togglePause=function(){if(a.playState===0)return a.play({position:k===9&&!a.isHTML5?a.position:a.position/1E3}),a;a.paused?a.resume():a.pause();return a};this.setPan=function(c,d){typeof c==="undefined"&&(c=0);typeof d==="undefined"&&(d=!1);a.isHTML5||b.o._setPan(a.sID,c);a._iO.pan=c;if(!d)a.pan=c,a.options.pan=c;return a};this.setVolume=function(c,
d){typeof c==="undefined"&&(c=100);typeof d==="undefined"&&(d=!1);if(a.isHTML5){if(a._a)a._a.volume=Math.max(0,Math.min(1,c/100))}else b.o._setVolume(a.sID,b.muted&&!a.muted||a.muted?0:c);a._iO.volume=c;if(!d)a.volume=c,a.options.volume=c;return a};this.mute=function(){a.muted=!0;if(a.isHTML5){if(a._a)a._a.muted=!0}else b.o._setVolume(a.sID,0);return a};this.unmute=function(){a.muted=!1;var c=typeof a._iO.volume!=="undefined";if(a.isHTML5){if(a._a)a._a.muted=!1}else b.o._setVolume(a.sID,c?a._iO.volume:
a.options.volume);return a};this.toggleMute=function(){return a.muted?a.unmute():a.mute()};this.onposition=function(b,c,d){a._onPositionItems.push({position:b,method:c,scope:typeof d!=="undefined"?d:a,fired:!1});return a};this.processOnPosition=function(){var c,d;c=a._onPositionItems.length;if(!c||!a.playState||a._onPositionFired>=c)return!1;for(;c--;)if(d=a._onPositionItems[c],!d.fired&&a.position>=d.position)d.method.apply(d.scope,[d.position]),d.fired=!0,b._onPositionFired++;return!0};this.resetOnPosition=
function(c){var d,e;d=a._onPositionItems.length;if(!d)return!1;for(;d--;)if(e=a._onPositionItems[d],e.fired&&c<=e.position)e.fired=!1,b._onPositionFired--;return!0};this._onTimer=function(b){var c={};if(a._hasTimer||b)return a._a&&(b||(a.playState>0||a.readyState===1)&&!a.paused)?(a.duration=a._get_html5_duration(),a.durationEstimate=a.duration,b=a._a.currentTime?a._a.currentTime*1E3:0,a._whileplaying(b,c,c,c,c),!0):!1};this._get_html5_duration=function(){var b=a._a?a._a.duration*1E3:a._iO?a._iO.duration:
void 0;return b&&!isNaN(b)&&b!==Infinity?b:a._iO?a._iO.duration:null};d=function(){a.isHTML5&&va(a)};f=function(){a.isHTML5&&wa(a)};e=function(){a._onPositionItems=[];a._onPositionFired=0;a._hasTimer=null;a._onplay_called=!1;a._a=null;a._html5_canplay=!1;a.bytesLoaded=null;a.bytesTotal=null;a.position=null;a.duration=a._iO&&a._iO.duration?a._iO.duration:null;a.durationEstimate=null;a.failures=0;a.loaded=!1;a.playState=0;a.paused=!1;a.readyState=0;a.muted=!1;a.didBeforeFinish=!1;a.didJustBeforeFinish=
!1;a.isBuffering=!1;a.instanceOptions={};a.instanceCount=0;a.peakData={left:0,right:0};a.waveformData={left:[],right:[]};a.eqData=[];a.eqData.left=[];a.eqData.right=[]};e();this._setup_html5=function(c){var c=o(a._iO,c),d=J?b._global_a:a._a;decodeURI(c.url);var f=d&&d._t?d._t.instanceOptions:null;if(d){if(d._t&&f.url===c.url&&(!a._lastURL||a._lastURL===f.url))return d;J&&d._t&&d._t.playState&&c.url!==f.url&&d._t.stop();e();d.src=c.url;a.url=c.url;a._lastURL=c.url;d._called_load=!1}else if(d=new Audio(c.url),
d._called_load=!1,J)b._global_a=d;a.isHTML5=!0;a._a=d;d._t=a;a._add_html5_events();d.loop=c.loops>1?"loop":"";c.autoLoad||c.autoPlay?(d.autobuffer="auto",d.preload="auto",a.load(),d._called_load=!0):(d.autobuffer=!1,d.preload="none");d.loop=c.loops>1?"loop":"";return d};this._add_html5_events=function(){if(a._a._added_events)return!1;var c;a._a._added_events=!0;for(c in b._html5_events)b._html5_events.hasOwnProperty(c)&&a._a&&a._a.addEventListener(c,b._html5_events[c],!1);return!0};this._remove_html5_events=
function(){a._a._added_events=!1;for(var c in b._html5_events)b._html5_events.hasOwnProperty(c)&&a._a&&a._a.removeEventListener(c,b._html5_events[c],!1)};this._whileloading=function(b,c,d,e){a.bytesLoaded=b;a.bytesTotal=c;a.duration=Math.floor(d);a.bufferLength=e;if(a._iO.isMovieStar)a.durationEstimate=a.duration;else if(a.durationEstimate=a._iO.duration?a.duration>a._iO.duration?a.duration:a._iO.duration:parseInt(a.bytesTotal/a.bytesLoaded*a.duration,10),a.durationEstimate===void 0)a.durationEstimate=
a.duration;a.readyState!==3&&a._iO.whileloading&&a._iO.whileloading.apply(a)};this._onid3=function(b,c){var d=[],e,f;e=0;for(f=b.length;e<f;e++)d[b[e]]=c[e];a.id3=o(a.id3,d);a._iO.onid3&&a._iO.onid3.apply(a)};this._whileplaying=function(c,d,e,f,g){if(isNaN(c)||c===null)return!1;a.playState===0&&c>0&&(c=0);a.position=c;a.processOnPosition();if(k>8&&!a.isHTML5){if(a._iO.usePeakData&&typeof d!=="undefined"&&d)a.peakData={left:d.leftPeak,right:d.rightPeak};if(a._iO.useWaveformData&&typeof e!=="undefined"&&
e)a.waveformData={left:e.split(","),right:f.split(",")};if(a._iO.useEQData&&typeof g!=="undefined"&&g&&g.leftEQ&&(c=g.leftEQ.split(","),a.eqData=c,a.eqData.left=c,typeof g.rightEQ!=="undefined"&&g.rightEQ))a.eqData.right=g.rightEQ.split(",")}a.playState===1&&(!a.isHTML5&&b.flashVersion===8&&!a.position&&a.isBuffering&&a._onbufferchange(0),a._iO.whileplaying&&a._iO.whileplaying.apply(a),(a.loaded||!a.loaded&&a._iO.isMovieStar)&&a._iO.onbeforefinish&&a._iO.onbeforefinishtime&&!a.didBeforeFinish&&a.duration-
a.position<=a._iO.onbeforefinishtime&&a._onbeforefinish());return!0};this._onconnect=function(b){b=b===1;if(a.connected=b)a.failures=0,j(a.sID)&&(a.getAutoPlay()?a.play(void 0,a.getAutoPlay()):a._iO.autoLoad&&a.load()),a._iO.onconnect&&a._iO.onconnect.apply(a,[b])};this._onload=function(b){b=b?!0:!1;a.loaded=b;a.readyState=b?3:2;a._onbufferchange(0);a._iO.onload&&a._iO.onload.apply(a,[b]);return!0};this._onfailure=function(b,c,d){a.failures++;if(a._iO.onfailure&&a.failures===1)a._iO.onfailure(a,b,
c,d)};this._onbeforefinish=function(){if(!a.didBeforeFinish)a.didBeforeFinish=!0,a._iO.onbeforefinish&&a._iO.onbeforefinish.apply(a)};this._onjustbeforefinish=function(){if(!a.didJustBeforeFinish)a.didJustBeforeFinish=!0,a._iO.onjustbeforefinish&&a._iO.onjustbeforefinish.apply(a)};this._onfinish=function(){var b=a._iO.onfinish;a._onbufferchange(0);a.resetOnPosition(0);a._iO.onbeforefinishcomplete&&a._iO.onbeforefinishcomplete.apply(a);a.didBeforeFinish=!1;a.didJustBeforeFinish=!1;if(a.instanceCount){a.instanceCount--;
if(!a.instanceCount)a.playState=0,a.paused=!1,a.instanceCount=0,a.instanceOptions={},a._iO={},f();(!a.instanceCount||a._iO.multiShotEvents)&&b&&b.apply(a)}};this._onbufferchange=function(b){if(a.playState===0)return!1;if(b&&a.isBuffering||!b&&!a.isBuffering)return!1;a.isBuffering=b===1;a._iO.onbufferchange&&a._iO.onbufferchange.apply(a);return!0};this._ondataerror=function(){a.playState>0&&a._iO.ondataerror&&a._iO.ondataerror.apply(a)}};da=function(){return g.body?g.body:g._docElement?g.documentElement:
g.getElementsByTagName("div")[0]};x=function(b){return g.getElementById(b)};o=function(c,a){var e={},f,d;for(f in c)c.hasOwnProperty(f)&&(e[f]=c[f]);f=typeof a==="undefined"?b.defaultOptions:a;for(d in f)f.hasOwnProperty(d)&&typeof e[d]==="undefined"&&(e[d]=f[d]);return e};l=function(){function b(a){var a=Da.call(a),c=a.length;e?(a[1]="on"+a[1],c>3&&a.pop()):c===3&&a.push(!1);return a}function a(a,b){var c=a.shift(),g=[f[b]];if(e)c[g](a[0],a[1]);else c[g].apply(c,a)}var e=h.attachEvent,f={add:e?"attachEvent":
"addEventListener",remove:e?"detachEvent":"removeEventListener"};return{add:function(){a(b(arguments),"add")},remove:function(){a(b(arguments),"remove")}}}();U=function(c){return!c.serverURL&&(c.type?I({type:c.type}):I({url:c.url})||b.html5Only)};I=function(c){function a(a){return b.preferFlash&&!b.ignoreFlash&&typeof b.flash[a]!=="undefined"&&b.flash[a]}if(!b.useHTML5Audio||!b.hasHTML5)return!1;var e=c.url||null,c=c.type||null,f=b.audioFormats,d;if(c&&b.html5[c]!=="undefined")return b.html5[c]&&
!a(c);if(!r){r=[];for(d in f)f.hasOwnProperty(d)&&(r.push(d),f[d].related&&(r=r.concat(f[d].related)));r=RegExp("\\.("+r.join("|")+")","i")}d=e?e.toLowerCase().match(r):null;if(!d||!d.length)if(c)e=c.indexOf(";"),d=(e!==-1?c.substr(0,e):c).substr(6);else return!1;else d=d[0].substr(1);return d&&typeof b.html5[d]!=="undefined"?b.html5[d]&&!a(d):(c="audio/"+d,e=b.html5.canPlayType({type:c}),(b.html5[d]=e)&&b.html5[c]&&!a(c))};ya=function(){function c(c){var d,e,f=!1;if(!a||typeof a.canPlayType!=="function")return!1;
if(c instanceof Array){d=0;for(e=c.length;d<e&&!f;d++)if(b.html5[c[d]]||a.canPlayType(c[d]).match(b.html5Test))f=!0,b.html5[c[d]]=!0,b.flash[c[d]]=!(!b.preferFlash||!c[d].match(Ca));return f}else return c=a&&typeof a.canPlayType==="function"?a.canPlayType(c):!1,!(!c||!c.match(b.html5Test))}if(!b.useHTML5Audio||typeof Audio==="undefined")return!1;var a=typeof Audio!=="undefined"?Ga?new Audio(null):new Audio:null,e,f={},d,g;B();d=b.audioFormats;for(e in d)if(d.hasOwnProperty(e)&&(f[e]=c(d[e].type),
f["audio/"+e]=f[e],b.flash[e]=b.preferFlash&&!b.ignoreFlash&&e.match(Ca)?!0:!1,d[e]&&d[e].related))for(g=d[e].related.length;g--;)f["audio/"+d[e].related[g]]=f[e],b.html5[d[e].related[g]]=f[e],b.flash[d[e].related[g]]=f[e];f.canPlayType=a?c:null;b.html5=o(b.html5,f);return!0};v=function(){};R=function(b){if(k===8&&b.loops>1&&b.stream)b.stream=!1;return b};S=function(b){if(b&&!b.usePolicyFile&&(b.onid3||b.usePeakData||b.useWaveformData||b.useEQData))b.usePolicyFile=!0;return b};ha=function(b){typeof console!==
"undefined"&&typeof console.warn!=="undefined"&&console.warn(b)};Z=function(){return!1};ta=function(b){for(var a in b)b.hasOwnProperty(a)&&typeof b[a]==="function"&&(b[a]=Z)};Q=function(c){typeof c==="undefined"&&(c=!1);(s||c)&&b.disable(c)};ua=function(c){var a=null;if(c)if(c.match(/\.swf(\?.*)?$/i)){if(a=c.substr(c.toLowerCase().lastIndexOf(".swf?")+4))return c}else c.lastIndexOf("/")!==c.length-1&&(c+="/");return(c&&c.lastIndexOf("/")!==-1?c.substr(0,c.lastIndexOf("/")+1):"./")+b.movieURL};ba=
function(){if(k!==8&&k!==9)b.flashVersion=8;var c=b.debugMode||b.debugFlash?"_debug.swf":".swf";if(b.useHTML5Audio&&!b.html5Only&&b.audioFormats.mp4.required&&b.flashVersion<9)b.flashVersion=9;k=b.flashVersion;b.version=b.versionNumber+(b.html5Only?" (HTML5-only mode)":k===9?" (AS3/Flash 9)":" (AS2/Flash 8)");if(k>8)b.defaultOptions=o(b.defaultOptions,b.flash9Options),b.features.buffering=!0;k>8&&b.useMovieStar?(b.defaultOptions=o(b.defaultOptions,b.movieStarOptions),b.filePatterns.flash9=RegExp("\\.(mp3|"+
b.netStreamTypes.join("|")+")(\\?.*)?$","i"),b.mimePattern=b.netStreamMimeTypes,b.features.movieStar=!0):(b.useMovieStar=!1,b.features.movieStar=!1);b.filePattern=b.filePatterns[k!==8?"flash9":"flash8"];b.movieURL=(k===8?"soundmanager2.swf":"soundmanager2_flash9.swf").replace(".swf",c);b.features.peakData=b.features.waveformData=b.features.eqData=k>8};sa=function(c,a){if(!b.o||!b.allowPolling)return!1;b.o._setPolling(c,a)};P=function(c,a){var e=a?a:b.url,f=b.altURL?b.altURL:e,d;d=da();var h,k,i=A(),
j,l=null,l=(l=g.getElementsByTagName("html")[0])&&l.dir&&l.dir.match(/rtl/i),c=typeof c==="undefined"?b.id:c;if(D&&E)return!1;if(b.html5Only)return ba(),b.oMC=x(b.movieID),N(),E=D=!0,!1;D=!0;ba();b.url=ua(b._overHTTP?e:f);a=b.url;b.wmode=!b.wmode&&b.useHighPerformance&&!b.useMovieStar?"transparent":b.wmode;if(b.wmode!==null&&(n.match(/msie 8/i)||!p&&!b.useHighPerformance)&&navigator.platform.match(/win32|win64/i))b.specialWmodeCase=!0,b.wmode=null;d={name:c,id:c,src:a,width:"auto",height:"auto",quality:"high",
allowScriptAccess:b.allowScriptAccess,bgcolor:b.bgColor,pluginspage:b._http+"//www.macromedia.com/go/getflashplayer",type:"application/x-shockwave-flash",wmode:b.wmode,hasPriority:"true"};if(b.debugFlash)d.FlashVars="debug=1";b.wmode||delete d.wmode;if(p)e=g.createElement("div"),k='<object id="'+c+'" data="'+a+'" type="'+d.type+'" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="'+b._http+'//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="'+d.width+
'" height="'+d.height+'"><param name="movie" value="'+a+'" /><param name="AllowScriptAccess" value="'+b.allowScriptAccess+'" /><param name="quality" value="'+d.quality+'" />'+(b.wmode?'<param name="wmode" value="'+b.wmode+'" /> ':"")+'<param name="bgcolor" value="'+b.bgColor+'" />'+(b.debugFlash?'<param name="FlashVars" value="'+d.FlashVars+'" />':"")+"</object>";else for(h in e=g.createElement("embed"),d)d.hasOwnProperty(h)&&e.setAttribute(h,d[h]);oa();i=A();if(d=da())if(b.oMC=x(b.movieID)?x(b.movieID):
g.createElement("div"),b.oMC.id){j=b.oMC.className;b.oMC.className=(j?j+" ":b.swfCSS.swfDefault)+(i?" "+i:"");b.oMC.appendChild(e);if(p)h=b.oMC.appendChild(g.createElement("div")),h.className=b.swfCSS.swfBox,h.innerHTML=k;E=!0}else{b.oMC.id=b.movieID;b.oMC.className=b.swfCSS.swfDefault+" "+i;h=i=null;if(!b.useFlashBlock)if(b.useHighPerformance)i={position:"fixed",width:"8px",height:"8px",bottom:"0px",left:"0px",overflow:"hidden"};else if(i={position:"absolute",width:"6px",height:"6px",top:"-9999px",
left:"-9999px"},l)i.left=Math.abs(parseInt(i.left,10))+"px";if(Fa)b.oMC.style.zIndex=1E4;if(!b.debugFlash)for(j in i)i.hasOwnProperty(j)&&(b.oMC.style[j]=i[j]);try{p||b.oMC.appendChild(e);d.appendChild(b.oMC);if(p)h=b.oMC.appendChild(g.createElement("div")),h.className=b.swfCSS.swfBox,h.innerHTML=k;E=!0}catch(m){throw Error(v("appXHTML"));}}return!0};j=this.getSoundById;G=function(){if(b.html5Only)return P(),!1;if(b.o)return!1;b.o=b.getMovie(b.id);if(!b.o)H?(p?b.oMC.innerHTML=fa:b.oMC.appendChild(H),
H=null,D=!0):P(b.id,b.url),b.o=b.getMovie(b.id);b.oninitmovie instanceof Function&&setTimeout(b.oninitmovie,1);return!0};aa=function(c){if(c)b.url=c;G()};O=function(){setTimeout(qa,1E3)};qa=function(){if(T)return!1;T=!0;l.remove(h,"load",O);if(C&&!ma)return!1;var c;m||(c=b.getMoviePercent());setTimeout(function(){c=b.getMoviePercent();!m&&Ba&&(c===null?b.useFlashBlock||b.flashLoadTimeout===0?b.useFlashBlock&&ga():Q(!0):b.flashLoadTimeout!==0&&Q(!0))},b.flashLoadTimeout)};aa=function(c){if(c)b.url=
c;G()};A=function(){var c=[];b.debugMode&&c.push(b.swfCSS.sm2Debug);b.debugFlash&&c.push(b.swfCSS.flashDebug);b.useHighPerformance&&c.push(b.swfCSS.highPerf);return c.join(" ")};ga=function(){v("fbHandler");var c=b.getMoviePercent(),a=b.swfCSS;if(b.ok()){if(b.oMC)b.oMC.className=[A(),a.swfDefault,a.swfLoaded+(b.didFlashBlock?" "+a.swfUnblocked:"")].join(" ")}else{if(w)b.oMC.className=A()+" "+a.swfDefault+" "+(c===null?a.swfTimedout:a.swfError);b.didFlashBlock=!0;t({type:"ontimeout",ignoreInit:!0});
b.onerror instanceof Function&&b.onerror.apply(h)}};u=function(){function b(){l.remove(h,"focus",u);l.remove(h,"load",u)}if(ma||!C)return b(),!0;ma=Ba=!0;K&&C&&l.remove(h,"mousemove",u);T=!1;b();return!0};F=function(c){if(m)return!1;if(b.html5Only)return m=!0,t(),y(),!0;b.useFlashBlock&&b.flashLoadTimeout&&!b.getMoviePercent()||(m=!0);if(s||c){if(b.useFlashBlock)b.oMC.className=A()+" "+(b.getMoviePercent()===null?b.swfCSS.swfTimedout:b.swfCSS.swfError);t({type:"ontimeout"});b.onerror instanceof Function&&
b.onerror.apply(h);return!1}l.add(h,"unload",Z);if(b.waitForWindowLoad&&!pa)return l.add(h,"load",y),!1;else y();return!0};$=function(b,a,e){typeof q[b]==="undefined"&&(q[b]=[]);q[b].push({method:a,scope:e||null,fired:!1})};t=function(c){c||(c={type:"onready"});if(!m&&c&&!c.ignoreInit)return!1;if(c.type==="ontimeout"&&b.ok())return!1;var a={success:c&&c.ignoreInit?b.ok():!s},e=c&&c.type?q[c.type]||[]:[],c=[],f,d=w&&b.useFlashBlock&&!b.ok();for(f=0;f<e.length;f++)e[f].fired!==!0&&c.push(e[f]);if(c.length){f=
0;for(e=c.length;f<e;f++)if(c[f].scope?c[f].method.apply(c[f].scope,[a]):c[f].method(a),!d)c[f].fired=!0}return!0};y=function(){h.setTimeout(function(){b.useFlashBlock&&ga();t();b.onload instanceof Function&&b.onload.apply(h);b.waitForWindowLoad&&l.add(h,"load",y)},1)};B=function(){if(ka!==void 0)return ka;var b=!1,a=navigator,e=a.plugins,f,d=h.ActiveXObject;if(e&&e.length)(a=a.mimeTypes)&&a["application/x-shockwave-flash"]&&a["application/x-shockwave-flash"].enabledPlugin&&a["application/x-shockwave-flash"].enabledPlugin.description&&
(b=!0);else if(typeof d!=="undefined"){try{f=new d("ShockwaveFlash.ShockwaveFlash")}catch(g){}b=!!f}return ka=b};xa=function(){var c,a;if(n.match(/iphone os (1|2|3_0|3_1)/i)){b.hasHTML5=!1;b.html5Only=!0;if(b.oMC)b.oMC.style.display="none";return!1}if(b.useHTML5Audio){if(!b.html5||!b.html5.canPlayType)return b.hasHTML5=!1,!0;else b.hasHTML5=!0;if(la&&B())return!0}else return!0;for(a in b.audioFormats)if(b.audioFormats.hasOwnProperty(a)&&(b.audioFormats[a].required&&!b.html5.canPlayType(b.audioFormats[a].type)||
b.flash[a]||b.flash[b.audioFormats[a].type]))c=!0;b.ignoreFlash&&(c=!1);b.html5Only=b.useHTML5Audio&&b.hasHTML5&&!c&&!b.requireFlash;return B()&&c};N=function(){var c,a=[];if(m)return!1;if(b.hasHTML5)for(c in b.audioFormats)b.audioFormats.hasOwnProperty(c)&&a.push(c+": "+b.html5[c]+(b.preferFlash&&b.flash[c]?" (preferring flash)":""));if(b.html5Only){if(!m)l.remove(h,"load",b.beginDelayedInit),b.enabled=!0,F();return!0}G();try{b.o._externalInterfaceTest(!1),b.allowPolling&&sa(!0,b.flashPollingInterval?
b.flashPollingInterval:b.useFastPolling?10:50),b.debugMode||b.o._disableDebug(),b.enabled=!0}catch(e){return Q(!0),F(),!1}F();l.remove(h,"load",b.beginDelayedInit);return!0};ra=function(){if(ia)return!1;P();G();return ia=!0};z=function(){if(ca)return!1;ca=!0;oa();if(!b.useHTML5Audio&&!B())b.useHTML5Audio=!0;ya();b.html5.usingFlash=xa();w=b.html5.usingFlash;ca=!0;g.removeEventListener&&g.removeEventListener("DOMContentLoaded",z,!1);aa();return!0};va=function(b){if(!b._hasTimer)b._hasTimer=!0};wa=function(b){if(b._hasTimer)b._hasTimer=
!1};ea=function(){if(b.onerror instanceof Function)b.onerror();b.disable()};za=function(){if(!la||!B())return!1;var c=b.audioFormats,a,e;for(e in c)if(c.hasOwnProperty(e)&&(e==="mp3"||e==="mp4"))if(b.html5[e]=!1,c[e]&&c[e].related)for(a=c[e].related.length;a--;)b.html5[c[e].related[a]]=!1};this._setSandboxType=function(){};this._externalInterfaceOK=function(){if(b.swfLoaded)return!1;(new Date).getTime();b.swfLoaded=!0;C=!1;la&&za();p?setTimeout(N,100):N()};ja=function(){g.readyState==="complete"&&
(z(),g.detachEvent("onreadystatechange",ja));return!0};if(!b.hasHTML5||w)l.add(h,"focus",u),l.add(h,"load",u),l.add(h,"load",O),K&&C&&l.add(h,"mousemove",u);g.addEventListener?g.addEventListener("DOMContentLoaded",z,!1):g.attachEvent?g.attachEvent("onreadystatechange",ja):ea();g.readyState==="complete"&&setTimeout(z,100)}var W=null;if(typeof SM2_DEFER==="undefined"||!SM2_DEFER)W=new L;X.SoundManager=L;X.soundManager=W})(window);;
Drupal.behaviors.soundmanager2_bhv=function(context){if(typeof soundManager!="undefined"){soundManager.url=sm2_mod_url;soundManager.debugMode=sm2_var_debug;soundManager.flashVersion=9;soundManager.useMovieStar=true;soundManager.useHighPerformance=true;soundManager.wmode='transparent';soundManager.useFastPolling=true;soundManager.flash9Options.useWaveformData=true;soundManager.flash9Options.useEQData=true;soundManager.flash9Options.usePeakData=true}};
Drupal.behaviors.spamspan=function(_1){$("span."+Drupal.settings.spamspan.m,_1).each(function(_2){var _3=($("span."+Drupal.settings.spamspan.u,this).text()+"@"+$("span."+Drupal.settings.spamspan.d,this).text()).replace(/\s+/g,"").replace(/\[dot\]/g,".");var _4=$("span."+Drupal.settings.spamspan.h,this).text().replace(/^ ?\((.*)\) ?$/,"$1");var _5=$.map(_4.split(/, /),function(n,i){return (n.replace(/: /,"="));});var _6=$("span."+Drupal.settings.spamspan.t,this).text().replace(/^ \((.*)\)$/,"$1");var _7="mailto:"+encodeURIComponent(_3);var _8=_5.join("&");_7+=_8?("?"+_8):"";$(this).after($("<a></a>").attr("href",_7).html(_6?_6:_3).addClass("spamspan")).remove();});};;
(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,track=function(ev){cX=ev.pageX;cY=ev.pageY},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)}},delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])},handleHover=function(e){var ev=jQuery.extend({},e),ob=this;if(ob.hoverIntent_t)ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);if(e.type=="mouseenter"){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.bind('mouseenter',handleHover).bind('mouseleave',handleHover)}})(jQuery);
(function(a){a.fn.bgiframe=(a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(d){d=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:true,src:"javascript:false;"},d);var c='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+d.src+'"style="display:block;position:absolute;z-index:-1;'+(d.opacity!==false?"filter:Alpha(Opacity='0');":"")+"top:"+(d.top=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(d.top))+";left:"+(d.left=="auto"?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(d.left))+";width:"+(d.width=="auto"?"expression(this.parentNode.offsetWidth+'px')":b(d.width))+";height:"+(d.height=="auto"?"expression(this.parentNode.offsetHeight+'px')":b(d.height))+';"/>';return this.each(function(){if(a(this).children("iframe.bgiframe").length===0)this.insertBefore(document.createElement(c),this.firstChild)})}:function(){return this});a.fn.bgIframe=a.fn.bgiframe
function b(c){return c&&c.constructor===Number?c+"px":c}})(jQuery);
(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl()},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(['li.',o.hoverClass].join('')).length<1)over.call(o.$path)},o.delay)},getMenu=function($menu){var menu=$menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op=sf.o[menu.serial];return menu},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone())};return this.each(function(){var s=this.serial=sf.o.length,o=$.extend({},sf.defaults,op);o.$path=$('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass)});sf.o[s]=sf.op=o;$('li:has(ul)',this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(o.autoArrows)addArrow($('>a:first-child',this))}).not('.'+c.bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li)}).blur(function(){out.call($li)})});o.onInit.call(this)}).each(function(){var menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7))menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '))})};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined)this.toggleClass(sf.c.shadowClass+'-off')};sf.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};sf.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'normal',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:'';o.retainPath=false;var $ul=$(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+'-off',$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul)});return this}})})(jQuery);
(function($){$.fn.supersubs=function(options){var opts=$.extend({},$.fn.supersubs.defaults,options);return this.each(function(){var $$=$(this),o=$.meta?$.extend({},opts,$$.data()):opts,fontsize=$('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:'absolute',top:'-99999em',width:'auto'}).appendTo($$).width();$('#menu-fontsize').remove();if($$.hasClass('sf-navbar'))$$=$('li > ul',$$);$ULs=$$.find('ul:not(.sf-megamenu)');$ULs.each(function(i){var $ul=$ULs.eq(i),$LIs=$ul.children(),$As=$LIs.children('a'),liFloat=$LIs.css('white-space','nowrap').css('float'),emWidth=$ul.add($LIs).add($As).css({'float':'none',width:'auto'}).end().end()[0].clientWidth/fontsize;emWidth+=o.extraWidth;if(emWidth>o.maxWidth){emWidth=o.maxWidth}else if(emWidth<o.minWidth)emWidth=o.minWidth;emWidth+='em';$ul.css('width',emWidth);$LIs.css({'float':liFloat,width:'100%','white-space':'normal'}).each(function(){var $childUl=$('>ul',this),offsetDirection=$childUl.css('left')!==undefined?'left':'right';$childUl.css(offsetDirection,emWidth)})})})};$.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);
(function($){$.fn.supposition=function(){var $w=$(window),_offset=function(dir){return window[dir=='y'?'pageYOffset':'pageXOffset']||document.documentElement&&document.documentElement[dir=='y'?'scrollTop':'scrollLeft']||document.body[dir=='y'?'scrollTop':'scrollLeft']},onHide=function(){this.css({Top:'',Right:'',Bottom:'',Left:''})},onBeforeShow=function(){this.each(function(){var $u=$(this);$u.css('display','block');var menuWidth=$u.width(),menuParentWidth=$u.closest('li').outerWidth(true),menuParentLeft=$u.closest('li').offset().left,totalRight=$w.width()+_offset('x'),menuRight=$u.offset().left+menuWidth,exactMenuWidth=(menuRight>(menuParentWidth+menuParentLeft))?menuWidth-(menuRight-(menuParentWidth+menuParentLeft)):menuWidth;if($u.parents('.sf-js-enabled').hasClass('rtl')){if(menuParentLeft<exactMenuWidth){$u.css('left',menuParentWidth+'px');$u.css('right','auto')}}else if(menuRight>totalRight&&menuParentLeft>menuWidth){$u.css('right',menuParentWidth+'px');$u.css('left','auto')};var windowHeight=$w.height(),offsetTop=$u.offset().top,menuParentHeight=$u.parent().outerHeight(true),menuHeight=$u.height(),baseline=windowHeight+_offset('y'),expandUp=((offsetTop+menuHeight>baseline)&&(offsetTop>menuHeight));if(expandUp){$u.css('bottom',menuParentHeight+'px');$u.css('top','auto')};$u.css('display','none')})};return this.each(function(){var o=$.fn.superfish.o[this.serial],_onBeforeShow=o.onBeforeShow,_onHide=o.onHide;$.extend($.fn.superfish.o[this.serial],{onBeforeShow:function(){onBeforeShow.call(this);_onBeforeShow.call(this)},onHide:function(){onHide.call(this);_onHide.call(this)}})})}})(jQuery);
(function($){$.fn.sftouchscreen=function(){return this.each(function(){$(this).find('li > ul').closest('li').children('a').each(function(){var $item=$(this);$item.click(function(event){if($item.hasClass('sf-clicked')){var $uri=$item.attr('href');window.location=$uri}else{event.preventDefault();$item.addClass('sf-clicked')}}).closest('li').mouseleave(function(){$item.removeClass('sf-clicked')})})})}})(jQuery);
(function($){$.ui=$.ui||{};$.fn.tabs=function(){var method=typeof arguments[0]=='string'&&arguments[0],args=method&&Array.prototype.slice.call(arguments,1)||arguments;return method=='length'?$.data(this[0],'tabs').$tabs.length:this.each(function(){if(method){var tabs=$.data(this,'tabs');if(tabs)tabs[method].apply(tabs,args)}else new $.ui.tabs(this,args[0]||{})})};$.ui.tabs=function(el,options){var self=this;this.options=$.extend({},$.ui.tabs.defaults,options);this.element=el;if(options.selected===null)this.options.selected=null;this.options.event+='.tabs';$(el).bind('setData.tabs',function(event,key,value){if((/^selected/).test(key)){self.select(value)}else{self.options[key]=value;self.tabify()}}).bind('getData.tabs',function(event,key){return self.options[key]});$.data(el,'tabs',this);this.tabify(true)};$.ui.tabs.defaults={selected:0,unselect:false,event:'click',disabled:[],cookie:null,spinner:'Loading&#8230;',cache:false,idPrefix:'ui-tabs-',ajaxOptions:{},fx:null,tabTemplate:'<li><a href="#{href}"><span>#{label}</span></a></li>',panelTemplate:'<div></div>',navClass:'ui-tabs-nav',selectedClass:'ui-tabs-selected',unselectClass:'ui-tabs-unselect',disabledClass:'ui-tabs-disabled',panelClass:'ui-tabs-panel',hideClass:'ui-tabs-hide',loadingClass:'ui-tabs-loading'};$.extend($.ui.tabs.prototype,{tabId:function(a){return a.title&&a.title.replace(/\s/g,'_').replace(/[^A-Za-z0-9\-_:\.]/g,'')||this.options.idPrefix+$.data(a)},ui:function(tab,panel){return{instance:this,options:this.options,tab:tab,panel:panel}},tabify:function(init){this.$lis=$('li:has(a[href])',this.element);this.$tabs=this.$lis.map(function(){return $('a',this)[0]});this.$panels=$([]);var self=this,o=this.options;this.$tabs.each(function(i,a){if(a.hash&&a.hash.replace('#','')){self.$panels=self.$panels.add(a.hash)}else if($(a).attr('href')!='#'){$.data(a,'href.tabs',a.href);$.data(a,'load.tabs',a.href);var id=self.tabId(a);a.href='#'+id;var $panel=$('#'+id);if(!$panel.length){$panel=$(o.panelTemplate).attr('id',id).addClass(o.panelClass).insertAfter(self.$panels[i-1]||self.element);$panel.data('destroy.tabs',true)};self.$panels=self.$panels.add($panel)}else o.disabled.push(i+1)});if(init){$(this.element).hasClass(o.navClass)||$(this.element).addClass(o.navClass);this.$panels.each(function(){var $this=$(this);$this.hasClass(o.panelClass)||$this.addClass(o.panelClass)});this.$tabs.each(function(i,a){if(location.hash){if(a.hash==location.hash){o.selected=i;if($.browser.msie||$.browser.opera){var $toShow=$(location.hash),toShowId=$toShow.attr('id');$toShow.attr('id','');setTimeout(function(){$toShow.attr('id',toShowId)},500)};scrollTo(0,0);return false}}else if(o.cookie){var index=parseInt($.cookie('ui-tabs'+$.data(self.element)),10);if(index&&self.$tabs[index]){o.selected=index;return false}}else if(self.$lis.eq(i).hasClass(o.selectedClass)){o.selected=i;return false}});this.$panels.addClass(o.hideClass);this.$lis.removeClass(o.selectedClass);if(o.selected!==null){this.$panels.eq(o.selected).show().removeClass(o.hideClass);this.$lis.eq(o.selected).addClass(o.selectedClass)};var href=o.selected!==null&&$.data(this.$tabs[o.selected],'load.tabs');if(href)this.load(o.selected);o.disabled=$.unique(o.disabled.concat($.map(this.$lis.filter('.'+o.disabledClass),function(n,i){return self.$lis.index(n)}))).sort();$(window).bind('unload',function(){self.$tabs.unbind('.tabs');self.$lis=self.$tabs=self.$panels=null})};for(var i=0,li;li=this.$lis[i];i++)$(li)[$.inArray(i,o.disabled)!=-1&&!$(li).hasClass(o.selectedClass)?'addClass':'removeClass'](o.disabledClass);if(o.cache===false)this.$tabs.removeData('cache.tabs');var hideFx,showFx,baseFx={'min-width':0,duration:1},baseDuration='normal';if(o.fx&&o.fx.constructor==Array){hideFx=o.fx[0]||baseFx,showFx=o.fx[1]||baseFx}else hideFx=showFx=o.fx||baseFx;var resetCSS={display:'',overflow:'',height:''};if(!$.browser.msie)resetCSS.opacity=''
function hideTab(clicked,$hide,$show){$hide.animate(hideFx,hideFx.duration||baseDuration,function(){$hide.addClass(o.hideClass).css(resetCSS);if($.browser.msie&&hideFx.opacity)$hide[0].style.filter='';if($show)showTab(clicked,$show,$hide)})}
function showTab(clicked,$show,$hide){if(showFx===baseFx)$show.css('display','block');$show.animate(showFx,showFx.duration||baseDuration,function(){$show.removeClass(o.hideClass).css(resetCSS);if($.browser.msie&&showFx.opacity)$show[0].style.filter='';$(self.element).triggerHandler('tabsshow',[self.ui(clicked,$show[0])],o.show)})}
function switchTab(clicked,$li,$hide,$show){$li.addClass(o.selectedClass).siblings().removeClass(o.selectedClass);hideTab(clicked,$hide,$show)};this.$tabs.unbind('.tabs').bind(o.event,function(){var $li=$(this).parents('li:eq(0)'),$hide=self.$panels.filter(':visible'),$show=$(this.hash);if(($li.hasClass(o.selectedClass)&&!o.unselect)||$li.hasClass(o.disabledClass)||$(this).hasClass(o.loadingClass)||$(self.element).triggerHandler('tabsselect',[self.ui(this,$show[0])],o.select)===false){this.blur();return false};self.options.selected=self.$tabs.index(this);if(o.unselect)if($li.hasClass(o.selectedClass)){self.options.selected=null;$li.removeClass(o.selectedClass);self.$panels.stop();hideTab(this,$hide);this.blur();return false}else if(!$hide.length){self.$panels.stop();var a=this;self.load(self.$tabs.index(this),function(){$li.addClass(o.selectedClass).addClass(o.unselectClass);showTab(a,$show)});this.blur();return false};if(o.cookie)$.cookie('ui-tabs'+$.data(self.element),self.options.selected,o.cookie);self.$panels.stop();if($show.length){var a=this;self.load(self.$tabs.index(this),$hide.length?function(){switchTab(a,$li,$hide,$show)}:function(){$li.addClass(o.selectedClass);showTab(a,$show)})}else throw 'jQuery UI Tabs: Mismatching fragment identifier.';if($.browser.msie)this.blur();return false});if(!(/^click/).test(o.event))this.$tabs.bind('click.tabs',function(){return false})},add:function(url,label,index){if(index==undefined)index=this.$tabs.length;var o=this.options,$li=$(o.tabTemplate.replace(/#\{href\}/,url).replace(/#\{label\}/,label));$li.data('destroy.tabs',true);var id=url.indexOf('#')==0?url.replace('#',''):this.tabId($('a:first-child',$li)[0]),$panel=$('#'+id);if(!$panel.length){$panel=$(o.panelTemplate).attr('id',id).addClass(o.panelClass).addClass(o.hideClass);$panel.data('destroy.tabs',true)};if(index>=this.$lis.length){$li.appendTo(this.element);$panel.appendTo(this.element.parentNode)}else{$li.insertBefore(this.$lis[index]);$panel.insertBefore(this.$panels[index])};o.disabled=$.map(o.disabled,function(n,i){return n>=index?++n:n});this.tabify();if(this.$tabs.length==1){$li.addClass(o.selectedClass);$panel.removeClass(o.hideClass);var href=$.data(this.$tabs[0],'load.tabs');if(href)this.load(index,href)};$(this.element).triggerHandler('tabsadd',[this.ui(this.$tabs[index],this.$panels[index])],o.add)},remove:function(index){var o=this.options,$li=this.$lis.eq(index).remove(),$panel=this.$panels.eq(index).remove();if($li.hasClass(o.selectedClass)&&this.$tabs.length>1)this.select(index+(index+1<this.$tabs.length?1:-1));o.disabled=$.map($.grep(o.disabled,function(n,i){return n!=index}),function(n,i){return n>=index?--n:n});this.tabify();$(this.element).triggerHandler('tabsremove',[this.ui($li.find('a')[0],$panel[0])],o.remove)},enable:function(index){var o=this.options;if($.inArray(index,o.disabled)==-1)return;var $li=this.$lis.eq(index).removeClass(o.disabledClass);if($.browser.safari){$li.css('display','inline-block');setTimeout(function(){$li.css('display','block')},0)};o.disabled=$.grep(o.disabled,function(n,i){return n!=index});$(this.element).triggerHandler('tabsenable',[this.ui(this.$tabs[index],this.$panels[index])],o.enable)},disable:function(index){var self=this,o=this.options;if(index!=o.selected){this.$lis.eq(index).addClass(o.disabledClass);o.disabled.push(index);o.disabled.sort();$(this.element).triggerHandler('tabsdisable',[this.ui(this.$tabs[index],this.$panels[index])],o.disable)}},select:function(index){if(typeof index=='string')index=this.$tabs.index(this.$tabs.filter('[href$='+index+']')[0]);this.$tabs.eq(index).trigger(this.options.event)},load:function(index,callback){var self=this,o=this.options,$a=this.$tabs.eq(index),a=$a[0],bypassCache=callback==undefined||callback===false,url=$a.data('load.tabs');callback=callback||function(){};if(!url||($.data(a,'cache.tabs')&&!bypassCache)){callback();return};if(o.spinner){var $span=$('span',a);$span.data('label.tabs',$span.html()).html('<em>'+o.spinner+'</em>')};var finish=function(){self.$tabs.filter('.'+o.loadingClass).each(function(){$(this).removeClass(o.loadingClass);if(o.spinner){var $span=$('span',this);$span.html($span.data('label.tabs')).removeData('label.tabs')}});self.xhr=null},ajaxOptions=$.extend({},o.ajaxOptions,{url:url,success:function(r,s){$(a.hash).html(r);finish();callback();if(o.cache)$.data(a,'cache.tabs',true);$(self.element).triggerHandler('tabsload',[self.ui(self.$tabs[index],self.$panels[index])],o.load);o.ajaxOptions.success&&o.ajaxOptions.success(r,s)}});if(this.xhr){this.xhr.abort();finish()};$a.addClass(o.loadingClass);setTimeout(function(){self.xhr=$.ajax(ajaxOptions)},0)},url:function(index,url){this.$tabs.eq(index).removeData('cache.tabs').data('load.tabs',url)},destroy:function(){var o=this.options;$(this.element).unbind('.tabs').removeClass(o.navClass).removeData('tabs');this.$tabs.each(function(){var href=$.data(this,'href.tabs');if(href)this.href=href;var $this=$(this).unbind('.tabs');$.each(['href','load','cache'],function(i,prefix){$this.removeData(prefix+'.tabs')})});this.$lis.add(this.$panels).each(function(){if($.data(this,'destroy.tabs')){$(this).remove()}else $(this).removeClass([o.selectedClass,o.unselectClass,o.disabledClass,o.panelClass,o.hideClass].join(' '))})}})})(jQuery);
Drupal.behaviors.tabs=function(context){var fx={duration:Drupal.settings.tabs.speed};if(Drupal.settings.tabs.fade)fx.opacity='toggle';if(Drupal.settings.tabs.slide)fx.height='toggle';$('.drupal-tabs:not(.tabs-processed)',context).addClass('tabs-processed').each(function(){if($(this).is('.tabs-navigation'))Drupal.tabsNavigation(this)}).find('> ul').tabs({selectedClass:'active',fx:fx}).addClass('tabs').each(function(){var newClass=$(this).parents('.drupal-tabs').size()>1?'secondary':'primary';$(this).addClass(newClass)}).after('<span class="clear"></span>').end().show()};Drupal.tabsNavigation=function(elt){var tabsetName=$(elt).get(0).id.substring(5),count=$(elt).find('> ul > li').size(),$tabs=$(elt).tabs();for(i=1;i<=count;i++){var tabContent=$('#tabs-'+tabsetName+'-'+i);if((i>1)||(i<count))tabContent.append('<span class="clear"></span><div class="tabs-nav-link-sep"></div>');if(i>1){var link=$(document.createElement('a')).append(Drupal.settings.tabs.previous_text).attr('id','tabs-'+tabsetName+'-previous-link-'+i).addClass('tabs-nav-previous').click(function(){var tabIndex=parseInt($(this).attr('id').substring($(this).attr('id').lastIndexOf('-')+1))-1;$tabs.tabs('select',tabIndex-1);return false});tabContent.append(link)};if(i<count){var link=$(document.createElement('a')).append(Drupal.settings.tabs.next_text).attr('id','tabs-'+tabsetName+'-next-button-'+i).addClass('tabs-nav-next').click(function(){var tabIndex=parseInt($(this).attr('id').substring($(this).attr('id').lastIndexOf('-')+1))-1;$tabs.tabs('select',tabIndex+1);return false});tabContent.append(link)};tabContent.append('<span class="clear"></span>')}};Drupal.tabsLocalTasks=function(elt){var elt=elt?elt:document;if(Drupal.settings&&Drupal.settings.tabs&&Drupal.dynamicload&&typeof (Drupal.dynamicload=='function'))$(elt).find('ul.tabs.primary').each(function(){var index=1,activeIndex;$(this).addClass('tabs-processed').find('li > a').each(function(){var div=document.createElement('div');$(div).attr('id','section-'+index).addClass('fragment');var parentDiv=$(this).parents('div').get(0);parentDiv.appendChild(div);if($(this).is('.active')){activeIndex=parseInt(index)}else Drupal.dynamicload(this,{target:document.getElementById('section-'+index),useClick:false,show:false});$(this).attr('href','#section-'+index);index++}).end().parent('div').each(function(){while(this.nextSibling){var oldDiv=this.parentNode.removeChild(this.nextSibling);document.getElementById('section-'+activeIndex).appendChild(oldDiv)}}).tabs({onShow:Drupal.tabsAddClassesCallback()})})};
(function($){function Tipsy(element,options){this.$element=$(element);this.options=options;this.enabled=true;this.fixTitle()};Tipsy.prototype={show:function(){var title=this.getTitle();if(title&&this.enabled){var $tip=this.tip();$tip.find('.tipsy-inner')[this.options.html?'html':'text'](title);$tip[0].className='tipsy';$tip.remove().css({top:0,left:0,visibility:'hidden',display:'block'}).appendTo(document.body);var pos=$.extend({},this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight}),actualWidth=$tip[0].offsetWidth,actualHeight=$tip[0].offsetHeight,gravity=(typeof this.options.gravity=='function')?this.options.gravity.call(this.$element[0]):this.options.gravity,tp;switch(gravity.charAt(0)){case'n':tp={top:pos.top+pos.height+this.options.offset,left:pos.left+pos.width/2-actualWidth/2};break;case's':tp={top:pos.top-actualHeight-this.options.offset,left:pos.left+pos.width/2-actualWidth/2};break;case'e':tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left-actualWidth-this.options.offset};break;case'w':tp={top:pos.top+pos.height/2-actualHeight/2,left:pos.left+pos.width+this.options.offset};break};if(gravity.length==2)if(gravity.charAt(1)=='w'){tp.left=pos.left+pos.width/2-15}else tp.left=pos.left+pos.width/2-actualWidth+15;$tip.css(tp).addClass('tipsy-'+gravity);if(this.options.fade){$tip.stop().css({opacity:0,display:'block',visibility:'visible'}).animate({opacity:this.options.opacity})}else $tip.css({visibility:'visible',opacity:this.options.opacity})}},hide:function(){if(this.options.fade){this.tip().stop().fadeOut(function(){$(this).remove()})}else this.tip().remove()},fixTitle:function(){var $e=this.$element;if($e.attr('title')||typeof ($e.attr('original-title'))!='string')$e.attr('original-title',$e.attr('title')||'').removeAttr('title')},getTitle:function(){var title,$e=this.$element,o=this.options;this.fixTitle();var title,o=this.options;if(typeof o.title=='string'){title=$e.attr(o.title=='title'?'original-title':o.title)}else if(typeof o.title=='function')title=o.title.call($e[0]);title=(''+title).replace(/(^\s*|\s*$)/,"");return title||o.fallback},tip:function(){if(!this.$tip)this.$tip=$('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"></div>');return this.$tip},validate:function(){if(!this.$element[0].parentNode){this.hide();this.$element=null;this.options=null}},enable:function(){this.enabled=true},disable:function(){this.enabled=false},toggleEnabled:function(){this.enabled=!this.enabled}};$.fn.tipsy=function(options){if(options===true){return this.data('tipsy')}else if(typeof options=='string'){var tipsy=this.data('tipsy');if(tipsy)tipsy[options]();return this};options=$.extend({},$.fn.tipsy.defaults,options)
function get(ele){var tipsy=$.data(ele,'tipsy');if(!tipsy){tipsy=new Tipsy(ele,$.fn.tipsy.elementOptions(ele,options));$.data(ele,'tipsy',tipsy)};return tipsy}
function enter(){var tipsy=get(this);tipsy.hoverState='in';if(options.delayIn==0){tipsy.show()}else{tipsy.fixTitle();setTimeout(function(){if(tipsy.hoverState=='in')tipsy.show()},options.delayIn)}}
function leave(){var tipsy=get(this);tipsy.hoverState='out';if(options.delayOut==0){tipsy.hide()}else setTimeout(function(){if(tipsy.hoverState=='out')tipsy.hide()},options.delayOut)};if(!options.live)this.each(function(){get(this)});if(options.trigger!='manual'){var binder=options.live?'live':'bind',eventIn=options.trigger=='hover'?'mouseenter':'focus',eventOut=options.trigger=='hover'?'mouseleave':'blur';this[binder](eventIn,enter)[binder](eventOut,leave)};return this};$.fn.tipsy.defaults={delayIn:0,delayOut:0,fade:false,fallback:'',gravity:'n',html:false,live:false,offset:0,opacity:0.8,title:'title',trigger:'hover'};$.fn.tipsy.elementOptions=function(ele,options){return $.metadata?$.extend({},options,$(ele).metadata()):options};$.fn.tipsy.autoNS=function(){return $(this).offset().top>($(document).scrollTop()+$(window).height()/2)?'s':'n'};$.fn.tipsy.autoWE=function(){return $(this).offset().left>($(document).scrollLeft()+$(window).width()/2)?'e':'w'}})(jQuery);
Drupal.behaviors.tipsy=function(context){if(Drupal.settings.tipsy.drupal_forms){var formElement=$('.form-item');formElement.each(function(){var desc=$(this).find('.description');desc.css('display','none');if(desc.length>0){formSettings=Drupal.settings.tipsy.drupal_forms.options;$(this).find('input[type=text],input[type=password],textarea,select,.option').tipsy({title:function(){return desc.html()},html:true,delayIn:parseInt(formSettings.delayIn),delayOut:parseInt(formSettings.delayOut),fade:parseInt(formSettings.fade),gravity:tipsy_determine_gravity(formSettings.gravity),offset:parseInt(formSettings.offset),opacity:parseFloat(formSettings.opacity),trigger:formSettings.trigger})}})};if(Drupal.settings.tipsy.custom_selectors){var selectors=Drupal.settings.tipsy.custom_selectors;$(selectors).each(function(){var selector=$(this)[0].selector,options=$(this)[0].options,r=/^".*"$/;if(r.exec(options.title)!=null)options.title=options.title.replace(/"/g,'');$(selector).tipsy({title:options.title,html:parseInt(options.html),delayIn:parseInt(options.delayIn),delayOut:parseInt(options.delayOut),fade:parseInt(options.fade),gravity:tipsy_determine_gravity(options.gravity),offset:parseInt(options.offset),opacity:parseFloat(options.opacity),trigger:options.trigger})})}}
function tipsy_determine_gravity(g){if(g=='autoWE'){return $.fn.tipsy.autoWE}else if(g=='autoNS'){return $.fn.tipsy.autoNS}else return g};
(function($){$.fn.bgIframe=$.fn.bgiframe=function(s){if($.browser.msie&&parseInt($.browser.version)<=6){s=$.extend({top:'auto',left:'auto',width:'auto',height:'auto',opacity:true,src:'javascript:false;'},s||{});var prop=function(n){return n&&n.constructor==Number?n+'px':n},html='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+s.src+'"style="display:block;position:absolute;z-index:-1;'+(s.opacity!==false?'filter:Alpha(Opacity=\'0\');':'')+'top:'+(s.top=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+\'px\')':prop(s.top))+';left:'+(s.left=='auto'?'expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+\'px\')':prop(s.left))+';width:'+(s.width=='auto'?'expression(this.parentNode.offsetWidth+\'px\')':prop(s.width))+';height:'+(s.height=='auto'?'expression(this.parentNode.offsetHeight+\'px\')':prop(s.height))+';"/>';return this.each(function(){if($('> iframe.bgiframe',this).length==0)this.insertBefore(document.createElement(html),this.firstChild)})};return this};if(!$.browser.version)$.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1]})(jQuery);
(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,track=function(ev){cX=ev.pageX;cY=ev.pageY},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)}},delay=function(ev,ob){ob.hoverIntent_t=clearTimeout(ob.hoverIntent_t);ob.hoverIntent_s=0;return cfg.out.apply(ob,[ev])},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),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);
(function($){$.fn.supposition=function(){var $w=$(window),_offset=function(dir){return window[dir=='y'?'pageYOffset':'pageXOffset']||document.documentElement&&document.documentElement[dir=='y'?'scrollTop':'scrollLeft']||document.body[dir=='y'?'scrollTop':'scrollLeft']},onInit=function(){$topNav=$('li',this);var cZ=parseInt($topNav.css('z-index'))+$topNav.length;$topNav.each(function(){$(this).css({zIndex:--cZ})})},onHide=function(){this.css({marginTop:'',marginLeft:''})},onBeforeShow=function(){this.each(function(){var $u=$(this);$u.css('display','block');var menuWidth=$u.width(),parentWidth=$u.parents('ul').width(),totalRight=$w.width()+_offset('x'),menuRight=$u.offset().left+menuWidth;if(menuRight>totalRight)$u.css('margin-left',($u.parents('ul').length==1?totalRight-menuRight:-(menuWidth+parentWidth))+'px');var windowHeight=$w.height(),offsetTop=$u.offset().top,menuHeight=$u.height(),baseline=windowHeight+_offset('y'),expandUp=(offsetTop+menuHeight>baseline);if(expandUp)$u.css('margin-top',baseline-(menuHeight+offsetTop));$u.css('display','none')})};return this.each(function(){var o=$.fn.superfish.o[this.serial],_onInit=o.onInit,_onBeforeShow=o.onBeforeShow,_onHide=o.onHide;$.extend($.fn.superfish.o[this.serial],{onInit:function(){onInit.call(this);_onInit.call(this)},onBeforeShow:function(){onBeforeShow.call(this);_onBeforeShow.call(this)},onHide:function(){onHide.call(this);_onHide.call(this)}})})}})(jQuery);
(function($){$.fn.supersubs=function(options){var opts=$.extend({},$.fn.supersubs.defaults,options);return this.each(function(){var $$=$(this),o=$.meta?$.extend({},opts,$$.data()):opts,fontsize=$('<li id="menu-fontsize">&#8212;</li>').css({padding:0,position:'absolute',top:'-999em',width:'auto'}).appendTo($$).width();$('#menu-fontsize').remove();$ULs=$$.find('ul');$ULs.each(function(i){var $ul=$ULs.eq(i),$LIs=$ul.children(),$As=$LIs.children('a'),liFloat=$LIs.css('white-space','nowrap').css('float'),emWidth=$ul.add($LIs).add($As).css({'float':'none',width:'auto'}).end().end()[0].clientWidth/fontsize;emWidth+=o.extraWidth;if(emWidth>o.maxWidth){emWidth=o.maxWidth}else if(emWidth<o.minWidth)emWidth=o.minWidth;emWidth+='em';$ul.css('width',emWidth);$LIs.css({'float':liFloat,width:'100%','white-space':'normal'}).each(function(){var $childUl=$('>ul',this),offsetDirection=$childUl.css('left')!==undefined?'left':'right';$childUl.css(offsetDirection,emWidth)})})})};$.fn.supersubs.defaults={minWidth:9,maxWidth:25,extraWidth:0}})(jQuery);
(function($){$.fn.superfish=function(op){var sf=$.fn.superfish,c=sf.c,$arrow=$(['<span class="',c.arrowClass,'"> &#187;</span>'].join('')),over=function(){var $$=$(this),menu=getMenu($$);clearTimeout(menu.sfTimer);$$.showSuperfishUl().siblings().hideSuperfishUl()},out=function(){var $$=$(this),menu=getMenu($$),o=sf.op;clearTimeout(menu.sfTimer);menu.sfTimer=setTimeout(function(){o.retainPath=($.inArray($$[0],o.$path)>-1);$$.hideSuperfishUl();if(o.$path.length&&$$.parents(['li.',o.hoverClass].join('')).length<1)over.call(o.$path)},o.delay)},getMenu=function($menu){var menu=$menu.parents(['ul.',c.menuClass,':first'].join(''))[0];sf.op=sf.o[menu.serial];return menu},addArrow=function($a){$a.addClass(c.anchorClass).append($arrow.clone())};return this.each(function(){var s=this.serial=sf.o.length,o=$.extend({},sf.defaults,op);o.$path=$('li.'+o.pathClass,this).slice(0,o.pathLevels).each(function(){$(this).addClass([o.hoverClass,c.bcClass].join(' ')).filter('li:has(ul)').removeClass(o.pathClass)});sf.o[s]=sf.op=o;$('li:has(ul)',this)[($.fn.hoverIntent&&!o.disableHI)?'hoverIntent':'hover'](over,out).each(function(){if(o.autoArrows)addArrow($('>a:first-child',this))}).not('.'+c.bcClass).hideSuperfishUl();var $a=$('a',this);$a.each(function(i){var $li=$a.eq(i).parents('li');$a.eq(i).focus(function(){over.call($li)}).blur(function(){out.call($li)})});o.onInit.call(this)}).each(function(){menuClasses=[c.menuClass];if(sf.op.dropShadows&&!($.browser.msie&&$.browser.version<7))menuClasses.push(c.shadowClass);$(this).addClass(menuClasses.join(' '))})};var sf=$.fn.superfish;sf.o=[];sf.op={};sf.IE7fix=function(){var o=sf.op;if($.browser.msie&&$.browser.version>6&&o.dropShadows&&o.animation.opacity!=undefined)this.toggleClass(sf.c.shadowClass+'-off')};sf.c={bcClass:'sf-breadcrumb',menuClass:'sf-js-enabled',anchorClass:'sf-with-ul',arrowClass:'sf-sub-indicator',shadowClass:'sf-shadow'};sf.defaults={hoverClass:'sfHover',pathClass:'overideThisToUse',pathLevels:1,delay:800,animation:{opacity:'show'},speed:'normal',autoArrows:true,dropShadows:true,disableHI:false,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}};$.fn.extend({hideSuperfishUl:function(){var o=sf.op,not=(o.retainPath===true)?o.$path:'';o.retainPath=false;var $ul=$(['li.',o.hoverClass].join(''),this).add(this).not(not).removeClass(o.hoverClass).find('>ul').hide().css('visibility','hidden');o.onHide.call($ul);return this},showSuperfishUl:function(){var o=sf.op,sh=sf.c.shadowClass+'-off',$ul=this.addClass(o.hoverClass).find('>ul:hidden').css('visibility','visible');sf.IE7fix.call($ul);o.onBeforeShow.call($ul);$ul.animate(o.animation,o.speed,function(){sf.IE7fix.call($ul);o.onShow.call($ul)});return this}})})(jQuery);
Drupal.behaviors.fusionEqualheights=function(context){if(jQuery().equalHeights){$("#header-top-wrapper div.equal-heights div.content").equalHeights();$("#header-group-wrapper div.equal-heights div.content").equalHeights();$("#preface-top-wrapper div.equal-heights div.content").equalHeights();$("#preface-bottom div.equal-heights div.content").equalHeights();$("#sidebar-first div.equal-heights div.content").equalHeights();$("#content-top div.equal-heights div.content").equalHeights();$("#content-region div.equal-heights div.content").equalHeights();$("#content-bottom div.equal-heights div.content").equalHeights();$("#node-top div.equal-heights div.content").equalHeights();$("#node-bottom div.equal-heights div.content").equalHeights();$("#sidebar-last div.equal-heights div.content").equalHeights();$("#postscript-top div.equal-heights div.content").equalHeights();$("#postscript-bottom-wrapper div.equal-heights div.content").equalHeights();$("#footer-wrapper div.equal-heights div.content").equalHeights()}};Drupal.behaviors.fusionIE6fixes=function(context){if($.browser.msie&&($.browser.version<7)){$('form input.form-submit').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')});$('#primary-menu ul.sf-menu li.expanded').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')});$('.sf-menu li').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')});$('#search input#search_header').hover(function(){$(this).addClass('hover')},function(){$(this).removeClass('hover')})}};Drupal.behaviors.fusionOverlabel=function(context){if(jQuery().overlabel)$("div.fusion-horiz-login label").overlabel()};Drupal.behaviors.fusionSuperfish=function(context){$("#primary-menu ul.sf-menu").superfish({hoverClass:'sfHover',delay:250,animation:{opacity:'show',height:'show'},speed:'fast',autoArrows:false,dropShadows:false,disableHI:true}).supposition()};Drupal.behaviors.fusionSuperfishBlocks=function(context){$("div.block ul.sf-menu").superfish({hoverClass:'sfHover',delay:250,animation:{opacity:'show',height:'show'},speed:'fast',autoArrows:false,dropShadows:false,disableHI:true}).supposition()};Drupal.behaviors.fusionGridMask=function(context){if($('body.grid-mask-enabled').size()>0){var grid_width_pos=parseInt($('body').attr('class').indexOf('grid-width-'))+11,grid_width=$('body').attr('class').substring(grid_width_pos,grid_width_pos+2),grid='<div id="grid-mask-overlay" class="full-width"><div class="row">';for(i=1;i<=grid_width;i++)grid+='<div class="block grid'+grid_width+'-1"><div class="inner"></div></div>';grid+='</div></div>';$('body.grid-mask-enabled').prepend(grid);$('#grid-mask-overlay .row').addClass('grid'+grid_width+'-'+grid_width);$('#grid-mask-overlay .block .inner').height($('body').height())}};Drupal.behaviors.fusionGridMaskToggle=function(context){if($('body.grid-mask-enabled').size()>0){$('body.grid-mask-enabled').prepend('<div id="grid-mask-toggle">grid</div>');$('div#grid-mask-toggle').toggle(function(){$(this).toggleClass('grid-on');$('body').toggleClass('grid-mask')},function(){$(this).toggleClass('grid-on');$('body').toggleClass('grid-mask')})}};Drupal.behaviors.fusionPanelsShowEdit=function(context){if($("#panels-edit-display-form").size()>0||$("#page-manager-edit").size()>0){$("#panels-edit-display-form").parents('.row, .block').css("overflow","visible");$("#page-manager-edit").parents('.row, .block').css("overflow","visible")}};Drupal.behaviors.fusionScreenshotpreview=function(context){if($('span.preview-icon').size()>0){var xOffset=20,yOffset=0;$('span.preview-icon').hover(function(e){var img_class=this.id,caption=$(this).parent().text();$('body').append('<div id="screenshot"><div class="screenshot-preview '+img_class+'" alt="preview"></div><div class="screenshot-caption">'+caption+'</div></div>');$("#screenshot").hide();$("#screenshot").css("left",(e.pageX+xOffset)+"px").css("top",(e.pageY+yOffset)+"px");var img=new Image();img.onload=function(){var caption_height=parseFloat($("#screenshot .screenshot-caption").css("height"));$("#screenshot").css("height",img.height+caption_height);$("#screenshot").css("width",img.width);$("#screenshot ."+img_class).css("height",img.height);$("#screenshot ."+img_class).css("width",img.width);$("#screenshot .screenshot-caption").css("width",img.width-10);$("#screenshot").fadeIn("fast")};img.src=$("."+img_class).css("background-image").replace(/^url|[\(\)\"]/g,'')},function(){$("#screenshot").remove()});$("span.preview-icon").mousemove(function(e){$("#screenshot").css("left",(e.pageX+xOffset)+"px").css("top",(e.pageY+yOffset)+"px")})}};
Drupal.behaviors.acquia_prosperRoundedCorner=function(context){$(".prosper-rounded-title h2.block-title").corner("top 5px");$(".prosper-shoppingcart h2.block-title").corner("top 5px");$(".prosper-menu-list h2.block-title").corner("top 5px");$(".prosper-grayborder-darkbackground .inner").corner("7px")};
(function($)
{$.fn.formly=function(options,callback)
{var settings={'theme':'Base','onBlur':true};if(options)
{$.extend(settings,options);}
var formName=this.attr('id');if(!formName)
{formName=Math.ceil(Math.random()*5000);this.attr('id',formName);}
this.append('<div style="clear:both;"></div><div class="formlyAlerts"></div>');this.addClass('formlyWrapper-'+settings['theme']);if(this.attr('width'))
{this.css('width',this.attr('width'));}
if(this.attr('subtitle')||this.attr('title'))
{this.prepend('<hr/>');}
if(this.attr('subtitle'))
{this.prepend('<h2>'+this.attr('subtitle')+'</h2>');}
if(this.attr('title'))
{this.prepend('<h1>'+this.attr('title')+'</h1>');}
this.children().each(function(index,item)
{if($(item).attr('place'))
{if($(item).attr('type')=='password')
{var hID='pwPlace-'+$(item).attr('name');$(item).after('<input type="text" id="'+hID+'" value="'+$(item).attr('place')+'" class="formlyPWPlaces" />');$('#'+hID).css('color','#bbb');$(item).hide();$('#'+hID).show();$('#'+hID).focus(function()
{$('#'+hID).hide();$(item).show();$(item).focus();});$(item).blur(function()
{if(!$(item).val())
{$('#'+hID).show();$(item).hide();}});}
else
{$(item).val($(item).attr('place'));$(item).css('color','#bbb');}}
$(item).blur(function()
{if(!$(item).val()||$(item).val()==$(item).attr('pre-fix'))
{if($(item).attr('type')!='password')
{$(item).val($(item).attr('place'));$(item).css('color','#bbb');}}
if($(item).attr('pre-fix'))
{var originalVal=$(item).val();var thePrefix=$(item).attr('pre-fix');if(thePrefix.length==1)
{if(originalVal.charAt(0)!=thePrefix&&$(item).val()!=$(item).attr('place'))
{$(item).val(thePrefix+originalVal);}}
else
{if(originalVal.indexOf(thePrefix)==-1&&$(item).val()!=$(item).attr('place'))
{$(item).val(thePrefix+originalVal);}}}
if(settings['onBlur'])
{if($(item).attr('validate'))
{functions.validate(item);}
if($(item).attr('require'))
{functions.require(item);}
if($(item).attr('match'))
{functions.match(item);}}});$(item).focus(function()
{if($(item).attr('place'))
{if($(item).val()==$(item).attr('place'))
{$(item).val('');$(item).css('color','');}}
if($(item).attr('pre-fix')&&!$(item).val())
{$(item).val('');$(item).val($(item).attr('pre-fix'));}});$('#'+formName).find('input:reset').click(function(item)
{item.preventDefault();$('#'+formName).find('input:text, input:password, input:checkbox, input:radio').each(function()
{$(this).css('border-color','');if($(this).is(':checked'))
{$(this).attr('checked',false);}
if($(this).attr('place'))
{if($(this).attr('type')!='password')
{$(this).val($(this).attr('place'));$(this).css('color','#bbb');}
else
{if($(this).hasClass('formlyPWPlaces'))
{$(this).show();$(this).prev('input').hide();}
else
{$(this).val('');}}}
else
{if($(this).hasClass('formlyPWPlaces'))
{$(this).show();$(this).prev('input').hide();}
else
{$(this).val('');}}});$('#'+formName).find('.formlyAlert').each(function()
{$(this).fadeOut(function()
{$(this).remove()});});});});this.submit(function(item)
{var canSubmit=true;$(this).find('input').each(function()
{if($(this).attr('require'))
{if(!functions.require(this))
{canSubmit=false;}}
if($(this).attr('validate'))
{if(!functions.validate(this))
{canSubmit=false;}}
if($(this).attr('match'))
{if(!functions.match(this))
{canSubmit=false;}}});if(!canSubmit)
{item.preventDefault();}
else
{if(callback)
{item.preventDefault();callback($(this).serialize());}}});var functions={validateString:function(type,string)
{if(type=='email')
{var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
if(filter.test(string))
{return true;}
else
{return false;}}
else if(type=='http')
{var filter=/http:\/\/[A-Za-z0-9\.-]{3,}\.[A-Za-z]{2,3}/i
if(filter.test(string))
{return true;}
else
{return false;}}},validate:function(item)
{var alertName=formName+$(item).attr('name');if($(item).attr('validate')=='email')
{var valid=functions.validateString('email',$(item).val());var validType='email address';}
else if($(item).attr('validate')=='http')
{var valid=functions.validateString('http',$(item).val());var validType='web address';}
if(!valid)
{if(!$('#'+alertName).is(':visible'))
{$('#'+formName).find('.formlyAlerts').append('<div class="formlyInvalid formlyAlert" id="'+alertName+'">Invalid '+validType+'</div>')
$('#'+alertName).fadeIn();}
var borderColor=$('#'+alertName).css('background-color');$(item).css('border-color',borderColor);if($(item).attr('type')=='password')
{$(item).next('.formlyPWPlaces').css('border-color',borderColor);}
return false;}
else
{$('#'+alertName).fadeOut(function()
{$(this).remove()});$(item).css('border-color','');$('.formlyPWPlaces').css('border-color','');return true;}},require:function(item)
{var alertName=formName+$(item).attr('name');var label=$(item).attr('label')+' ';if(label=='undefined '){label='';}
if(!$(item).val()||$(item).val()==$(item).attr('place'))
{if(!$('#'+alertName).is(':visible'))
{$('#'+formName).find('.formlyAlerts').append('<div class="formlyRequired formlyAlert" id="'+alertName+'">'+label+'Required</div>')
$('#'+alertName).fadeIn();}
var borderColor=$('#'+alertName).css('background-color');$(item).css('border-color',borderColor);if($(item).attr('type')=='password')
{$(item).next('.formlyPWPlaces').css('border-color',borderColor);}
return false;}
else if($(item).attr('type')=='checkbox'&&!$(item).is(':checked'))
{if(!$('#'+alertName).is(':visible'))
{$('#'+formName).find('.formlyAlerts').append('<div class="formlyRequired formlyAlert" id="'+alertName+'">'+label+'Required</div>')
$('#'+alertName).fadeIn();$(item).focus();}
var borderColor=$('#'+alertName).css('background-color');$(item).css('border-color',borderColor);return false;}
else
{$('#'+alertName).fadeOut(function()
{$(this).remove()});$(item).css('border-color','');$('.formlyPWPlaces').css('border-color','');return true;}},match:function(item)
{var alertName=formName+$(item).attr('name');var label=$(item).attr('label')+' ';if(label=='undefined '){label='';}
var toMatch=$(item).attr('match');if($(item).val()!=$('#'+formName).find('input[name='+toMatch+']').val()||!$(item).val())
{if(!$('#'+alertName).is(':visible'))
{$('#'+formName).find('.formlyAlerts').append('<div class="formlyInvalid formlyAlert" id="'+alertName+'">'+label+'Does not match</div>')
$('#'+alertName).fadeIn();}
var borderColor=$('#'+alertName).css('background-color');$(item).css('border-color',borderColor);if($(item).attr('type')=='password')
{$(item).next('.formlyPWPlaces').css('border-color',borderColor);}
return false;}
else
{$('#'+alertName).fadeOut(function()
{$(this).remove()});$(item).css('border-color','');$('.formlyPWPlaces').css('border-color','');return true;}}};};})(jQuery);;
$().ready(function(){var str="<img class='comment-icon' src='/files/icon/comment.png'/>commentreply";$(".comment a").each(function(i){var str2=$(this).text();if(str2=="reply"){$(this).html(str);$(this).attr({title:"reply"})}});var str="<img class='comment-icon' src='/files/icon/edit.png'/>commentedit";$(".comment a").each(function(i){var str2=$(this).text();if(str2=="edit"){$(this).html(str);$(this).attr({title:"edit"})}});var str="<img class='comment-icon' src='/files/icon/delete.png'/>commentdelete";$(".comment a").each(function(i){var str2=$(this).text();if(str2=="delete"){$(this).html(str);$(this).attr({title:"delete"})}});var str="<img src='/files/icon/view.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="view"||str2=="View"){$(this).html(str);$(this).attr({title:"view"})}});var str="<img src='/files/icon/edit.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="edit"||str2=="Edit"||str2=="edit gallery"||str2=="edit forum"){$(this).html(str);$(this).attr({title:"edit"})}});var str="<img src='/files/icon/edit.png'/>";$("#sidebar-first .block a").each(function(i){var str2=$(this).text();if(str2=="edit"||str2=="Edit"){$(this).html(str);$(this).attr({title:"edit"})}});var str="<img src='/files/icon/delete.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="delete"||str2=="Delete"||str2=="Delete..."||str2=="Remove"){$(this).html(str);$(this).attr({title:"delete"})}});var str="<img src='/files/icon/revert.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="Restore"||str2=="Restore..."||str2=="reset"||str2=="Revert"){$(this).html(str);$(this).attr({title:"restore"})}});var str="<img src='/files/icon/download.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="Download"){$(this).html(str);$(this).attr({title:"download"})}});var str="<img src='/files/icon/fields.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="manage fields"){$(this).html(str);$(this).attr({title:"manage fields"})}});var str="<img src='/files/icon/configure.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="configure"||str2=="Configure"||str2=="edit block"){$(this).html(str);$(this).attr({title:"configure"})}});var str="<img src='/files/icon/configure.png'/>";$("#sidebar-first .block a").each(function(i){var str2=$(this).text();if(str2=="configure"||str2=="Configure"||str2=="edit block"){$(this).html(str);$(this).attr({title:"configure"})}});var str="<img src='/files/icon/menu_edit.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="edit menu"){$(this).html(str);$(this).attr({title:"edit menu"})}});var str="<img src='/files/icon/menu_edit.png'/>";$("#sidebar-first .block a").each(function(i){var str2=$(this).text();if(str2=="edit menu"){$(this).html(str);$(this).attr({title:"edit menu"})}});var str="<img src='/files/icon/view_edit.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="edit view"){$(this).html(str);$(this).attr({title:"edit view"})}});var str="<img src='/files/icon/view_edit.png'/>";$("#sidebar-first .block a").each(function(i){var str2=$(this).text();if(str2=="edit view"){$(this).html(str);$(this).attr({title:"edit view"})}});var str="<img src='/files/icon/export.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="Export"){$(this).html(str);$(this).attr({title:"export"})}});var str="<img src='/files/icon/export.png'/>";$("#sidebar-first .block a").each(function(i){var str2=$(this).text();if(str2=="Export"){$(this).html(str);$(this).attr({title:"export"})}});var str="<img src='/files/icon/clone.png'/>";$("#content-content a").each(function(i){var str2=$(this).text();if(str2=="Clone"||str2=="clone"){$(this).html(str);$(this).attr({title:"clone"})}});var str="<img src='/files/icon/clone.png'/>";$("#sidebar-first .block a").each(function(i){var str2=$(this).text();if(str2=="Clone"||str2=="clone"){$(this).html(str);$(this).attr({title:"clone"})}});var str="<img class='comment-icon' src='/files/icon/comment.png'/>reply";$(".comment a").each(function(i){var str2=$(this).text();if(str2=="commentreply"){$(this).html(str);$(this).attr({title:"reply"})}});var str="<img class='comment-icon' src='/files/icon/edit.png'/>edit";$(".comment a").each(function(i){var str2=$(this).text();if(str2=="commentedit"){$(this).html(str);$(this).attr({title:"edit"})}});var str="<img class='comment-icon' src='/files/icon/delete.png'/>delete";$(".comment a").each(function(i){var str2=$(this).text();if(str2=="commentdelete"){$(this).html(str);$(this).attr({title:"delete"})}});$("div.service-label").html("Share:");$("table th:contains('Operations')").html("");$("table#taxonomy th:contains('Name')").html("");$("form#user-admin-account th:contains('Operations')").html("");$("fieldset:has(legend a:contains('Contact settings'))").hide();$("fieldset:has(legend a:contains('Email settings'))").hide();$("fieldset:has(legend a:contains('Theme configuration'))").hide();$("ul.primary li:has(a:contains('Contact'))").hide();$("ul.ui-tabs-nav li:has(a:contains('Contact'))").show();$("p a:contains('More information about formatting options')").hide();$("div.description:contains('and all its children is fixed at')").hide();$("option:contains('- None -')").hide();$("form#user-filter-form").hide();$("form#taxonomy-form-term fieldset:has(legend a:contains('Advanced options'))").hide();$("form#taxonomy-form-term fieldset:has(legend a:contains('Meta tags'))").hide();$("ul.tabs:has(li a:contains('Automatic image handling'))").show();$("div.follow-links a").attr("target","_blank");$("option:contains('Manual Backups Directory')").remove();$("form#filebrowser-upload-form fieldset").removeClass("collapsed");var str="This screen allows you to add/edit/delete terms for this categorisation.";$("p:contains('is a single hierarchy vocabulary.')").html(str);$("textarea#edit-comment").css({height:"50px"});$("form#node-form input#edit-preview").attr({onclick:"form.action='javascript:history.back(-1);'",value:"Cancel",name:"op"});$(".node .filefield-file a").attr({target:"_blank"});$(".view .filefield-file a").attr({target:"_blank"});$(".sm2-filelink a").attr({target:"_blank"});$("div.image-gallery-terms li:has(h3:contains('Website Graphics'))").remove();$("div.node-type-dir_listing td a").each(function(){var str="/files/webfiles/",str2=$(this).html(),str3=str+str2;$(this).attr("href",str3);$(this).attr("target","_blank")});$("form#simplenews-block-form-1 input#edit-submit").attr({value:"Submit"});$(".view img").attr({alt:"",title:""});$("h1.title").each(function(i){var str=$(this).text();if(str=="Create Web Directory listing")$(this).html("Create a new Web Directory listing");if(str=="Create Forum topic")$(this).html("Create a new Forum Topic");if(str=="Create Web Image")$(this).html("Create a new Image");if(str=="Create Media Partner Website Page")$(this).html("Create a new Media Partner Website Page");if(str=="Create Web News Blog")$(this).html("Create a new Web News Blog");if(str=="Create Web Newsletter Issue")$(this).html("Create a new Web Newsletter Issue");if(str=="Create Web Page")$(this).html("Create a new Website Page");if(str=="Create Audio File")$(this).html("Create a new Audio File");if(str=="Create Video File")$(this).html("Create a new Video File")});$('div#main-group div.view div.view-content a img:not([src*=/icon/]), div.node-type-flickr_gallery a.lightbox-processed img').wrap("<span class='magnify-img' />");$('div#main-group div.view div.view-content a:has(img:not([src*=/icon/])), div.node-type-flickr_gallery a.lightbox-processed:has(img)').hover(function(){$(this).children("span.magnify-img").animate({opacity:.3},300)},function(){$(this).children("span.magnify-img").animate({opacity:1},500)});$('div#main-group div.view div.view-content a:has(img:not([src*=/icon/])), div.node-type-flickr_gallery a.lightbox-processed:has(img)').append("<span class='magnify' />");$('div#main-group div.view div.view-content a:has(img:not([src*=/icon/])) span.magnify, div.node-type-flickr_gallery a.lightbox-processed:has(img) span.magnify').css({opacity:'0'});$('div#main-group div.view div.view-content a:has(img:not([src*=/icon/])), div.node-type-flickr_gallery a.lightbox-processed:has(img)').hover(function(){$(this).children('span.magnify').animate({opacity:1,marginTop:'-21px'},300)},function(){$(this).children('span.magnify').animate({opacity:0,marginTop:'-8px'},500)})});
$().ready(function() {
		$('.node-type-product .service-links').insertAfter($('.node-type-product .add-to-cart'));
});;
$().ready(function(){$("div#content-region:has(h1:contains('Create Performance')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Performance')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Performance')) h1").text("Submit a Performance Application");$("div#content-region:has(h1:contains('Create Volunteer')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Volunteer')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Volunteer')) h1").text("Submit a Volunteer Application");$("div#content-region:has(h1:contains('Create Market Stall')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Market Stall')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Market Stall')) h1").text("Submit a Market Stall Application");$("div#content-region:has(h1:contains('Create Event Personnel')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Event Personnel')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Event Personnel')) h1").text("Submit an Event Personnel Application");$("div#content-region:has(h1:contains('Create Arts Grant')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Arts Grant')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Arts Grant')) h1").text("Submit an Arts Grant Application");$("div#content-region:has(h1:contains('Create Musician')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Musician')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Musician')) h1").text("Submit a Musician Application");$("div#content-region:has(h1:contains('Create Decor / Installation')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Decor / Installation')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Decor / Installation')) h1").text("Submit a Decor / Installation Application");$("div#content-region:has(h1:contains('Create Kids Space')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Kids Space')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Kids Space')) h1").text("Submit a Kids Space Application");$("div#content-region:has(h1:contains('Create Food Stall')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Food Stall')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Food Stall')) h1").text("Submit a Food Stall Application");$("div#content-region:has(h1:contains('Create Massage / Healing Stall')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Massage / Healing Stall')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Massage / Healing Stall')) h1").text("Submit a Massage / Healing Stall Application");$("div#content-region:has(h1:contains('Create Media')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Media')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Media')) h1").text("Submit a Media Pass Application");$("div#content-region:has(h1:contains('Create VJ / Multimedia')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create VJ / Multimedia')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create VJ / Multimedia')) h1").text("Submit a VJ / Multimedia Application");$("div#content-region:has(h1:contains('Create Workshop / Discussion')) input#edit-submit").attr({value:"Submit Application"});$("div#content-region:has(h1:contains('Create Workshop / Discussion')) input#edit-preview").remove();$("div#content-region:has(h1:contains('Create Workshop / Discussion')) h1").text("Submit a Workshop / Discussion Application");$("div.messages:contains('has been created')").hide();$("option:contains('- None -')").remove();$("input:submit[value='Delete node']").attr('value','Delete Selected Items');$("form#views-bulk-operations-form--1 fieldset legend:contains('Placeholder tokens')").hide();$("div.views-node-selector").insertBefore("div#edit-recipient-wrapper");$("div.view fieldset:has(legend a:contains('Recipients'))").hide();$("div.view fieldset fieldset:has(legend a:contains('Replacements'))").hide();$("div.view fieldset fieldset:has(legend a:contains('Message format'))").hide();$("a#switch_edit-views-send-message").remove()});
(function($){var style=document.createElement('div').style,moz=style.MozBorderRadius!==undefined,webkit=style.WebkitBorderRadius!==undefined,radius=style.BorderRadius!==undefined,mode=document.documentMode||0,noBottomFold=$.browser.msie&&(($.browser.version<8&&!mode)||mode<8),expr=$.browser.msie&&(function(){var div=document.createElement('div');try{div.style.setExpression('width','0+0');div.style.removeExpression('width')}catch(e){return false};return true})()
function sz(el,p){return parseInt($.css(el,p))||0}
function hex2(s){var s=parseInt(s).toString(16);return(s.length<2)?'0'+s:s}
function gpc(node){for(;node&&node.nodeName.toLowerCase()!='html';node=node.parentNode){var v=$.css(node,'backgroundColor');if(v=='rgba(0, 0, 0, 0)')continue;if(v.indexOf('rgb')>=0){var rgb=v.match(/\d+/g);return'#'+hex2(rgb[0])+hex2(rgb[1])+hex2(rgb[2])};if(v&&v!='transparent')return v};return'#ffffff'}
function getWidth(fx,i,width){switch(fx){case'round':return Math.round(width*(1-Math.cos(Math.asin(i/width))));case'cool':return Math.round(width*(1+Math.cos(Math.asin(i/width))));case'sharp':return Math.round(width*(1-Math.cos(Math.acos(i/width))));case'bite':return Math.round(width*(Math.cos(Math.asin((width-i-1)/width))));case'slide':return Math.round(width*(Math.atan2(i,width/i)));case'jut':return Math.round(width*(Math.atan2(width,(width-i-1))));case'curl':return Math.round(width*(Math.atan(i)));case'tear':return Math.round(width*(Math.cos(i)));case'wicked':return Math.round(width*(Math.tan(i)));case'long':return Math.round(width*(Math.sqrt(i)));case'sculpt':return Math.round(width*(Math.log((width-i-1),width)));case'dogfold':case'dog':return(i&1)?(i+1):width;case'dog2':return(i&2)?(i+1):width;case'dog3':return(i&3)?(i+1):width;case'fray':return(i%2)*width;case'notch':return width;case'bevelfold':case'bevel':return i+1}};$.fn.corner=function(options){if(this.length==0){if(!$.isReady&&this.selector){var s=this.selector,c=this.context;$(function(){$(s,c).corner(options)})};return this};return this.each(function(index){var $this=$(this),o=[$this.attr($.fn.corner.defaults.metaAttr)||'',options||''].join(' ').toLowerCase(),keep=/keep/.test(o),cc=((o.match(/cc:(#[0-9a-f]+)/)||[])[1]),sc=((o.match(/sc:(#[0-9a-f]+)/)||[])[1]),width=parseInt((o.match(/(\d+)px/)||[])[1])||10,re=/round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog/,fx=((o.match(re)||['round'])[0]),fold=/dogfold|bevelfold/.test(o),edges={T:0,B:1},opts={TL:/top|tl|left/.test(o),TR:/top|tr|right/.test(o),BL:/bottom|bl|left/.test(o),BR:/bottom|br|right/.test(o)};if(!opts.TL&&!opts.TR&&!opts.BL&&!opts.BR)opts={TL:1,TR:1,BL:1,BR:1};if($.fn.corner.defaults.useNative&&fx=='round'&&(radius||moz||webkit)&&!cc&&!sc){if(opts.TL)$this.css(radius?'border-top-left-radius':moz?'-moz-border-radius-topleft':'-webkit-border-top-left-radius',width+'px');if(opts.TR)$this.css(radius?'border-top-right-radius':moz?'-moz-border-radius-topright':'-webkit-border-top-right-radius',width+'px');if(opts.BL)$this.css(radius?'border-bottom-left-radius':moz?'-moz-border-radius-bottomleft':'-webkit-border-bottom-left-radius',width+'px');if(opts.BR)$this.css(radius?'border-bottom-right-radius':moz?'-moz-border-radius-bottomright':'-webkit-border-bottom-right-radius',width+'px');return};var strip=document.createElement('div');$(strip).css({overflow:'hidden',height:'1px',minHeight:'1px',fontSize:'1px',backgroundColor:sc||'transparent',borderStyle:'solid'});var pad={T:parseInt($.css(this,'paddingTop'))||0,R:parseInt($.css(this,'paddingRight'))||0,B:parseInt($.css(this,'paddingBottom'))||0,L:parseInt($.css(this,'paddingLeft'))||0};if(typeof this.style.zoom!=undefined)this.style.zoom=1;if(!keep)this.style.border='none';strip.style.borderColor=cc||gpc(this.parentNode);var cssHeight=$.curCSS(this,'height');for(var j in edges){var bot=edges[j];if((bot&&(opts.BL||opts.BR))||(!bot&&(opts.TL||opts.TR))){strip.style.borderStyle='none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none');var d=document.createElement('div');$(d).addClass('jquery-corner');var ds=d.style;bot?this.appendChild(d):this.insertBefore(d,this.firstChild);if(bot&&cssHeight!='auto'){if($.css(this,'position')=='static')this.style.position='relative';ds.position='absolute';ds.bottom=ds.left=ds.padding=ds.margin='0';if(expr){ds.setExpression('width','this.parentNode.offsetWidth')}else ds.width='100%'}else if(!bot&&$.browser.msie){if($.css(this,'position')=='static')this.style.position='relative';ds.position='absolute';ds.top=ds.left=ds.right=ds.padding=ds.margin='0';if(expr){var bw=sz(this,'borderLeftWidth')+sz(this,'borderRightWidth');ds.setExpression('width','this.parentNode.offsetWidth - '+bw+'+ "px"')}else ds.width='100%'}else{ds.position='relative';ds.margin=!bot?'-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px':(pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px'};for(var i=0;i<width;i++){var w=Math.max(0,getWidth(fx,i,width)),e=strip.cloneNode(false);e.style.borderWidth='0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px';bot?d.appendChild(e):d.insertBefore(e,d.firstChild)};if(fold&&$.support.boxModel){if(bot&&noBottomFold)continue;for(var c in opts){if(!opts[c])continue;if(bot&&(c=='TL'||c=='TR'))continue;if(!bot&&(c=='BL'||c=='BR'))continue;var common={position:'absolute',border:'none',margin:0,padding:0,overflow:'hidden',backgroundColor:strip.style.borderColor},$horz=$('<div/>').css(common).css({width:width+'px',height:'1px'});switch(c){case'TL':$horz.css({bottom:0,left:0});break;case'TR':$horz.css({bottom:0,right:0});break;case'BL':$horz.css({top:0,left:0});break;case'BR':$horz.css({top:0,right:0});break};d.appendChild($horz[0]);var $vert=$('<div/>').css(common).css({top:0,bottom:0,width:'1px',height:width+'px'});switch(c){case'TL':$vert.css({left:width});break;case'TR':$vert.css({right:width});break;case'BL':$vert.css({left:width});break;case'BR':$vert.css({right:width});break};d.appendChild($vert[0])}}}}})};$.fn.uncorner=function(){if(radius||moz||webkit)this.css(radius?'border-radius':moz?'-moz-border-radius':'-webkit-border-radius',0);$('div.jquery-corner',this).remove();return this};$.fn.corner.defaults={useNative:true,metaAttr:'data-corner'}})(jQuery);

