wau_pro_loader();function wau_wid_init(){if(window.wau_setup!==undefined&&window.wau_setup===false){return}if(window.wau_sitekey===undefined){window.wau_sitekey="";window.wau_update=[];window.wau_up_en=false;window.wau_int=40000;window.wau_ver="0.50a";window.wau_doc_ttl="";window.wau_ref="";window.wau_srch_ph="";window.wau_srch_pr="";window.wau_platform="";window.wau_browser="";window.wau_scheme="http";window.wau_port="";window.wau_first_pv="t";window.wau_got_vars=false;window.wau_txt_link=[];window.wau_log_user="t";window.wau_num_ups=0;window.wau_unique="t";window.wau_time=0;window.wau_timeout=0;window.wau_cur_curr="0";window.wau_cur_last="2";window.wau_interval;window.wau_setup=false}var a=wau_p.length;for(var g=0;g<a;g++){if(wau_p[g][2]==false){var c=wau_p[g][0];var f=wau_p[g][1];if(!wau_got_vars){wau_get_vars(c)}var b=wau_scheme+"://whos.amung.us/psrvwidget/?k="+encodeURIComponent(wau_sitekey)+"&i="+encodeURIComponent(f)+"&z="+Math.floor(Math.random()*100000000);var j=document.createElement("div");j.id="wau_wid_"+f;j.style.display="inline";var h=document.createElement("script");h.type="text/javascript";h.async=true;h.src=b;j.appendChild(h);var e=document.getElementById("wau_scr_"+f);e.parentNode.insertBefore(j,e);wau_p[g][2]=true}}}function wau_get_vars(b){wau_sitekey=b;if(document.location.href.substr(0,5)=="https"){wau_scheme="https";wau_port=":4444"}var c="";if(document.title){wau_doc_ttl=document.title.substr(0,80)}if(document.referrer){wau_ref=document.referrer}wau_search_parse(wau_ref);wau_parse_ua(navigator.userAgent);wau_check_unique();var a=new Date();wau_time=a.getTime()/1000;wau_got_vars=true}function wau_populate_widget(a,d){if(d==""){return}var c="";for(var b=0;b<wau_txt_link.length;b++){if(wau_txt_link[b][0]==a){c='<a href="http://whos.amung.us/pro/stats/'+wau_sitekey+'/" target="'+wau_txt_link[b][1]+'">'+d+"</a>";break}}if(c==""){c=d}if(c.indexOf(":::")>=0){c=c.replace(":::",wau_wid_args(a))}c=wau_replace_scheme_port(c);document.getElementById("wau_wid_"+a).innerHTML=c}function wau_add_updater(c,d,a,e){var b=wau_update.length;wau_update[b]=[c,d];if(!wau_up_en){wau_up_en=true;wau_int=a;wau_timeout=typeof(e)!="undefined"?(e*60):0;wau_interval=setInterval("wau_widget_updater()",wau_int);wau_add_mousemove_event(function(j){try{j=j||window.event;var g=(window.Event)?j.pageX:event.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft);var f=(window.Event)?j.pageY:event.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop);wau_cur_curr=g.toString()+"-"+f.toString()}catch(h){}})}}function wau_widget_updater(){var a=new Date();var d=a.getTime()/1000;if((wau_timeout!=0)&&((d-wau_time)>wau_timeout)){clearInterval(wau_interval)}wau_num_ups++;if(wau_num_ups%(120000/wau_int)==0){wau_log_user="t"}else{wau_log_user="f"}for(i=0;i<wau_update.length;i++){if(wau_update[i][1]==1){var c=document.getElementById("wau_wid_img_"+wau_update[i][0]);var b=c.src;c.src=b.replace(/\?(.*)&z=([0-9]+)/,wau_wid_args(wau_update[i][0]))}else{if(wau_update[i][1]==2){var c=document.getElementById("wau_wid_div_"+wau_update[i][0]);var b=c.style.backgroundImage.match(/url\((.*)\)$/)[1];b=b.replace(/\?(.*)&z=([0-9]+)/,wau_wid_args(wau_update[i][0]));c.style.backgroundImage="url("+b+")"}else{if(wau_update[i][1]==0){wau_update_txt_wid(wau_update[i][0])}}}}}function wau_update_txt_wid(b){var c=document.getElementsByTagName("head")[0];var a=document.createElement("script");a.type="text/javascript";a.src=wau_scheme+"://whos.amung.us"+wau_port+"/pjswidget/"+wau_wid_args(b)+"&w=text";a.id="wau_scr_txt_"+b;c.appendChild(a)}function wau_txt_link_add(a,b){wau_txt_link[wau_txt_link.length]=[a,b]}function wau_trim_strip(a){var b=a.replace(/<[^>]+>/g,"");b=b.replace(/\s+/g," ");if(b.length>128){b=b.substr(0,128)+" {..}"}return b}function wau_search_parse(a){var b=null;b=/https?:\/\/[^\/]*images\.google\.(.*)prev=\/images%3Fq%3D(.*)%26hl%3D/i.exec(a);if(b!=null&&b[2]!=null){wau_srch_pr="gi-"+wau_google_country(a);wau_srch_ph=unescape(b[2]).replace(/\+/g," ");return}b=/https?:\/\/[^\/]*\.google\.(.*)\/cse/i.exec(a);if(b!=null){wau_srch_pr="gc-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");return}b=/https?:\/\/[^\/]*((images|video|maps|news|blogsearch)\.google)\./i.exec(a);if(b==null){b=/https?:\/\/[^\/]*((images|video|local|maps)(\.search)?\.yahoo)\./i.exec(a)}if(b==null){b=/https?:\/\/[^\/]*(google|search\.yahoo|search\.msn|search\.live|msnlive|ask|lycos|aol|hotbot|bing|technorati|digg|delicious|del\.icio|facebook)\./i.exec(a)}if(b==null||b[1]==null){return}wau_srch_pr=b[1];switch(wau_srch_pr){case"images.google":wau_srch_pr="gi-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"video.google":wau_srch_pr="gv-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"maps.google":wau_srch_pr="gm-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"news.google":wau_srch_pr="gn-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"blogsearch.google":wau_srch_pr="gb-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"google":wau_srch_pr="go-"+wau_google_country(a);wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"search.yahoo":wau_srch_pr="ya-"+wau_yahoo_country(a);wau_srch_ph=wau_query_val("p",a).replace(/\+/g," ");break;case"images.search.yahoo":wau_srch_pr="yi-"+wau_yahoo_country(a);wau_srch_ph=wau_query_val("p",a).replace(/\+/g," ");break;case"video.search.yahoo":wau_srch_pr="yv-"+wau_yahoo_country(a);wau_srch_ph=wau_query_val("p",a).replace(/\+/g," ");break;case"local.yahoo":wau_srch_pr="yl-"+wau_yahoo_country(a);wau_srch_ph=wau_query_val("p",a).replace(/\+/g," ");if(wau_srch_ph==null){wau_srch_ph=wau_query_val("stx",a).replace(/\+/g," ")}break;case"maps.search.yahoo":wau_srch_pr="ym-"+wau_yahoo_country(a);wau_srch_ph=wau_query_val("p",a).replace(/\+/g," ");break;case"ask":wau_srch_pr="as";wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"bing":wau_srch_pr="bi";wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"live":case"msnlive":case"search.msn":wau_srch_pr="ms";wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"aol":wau_srch_pr="ao";wau_srch_ph=wau_query_val("query",a).replace(/\+/g," ");break;case"lycos":wau_srch_pr="ly";wau_srch_ph=wau_query_val("query",a).replace(/\+/g," ");break;case"hotbot":wau_srch_pr="hb";wau_srch_ph=wau_query_val("query",a).replace(/\+/g," ");break;case"technorati":wau_srch_pr="tc";wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break;case"digg":wau_srch_pr="dg";wau_srch_ph=wau_query_val("s",a).replace(/\+/g," ");break;case"delicious":case"dl.icio":wau_srch_pr="dl";wau_srch_ph=wau_query_val("p",a).replace(/\+/g," ");break;case"facebook":wau_srch_pr="fb";wau_srch_ph=wau_query_val("q",a).replace(/\+/g," ");break}}function wau_parse_ua(c){var a="";var b="";c=c.toLowerCase();if(c.indexOf("windows nt 5.1")>=0){a="xp"}else{if(c.indexOf("windows nt 6.0")>=0){a="vi"}else{if(c.indexOf("mac os x")>=0){a="ox"}else{if(c.indexOf("windows nt 6.1")>=0){a="w7"}else{if(c.indexOf("windows nt 5.0")>=0){a="w2"}else{if(c.indexOf("windows nt 5.2")>=0){a="w3"}else{if(c.indexOf("windows")>=0){a="wn"}else{if(c.indexOf("linux")>=0){a="lx"}else{if(/(unix|bsd)/i.exec(c)!=null){a="ux"}else{if(c.indexOf("iphone")>=0){a="ip"}else{if(c.indexOf("blackberry")>=0){a="bb"}else{if(c.indexOf("nokia")>=0){a="nk"}else{if(c.indexOf("ipod")>=0){a="io"}else{if(/(midp|mobile|j2me|symbian)/i.exec(c)!=null){a="mo"}else{a="un"}}}}}}}}}}}}}}if(c.indexOf("firefox")>=0){b="ff"}else{if(c.indexOf("msie")>=0){b="ie"}else{if(c.indexOf("chrome")>=0){b="ch"}else{if(c.indexOf("safari")>=0){b="sf"}else{if(c.indexOf("opera")>=0){b="op"}else{if(/(bot|crawl|spider)/i.exec(c)!=null){b="bt";if(a=="un"){a="bt"}}else{if(/(blackberry|nokia|midp|mobile|j2me|symbian)/i.exec(c)!=null){b="mo";if(a=="un"){a="mo"}}else{b="un"}}}}}}}wau_platform=a;wau_browser=b}function wau_query_val(b,d){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c=new RegExp("[\\?&]"+b+"=([^&#]*)");var a=c.exec(d);if(a!=null){return a[1]}else{return""}}function wau_google_country(a){var b=/https?:\/\/[^\/]*google\.(co\.|com\.)?([a-z]{2,3})/i.exec(a);if(b[2]=="com"){return"us"}else{return b[2]}}function wau_yahoo_country(a){var b=/https?:\/\/([a-z]{2}\.)?([\.a-z]+)?\.yahoo\./i.exec(a);if(b==null){return"us"}else{return b[1].replace(".","")}}function wau_wid_args(b){var d="f";if(wau_up_en){d="t"}var a="?k="+encodeURIComponent(wau_sitekey)+"&i="+encodeURIComponent(b)+"&l="+wau_log_user;if(wau_log_user=="t"){var c="f";if(wau_up_en&&(wau_cur_curr==wau_cur_last)){c="t"}wau_cur_last=wau_cur_curr;a+="&t="+encodeURIComponent(wau_doc_ttl)+"&r="+encodeURIComponent(wau_ref)+"&s="+encodeURIComponent(wau_srch_ph)+"&p="+encodeURIComponent(wau_srch_pr)+"&o="+encodeURIComponent(wau_platform)+"&b="+encodeURIComponent(wau_browser)+"&u="+wau_unique+"&d="+c+"&a="+d+"&f="+wau_first_pv}a+="&z="+Math.floor(Math.random()*99999);wau_first_pv="f";return a}function wau_wait(c){var b=new Date();var a=null;do{a=new Date()}while(a-b<c)}function wau_remove_el(b){var a=document.getElementById(b);a.parentNode.removeChild(a)}function wau_check_unique(){var a=wau_sitekey+"_unique_user";var f=a+"=";var g=document.cookie.split(";");for(var j=0;j<g.length;j++){var k=g[j];while(k.charAt(0)==" "){k=k.substring(1,k.length)}if(k.indexOf(f)==0){if(k.substring(f.length,k.length)==1){wau_unique="f"}}}if(wau_unique=="t"){var e=new Date();e.setUTCDate((new Date((new Date(e.getYear(),e.getMonth()+1,1))-1)).getDate());e.setUTCHours(23);e.setUTCMinutes(59);e.setUTCSeconds(59);var b="; expires="+e.toUTCString();var h=window.location.hostname;var d=/[a-z0-9\-]+\.[a-z]{2,3}\.[a-z]{2}$/i;var l=/[a-z0-9\-]+\.[a-z]{2,4}$/i;if(h.match(d)){h=h.match(d)}else{if(h.match(l)){h=h.match(l)}}document.cookie=a+"=1"+b+"; path=/; domain="+h}}function wau_replace_scheme_port(a){a=a.replace("+++",wau_scheme);a=a.replace("***",wau_port);return a}function wau_tab(wid_id,position,link_target){var position=position.split("-");var e=document.createElement("div");e.id="wau_wid_div_"+wid_id;e.style.position="fixed";e.style.zIndex="5000000";eval("e.style."+position[0]+" = '-50px'");if(position[1]=="upper"){e.style.top="25%"}else{if(position[1]=="middle"){e.style.top="50%"}else{if(position[1]=="lower"){e.style.top="75%"}}}if(position[1]=="left"){e.style.left="25%"}else{if(position[1]=="center"){e.style.left="50%"}else{if(position[1]=="right"){e.style.left="75%"}}}if(position[0]=="left"||position[0]=="right"){e.style.marginTop="-57px";e.style.width="50px";e.style.height="115px"}else{e.style.marginLeft="-57px";e.style.width="115px";e.style.height="50px"}var tab_img_url=wau_scheme+"://whos.amung.us/pjswidget/"+wau_wid_args(wid_id)+"&w=classictab&pos="+position[0];if(link_target!=""){var l=document.createElement("a");l.href="http://whos.amung.us/pro/stats/"+wau_sitekey+"/";l.target=link_target;e.appendChild(l);var append_img_to=l}else{var append_img_to=e}var i=document.createElement("img");i.id="wau_wid_img_"+wid_id;i.src=tab_img_url;i.style.border="none";append_img_to.appendChild(i);e.onmouseover=function(){eval("this.style."+position[0]+" = '-10px'")};e.onmouseout=function(){eval("this.style."+position[0]+" = '-15px'")};try{if(document.body){var body=document.getElementsByTagName("body")[0];body.insertBefore(e,document.body.firstChild);setTimeout(function(){wau_animate_tab(e,position[0],-50)},100)}}catch(err){wau_add_load_event(function(){if(document.body){document.body.appendChild(e);setTimeout(function(){wau_animate_tab(e,position[0],-50)},1250)}})}}function wau_animate_tab(e,position,amt){if(amt<=-15){eval("e.style."+position+" = amt+'px'");amt+=5;setTimeout(function(){wau_animate_tab(e,position,amt)},20)}}function wau_add_load_event(b){var a=window.onload;if(typeof window.onload!="function"){window.onload=b}else{window.onload=function(){a();b()}}}function wau_add_mousemove_event(b){var a=window.onmousemove;if(typeof window.onmousemove!="function"){window.onmousemove=b}else{window.onmousemove=function(){a();b()}}}function wau_dis_au(){clearInterval(wau_interval)}function wau_doc_ready(){var a=document.getElementsByTagName("html")[0];return !(!a||!document.getElementsByTagName("body")[0]||!a.innerHTML||a.innerHTML.toLowerCase().indexOf("</body>")==-1||(typeof document.readyState=="string"&&document.readyState!="complete"&&document.readyState!="interactive"))}function wau_pro_loader(){window.setTimeout(wau_doc_ready()?wau_wid_init:wau_pro_loader,250)};
