jQuery(document).ready(function(){$('#slideshow').cycle({fx:'fade',speed:500,timeout:6000,pager:'#slideshownav',next:'#slideshownext',prev:'#slideshowprev',cleartype:1,cleartypeNoBg:1,pagerAnchorBuilder:function(idx,slide){return'#slideshownav li:eq('+(idx)+') a'}});$('li a').click(function(){$('#slideshow').cycle('pause');$('#button_pause').fadeOut(300);$('#button_play').fadeIn(200)});$('.slide').click(function(){$('#slideshow').cycle('pause');$('#button_pause').fadeOut(300);$('#button_play').fadeIn(200)});$('#pauseButton').click(function(){$('#slideshow').cycle('pause');$('#button_pause').fadeOut(300);$('#button_play').fadeIn(200)});$('#resumeButton').click(function(){$('#slideshow').cycle('resume');$('#button_pause').fadeIn(200);$('#button_play').fadeOut(200)})});jQuery(document).ready(function(){jQuery("#dropmenu ul").css({display:"none"});jQuery("#dropmenu li").hover(function(){jQuery(this).find('ul:first').css({visibility:"visible",display:"none"}).fadeIn(168)},function(){jQuery(this).find('ul:first').css({visibility:"hidden"})})});jQuery(document).ready(function(){$("#heading img").each(function(){rollsrc=$(this).attr("src");rollON=rollsrc.replace('_off','_on');newImg=new Image();$(newImg).attr("src",rollON)});$("#heading a").mouseover(function(){imgsrc=$(this).children("img").attr("src");if(typeof(imgsrc)!='undefined'){imgsrcON=imgsrc.replace('_off','_on');$(this).children("img").attr("src",imgsrcON)}});$("#heading a").mouseout(function(){if(typeof(imgsrc)!='undefined'){$(this).children("img").attr("src",imgsrc)}})});jQuery(document).ready(function(){$('a[rel*=external]').click(function(){window.open(this.href);return false})});function hide(id){if(document.getElementById){obj=document.getElementById(id);obj.style.display="none"}}function show(id){if(document.getElementById){obj=document.getElementById(id);obj.style.display=""}}
