function WAU_tab(key,position){var position=position.split("-");var ttl="";if(document.title){ttl=encodeURIComponent(document.title.replace(/(\?=)|(\/)/g,""))}var e=document.createElement("div");e.id="wau_tab_container";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"}e.style.cursor="pointer";e.onclick=function(){window.location="http://www.gstats.ru/"};e.style.backgroundImage="url(http://whos.amung.us/twidget/"+key+"/"+position[0]+"/"+ttl+")";e.style.width="0px";e.style.height="0px";e.style.backgroundRepeat="no-repeat";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)},1600)}}catch(err){WAU_addLoadEvent(function(){if(document.body){document.body.appendChild(e);setTimeout(function(){WAU_animate_tab(e,position[0],-50)},1250)}})}try{if(document.body){var s=document.createElement("script");s.src="http://waudist.tynt.com/javascripts/TyntLite.js?user="+key;s.type="text/javascript";document.getElementsByTagName("head")[0].appendChild(s)}}catch(err){}}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)}else{WAU_tab_en=true}}function WAU_addLoadEvent(b){var a=window.onload;if(typeof window.onload!="function"){window.onload=b}else{window.onload=function(){a();b()}}};
