// JavaScript Document var IE = document.all?true:false var UserOK function isNumberKey(e,time) { var k; document.all ? k = e.keyCode : k = e.which; return ((k > 47 && k < 58)); } function showPopup() { l = (screen.availWidth-10) / 4; t = (screen.availHeight-20) / 2; window.open("mail.asp?articleid=", "Mail", "height=370,width=350,top=" + l + ",left=" + t + ",toolbar=no,status=no,resizable=no,scrollbars=no"); } function submitAfter(time) { setTimeout('document.location.reload()',time) } function imagePopUp(imgUrl,popUpName) { window.open('imagePopUp.asp?img='+imgUrl+'&imageName='+popUpName,null,'scrollbars=no,width=100,height=100,left=100,top=100,toolbar=no,menubar=no,location=no') } function nav(obj,on) { if(on){ obj.className = 'mainOn' }else{ obj.className = 'main' } } function snav(obj,on) { if(on){ obj.className = 'subOn' }else{ obj.className = 'sub' } } function m(t,b,img) { var obj = document.getElementById('txt_icons') var icon = document.getElementById('icon_down') img = document.getElementById(img) if(t!='') { obj.innerHTML = t; icon.style.visibility='visible' }else{ obj.innerHTML = b; icon.style.visibility='hidden' } if(img.src.indexOf('__o.gif')==-1){ img.src=img.src.replace('.gif','__o.gif') }else{ img.src=img.src.replace('__o.gif','.gif') } } function openOverlay(title,url,width,height) { GB_showCenter(title, url, /* optional */ height, width) } function getCheckboxValue(id) { if(document.getElementById(id+'_group')){ var allInputTags = document.getElementById(id+'_group').getElementsByTagName('INPUT'); for (var c=0; c0){ if(document.getElementById(stritem+'_title')) document.getElementById(stritem+'_title').className = 'item' smoothResize1(stritem); } } else { obj.style.display = 'block'; var arr = document.getElementById(list).value.split(',') for(var cnt=0;cnt0){ if(document.getElementById(stritem+'_title')) document.getElementById(stritem+'_title').className = 'header' smoothResize2(stritem,originalHeight); //Openklappen } } } //Dichtklappen function smoothResize1(stritem) { var obj = document.getElementById(stritem) if ( (parseInt(obj.offsetHeight)-pixelsPerTick) <= 0 ) { obj.style.display = 'none'; }else{ obj.style.height = parseInt(obj.offsetHeight-pixelsPerTick) + 'px' ; setTimeout("smoothResize1('"+stritem+"')",timeoutLength); } } //Openklappen function smoothResize2(stritem,max){ var obj = document.getElementById(stritem) if ( (obj.offsetHeight+pixelsPerTick) >= max ) { obj.style.height = max+'px'; }else{ obj.style.height = obj.offsetHeight+pixelsPerTick+'px'; setTimeout("smoothResize2('"+stritem+"',"+max+")",timeoutLength); } } //End smooth Resize function initSIFR() { if(typeof sIFR == "function"){ // header big, red sIFR.replaceElement(named( { sSelector:"h1.grey", sFlashSrc:"flash/h1.swf", sColor:"#DFDFDF", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h1", sFlashSrc:"flash/h1.swf", sColor:"#ED053E", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); }; }