function win_open(href, width, height, scroll) { if (width == '' && height == '') { window.open(href, 'EOS', 'toolbar=no,location=no,status=no,menubar=no,personalbar=no,scrollbars=' + scroll + ',resizable=no,screenx=50,left=50,screenY=50,top=50'); } else { window.open(href, 'EOS', 'toolbar=no,location=no,status=no,menubar=no,personalbar=no,scrollbars=' + scroll + ',width=' + width + ',height=' + height + ',resizable=no,screenx=50,left=50,screenY=50,top=50') } } function checkdelete() { if (confirm('Soll der Eintrag wirklich gelöscht werden?')) { return true; } else { return false; } } function MM_findObj(n, d) { //v4.01 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i function check(id) { if(document.getElementById(id).style.visibility=='visible') { hidden(id); } else { visible(id); } } function hidden (id) { document.getElementById(id).style.position='absolute'; document.getElementById(id).style.height='1'; document.getElementById(id).style.visibility='hidden'; document.getElementById(id).style.left=-1000; document.getElementById(id).style.top=-500; } function visible (id) { if(navigator.appName == "Microsoft Internet Explorer") { document.getElementById(id).style.height='100%'; } else { document.getElementById(id).style.height=''; } document.getElementById(id).style.position='relative'; document.getElementById(id).style.visibility='visible'; document.getElementById(id).style.left=0; document.getElementById(id).style.top=0; } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i function viewPic(img){ picfile = new Image(); picfile.src =(img); fileCheck(img); } function fileCheck(img){ if( (picfile.width!=0) && (picfile.height!=0) ){ makeWindow(img); } else { funzione="fileCheck('"+img+"')"; intervallo=setTimeout(funzione,10); } } function makeWindow(img){ ht = picfile.height; wd = picfile.width; var args= "height=" + (ht + 10) + ",innerHeight=" + (ht + 10); args += ",width=" + (wd + 10) + ",innerWidth=" + (wd + 10); if (window.screen) { var avht = screen.availHeight; var avwd = screen.availWidth; var xcen = (avwd - wd) / 2; var ycen = (avht - ht) / 2; args += ",left=" + xcen + ",screenX=" + xcen; args += ",top=" + ycen + ",screenY=" + ycen + ",resizable=no"; } //alert("test1 " + args); popwin=window.open("","_blank",args) popwin.document.open() popwin.document.write('EOS
') popwin.document.close() } // JavaScript Document //fonction de generation de flash par javascript // affiche le controle activeX Flash function CreateControl(DivID, CLSID, ObjectID, WIDTH, HEIGHT, URL, COLOR, WMODE) { var d = document.getElementById(DivID); d.innerHTML = '' + '' + '' + '' } function eml(obj,prenom,nom) { var tg="<"; var pnt="."; var rbs="@"; var dmn="eosholding.ch" obj.href="mailto:"+prenom+pnt+nom+rbs+dmn; //document.write(tg+"a hr"+"ef=mai"+"lto:"+nom); //document.write(rbs+dmn+">"+texte+tg+"/a>
"); } function eml_simple(obj,prenom) { var tg="<"; var rbs="@"; var dmn="eosholding.ch" obj.href="mailto:"+prenom+rbs+dmn; } function eml_grandeDixence(obj,prenom) { var tg="<"; var rbs="@"; var dmn="grande-dixence.ch" obj.href="mailto:"+prenom+rbs+dmn; }