/*
var str="";

document.write(str.replace(/<body/, "<Body"));
*/









if(hostilAd!=document.getElementsByTagName('body')[0]||_h==200){

var minW=500, minH=300, hostilAd=document.getElementsByTagName('body')[0], _w=hostilAd.clientWidth<=0?400:hostilAd.clientWidth, _h=hostilAd.clientHeight<=0?200:hostilAd.clientHeight;

if(self==top || (_w>minW && _h>minH)){

	if(document.body.bgColor)bg=document.bgColor;

	else{

		var j='backgroundColor',c='background-color';

		if(hostilAd.style[j]&&hostilAd.style[j].length) bg=hostilAd.style[j]

		else if(hostilAd.currentStyle) bg=hostilAd.currentStyle[j];

		else bg=document.defaultView.getComputedStyle(hostilAd,"").getPropertyValue(c);

		}

	if(!/^#.{6}$/.test(bg))bg='#ffffff';

	src = 'http://hostil.pl/reklama.php?'+bg.substring(1,7);

	ok = true;

	try{if(ok&&self!=parent&&parent.document.getElementsByTagName('body')[0].firstChild==parent.dif)ok=!1}catch(e){}

	try{if(hostilAd.firstChild==dif)ok=!1}catch(e){}

	if(ok){

		dif=document.createElement('div');with(dif.style){}dif.innerHTML='<center><iframe id="reklama" align="center" src="'+src+'" scrolling="no" frameborder="0" width="750" allowtransparency="true" backgroundcolor="transparent"></' + 'iframe></center><div style="clear:both;"></div>';




//		dif=document.createElement('div');with(dif.style){}dif.innerHTML="<center>\n<!-- BBelements one2many Position: duno.pl(309) / Strona Główna(1) / 750x100(1) / Billboard 750x100(1) -->\n<!-- HowTo: Place this code into the html page there the ad should appear. -->\n<div id='bmone2n-309.1.1.1'>\n<noscript><div style='display:inline'><a href='http://go.idmnet.bbelements.com/please/redirect/309/1/1/1/'><img src='http://go.idmnet.bbelements.com/please/showit/309/1/1/1/?typkodu=img&keywords=' width='750' height='100' style='border-width:0' alt='' /></a></div></noscript>\n</div>\n\n<!-- BBelements one2many Position: duno.pl(309) / Strona Główna(1) / 1x1(3) / layer 1x1(4) -->\n<!-- HowTo: Place this code into the html page there the ad should appear. -->\n<div id='bmone2n-309.1.3.4'>\n<noscript><div style='display:inline'><a href='http://go.idmnet.bbelements.com/please/redirect/309/1/3/4/'><img src='http://go.idmnet.bbelements.com/please/showit/309/1/3/4/?typkodu=img&keywords=' width='1' height='1' style='border-width:0' alt='' /></a></div></noscript>\n</div>\n\n<!-- BBelements one2many code -->\n<!-- HowTo: All the ad codes must be above this code! -->\n<!-- HowTo: It is good idea to place this code just below the last ad code. -->\n<script type='text/javascript' charset='iso-8859-2' src='http://go.idmnet.bbelements.com/bb/bb_one2n.js?1229420081'></script>\n\n<script type='text/javascript'>/* <![CDATA[ */\nvar bbkeywords=''; //fill in: 'key1;key2;..'\nbmone2n.addPosition('309.1.7.3','');\nbmone2n.addPosition('309.1.3.4','');\nbmone2n.addPosition('309.1.2.2','');\nbmone2n.addPosition('309.1.1.1','');\nbmone2n.getAd('go.idmnet.bbelements.com',bbkeywords,''+(typeof(bburlparam)=='string'?'&'+bburlparam:''),'iso-8859-2');\n /* ]]> */</script>\n <div id='bmone2t-309.1.7.3' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ bmone2n.makeAd('309.1.7.3'); /* ]]> */</script></div>\n <div id='bmone2t-309.1.3.4' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ bmone2n.makeAd('309.1.3.4'); /* ]]> */</script></div>\n <div id='bmone2t-309.1.2.2' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ bmone2n.makeAd('309.1.2.2'); /* ]]> */</script></div>\n <div id='bmone2t-309.1.1.1' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ bmone2n.makeAd('309.1.1.1'); /* ]]> */</script></div>\n <script type='text/javascript'>/* <![CDATA[ */ bmone2n.moveAd(); /* ]]> */</script>\n</center>\n<div style='clear:both;'></div>";






/*		dif=document.createElement('div');with(dif.style){textAlign='center'; height='105px'}dif.innerHTML='<iframe id="reklama" align="center" src="'+src+'" scrolling="no" frameborder="0" style="display: block !important; position: absolute; left: 50% !important; top:0px !important; z-index:10000 !important; margin-left: -364px !important;width:750px !important;height:100px !important;border:0px !important"></' + 'iframe>';
*/
		hostilAd.insertBefore(dif,hostilAd.firstChild)

		}

	}

}
