// 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 display(id,arr) { if(arr!=undefined) { var a = arr.split(',') for(i=0;i-1){ obj.src = obj.src.replace('__o.gif','.gif') }else{ obj.src = obj.src.replace('.gif','__o.gif') } } 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) <= 22 ) { //obj.style.display = 'none'; //einde }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.intro", sFlashSrc:"http://www.p8p.eu/flash/intro.swf", sColor:"#CE002E", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h1.grey", sFlashSrc:"http://www.p8p.eu/flash/h1.swf", sColor:"#CCCCCC", sHoverColor:"#CE002E", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h1.small", sFlashSrc:"http://www.p8p.eu/flash/h1.swf", sColor:"#3F4647", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h1.title", sFlashSrc:"http://www.p8p.eu/flash/h1.swf", sColor:"#3F4647", sWmode:"transparent", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h2", sFlashSrc:"http://www.p8p.eu/flash/h2.swf", sColor:"#E7002F", sWmode:"transparent", sCase:"upper", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=left&offsetTop=0" } )); sIFR.replaceElement(named( { sSelector:"h3", sFlashSrc:"http://www.p8p.eu/flash/h3.swf", sColor:"#E7002F", sWmode:"transparent", sCase:"upper", nPaddingTop:0, nPaddingBottom:0, sFlashVars:"textalign=center&offsetTop=0" } )); }; }