//****** Variablen ******* numdrag=1; cZIndex=10; var Fenster = null; var alttext=''; //****** Aufrufe ******* bw=new checkBrowser(); onunload=wech; onload=dragInit; //****** Funktionen ******* function checkBrowser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) return this } function dragObj(obj,nest){ nest=(!nest) ? '':'document.'+nest+'.' this.css=bw.dom? document.getElementById(obj).style:bw.ie4?document.all[obj].style:bw.ns4?eval(nest+"document.layers." +obj):0; this.evnt=bw.dom? document.getElementById(obj):bw.ie4?document.all[obj]:bw.ns4?eval(nest+"document.layers." +obj):0; this.x=(bw.ns4 || bw.ns5)? this.css.left:this.css.pixelLeft; this.y=(bw.ns4 || bw.ns5)? this.css.top:this.css.pixelTop; this.moveIt=b_moveIt; this.drag=false; this.clickedX=0; this.clickedY=0 return this } function b_moveIt(x,y){ this.x=x; this.y=y; this.css.left=this.x this.css.top=this.y } function mmover(e){ tp=(bw.ns5 || bw.ns4)?e.target.name:window.event.srcElement.tagName if(tp=="DIV" || bw.ns4 || bw.ns5){ num=(bw.ns4 || bw.ns5)?e.target.id.substr(7,2):(bw.ie4 || bw.ie5)?window.event.srcElement.id.substr(7,2):0 oDrag[parseInt(num)].isOver=true } } function mmout(e){ tp=(bw.ns5 || bw.ns4)?e.target.name:window.event.srcElement.tagName if(tp=="DIV" || bw.ns4 || bw.ns5){ num=(bw.ns4)?e.target.id.substr(7,2):(bw.ie4 || bw.ie5)?window.event.srcElement.id.substr(7,2):0 if(bw.ns5) for(var i=0; i