/* JavaScipt
 *  Version: 1.03
 *  File: ehl.js
 *  created: 16.01.2004, Daniel Einig
 *  status: 10.09.2007
 **/
function returnMailDomain(){
    return 'ehl-net.de';
}    
 
function mClick(cell){
   if(event.srcElement.tagName=='TD'){cell.children.tags('a')[0].click();}
}
function helpwin(m,t){ 
    var w=500; 
    var h=500; 
    var positionX=((screen.availWidth / 2) - w / 2); 
    var positionY=((screen.availHeight / 2) - h / 2); 
    var url='help73f5.html?m=' + m + '&t=' + t; 
    pop=window.open('','helpwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+w+',height='+h+',top=10000,left=10000'); 
    pop.resizeTo(w,h); 
    pop.moveTo(positionX,positionY); 
    pop.location=url; 
}

function tplwin(w,h,tplid){
    var positionX=((screen.availWidth / 2) - w / 2); 
    var positionY=((screen.availHeight / 2) - h / 2); 
    var url='blanktemplate7bbb.html?TplId=' + tplid; 
    pop=window.open('','tplwin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+w+',height='+h+',top=10000,left=10000'); 
    pop.resizeTo(w,h); 
    pop.moveTo(positionX,positionY); 
    pop.location=url; 
}
function media(size,content){ 
    var w=320; 
    var h=280; 
    if(size == 1){
        w=320; 
        h=220; 
    } else if(size == 2) {
        w=320; 
        h=280; 
    } else if(size == 3) {
        w=350; 
        h=350; 
    }
    var positionX=((screen.availWidth / 2) - w / 2); 
    var positionY=((screen.availHeight / 2) - h / 2); 
    var url='video1919.html?s='+size+'&c='+content; 
    pop=window.open('','mediawin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1,fullscreen=0,width='+w+',height='+h+',top=10000,left=10000'); 
    pop.resizeTo(w,h); 
    pop.moveTo(positionX,positionY); 
    pop.location=url; 
}
function imgpop(w,h,img){ 
    var positionX=((screen.availWidth / 2) - w / 2); 
    var positionY=((screen.availHeight / 2) - h / 2); 
    var url='imgpopdc11.html?img=' + img; 
    pop=window.open('','imagewin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+w+',height='+h+',top=10000,left=10000'); 
    pop.resizeTo(w,h); 
    pop.moveTo(positionX,positionY); 
    pop.location=url; 
}
function imgpoppr(w,h,img){ 
    var positionX=((screen.availWidth / 2) - w / 2); 
    var positionY=((screen.availHeight / 2) - h / 2); 
    var url='imgpopprdc11.html?img=' + img; 
    pop=window.open('','imagewin','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+w+',height='+h+',top=10000,left=10000'); 
    pop.resizeTo(w,h); 
    pop.moveTo(positionX,positionY); 
    pop.location=url; 
}