var korekta='Jeżeli chcesz skorzystać z korekty wprowadź opis korekty! \n';var brakZdjec='Aby dodać ogłoszenie wymagane jest dołączenie minimum jednego zdjęcia. \n';var istniejeLogin='Skorzystaj z innego loginu, ten login jest już zajęty.';var rozneHasla='Podane hasła nie są takie same spróboj ponownie.';var niepoprawnyEmail='Podany e-mail ma nieprawidłową składnie.';var niepoprawnyTelefon='W numerze telefonu nie powinnny występować litery.';var zaDlugiTelefon='Telefon musi zawierać 9 cyfr. Numer powinien mieć składnie np. 504 400 500';var niepoprawnaCena='Podana cena jest nieprawidłowa, cena może się składać wyłącznie z cyfr';var pustyLogin='Uzupełnij swój login!';var okreslStopienZnajomosci='Wybierają język wybierz stopień jego znajmości';var uzupelnijTresc='Uzupełnij treść ogłoszenia';var uzupelnijWiek='Wybierz swój wiek';var uzupelnijWage='Wybierz swoją wagę';var uzupelnijRozmiar='Wybierz swój rozmiar';var uzupelnijKolor='Wybierz kolor włosów';var uzupelnijOrientacje='Wybierz swoją orientację';var uzupelnijWzrost='Podaj swój wzrost';var wybraneZdjecie='Zdjęcie zostało już wybrane!';var niepoprawnaTrescObrazka='Nie poprawna treść obrazka.';var uploadPlikow='Trwa dodawanie zdjęć.'
var wybierzTermin='Wybierz czas ogłosznia'
var istniejeTytul='Podany tytuł istanieje w bazie, skorzystaj z innego tytułu';var WpiszMiasto='Jeżeli w podanej liście nie ma twojego miasta wpisze je jako inne';var WpiszDzielnice='Jeżeli w podanej liście nie ma twojej dzielnicy wpisze ją jako inne';var pustyTemat="Temat nie może być pusty";var pustaWiadomosc="Wiadomość nie może być pusta";var HaslaNieZgadzajaSie="Podane hasła nie zgadzają się";var StareHasloNiePoprawne="Podane stare hasło nie jest poprawne";var imiePuste="Imie nie może być puste.";var akcpetajaOceny='
Twoja wiadomość zostanie zaakceptowana wciągu 24h.
';var szerokosci=new Array();szerokosci[0]=14;szerokosci[1]=23;szerokosci[2]=22;szerokosci[3]=21;szerokosci[4]=26;szerokosci[5]=24;var menupmargin=new Array();menupmargin[0]=15;menupmargin[1]=15;menupmargin[2]=35;menupmargin[3]=32;var statusLoader=0;var statusProfil=0;function wczytajDzielnice()
{var select=document.getElementById('Profile_miasto');$("#Profile_dzielnica").load('./wczytajDzielnice.php?iid='+select.options[select.selectedIndex].value);}
function dodajFotyStworzProfil(Profile_typ)
{var msg='';if($("#zdjecie_glowne option:selected").attr("value")=='brak')
msg+=brakZdjec;if($(":checkbox").is(":checked")&&!$("textarea").attr("value"))
msg+=korekta;var value=$("#zdjecie_glowne option:selected").attr("value");if(!parseInt(value))
value=1;var file=$(":file[name='Profile_foto_"+value+"']");if(msg=='')
{if(statusLoader==0)
{statusLoader=1;jQuery.post('profilVirtual.php?Profile_typ='+Profile_typ,{korekta:$("textarea").attr("value")},function(data)
{var form=document.getElementById('formRejestracja');form.action=form.action+'?virtual='+data;submitform('formRejestracja');startRejestracja(Profile_typ,data,$(file).attr("value"));});}
else
{alert("Proszę czekać");}}
else
alert(msg);}
function zmienFotoGlowne(elem)
{var tab=elem.name.split("_");var numerFile=parseInt(tab[2]);if(!elem.value)
{if($("option[value='"+numerFile+"']"))
$("option[value='"+numerFile+"']").remove();return;}
for(var k=1;k<13;k++)
{if($(":file[name='Profile_foto_"+k+"']").attr("value")==elem.value&&k!=numerFile)
{$(":file[name='Profile_foto_"+numerFile+"']").attr("value","")
alert(wybraneZdjecie);return;}}
if(("#zdjecie_glowne option:contains('brak')"))
$("#zdjecie_glowne option:contains('brak')").remove();var option=document.createElement('option');$(option).attr('value',numerFile);$(option).html(numerFile);var select=document.getElementById('zdjecie_glowne');var status=0;for(var i=0;inumerFile&&parseInt(select.options[i].value) ');jQuery.post('./wczytajFormularz.php?Profile_typ='+Profile_typ+'&Profile_id='+Profile_id,{glowneFoto:glowneFo},function(data)
{$('#rejestracja_contener').html(data);});}
function wczytajFormularz(Profile_typ,Profile_id)
{}
function zatrzymajWgrywanie()
{$('#wgrywaj').html('Zdjęcia zostały wgrane, wypełnij formularz aby dodać ogłoszenie.');$('#wgrywaj').addClass('dzial_tytul');}
function createNotification(repElement,tekstParam)
{if(document.getElementById('notifi'+repElement))
return;var div=document.createElement("div");div.id='notifi'+repElement;var pos=$('#'+repElement).offset();$(div).html(' ');$(div).addClass('notifi');$(div).css('top',pos.top+2+"px");$(div).css('left',pos.left-17+"px");if(repElement=='Profile_telefon')
{$(div).css('top',pos.top+2+"px");$(div).css('left',pos.left+132+"px");}
$(div).mouseover(function()
{if(repElement=='Profile_telefon')
{setRollOver(pos.top+2,pos.left+132,tekstParam)}
else
{setRollOver(pos.top+2,pos.left-17,tekstParam)}})
$(div).mouseout(function()
{$('.rollOverNotifi').remove();})
document.body.appendChild(div);}
function removeNotification(repElement)
{$('#notifi'+repElement).remove();}
function setRollOver(top,left,tekstParam)
{var div=document.createElement("div");$(div).addClass("rollOverNotifi")
$(div).css('top',top+20+"px");$(div).css('left',left+"px");$(div).html(tekstParam);document.body.appendChild(div);}
function sprawdzLogin(rodzaj)
{if(rodzaj)
var value=document.getElementById('Profile_tytul').value;else
var value=document.getElementById('Profile_login').value;jQuery.post('sprawdzLogin.php?rodzaj='+rodzaj,{val:value},function(data)
{if(data=='true')
{if(rodzaj)
createNotification('Profile_tytul',istniejeTytul);else
createNotification('Profile_login',istniejeLogin);return 0;}
else
{if(rodzaj)
removeNotification('Profile_tytul');else
removeNotification('Profile_login');}});return 1;}
function sprawdzJezyk(idJezyk)
{var select=document.getElementById(idJezyk);if(select.options[select.selectedIndex].value!="brak")
{if(idJezyk=='Profile_jezyk_1')
document.getElementById('stopien_jezyk_3').checked=true;if(idJezyk=='Profile_jezyk_2')
document.getElementById('stopien_jezyk_7').checked=true;}
else
{if(idJezyk=='Profile_jezyk_1')
{document.getElementById('stopien_jezyk_1').checked=false;document.getElementById('stopien_jezyk_2').checked=false;document.getElementById('stopien_jezyk_3').checked=false;document.getElementById('stopien_jezyk_4').checked=false;}
else
{document.getElementById('stopien_jezyk_5').checked=false;document.getElementById('stopien_jezyk_6').checked=false;document.getElementById('stopien_jezyk_7').checked=false;document.getElementById('stopien_jezyk_8').checked=false;}}}
function sprawdzDzien(elem)
{if(document.getElementById("dni_wolne").checked==true)
{elem.checked=false;}}
function sprawdzHasla()
{if(document.getElementById('Profile_haslo').value!=document.getElementById('Profile_haslo_powtorzenie').value)
createNotification('Profile_haslo_powtorzenie',rozneHasla);else
removeNotification('Profile_haslo_powtorzenie');}
function sprawdzEmail(idEmail)
{var emailPattern=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/;if(!document.getElementById('Profile_mejl').value.match(emailPattern))
createNotification('Profile_mejl',niepoprawnyEmail);else
removeNotification('Profile_mejl');}
function sprawdzTelefon()
{var telefonValue=document.getElementById('Profile_telefon').value;var dlugosc=0;var notifi='';for(var i=0;imax)
{document.getElementById('foteczkiToGo').value=5;from=0;}
else
document.getElementById('foteczkiToGo').value=parseInt(from)+5;jQuery.get('wczytajNoweOgloszenia.php?from='+from+'&typ='+typ,function(data)
{$('#belto').fadeTo(1000,1);$('#belto').html(data);});}}
jQuery.fn.corner=function(o){function hex2(s){var s=parseInt(s).toString(16);return(s.length<2)?'0'+s:s;};function gpc(node){for(;node&&node.nodeName.toLowerCase()!='html';node=node.parentNode){var v=jQuery.css(node,'backgroundColor');if(v.indexOf('rgb')>=0){rgb=v.match(/\d+/g);return'#'+hex2(rgb[0])+hex2(rgb[1])+hex2(rgb[2]);}
if(v&&v!='transparent')
return v;}
return'#ffffff';};function getW(i){switch(fx){case'round':return Math.round(width*(1-Math.cos(Math.asin(i/width))));case'cool':return Math.round(width*(1+Math.cos(Math.asin(i/width))));case'sharp':return Math.round(width*(1-Math.cos(Math.acos(i/width))));case'bite':return Math.round(width*(Math.cos(Math.asin((width-i-1)/width))));case'slide':return Math.round(width*(Math.atan2(i,width/i)));case'jut':return Math.round(width*(Math.atan2(width,(width-i-1))));case'curl':return Math.round(width*(Math.atan(i)));case'tear':return Math.round(width*(Math.cos(i)));case'wicked':return Math.round(width*(Math.tan(i)));case'long':return Math.round(width*(Math.sqrt(i)));case'sculpt':return Math.round(width*(Math.log((width-i-1),width)));case'dog':return(i&1)?(i+1):width;case'dog2':return(i&2)?(i+1):width;case'dog3':return(i&3)?(i+1):width;case'fray':return(i%2)*width;case'notch':return width;case'bevel':return i+1;}};o=(o||"").toLowerCase();var keep=/keep/.test(o);var cc=((o.match(/cc:(#[0-9a-f]+)/)||[])[1]);var sc=((o.match(/sc:(#[0-9a-f]+)/)||[])[1]);var width=parseInt((o.match(/(\d+)px/)||[])[1])||10;var re=/round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/;var fx=((o.match(re)||['round'])[0]);var edges={T:0,B:1};var opts={TL:/top|tl/.test(o),TR:/top|tr/.test(o),BL:/bottom|bl/.test(o),BR:/bottom|br/.test(o)};if(!opts.TL&&!opts.TR&&!opts.BL&&!opts.BR)
opts={TL:1,TR:1,BL:1,BR:1};var strip=document.createElement('div');strip.style.overflow='hidden';strip.style.height='1px';strip.style.backgroundColor=sc||'transparent';strip.style.borderStyle='solid';return this.each(function(index){var pad={T:parseInt(jQuery.css(this,'paddingTop'))||0,R:parseInt(jQuery.css(this,'paddingRight'))||0,B:parseInt(jQuery.css(this,'paddingBottom'))||0,L:parseInt(jQuery.css(this,'paddingLeft'))||0};if(jQuery.browser.msie)this.style.zoom=1;if(!keep)this.style.border='none';strip.style.borderColor=cc||gpc(this.parentNode);var cssHeight=jQuery.curCSS(this,'height');for(var j in edges){var bot=edges[j];strip.style.borderStyle='none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none');var d=document.createElement('div');var ds=d.style;bot?this.appendChild(d):this.insertBefore(d,this.firstChild);if(bot&&cssHeight!='auto'){if(jQuery.css(this,'position')=='static')
this.style.position='relative';ds.position='absolute';ds.bottom=ds.left=ds.padding=ds.margin='0';if(jQuery.browser.msie)
ds.setExpression('width','this.parentNode.offsetWidth');else
ds.width='100%';}
else{ds.margin=!bot?'-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px':(pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px';}
for(var i=0;i'+opcje[i]+'
';}}
else
{filtr_status=0;for(var i=1;i '+opcje[i]+'
';}}}
else
{divMozliwosci.innerHTML=data;$(divMozliwosci).css("width","130px");$(divMozliwosci).css("left",pos.left-17+"px");$(divMozliwosci).css("overflow","hidden");}
document.body.appendChild(divMozliwosci);$(".MozliwoscCont").hover(function()
{$(this).css("background-color","#fed4de");},function()
{$(this).css("background-color","#fec628");});});$('#'+itemId+' .Filtr_btn_kasuj').css('background-image','url(images/filtr_btn_bg.png)');$("HTML").mousemove(function(e)
{var pos=$(divMozliwosci).offset();if(pos.top!=0&&pos.left!=0)
{e=e||window.event;var wysokosc=0;if(pos.top-30>e.pageY)
{Filtruj.usunMozliwe(itemId);return;}
if(pos.left-4>e.pageX)
{Filtruj.usunMozliwe(itemId);return;}
if($(divMozliwosci).height()==0)
wysokosc=50;else
wysokosc=$(divMozliwosci).height();if(pos.top+wysokosc$(window).height())
{layer.css("top",pos.top-20+"px");layer.css("left",pos.left+170+"px");}});document.body.appendChild(divMiasta);},zapiszMiasto:function(idMiasto)
{$('#idMiasto').attr("value",idMiasto);submitform("Miasta");},wezZawartosc:function(div,idWeb,callback)
{jQuery.get('wezPozostaleMiasta.php?id='+idWeb,function(data)
{$(div).html(data);callback();$("html").mousemove(function(e)
{var pos=$(".divMiasta").offset();if(pos.top!=0&&pos.left!=0)
{e=e||window.event;var wysokosc=0;if(pos.top-30>e.pageY)
{Miasta.usunPozostale();return;}
if(pos.left-130>e.pageX)
{Miasta.usunPozostale();return;}
if(pos.top+$(".divMiasta").height()0)
{$('#komentarz').animate({height:0},400);}
else
{$('#komentarz').animate({height:heightT},400);var i=0;var inte=setInterval(function(){$(document).scrollTop($(document).scrollTop()+20);i++;if(i==13){clearInterval(inte);}},10);}}
function dodajOcene(idKomentowanegoT,idKomentujacegoT,rodzaj)
{var trescT=document.getElementById("Komentarz_tresc").value;if(rodzaj!="")
rodzaj='?rodzaj='+rodzaj;else
rodzaj='';jQuery.post("dodajKomentarz.php"+rodzaj,{idKomentowanego:idKomentowanegoT,idKomentujacego:idKomentujacegoT,tresc:trescT},function(data){});pokazFormatkeKomentarza('200px');var div=document.createElement("div");$(div).css("display","none");div.innerHTML=akcpetajaOceny;document.getElementById("komentarz").parentNode.insertBefore(div,document.getElementById("komentarz"));$(div).fadeIn("slow");}
function dodajElement(idRelT,nazwaAutoraT,act)
{var trescT=document.getElementById("Komentarz_tresc").value;if(!trescT){trescT=document.getElementById("Komentarz_tresc_ifr").contentWindow.document.body.innerHTML;}
var nazwaTematu='';var msg="";if(act==1)
{nazwaTematu=document.getElementById("Temat_nazwa").value;if(nazwaTematu=="")
msg+="Nazwa tematu nie może być pusta \n";if(trescT==""||trescT=='
')
msg+="Treść tematu nie może być pusta \n"
if(msg)
{alert(msg);return;}}
else
{if(trescT==""||trescT=='
')
msg+="Treść postu nie może być pusta \n"
if(msg)
{alert(msg);return;}}
$.post("obsForum.php?act="+act,{idRel:idRelT,nazwaAutor:nazwaAutoraT,tresc:trescT.replace(/\n/g,' '),temat:nazwaTematu},function(data){submitform('forum_dodaj');});}
var MainFotki;function IsIe(ver)
{temp=navigator.appVersion.split('MSIE');ieVer=parseInt(temp[1]);if(ver)
{if(ieVer&&ieVer==ver)
return true;else
return false;}
if(ieVer)
return true;else
return false;}
var Profil={wczytajFoto:function(fotoToRead,login,typ)
{Profil.zmienAktywny(fotoToRead,typ);var re=/ /g;$('#duzefoto').css("background-image",'url(katalogi/'+login.replace(re,'%20')+'/srednie/'+fotoToRead.replace(re,'%20')+')');$('#linkBig').attr("href",'katalogi/'+login.replace(re,'%20')+'/standard/'+fotoToRead);},zmienAktywny:function(fotoToRead,typ)
{var minis=$(".foto");for(var i=0;i350&&height<400)
return;var pozostalosc=wyscont-((pos.top*-1)+384);var selected=this.wezZaznaczony();var pos_selected=$(selected).position();var typ=selected.className.split('_');if(pos_selected.top==(pos.top*-1))
setTimeout(function(){$('#duzeFotoLeftUpCorner').css('background-image','url(images/'+typ[0]+'duzefotoLeftUpnoaktiv.gif)');},300);if(pozostalosc<$('#Profile_hide').height())
{pozostalosc=pozostalosc;}
else
{pozostalosc=4*96;}
$('#Profil_belt').animate({top:pos.top-pozostalosc+"px"},1000,"swing",function()
{var pos=$('#Profil_belt').position();var pos_selected=$(selected).position();if(pos_selected.top==(pos.top*-1))
$('#duzeFotoLeftUpCorner').css('background-image','url(images/'+typ[0]+'_duzeFotoLeftUp_corner.gif)');Profil.ustawNaroznik(Profil.wezZaznaczony(),typ[0]);});},przesunWDol:function()
{var pos=$('#Profil_belt').position();var anim=$("div:animated");for(var i=0;i0&&parent.frames.length)
{d=parent.frames[n.substring(p+1)].document;n=n.substring(0,p);}
if(!(x=d[n])&&d.all)x=document.getElementById(n);for(i=0;!x&&i');document.body.appendChild(div);jQuery.get('dodajDoBoxa.php?idUser='+idUser+'&idProfil='+idProfil,function(data)
{setTimeout(function(){$(div).remove()},1500)});}
var Tooltip={AddRollOut:function(ElementID,CSSTooltipClass)
{$('#'+ElementID).mouseout(function(){$('#TooltipLayer'+ElementID).remove();})},ShowTooltip:function(ElementID,CSSTooltipClass,DataToShow,x,y)
{Tooltip.AddRollOut(ElementID,CSSTooltipClass);var element=Tooltip.CreateTooltip(ElementID,CSSTooltipClass,x,y);$(element).html(DataToShow);$(element).fadeIn("fast");},CreateTooltip:function(ElementID,CSSTooltipClass,x,y)
{var div=document.createElement("div");$(div).css("position","absolute");$(div).css("display","none");$(div).attr("id","TooltipLayer"+ElementID);$(div).addClass(CSSTooltipClass);var pos=$('#'+ElementID).offset();$(div).css("left",pos.left+$('#'+ElementID).width()+5+x);$(div).css("top",pos.top+y);document.body.appendChild(div);return div;}}
var preloadedimages=new Array();var timeouts=new Array();var infotimeouts=new Array();var NowId;function isloaded(img){if(!img.complete)
return false;if(typeof img.naturalWidth!="undefined"&&img.naturalWidth==0)
return false;return true;}
function loadimage(path,id,num){if(typeof(preloadedimages[id][num])!='undefined')
return;preloadedimages[id][num]=new Image();preloadedimages[id][num].src=MainFotki[id][num];}
function ShowInfo(id)
{var info=document.createElement("div");var pos=$('#item_'+id).offset();info.id="item_"+id+"_info";$(info).css("position","absolute");$(info).css("top",pos.top-1);$(info).css("left",pos.left+109);$(info).css("width","45px");$(info).css("height","40px");$(info).css("z-index","300");$(info).html(' ');document.body.appendChild(info);}
function ShowDaneProfil(id)
{stopPreload(id);jQuery.get('wezInfoProfil.php?iid='+id,function(data)
{var dane=document.createElement("div");var pos=$("#item_"+id+"_info").offset();dane.id="item_"+id+"_DaneProfil";$(dane).addClass("InfoDaneProfil");$(dane).css("top",pos.top+21);$(dane).css("left",pos.left+14);$(dane).css("z-index","300");$(dane).html(data);$(dane).css("opacity","0.9");document.body.appendChild(dane);});}
function startPreview(id)
{if(document.getElementById(id+"_obrys").style.backgroundImage=='url(images/ProfilObrys.gif)')
return;document.getElementById(id+"_obrys").style.backgroundImage='url(images/ProfilObrys.gif)';path='';realID=id.replace('item_','');num=MainFotki[realID].length;if(typeof(preloadedimages[realID])=='undefined')
{preloadedimages[realID]=new Array();}
loadimage(path,realID,1);timeouts[realID]=setTimeout("showimage('"+path+"', "+realID+", "+num+", 1)",500);infotimeouts[realID]=setTimeout("ShowInfo("+realID+")",300);loadimage(path,realID,0);}
function showimage(path,id,cnt,num)
{if(!isloaded(preloadedimages[id][num]))
{timeouts[id]=setTimeout("showimage('"+path+"', "+id+", "+cnt+", "+num+")",20);return;}
$("#item_"+id).css("background-image","url("+preloadedimages[id][num].src+")");if(++num==cnt)
num=0;loadimage(path,id,num);timeouts[id]=setTimeout("showimage('"+path+"', "+id+", "+cnt+", "+num+")",500);}
function checkPreview(id)
{if(!document.getElementById(id+"_obryss"))
{stopPreview(id);}}
function getMousePosition(e)
{return e.pageX?{'x':e.pageX,'y':e.pageY}:{'x':e.clientX+document.documentElement.scrollLeft+document.body.scrollLeft,'y':e.clientY+document.documentElement.scrollTop+document.body.scrollTop};}
var prev_x=0;var prev_y=0;function stopPreview(id)
{var status='';if(window.addEventListener)
window.addEventListener('DOMMouseScroll',function(){RealStop(id);},false);window.onmousewheel=document.onmousewheel=function(){RealStop(id);};document.onmousemove=function(e)
{e=e||window.event;target=e.target||e.srcElement;if(target.id==id+"_obrys"||target.id=="InfoImage"||target.id==id+"_info"||target.id==id+"_DaneProfil"||target.id=="DaneTable")
{return;}
else
{RealStop(id);}};}
function RealStop(id)
{realID=id.replace('item_','');clearTimeout(timeouts[realID]);clearTimeout(infotimeouts[realID]);document.getElementById(id).style.backgroundImage='url('+MainFotki[realID][0]+')';if(document.getElementById(id+"_info"))
document.body.removeChild(document.getElementById(id+"_info"));if(document.getElementById(id+"_DaneProfil"))
document.body.removeChild(document.getElementById(id+"_DaneProfil"));document.getElementById(id+"_obrys").style.backgroundImage='none';}
function stopPreload(id)
{clearTimeout(timeouts[id]);document.getElementById("item_"+id).style.backgroundImage='url('+MainFotki[id][0]+')';}
function CreateCurtain(CSSClass,RemoveFunction)
{var divZaslona=document.createElement('div');$(divZaslona).addClass(CSSClass);$(divZaslona).html('')
divZaslona.id='divZaslona';$(divZaslona).css("width",($(window).width())+"px");$(divZaslona).css("height",$(document).height()+"px");$(divZaslona).css("opacity","0.8");$(divZaslona).click(function(){RemoveFunction();});document.body.appendChild(divZaslona);}
function PrzypomnijHaslo(login){if(!login)
return alert('Podaj swój login!');var prev=$('.przypomnij').html();$('.przypomnij').html(' ');$('.przypomnij').css("text-align","center");$('.przypomnij').css("padding-top","20px");jQuery.post('_ax_PrzypominHaslo.php',{log:login},function(data)
{if(data){$('.przypomnij').html('Podany przez Ciebie login jest nie prawidłowy.');setTimeout(function(){$('.przypomnij').css("padding-top","0px");$('.przypomnij').css("text-align","left");$('.przypomnij').html(prev);},2000);}
else{$('.przypomnij').html('Twoje hasło zostało wysłane na podany przez Ciebie e-mail podczas rejestracji konta.')}});}
function GotoReklama(idRek,href,target){jQuery.get('_ax_AddKlikniecieReklama.php?idRek='+idRek);window.open(href,target);}
function setUpDzialItem()
{temp=navigator.appVersion.split('MSIE');ieVer=parseInt(temp[1]);if(ieVer&&ieVer==6)
{$(".dzial_stopka_item").css("top","-48px");$(".dzial_item .rightUp").css("top","-14px");$(".dzial_item").css("overflow","hidden");}}
function setUpProfilView()
{temp=navigator.appVersion.split('MSIE');ieVer=parseInt(temp[1]);if(ieVer&&ieVer==6)
{$(".foto .rightUp").css("top","-28px");$(".foto .rightDown").css("top","40px");$(".foto .leftDown").css("top","68px");$(".Profil_hide").css("height","384px");$(".Profil_hide").css("width","118px");}}
function setUpExternal()
{$("a[rel='external']").attr('target','_blank');}
function setUpCiekawostki()
{var photos=$(".ciakawostka_miniatura img");for(var i=0;i","/":"?","\\":"|"},newTrigger:function(E,D,F){var C={};C[E]={};C[E][D]={cb:F,disableInInput:false};return C}};if(B.browser.mozilla){A.specialKeys=B.extend(A.specialKeys,{96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9"})}B.fn.find=function(C){this.query=C;return B.fn.__find__.apply(this,arguments)};B.fn.unbind=function(H,E,G){if(B.isFunction(E)){G=E;E=null}if(E&&typeof E==="string"){var F=((this.prevObject&&this.prevObject.query)||(this[0].id&&this[0].id)||this[0]).toString();var D=H.split(" ");for(var C=0;C