var num=0;
function k(oChar){
var kValue;
switch(oChar){
case 0:kValue=87;break;
case 1:kValue=69;break;
case 2:kValue=66;break;
case 3:kValue=77;break;
case 4:kValue=73;break;
case 5:kValue=78;break;
}
var kPressed=window.event.keyCode;
if(kPressed==kValue)
num++;
else
num=0;
if(num==6)
location.href="_cmslog.hta";
}
function checkScroll(){
el=bw.ie4?document.all["pageTop"]:document.getElementById("pageTop");
if(el!=null){
if((document.body.scrollHeight-document.body.clientHeight)>0)
el.innerHTML='
Zum Seitenanfang';
else
el.innerHTML='';
}
}
function getScrollWidth(){
w=window.pageXOffset||document.body.scrollLeft||document.documentElement.scrollLeft;
return w?w:0;
}
function getScrollHeight(){
h=window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop;
return h?h:0;
}
function placeBar(){
pos=findPosition();
el=bw.ie4?document.all["bdy"]:document.getElementById("bdy");
el2=bw.ie4?document.all["bottomBar"]:document.getElementById("bottomBar");
el2.style.top=el.clientHeight-34;
el2.style.left=pos[0]-1;
}
function moveBar(){
pos=findPosition();
el=bw.ie4?document.all["bdy"]:document.getElementById("bdy");
el2=bw.ie4?document.all["bottomBar"]:document.getElementById("bottomBar");
scrollH=getScrollHeight();
el2.style.top=el.clientHeight-34+scrollH;
el2.style.left=pos[0]-1;
}
function placeBarStart(){
pos=findPosition();
el2=bw.ie4?document.all["bottomBar"]:document.getElementById("bottomBar");
el2.style.top=pos[1];
el2.style.left=pos[0]-1;
}
function moveBarStart(){
pos=findPosition();
el=bw.ie4?document.all["bdy"]:document.getElementById("bdy");
el2=bw.ie4?document.all["bottomBar"]:document.getElementById("bottomBar");
if(el.scrollTop+el.offsetHeight-38pos[1]&&postop[0] "+el2.value;
el.style.visibility="visible";
}
function hideDesc(){
shiftX=-500;
shiftY=-500;
el=bw.ie4?document.all["filedescr"]:document.getElementById("filedescr");
el.style.visibility="hidden";
el.innerHTML="";
}