var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-3737482-32']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); $(document).ready(function(){ $("a[data-url]").each(function(index, Element) {$(this).attr("href", $(this).data("url"))}); $('#carousel').CloudCarousel({reflGap:2,altBox:$("#alt-text-carousel"),mouseWheel:true,buttonLeft:$("#left-button-carousel"),yPos:30,buttonRight:$("#right-button-carousel"),autoRotateDelay:1800,autoRotate:'left',titleBox:$("#title-text-carousel"),speed:0.3,xPos:380,reflHeight:56}); $('#home_cycle').cycle({fx:'fade',pause:1,speed:3000,timeout:3000}); $('#cycler1').cycle({fx:'fade',pause:1,speed:3000,timeout:3000}); $('#cycler2').cycle({fx:'fade',pause:1,speed:3000,timeout:3000}); $('#cycler3').cycle({fx:'fade',pause:1,speed:3000,timeout:3000}); $("#speaker_search").colorbox({maxWidth:"800px", maxHeight:"600px",overlayClose:false}); $("#inquiryButton").colorbox({maxWidth:"800px", maxHeight:"700px",overlayClose:false}); $("#inquiryButtonReflect").colorbox({maxWidth:"800px", maxHeight:"700px",overlayClose:false}); $("#detailTabs").tabs({cache:false ,ajaxOptions:{cache:true}, load: function(event, ui){$.fn.jPicker.defaults.images.clientPath='http://s3.amazonaws.com/media.webmediaengineering.com/CompoundDoc/images/'; $.fn.jPicker.defaults.window.position.x='0'; $.fn.jPicker.defaults.window.position.y='0'; $('.color_picker').jPicker(); $("input:submit").removeClass("submitChanges submit").button(); $("a[rel^='lightbox']").colorbox({photo:true,maxHeight:'85%',maxWidth:'85%'});} }); var events = parseInt($("head").data("events")); var url = $("head").data("url"); if (events) { _gaq.push(["_trackEvent", "Page Load", url, "", 1]); var seen = []; $("#detailTabs").bind( "tabsload", function(event, ui) { if (jQuery.inArray(ui.tab.text, seen)== -1){ _gaq.push(["_trackEvent", ui.tab.text, url, "", 1]); seen.push(ui.tab.text); } }); } });