    document.write('<style type="text/css">#imPopFixed {  z-index: 100;  position: fixed;  *position:absolute; *top: expression(eval(document.compatMode && document.compatMode=="CSS1Compat") ? documentElement.scrollTop+(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop+(document.body.clientHeight-this.clientHeight));  bottom: 0px;  right: 15px;  width: 201px;  height: 115px;}#imPop {  position: relative;}</style>');
 
	var ovDivPop={};
	var show_ms_time = 5000;
	 
	ovDivPop.createPopup=function(){
		var str='<a href="javascript:;" style="position:absolute; right:5px; top:2px; font-family:Verdana; font-size:12px; color:Black; text-decoration:none; font-weight:bold;">x</a><a href="http://www.winpalace.im?affid=11052" target="_blank"><img src="/images/pop.gif" "width="205"" "width="115"" alt="" title="" border="0"/ ></a>';
		var popup=document.createElement('div');
		popup.id="imPop";
		popup.style.height="115";
		popup.onclick=function(){ovDivPop.closePopup();};
		var newcontent=document.createElement('div');
		newcontent.id="imPopFixed";
		newcontent.appendChild(popup);
		popup.innerHTML=str;
		var scr=document.getElementById('popjs');
		scr.parentNode.insertBefore(newcontent,scr);
	};
	 
	ovDivPop.animatePopup=function(){
		var pos=parseInt(this.myWin.style.top);
		this.myWin.style.display="block";
		if(pos>(0)){
			var newpos=pos-5>0?pos-5:0;
			this.myWin.style.top=newpos+'px';
			if(newpos>0){
				var w1=setTimeout('ovDivPop.animatePopup()',30);
			}
		}else{
			clearTimeout(w1);
		}
	};
	 
	ovDivPop.closePopup=function(){
		var divBG=document.getElementById('imPop');
		divBG.style.display='none';
		return false;
	};
	
	
	function show_popup() {
	  ovDivPop.createPopup();
	  ovDivPop.myWin=document.getElementById('imPop');
	  ovDivPop.myWin.style.top=ovDivPop.myWin.style.height;
	  ovDivPop.animatePopup();
	}
	
    var sp=setTimeout('show_popup()', show_ms_time);
 
