/* Generated 2012-02-10 02:38:19*/jQuery.fn.track.defaults.skip_internal=false;var gaCustomVars=new Array();(jQuery.cookie("user_name")!=null)?gaMemberType="Member":gaMemberType="Non-Member";gaCustomVars.push([1,"User Type",gaMemberType,2]);jQuery(document).ready(function(){jQuery.trackPage(gaSiteID,{onload:false,customvars:gaCustomVars});jQuery(".allabout-affiliate a").each(function(){jQuery.trackEvent("affiliate-"+jQuery(this).attr("rel"),"impression",jQuery(this).attr("href"),null)});jQuery(".allabout-affiliate a").track({category:function(d){return"affiliate-"+d.attr("rel")}});jQuery("#section-more-info a").track({category:"events-moreinfo"});if(jQuery(".tweet a").length){setTimeout(function(){jQuery(".tweet a").track({category:"events-twitter"})},4000)}if(jQuery("#homepage #feature-box").length){jQuery("#feature-box .feature a").each(function(){var e=jQuery(this);var d=jQuery("#features .feature").index(e.parents(".feature"))+1;e.track({category:"homepage",action:"whatshot",value:d})})}if(jQuery("#section-related").length){jQuery("#section-related .related-content .related a").track({category:function(){if(jQuery("#whatson-listing").length){return"relateditems-events"}else{return"relateditems-content"}}})}if(jQuery("#breakout-related-content").length){jQuery("#breakout-related-content .related-content li a").track({category:function(){if(jQuery("#whatson-listing").length){return"relateditems-events"}else{return"relateditems-content"}}})}if(jQuery("#breakout-events-same").length){jQuery("#breakout-events-same .breakout-content .events-sml a").track({category:"relateditems-events-same"})}if(jQuery("#breakout-popular-tags").length){jQuery("#breakout-popular-tags .breakout-content li a").track({category:"tagcloud"})}if(jQuery(".popular").length){var a="top10";var b="click";jQuery(".popular a").each(function(){var e=jQuery(this);var d=jQuery(".popular").index(e.parents(".popular"))+1;if(e.parents(".popular-articles").length){a="top10-articles"}else{if(e.parents(".popular-galleries").length){a="top10-galleries"}}if(jQuery(".stats-photos-view").length||jQuery("#section-gallery-listings").length){b=a;a="photos"}if(jQuery("#homepage").length){b=a;a="homepage"}if(e.parents("#breakout-forum-top-articles").length){a="forum";b="top10-articles";d=jQuery(".list-sml").index(jQuery(this).parents(".list-sml"))+1}else{if(e.parents("#breakout-forum-top-galleries").length){a="forum";b="top10-galleries";d=jQuery(".list-sml").index(jQuery(this).parents(".list-sml"))+1}}e.track({category:a,action:b,value:d})})}if(jQuery(".more-carousel").length){jQuery(".more-carousel a").track({category:"articles",action:"more"})}if(jQuery("#section-next-story").length){jQuery("#section-next-story .item-title a").track({category:"articles",action:"next"})}if(jQuery("#section-allabout").length){if(jQuery(".stats-photos-view").length){var a="photos"}else{var a="articles"}jQuery("#section-allabout #allAboutContext li a").track({category:a,action:"allabout"})}if(jQuery("#stats-photos-listing").length){jQuery("#stats-photos-listing a").track({category:"photos",action:"listing"})}if(jQuery("#stats-photos-thumbs").length){jQuery("#stats-photos-thumbs a").track({category:"photos",action:"thumbs"})}jQuery("#breakout-gallery-related-more-galleries a").each(function(){jQuery(this).track({category:"photos",action:"more-galleries"})});jQuery("#breakout-gallery-related-popular-galleries a").each(function(){var d=jQuery(".list-med").index(jQuery(this).parents(".list-med"))+1;jQuery(this).track({category:"photos",action:"popular-galleries",value:d})});jQuery("a.topshots-nav").live("click",function(){var d=jQuery(this);d.track({category:"photos",action:"top-shot-navigate"})});jQuery("#top-shots-list li a").live("click",function(){if(!$(this).parent().hasClass("view-album")){var d=jQuery(this);d.track({category:"photos",action:"top-shot-view"})}});if(jQuery("#section-related-list").length){jQuery("#section-related-list .item-title a").track({category:"articles",action:"related"})}if(jQuery("#section-cost").length){jQuery("#section-cost .stats-buytickets").track({category:"whatson",action:"buytickets"})}jQuery("#breakout-my #my-status a").live("click",function(){jQuery.trackEvent("social","my-profile",jQuery(this).attr("href"),null)});jQuery("#breakout-my #my-digest ul a").live("click",function(){jQuery.trackEvent("social","digest",jQuery(this).attr("href"),null)});jQuery("#breakout-my #my-digest #my-digest-more").live("click",function(){jQuery.trackEvent("social","view-all",jQuery(this).attr("href"),null)});jQuery("#breakout-my #my-shout a").live("click",function(){if(jQuery(this).attr("id")=="my-shout-reply"){var e="reply";var d=jQuery(this).parents("#my-primary-view").find("#my-status-username a").text()}else{var e="recent-shout";var d=jQuery(this).attr("href")}jQuery.trackEvent("social",e,d,null)});jQuery("#breakout-my #my-shout-at-mate").live("click",function(){var d=jQuery(this).parents("#my-primary-view").find("#my-status-username a").text();jQuery.trackEvent("social","shout-at-mate",d,null)});jQuery(".post-content a").live("click",function(h){h.preventDefault();var d=jQuery(this).attr("href");var g=/inthemix/i;var f=/showthread/i;if(g.test(d)||f.test(d)){window.location.href=d}else{jQuery(this).track({category:"forum",action:"exit-page",label:d});window.open(d)}});jQuery("#theme-updater option").live("click",function(d){d.preventDefault();var f=window.location.href;jQuery(this).track({category:"theme-xyz",action:"select",label:f})});if(jQuery("#breakout-subscribe").length){var c=window.location.href;jQuery("#subscribe-member").track({category:"subscribe",action:"signup",label:c});jQuery(".subscribe-option-newsletter button").track({category:"subscribe",action:"newsletter",label:c});jQuery(".subscribe-option-facebook").track({category:"subscribe",action:"facebook",label:c});jQuery(".subscribe-option-twitter a").track({category:"subscribe",action:"twitter",label:c});jQuery("#subscribe-social #subscribe-rss a").track({category:"subscribe",action:"rss",label:c});jQuery("#subscribe-email form").submit(function(){jQuery.trackEvent("subscribe","newsletter-signup",c,null)})}if(jQuery("#forum-display").length){jQuery("#breakout-video a").track({category:"forum",action:"itm-tv"});jQuery("#breakout-digest-community a").track({category:"forum",action:"activity-feed"});jQuery("#breakout-forum-related-more-articles a").each(function(){var d=jQuery(".list-med").index(jQuery(this).parents(".list-med"))+1;jQuery(this).track({category:"forum",action:"latest",value:d})});jQuery("#breakout-forum-related-popular-articles a").each(function(){var d=jQuery(".list-sml").index(jQuery(this).parents(".list-sml"))+1;jQuery(this).track({category:"forum",action:"popular-articles",value:d})});jQuery("#breakout-forum-related-popular-galleries a").each(function(){var d=jQuery(".list-sml").index(jQuery(this).parents(".list-sml"))+1;jQuery(this).track({category:"forum",action:"popular-galleries",value:d})})}if(jQuery("#forum-breadcrumbs #style-toggle").length){jQuery("#style-toggle a").each(function(){var e=jQuery(this);var f="forum";var g=null;var d=null;if(e.hasClass("embiggen-toggle-liquid")){g="embiggen";d="liquid"}else{if(e.hasClass("embiggen-toggle-fixed")){g="embiggen";d="fixed"}else{if(e.hasClass("skin-toggle-minimal")){g="skin";d="minimal"}else{if(e.hasClass("skin-toggle-maximal")){g="skin";d="maximal"}}}}e.track({category:f,action:g,label:d})})}if(jQuery("#network-footer").length){jQuery("#network-footer a").track({category:"network-footer",action:"click"})}if(jQuery("#footpanel").length){if(!$("#chatpanel a").hasClass("active")){jQuery("#chatpanel a.chat").track({category:"social-bar",action:"click",label:"chatterbox"})}if(!$("#alertpanel a").hasClass("active")){jQuery("#alertpanel a.chat").track({category:"social-bar",action:"click",label:"feed"})}if(!$("#statuspanel a").hasClass("active")){jQuery("#statuspanel a.status-bubble").track({category:"social-bar",action:"click",label:"status"})}jQuery("#mail a").track({category:"social-bar",action:"click"});jQuery("#request a").track({category:"social-bar",action:"click"});if(!$("#mypanel a").hasClass("active")){jQuery("#mypanel a.myitm").track({category:"social-bar",action:"click",label:"mymenu"})}jQuery("#open a").track({category:"social-bar",action:"click",label:"open"});jQuery("#socialclose a").track({category:"social-bar",action:"click",label:"close"})}});function extractParamFromUri(b,e){if(!b){return}var b=b.split("#")[0];var d=b.split("?");if(d.length==1){return}var c=decodeURI(d[1]);e+="=";var g=c.split("&");for(var a=0,f;f=g[a];++a){if(f.indexOf(e)===0){return unescape(f.split("=")[1])}}}function trackError(b,a){jQuery.trackEvent("error",b,a,null)}function socialBlockStats_Shout(b){var a=b.siblings("#my-status-username").children("a").text();jQuery.trackEvent("social","shout",a,null)}_gaq.push(function(){var a=_gat._createTracker(gaSiteID,"tsaTracker")});
