function navigate(b,a){q=a;if(q.length>0){_gaq.push(["_trackEvent","Home Page","Billboard",q]);setTimeout('window.location.href = "/s/?q=" + escape(q) + "&cx=013514770356652780808:gabniubyimi&cof=FORID:9&ie=UTF-8"',100)}}function onHomepageLoad(b){var a={};a.current=1;a.totalSlides=4;a.tDelay=7e3;a.moveToSlide=function(b){c(b);a.current=b;$("#mainButton-slide"+b).addClass("selected");$("#billboardRegisterList"+b).fadeIn();$("#tabsShadow").animate({top:Number(b-1)*101-15},400);e(Number(b-1)*101);function c(b){$(".mainContent-slide"+a.current).fadeOut(200,function(){$(this).hide();d(b)});$("#tabsSelectedBg-slide"+a.current).fadeOut(200,function(){$(this).hide()});$("#tabsLabels ul li").removeClass("selected");$(".billboardRegisterList").fadeOut("fast")}function d(c){var a=$(".mainContent-slide"+c),b=$("#tabsSelectedBg-slide"+c);a.css("display","block");a.animate({opacity:0},0);a.animate({opacity:1},400);b.css("display","block");b.animate({opacity:0},0);b.animate({opacity:1},400)}function e(a){$("#tabsSelectedBg").animate({clip:"rect("+a+"px,298px,"+Number(a+101)+"px,0)"})}};a.nextSlide=function(){if(Number(a.current)<Number(a.totalSlides))a.moveToSlide(a.current*1+1);else a.moveToSlide(1)};a.runTimer=function(){typeof a.t!="undefined"&&clearInterval(a.t);if(document.activeElement.id!=b)a.t=setInterval(a.nextSlide,a.tDelay)};a.bind=function(){$("#tabsLabels ul li").click(function(){var b=$(this).attr("id").substr($(this).attr("id").length-1);if(a.current!=b){a.moveToSlide(b);a.tDelay=3e6}});$("#"+b).blur(function(){a.runTimer()});$("#billboardWrapper").hover(function(){typeof a.t!="undefined"&&clearInterval(a.t)},function(){a.runTimer()});$(window).blur(function(){typeof a.t!="undefined"&&clearInterval(a.t)});$("body").mousemove(function(){typeof a.t=="undefined"&&a.runTimer()})};a.init=function(){$(".mainContent-slide1").show();$("#tabsSelectedBg-slide1").show();$("#billboardRegisterList1").show();a.bind()}()}(function(a){if(!document.defaultView||!document.defaultView.getComputedStyle){var b=a.curCSS;a.curCSS=function(e,f,h){var c=e.currentStyle,a;if(f==="font-size")f="fontSize";if(f!=="clip"&&f!=="fontSize"||!c)return b.apply(this,arguments);var d=e.style;if(!h&&d)a=d[f];if(f==="clip")a=a||"rect("+(c.clipTop||"auto")+" "+(c.clipRight||"auto")+" "+(c.clipBottom||"auto")+" "+(c.clipLeft||"auto")+")";else{a=a||c.fontSize;if(!/px/.test(a)){var i=d.width,g=e.runtimeStyle.width;e.runtimeStyle.width=e.currentStyle.width;d.width="100em";a=d.pixelWidth/100+"px";d.width=i;e.runtimeStyle.width=g}}return a}}})(jQuery);(function(a){var c=[function(){return 0},function(b){return a(b).outerWidth()},function(b){return a(b).outerHeight()},function(){return 0}],d=function(b,c){return /em/.test(b)?(parseFloat(a.curCSS(c,"fontSize"),10)||1)*(parseFloat(b,10)||0):parseInt(b,10)||0},b=function(a,e,g){var f=[];if(a==="auto")a="rect(auto auto auto auto)";a=a.replace(/rect\(|\)/g,"").split(/,\s*|\s/);if(g)e.endClipStyle="rect("+a.join(" ")+")";for(var b=0;b<a.length;b++)f[b]=a[b]!=="auto"?d(a[b],e.elem):c[b](e.elem);return f};jQuery.fx.step.clip=function(c){if(!c.clipInit){c.start=b(a.curCSS(c.elem,"clip"),c);c.end=b(c.end,c,true);c.elmStyle=c.elem.style;c.clipInit=true}c.elmStyle.clip="rect("+(c.pos*(c.end[0]-c.start[0])+c.start[0])+"px "+(c.pos*(c.end[1]-c.start[1])+c.start[1])+"px "+(c.pos*(c.end[2]-c.start[2])+c.start[2])+"px "+(c.pos*(c.end[3]-c.start[3])+c.start[3])+"px)";if(c.pos===1&&c.endClipStyle)c.elmStyle.clip=c.endClipStyle}})(jQuery)
