var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
try {var pageTracker = _gat._getTracker("UA-2710262-9");pageTracker._trackPageview();} catch(err) {}
var dropmenuTimeout=300;var dropmenuCloseTimer=0;var dropmenuItem=0;var dropmenuParent=0;function topmenuOpen(){topmenuCancelTimer();dropmenuClose();dropmenuItem=$(this).find('ul').eq(0).show();if($(this).children().attr('href')!='/')$(this).find('ul').eq(0).width($(this).width());}
function dropmenuClose(){if(dropmenuItem)dropmenuItem.hide()}
function topmenuTimer(){dropmenuCloseTimer=window.setTimeout(dropmenuClose,dropmenuTimeout)}
function topmenuCancelTimer(){if(dropmenuCloseTimer){window.clearTimeout(dropmenuCloseTimer);dropmenuCloseTimer=null;}}
$(function(){$(document).click(function(){dropmenuClose()});$('#dropmenu > li').bind('mouseover',topmenuOpen);$('#dropmenu > li').bind('mouseout',topmenuTimer);});function slideSwitch(){var $active=$('#slideshow img.active');if($active.length==0)$active=$('#slideshow img:last');var $next=$active.next().length?$active.next():$('#slideshow img:first');$active.addClass('last-active');$next.css({opacity:0.0}).addClass('active').animate({opacity:1.0},1000,function(){$active.removeClass('active last-active');});}
$(function(){setInterval("slideSwitch()",3700)});