window.addEventListener?window.addEventListener("load",setHeight,false):window.attachEvent("onload",setHeight);
function setHeight() {
var d = document.getElementById("dummy");
if (d) d.style.height = (screen.availHeight-350)+"px";
}
function postit(name, var0, var1, var2, var3, css) {
var adress = var2+'@'+var1+'.'+var0;
var href = adress;
if (var3) href = adress+'?subject='+var3;
if (css) css = ' class="'+css+'"'
if (name) adress = name;
return '<a href="mailto:'+href+'"'+css+'>'+adress+'</a>'
}
function newJob(id) {
var url='/karrierejobs/stellenangebote/job.aspx?id='+id;
var oWin = null;
oWin = window.open(url,'job','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=700,height=700');
if(oWin.focus != null)oWin.focus();
}
function NewHelp(url) {
var oWin = null;
oWin = window.open(url,"helpbox",'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=540,height=420');
if(oWin.focus != null)oWin.focus();
}
function Search_Submit(e) {
if (window.navigator.appName.toLowerCase().indexOf("microsoft") > -1) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
if(keycode==13) {
var theform = document.__aspnetForm;
theform.__EVENTTARGET.value = "btn_search";
theform.submit();
}
}

}