var banServerFile = 'http://adp.gazeta.pl/ad/';

var banViewedXxByPoz = '';
var xxyEcom = '';
function putBan(typR){
	var typ=typR;
	if (typR==481) typ=48;
	if (banXxByPoz[typ]){
		document.write('<scr'+'ipt type="text/javascript" src="'+banServerFile+'GetBanFile?bxx='+banXxByPoz[typ]+'"><\/script>');
		banViewedXxByPoz+=banXxByPoz[typ]+',';
	} else if(typR==48) {
		document.write('<div class="bb2" align="right"><a class="bb48r" href="http://serwisy.gazeta.pl/linki/0,52960.html" >+ dodaj swoją reklamę </a></div>');
	}
}
function countBan(dx){

	if (banViewedXxByPoz!=''){
		document.write('<scr'+'ipt type="text/javascript" src="'+banServer+'CountBan?dx='+dx+'&bxx='+banViewedXxByPoz+'&banKey='+banKey+'&xxyEcom='+xxyEcom+'"><\/script>');
	}
}
function getBanObj(obj) {
if (document.all) return eval('document.all.'+obj); else if (document.getElementById) return eval("document.getElementById('"+obj+"')"); 
}

function banDoIt(txt) { 
eval(unescape(eval(txt))); 
	//eval(unescape(txt)); 
}


