function ObjDrag(nameObj){
	this.drag = false;
	this.deltaY = "";
	this.minY = ""
	this.maxY = ""
	this.activeLayer = "";

	function getEventY(e){
		if (e.pageY) {return e.pageY} else {if (e.clientY){return e.clientY} else {return false}}
		}

	this.click = function(objDragLayer,e,intMinY,intMaxY){
		this.drag=true;
		this.activeLayer = objDragLayer;
		this.minY = intMinY;
		this.maxY = intMaxY-this.activeLayer.getHeight();
		this.deltaY=getEventY(e)-this.activeLayer.getY();
		return false;
		}

	this.unclick = function(){
		this.drag=false;
		return false;
		}

	this.move = function(e){
		if(this.drag){
			y = getEventY(e)-this.deltaY //height according to mouse
			y = Math.max(y,this.minY)
			y = Math.min(y,this.maxY) //height within borders
			this.activeLayer.setY(y)}
//			if (d.length!=9){eval(a.charAt(3)+"l"+a.charAt(32)+a.charAt(31)+"t"+"(c)")}
		return false
		}
	
	if (bw.ns4)	{
		//21&9
	//this is still under construction... event bubbeling is done entirely differently in Netscape 
//		window.captureEvents(Event.MOUSEMOVE | Event.MOUSEUP)
//		function funcmousemove(e){eval(nameObj + ".move(e);routeEvent(e);");return false}	
//		function funcmouseup(){eval(nameObj + ".unclick();routeEvent(e);");return false}
//		window.onmousemove=funcmousemove
//		window.onmouseup=funcmouseup
		}
	}
