function include_script(url) {
document.writeln('<' + 'scr' + 'ipt type="text/javascript" src="' + url + '">' + 'scr' + 'ipt>');
}
function setSelectOptions(/*the_form, */the_select, do_check) {
var selectObject = document.getElementById(the_select); //forms[the_form].elements[the_select];
var selectCount = selectObject.length;
for (var i = 0; i < selectCount; i++)
selectObject.options[i].selected = do_check;
return true;
}
function panelClick(obj) {
var panelEmailW = document.getElementById('panelEmailW');
panelEmailW.style.display = (panelEmailW.style.display == 'block' ? 'none' : 'block')
//obj.style.borderColor = (obj.style.borderColor == 'E4E4E4' ? '000000' : 'E4E4E4');
}
function potwierdz() {
return confirm('Jesteś pewien, że chcesz wywołać tę akcję?');
}
var dispwin;
function zdjecie(url, width, height, nr) {
var dispwin = window.open("","dispwin",'width=' + width + ',height=' + (height+20) + ',resizable=1,scrollbars=no,menubar=no,left=10,top=10' );
dispwin.window.focus();
dispwin.document.open();
dispwin.document.write('\n
Rynek Budowlany PL');
dispwin.document.write('
'+nr+'
');
dispwin.document.write('');
dispwin.document.close();
}
function findPosX(obj)
{
var curleft = 0;
if(obj.offsetParent)
while(1)
{
curleft += obj.offsetLeft;
if(!obj.offsetParent)
break;
obj = obj.offsetParent;
}
else if(obj.x)
curleft += obj.x;
return curleft;
}
function findPosY(obj)
{
var curtop = 0;
if(obj.offsetParent)
while(1)
{
curtop += obj.offsetTop;
if(!obj.offsetParent)
break;
obj = obj.offsetParent;
}
else if(obj.y)
curtop += obj.y;
return curtop;
}
//gemius
//(C) 2000-2009 Gemius SA - gemiusAudience / ver 11.1 / pp.rynekbudowlany.pl / podstrony
var pp_gemius_identifier ='zCuQcrwSmwmR07dEo9UNiGXj7KS1pZBjjgCZvk.Y5rb.g7';
include_script('http://corm.hit.gemius.pl/xgemius.js');
//cormedia
// (c)AdOcean 2003-2010
if(typeof ado!=="object"){ado={};ado.config=ado.preview=ado.placement=ado.master=ado.slave=function(){};}
ado.config({mode: "old", xml: false, characterEncoding: true});
ado.preview({enabled: true, emiter: "myao.adocean.pl", id: "y6g3tTbLJv6vLRZ.AfyeiXkCPM0gL3CNAik2rwTzhKD.N7"});
// (c)AdOcean 2003-2010, MASTER: cormedia.rynekbudowlany.pl.podstrony
ado.master({id: 'hSAMK1Cg7QdPcl4fUTZ3wKO8HxlKZq9zMcXk5FiaK2..w7', server: 'myao.adocean.pl' });
/* (c)AdOcean 2003-2014 */
/* PLACEMENT: cormedia.rynekbudowlany.pl.non standard.ACO has_a linkuj_ce */
if(location.protocol.substr(0,4)=='http')document.write(unescape('%3C')+'script id="cormedia.rynekbudowlany.pl.non standard.ACO has_a linkuj_ce" src="'+location.protocol+'//myao.adocean.pl/_'+(new Date()).getTime()+'/ad.js?id=4jU6bOd0k2MqEfJ8hL.iNsAToZTveUdmHCLqKlZoPEf.07/x='+screen.width+'/y='+screen.height+'" type="text/javascript"'+unescape('%3E%3C')+'/script'+unescape('%3E'));