var x=0,y=0;
var isWebKit = RegExp(" AppleWebKit/").test(navigator.userAgent);
function __addFlash(src, width, height, wmode, bgcolor){
if (!bgcolor) bgcolor='';
var _f='';
_f = '';
return _f;
}
function __addLayer(width, height, left, top, visibility,position, zIndex, name,text,background){
if(!name) name='_mainWindow';
if (zIndex==null) zIndex=101;
if (!visibility) visibility='visible';
var _l='';
_l = '
';
if(text!=null)_l +=text;
_l += '
';
return _l;
}
function __closeBanerWindow(windowId){
var element=document.getElementById(windowId);
if(element==null)return 0;
var c=element.childNodes.length;
for( i=0;i40 )top=50;
x=left; y=top;
var _mf = __addFlash(fSrc,fwidth,fheight,'transparent');
var _m2 = __addLayer(fwidth, fheight, left, top, 'visible','absolute',96, dName,_mf,'transparent');
document.write(_m2);
var element=document.getElementById(dName);
if( element == null )return 0;
__createEventListener(element, "mousedown");
}
__BanerWindow(300,300,'http://banery.netart.pl/baner_show.php?h=1&id_bl=84962&id_bb=373','banerWindowTop')