up31=0
//function ukryjReklame() {
//adzamknij='';
//AdZamknij83();
//}

function getAd(typ,path,w,h,u,ext)
{
switch(typ)
{
case 'flash':
{
Addw83('<TABLE width=100% border=0 cellspacing=0 cellpadding=0><TR><TD height='+h+' align=center valign=middle>'+AdFl83(path+'?click='+u,w,h,'opaque')+'</TD></TR></TABLE>')
break
}
case 'scrolltop':
{
ada=0
adscsw=false
ad_flash1140449757=path+'?click='+u
Addw83('<DIV style="position:relative;width:'+w+';height:'+h+';z-index:4;margin:13 0 0 0"><DIV id=adid style="position:absolute;width:100%;height:'+h+';left:0;top:0;background-color:white;visibility:visible;z-index:4"><DIV style="position:absolute;margin-top:-13;height:13;left:0;width:100%;font-size:10;color:#BBBBBB;background-color:white;text-align:left;letter-spacing:6px;font-family:Verdana,Helvetica,Tahoma">REKLAMA</DIV><DIV style="position:absolute;margin-top:-13;height:13;right:0;background-color:white"><IMG align=absmiddle src=/_g/ad/z.gif border=0 onClick="adgora83()" style="cursor:pointer"></DIV><DIV style="width:width:100%;height:100%">'+AdFl83(ad_flash1140449757,w,h,'opaque')+'</DIV></DIV></DIV>')
if(window.attachEvent){attachEvent("onload",adsc83)}
else if(window.addEventListener){addEventListener("load",adsc83,false)}
break
}
case 'toplayer':
{
ad_flash5140=path+'?adzamknij=javascript:AdZamknij83()&click='+u
Addw83('<DIV align=center><DIV style="position:relative;width:'+w+';visibility:hidden;z-index:15"><DIV id=ad_layer5140 name=ad_layer5140 style="position:absolute;left:0;visibility:hidden;width:'+w+';height:'+h+';top:25;z-index:15">'+AdFl83(ad_flash5140,w,h,'transparent')+'</DIV></DIV></DIV>')
if(window.attachEvent){attachEvent("onload",AdStart83)}
else if(window.addEventListener){addEventListener("load",AdStart83,false)}
setTimeout("AdZamknij83()",35000)
break
}
case 'brandmark':
{
ad_flash1431=path+'?adzamknij=javascript:AdZamknij83()&adzwin=javascript:AdZwin83(ad_layer5140,'+w+','+ext+')&adrozwin=javascript:AdRozwin83(ad_layer5140,'+w+','+h+')&click='+u
Addw83('<DIV align=center><DIV style="position:relative;width:'+w+';visibility:hidden;z-index:15"><DIV id=ad_layer5140 name=ad_layer5140 style="position:absolute;visibility:hidden;width:'+w+';height:'+h+';left:0;top:200;z-index:15">'+AdFl83(ad_flash1431,w,h,'transparent')+'</DIV></DIV></DIV>')
if(Addg83("ad_layer5140"))
{
Addg83("ad_layer5140").onmousedown=AdLU83
Addg83("ad_layer5140").onmouseup=AdLD83
}
if(window.attachEvent)
{
attachEvent("onload",AdStart83)
document.attachEvent("onmousemove",Ad_Move_IE83)
}
else if(window.addEventListener)
{
addEventListener("load",AdStart83,false)
addEventListener("mousemove",Ad_Move_Moz83,false)
}
break
}
case 'exptop':
{
ad_flash2949=path+'?click='+u+'&adzwin=javascript:AdZwin83(div2949,'+w+','+h+')&adrozwin=javascript:AdRozwin83(div2949,'+w+','+ext+')'
Addw83('<DIV align=center><DIV style="position:relative;width:'+w+';height:'+h+';z-index:4"><DIV id=div2949 style="position:absolute;width:'+w+';height:'+h+';left:0;top:0;z-index:4;visibility:hidden">'+AdFl83(ad_flash2949,w,ext,'transparent')+'</DIV></DIV></DIV>')
Addg83("div2949").style.clip='rect(0,'+w+','+h+',0)'
if(window.attachEvent){attachEvent("onload",function(){Addg83("div2949").style.visibility='visible'})}
else if(window.addEventListener){addEventListener("load",function(){Addg83("div2949").style.visibility='visible'},false)}
break
}
default:break
}
}
function AdFl83(src,width,height,wmode)
{
r='<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width='+width+' height='+height+'><PARAM name=movie value="'+src+'"><PARAM name=quality value=high>'
if(wmode)r+='<PARAM name=wmode value='+wmode+'>'
r+='<EMBED src="'+src+'" width='+width+' height='+height+' quality=high '
if(wmode)r+='wmode='+wmode
r+=' type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>'
r+='</OBJECT>'
return r
}
function AdLD83(){up31=0}
function AdLU83()
{
ad_x_pos=ad_x
ad_y_pos=ad_y
up31=1
}
function Ad_Move_IE83()
{
ad_x=event.clientX+document.body.scrollLeft
ad_y=event.clientY+document.body.scrollTop
if(up31)AdU83()
}
function Ad_Move_Moz83(e)
{
ad_x=e.clientX+document.body.scrollLeft
ad_y=e.clientY+document.body.scrollTop
if(up31)AdU83()
}
function AdStart83(){Addg83("ad_layer5140").style.visibility='visible'}
function AdU83()
{
Addg83("ad_layer5140").style.top=Addg83("ad_layer5140").offsetTop+ad_y-ad_y_pos
Addg83("ad_layer5140").style.left=Addg83("ad_layer5140").offsetLeft+ad_x-ad_x_pos
ad_x_pos=ad_x
ad_y_pos=ad_y
}
function AdZamknij83(){Addg83("ad_layer5140").style.visibility='hidden'}
function AdZwin83(di5,w,s){di5.style.clip='rect(0,'+w+','+s+',0)'}
function AdRozwin83(di5,w,s){di5.style.clip='rect(0,'+w+','+s+',0)'}
function adgora83()
{
clearTimeout(ada)
Addg83("adid").style.top=0
}
function adsc83()
{
if(!adscsw)
{
Addg83("adid").style.top=0
adscsw=true
}
adoY=document.body.scrollTop
adoYr=parseInt(Addg83("adid").style.top)
if(adoY!=adoYr)adscsl(adoYr,adoY)
else ada=setTimeout('adsc83()',50)
}
function adscsl(from,to,adsgntmp)
{
if(to-from)adsgn=Math.abs(to-from)/(to-from)
else adsgn=2
if(!adsgntmp)adsgntmp=adsgn
from=Math.ceil(from+adsgn*Math.sqrt(Math.ceil(10*adsgn*(to-from))/10))
Addg83("adid").style.top=from
if(adsgn==adsgntmp)setTimeout('adscsl('+from+','+(document.body.scrollTop)+','+adsgntmp+')',25)
else adsc83()
}
function Addg83(i){return document.getElementById(i)}
function Addw83(s){document.write(s)}
