function convertEntities(b){var d,a;d=function(c){if(/&[^;]+;/.test(c)){var f=document.createElement("div");f.innerHTML=c;return!f.firstChild?c:f.firstChild.nodeValue}return c};if(typeof b==="string"){return d(b)}else{if(typeof b==="object"){for(a in b){if(typeof b[a]==="string"){b[a]=d(b[a])}}}}return b};;jQuery(document).ready(function($){$.each($("span.delicious_hash"),function(){var elem=$(this);$.ajax({type:"GET",dataType:"jsonp",url:"http://feeds.delicious.com/v2/json/urlinfo/"+$(this).html(),success:function(data){if(data.length>0){var posts=parseInt(data[0].total_posts);if(posts>1000000){var txt=parseInt(posts/1000000);elem.next().prepend(txt+'M');}else if(posts>1000){var txt=parseInt(posts/1000);elem.next().prepend(txt+'K');}else{elem.next().prepend(posts);}}else{elem.next().prepend('0');}}});});$.each($("a.mr_social_sharing_popup_link"),function(){var elem=$(this);elem.click(function(event){event.preventDefault();var popup=window.open(elem.attr('href'),'mr_social_sharing','height=400,width=650');if(popup){popup.focus();}});});});;jQuery(document).ready(function(){jQuery('a').each(function(){var a=jQuery(this);var href=a.attr('href');if(href==undefined)
return;var url=href.replace('http://','').replace('https://','');var hrefArray=href.split('.').reverse();var extension=hrefArray[0].toLowerCase();var hrefArray=href.split('/').reverse();var domain=hrefArray[2];var downloadTracked=false;if(jQuery.inArray(extension,analyticsFileTypes)!=-1){downloadTracked=true;a.click(function(){if(analyticsEventTracking=='enabled'){_gaq.push(['_trackEvent','Downloads',extension.toUpperCase(),href]);}else
_gaq.push(['_trackPageview',analyticsDownloadsPrefix+url]);});}
if((href.match(/^http/))&&(!href.match(document.domain))&&(downloadTracked==false)){a.click(function(){if(analyticsEventTracking=='enabled'){_gaq.push(['_trackEvent','Outbound Traffic',href.match(/:\/\/(.[^/]+)/)[1],href]);}else
_gaq.push(['_trackPageview',analyticsOutboundPrefix+url]);});}});});;function initOverLabels(){if(!document.getElementById)return;var labels,id,field;labels=document.getElementsByTagName('label');for(var i=0;i<labels.length;i++){if(labels[i].className=='overlabel'){id=labels[i].htmlFor||labels[i].getAttribute('for');if(!id||!(field=document.getElementById(id))){continue;}labels[i].className='overlabel-apply';if(field.value!==''){hideLabel(field.getAttribute('id'),true);}field.onfocus=function(){hideLabel(this.getAttribute('id'),true);};field.onblur=function(){if(this.value===''){hideLabel(this.getAttribute('id'),false);}};labels[i].onclick=function(){var id,field;id=this.getAttribute('for');if(id&&(field=document.getElementById(id))){field.focus();}};}}};function hideLabel(field_id,hide){var field_for;var labels=document.getElementsByTagName('label');for(var i=0;i<labels.length;i++){field_for=labels[i].htmlFor||labels[i].getAttribute('for');if(field_for==field_id){labels[i].style.textIndent=(hide)?'-1000px':'0px';return true;}}}window.onload=function(){setTimeout(initOverLabels,1);};;ieHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" iehover";}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" iehover\\b"),"");}}}
if(window.attachEvent)window.attachEvent("onload",ieHover);;function w4pl_toogle(){var cat_link=jQuery(this).attr('href');var cat_title=jQuery(this).attr('alt');var ref_id=jQuery(this).attr('ref');var post_list=jQuery('#term_posts_'+ref_id);if(post_list.is(":hidden")){post_list.slideDown();jQuery(this).attr({'title':'Hide Posts from '+cat_title});jQuery(this).removeClass('list_inactive');jQuery(this).addClass('list_active');}else{post_list.slideUp();jQuery(this).attr({'title':'View Posts from '+cat_title});jQuery(this).removeClass('list_active');jQuery(this).addClass('list_inactive');}
return false;}
jQuery('.list_effect_handler').click(w4pl_toogle);
