function load() { window.status = "Renes d.o.o., agenzia immobiliare" } function odpriOkno(theURL,winName,features) { window.open(theURL,winName,features); } function OpenPreviewWindow(targetPage, formName){ odpriOkno('','preview','toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=640,height=480') } var message="Renes d.o.o."; function click(e) { if (document.all) { if (event.button==2||event.button==3) { alert(message); return false; } } else { if (e.button==2||e.button==3) { e.preventDefault(); e.stopPropagation(); alert(message); return false; } } } if (document.all) // for IE { document.onmousedown=click; } else // for FF { document.onclick=click; } function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function copyToClipboard(id) { var content = eval(document.getElementById(id)); content.focus(); content.select(); copytext = content.createTextRange(); copytext.execCommand("Copy"); } function prikazi(id) { var date = new Date(); date.setTime(date.getTime()+(7*24*60*60*1000)); var konec = '' + date.toGMTString(); vrednost = document.getElementById(id); if (vrednost.style.display != 'none') { vrednost.style.display = 'none'; document.cookie = id+' =False', -1; } else { vrednost.style.display = 'block'; document.cookie = id+' =True',konec; } }