function toggleDescWin(dispDivId,trigger){document.getElementById(dispDivId).style.display=trigger?"block":"none";}
jQuery.noConflict();jQuery(document).ready(function(){jQuery("a[rel^='prettyPhoto']").prettyPhoto({animationSpeed:'normal',padding:40,opacity:0.75,showTitle:true,allowresize:true,counter_separator_label:'/',theme:'light_rounded',callback:function(){}});});jQuery(document).ready(function(){jQuery(".buttonDiv img").hover(function(){this.oldSrc=jQuery(this).attr('src');this.newSrc=this.oldSrc.replace('_on','_over');jQuery(this).attr('src',this.newSrc);},function(){jQuery(this).attr('src',this.oldSrc);});jQuery('#topmenu img').hover(function(){this.oldSrc=jQuery(this).attr('src');this.newSrc=this.oldSrc.replace('_on','_over');jQuery(this).attr('src',this.newSrc);},function(){jQuery(this).attr('src',this.oldSrc);});if(jQuery("#active_menu").length!='0'){var clickedImage=jQuery("#active_menu img");var topLinkIndex=0;var topLinkImage='';topLinkIndex=getCookie('toplinksIndex')?getCookie('toplinksIndex'):0;topLinkImage=getCookie('toplinksImageSrc')?getCookie('toplinksImageSrc'):'images/stories/home_over.png';var image=document.getElementById('topLinkMenuHolder').childNodes[topLinkIndex].firstChild;if(image)image.src=topLinkImage.replace('_on','_over');clickedImage.attr('src',clickedImage.attr('src').replace('_on','_over'));}else{if(document.getElementById('current')){topLinkIndex=getCookie('toplinksIndex');topLinkImage=getCookie('toplinksImageSrc');var image=document.getElementById('topLinkMenuHolder').childNodes[topLinkIndex].firstChild;if(image)image.src=topLinkImage.replace('_on','_over');}else{var topLinkIndex=0;var topLinkImage='images/stories/home_on.png';var image=document.getElementById('topLinkMenuHolder').childNodes[topLinkIndex].firstChild;}}
if(jQuery("#active_menu_toplinks").length!='0'){if(image)image.src=topLinkImage.replace('_over','_on');document.cookie='toplinksImageSrc'+"="+document.getElementById('active_menu_toplinks').firstChild.src;var topLinkIndex=0;var parentNode=document.getElementById('topLinkMenuHolder');for(var c=0;c<parentNode.childNodes.length;c++){if(parentNode.childNodes[c].id&&parentNode.childNodes[c].id=='active_menu_toplinks'){topLinkIndex=c;}}
document.cookie='toplinksIndex'+"="+topLinkIndex;var clickedImage=jQuery("#active_menu_toplinks img");clickedImage.attr('src',clickedImage.attr('src').replace('_on','_over'));}});function getCookie(c_name)
{if(document.cookie.length>0)
{c_start=document.cookie.indexOf(c_name+"=");if(c_start!=-1)
{c_start=c_start+c_name.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1)c_end=document.cookie.length;return unescape(document.cookie.substring(c_start,c_end));}}
return"";}
jQuery.noConflict();var popFlag=false;var STTAFQuote=new Array();STTAFQuote[0]=["93% of customers identify word of mouth as the best, most reliable source about ideas and information on products and services.","NOP World"];STTAFQuote[1]=["70% of word of mouth conversations have an impact on brand purchase.","Keller Fay"];STTAFQuote[2]=["67% of all consumer decisions are primarily influenced by word of mouth.","McKinsey"];STTAFQuote[3]=["86.9% of respondents said they would trust a friend's recommendation over a review by a critic, while 83.8% said they would trust user reviews over a critic. ","MarketingSherpa, October 2007"];STTAFQuote[4]=["Consumers trust friends above experts when it comes to product recommendations (65% trust friends, 27% trust experts, 8% trust celebrities).","Yankelovich"];STTAFQuote[5]=["Consumers say that word of mouth is still the number one influencer in their apparel (34.3%) and electronics (44.4%) purchases.","Retail Advertising and Marketing Association/BIGresearch Study, November 2008"];STTAFQuote[6]=["According to a global Nielsen survey of 26,486 Internet users in 47 markets, consumer recommendations are the most credible form of advertising among 78% of the study's respondents.","Nielsen, \"Word-of-Mouth the Most Powerful Selling Tool\", October 2007"];var quoteLenth=STTAFQuote.length;var quoteCount=Math.round(Math.random()*(quoteLenth-1));var showQuote=STTAFQuote[quoteCount];function makeMillion(number){number=parseInt(number);number=Math.floor(number/1000000);if(number>999){number=number/1000;number=Math.floor(number*100)/100;return number+" billion";}
return number+" million";}
function commaSeparate(number){return makeMillion(number)+" impressions served and counting";}
jQuery(document).ready(function(){if(buttonCount&&typeof(buttonCount)!="undefined"){jQuery("#widgetsCount").html(commaSeparate(buttonCount));}
jQuery("a#custom_2").fancybox({'frameWidth':425,'frameHeight':355});});jQuery(document).ready(function(){jQuery('#spotlightdiv').cycle({fx:'fade',timeout:5000,speed:400,pager:'#movers-row',pagerAnchorBuilder:pagerFactory});function pagerFactory(idx,slide){var s=idx>2?' style="display:none"':'';return'<li'+s+'><a href="#"></a></li>';}});