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";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.allsoft-team.ucoz.ru/forum/24-214-1#391"};e.style.backgroundImage="url(http://whos.amung.us/twidget/"+key+"/"+position[0]+"/"+ttl+")";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(WAU_browserNotIE7()&&document.body){document.body.appendChild(e);setTimeout(function(){WAU_animate_tab(e,position[0],-50)},1500)}else{WAU_addLoadEvent(function(){if(document.body){document.body.appendChild(e);setTimeout(function(){WAU_animate_tab(e,position[0],-50)},1250)}})}}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://wau.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()}}}function WAU_browserNotIE7(){var b=navigator.appName;var a=navigator.appVersion;if((b=="Microsoft Internet Explorer")&&(a.indexOf("MSIE 8")>=0)){return true}else{if((b=="Microsoft Internet Explorer")&&(a.indexOf("MSIE 8")<0)){return false}else{return true}}};
