
var afc={};afc.webcam={timeout:null,set_timeout:function(duration){duration=duration?duration:60000;this.timeout=setTimeout(function(){afc.webcam.update();afc.webcam.set_timeout(duration);},duration);},update:function(){var cam=$('.webcam_img');if($(cam).size()>0){$.each(cam,function(i){var src=$(cam[i]).attr('src');var parts=src.split('?ts=');var ts=parseInt(parts[1],10)+1;$(cam[i]).attr('src',parts[0]+'?ts='+ts);});}}}
$(document).ready(function(){var now=new Date();profile.ready_ms=now.getTime();profile.ready=profile.ready_ms-profile.start_ms;$('.parent_nav').hover(function(){$(this).find('ul:first').fadeIn('fast');},function(){$(this).children('ul:first').fadeOut('fast');});afc.webcam.set_timeout(null);$(window).bind('load',function(){var now=new Date();profile.load_ms=now.getTime();profile.load=profile.load_ms-profile.ready_ms;$.geekGaTrackEvent('Times','Document Ready',window.location.pathname,profile.ready);$.geekGaTrackEvent('Times','Document Load',window.location.pathname,profile.load);});});(function($){var pageTracker;$.geekGaTrackPage=function(account_id){var host=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");var src=host+'google-analytics.com/ga.js';$.ajax({type:'GET',url:src,success:function(){pageTracker=_gat._getTracker(account_id);pageTracker._trackPageview();},error:function(){throw"Unable to load ga.js; _gat has not been defined.";},dataType:'script',cache:true});};$.geekGaTrackEvent=function(category,action,label,value){if(typeof pageTracker!=undefined){pageTracker._trackEvent(category,action,label,value);}else{throw"Unable to track event; pageTracker has not been defined";}};})(jQuery);$(function(){$.geekGaTrackPage('UA-5667509-2');});