var loads=new Array(); loads[loads.length] ="my_fade_in();"; function c_opacity(o,p){ o.style.filter='alpha(opacity='+p+')'; o.style.opacity=p/100; } function addgoal(tip){ if (tip=="fastbook" || tip=="email" || tip=="groupmail" || tip=="fastbutton" || tip=="transfer" || tip=="rendezveny"){ agi=document.createElement('iframe'); agi.id="goalframe"; agi.style.display='none'; document.body.appendChild(agi); atmp=location.href.split("/"); agi.width="600px"; agi.height="300px"; agi.src="http://"+atmp[2]+"/plugins/"+tip+"_goal.php"; } } function mmail(obj){ obj.href=obj.href.replace(/nsp./g,''); return true; } function getStyle(oElm,strCssRule){ var strValue=""; if (document.defaultView && document.defaultView.getComputedStyle){ strValue=document.defaultView.getComputedStyle(oElm,"").getPropertyValue(strCssRule); } else if (oElm.currentStyle){ strCssRule=strCssRule.replace(/\-(\w)/g, function (strMatch, p1){ return p1.toUpperCase();}); strValue=oElm.currentStyle[strCssRule]; } if (strValue=="medium") strValue=0; return parseInt(strValue); } var ceObjects=[]; function heightCorrection(){ var divs=document.getElementsByTagName('div'); ttt=""; for (var i=0; i=0 && divs[i].className.indexOf('float')==-1) { roh=false; oh=parseInt(getStyle(divs[i],'height')); if (divs[i].className.indexOf(' scroll')==-1){ divs[i].style.overflow='visible'; divs[i].style.height='auto'; roh=divs[i].offsetHeight; if (rohmaxr) { maxr=ceObjects[i][2]; r_b=getStyle(ceObjects[i][0],'border-right-width') || 0; } } rePosition(); var maxt=0; for (var i=0; imaxt) maxt=t; } var cid='ce_container'; container=document.getElementById(cid); container.style.width=(maxr-minl)+l_b+r_b+'px'; container.style.height=(maxt)+'px'; container.style.visibility='visible'; } function rePosition(){ for (var k=0; kceObjects[i][1]) && ((aktObj[4]<=ceObjects[i][4] && aktObj[2]>=ceObjects[i][2]) || (aktObj[4]>=ceObjects[i][4] && aktObj[2]<=ceObjects[i][2]) || (aktObj[4]<=ceObjects[i][4] && aktObj[2]<=ceObjects[i][2] && aktObj[2]>ceObjects[i][4]) || (aktObj[4]>=ceObjects[i][4] && aktObj[2]>=ceObjects[i][2] && aktObj[4]0?k:0); repozkul=rePoz(i)+kul; aktObj[8]=(repozkul>aktObj[8])?repozkul:aktObj[8]; } } } return aktObj[8]; } function openPicture(id,d) { window.open("../../../../popup.php?picture="+id+"&dir="+d, "_fullsize", "height=0, width=0, menubar=0, resizable=0, location=0, status=0, scrollbars=0"); } loads[loads.length]='heightCorrection();'; loads[loads.length]='kukacCsere();'; function addToOnLoad(f){ var old=window.onload; if (typeof f == "function"){ if (typeof window.onload != "function") window.onload=f; else window.onload=function(){ old(); f(); } } else { if (typeof window.onload != "function") window.onload=new Function(f); else window.onload=new Function(old+"; "+f); } } ls=""; for (ol=0; ol 0) && (((mailTos[i].innerHTML).indexOf('##kukac##') > 0))){ mailTos[i].href = mailTos[i].href.replace(/##kukac##/g, '@'); mailTos[i].innerHTML = mailTos[i].innerHTML.replace(/##kukac##/g, '@'); } } */ var text = document.getElementsByTagName('P'); for(i=0;i 0){ text[i].innerHTML = text[i].innerHTML.replace(/##kukac##/g, '@'); } } } /*function hide(x,p){ ho=document.getElementById(x); if (ho) { opp=p; ho.parentNode.style.zIndex='999'; if (opp>0) { c_opacity(ho,opp); opp-=7; if (ho.parentNode.parentNode.className=='main_menu') { ho.style.left=parseInt(ho.style.left)-4+'px'; } else ho.style.left=parseInt(ho.style.left)+4+'px'; setTimeout('hide(\''+x+'\','+opp+');',15); } else { ho.style.display='none'; } } return false; } function init_menu(){ var muls=document.getElementsByTagName('UL'); for (var i=0; i1) { this.style.zIndex='1000'; o=this.getElementsByTagName('ul')[0]; if (o) {o.id='mnu_'+Math.floor(Math.random()*50000); o.style.filter='alpha(opacity=90)'; o.style.opacity='0.9'; o.style.display='block'; "+fstr+"}} return false;"); lis[j].onmouseout=new Function("if (this.childNodes.length>1) { o=this.getElementsByTagName('ul')[0]; if (o) {hide(o.id,90);}} return false;"); } } } } loads[loads.length]='init_menu();'; */ function img_in_out(name,url,ie){ eval('document.'+name+'.src ="'+url+'"'); /* if (ie==1){ eval('document.getElementbyID(\''+name+'\').style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src=\''+url+'\', sizingMethod=\'image\');"'); } if (ie==1){ document.getElementbyID(name).style="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader( src='"+url+"', sizingMethod='image');"; }*/ }