function email(){ etVindue= centrum("http://the-net.dk/cute/email.php","tss","375", "280"); } function papir(){ etVindue= centrum("http://the-net.dk/cute/papir.php","tss","375", "280"); } function slide(){ etVindue= centrum("http://the-net.dk/cute/slide.php","tss","350", "345"); } function flash(){ etVindue= centrum("http://the-net.dk/viewer","tss","600", "800"); } function seiermail(){ etVindue= centrum("http://mail.seier.info","tss","600", "800"); } function netmail(){ window.open("https://the-net.dk/sqmail/"); } function nzmail(){ window.open("https://nzowa.novozymes.com/"); } function webshare(){ window.open("https://the-net.dk/webshare/seier/"); } function kaktus(){ etVindue= centrum("http://the-net.dk/cacti/","tss","600", "800"); } function apps(win){ var site = win; etVindue= centrum("http://the-net.dk/apps/index.php?files="+site,"tss","600", "800"); } function centrum(url, name, height, width) { var str = "height=" + height + ",innerHeight=" + height; str += ",width=" + width + ",innerWidth=" + width; if (window.screen) { var ah = screen.availHeight - 30; var aw = screen.availWidth - 10; var xc = (aw - width) / 2; var yc = (ah - height) / 2; str += ",left=" + xc + ",screenX=" + xc; str += ",top=" + yc + ",screenY=" + yc; } return window.open(url, name, str); } function tjek(){ window.location.reload(); } function borderize(what,color){ what.style.borderColor=color } function borderize_on(e){ if (document.all) source3=event.srcElement else if (document.getElementById) source3=e.target if (source3.className=="menulines"){ borderize(source3,"black") } else{ while(source3.tagName!="TABLE"){ source3=document.getElementById? source3.parentNode : source3.parentElement if (source3.className=="menulines") borderize(source3,"black") } } } function borderize_off(e){ if (document.all) source4=event.srcElement else if (document.getElementById) source4=e.target if (source4.className=="menulines") borderize(source4,"#D4E497") else{ while(source4.tagName!="TABLE"){ source4=document.getElementById? source4.parentNode : source4.parentElement if (source4.className=="menulines") borderize(source4,"#D4E497") } } }