function divMaker(id,ParentLay) {
    Reflay = (ParentLay) ? 'document.'+ParentLay+'.' : ''
    this.elm = is.dom?document.getElementById(id):is.ie4?document.all[id]:is.ns4?eval(Reflay+'document.'+id):0;
    this.css = is.dom?this.elm.style:is.ie4?this.elm.style:is.ns4?this.elm:0;  
    this.doc = (is.dom || is.ie4)?document:is.ns4?this.css.document:0;
    this.x = (is.dom || is.ie4)?this.elm.offsetLeft:is.ns4?this.css.left:0;
    this.y = (is.dom || is.ie4)?this.elm.offsetTop:is.ns4?this.css.top:0;		 		
    this.w = (is.dom || is.ie4)?this.elm.offsetWidth:is.ns4?this.css.clip.width:0;
    this.h = (is.dom || is.ie4)?this.elm.offsetHeight:is.ns4?this.css.clip.height:0;		 		
this.moveTo = moveTo;
this.show = show;
this.id = id;
this.moveBy = moveBy;
}
function moveTo(x,y) {
	if (x!=null) {
		this.x = x
		if (is.ie4) this.css.pixelLeft = this.x
		else this.css.left = this.x
	}
	if (y!=null) {
		this.y = y
		if (is.ie4) this.css.pixelTop = this.y
		else this.css.top = this.y
	}
}
function show() {
	this.css.visibility = (is.ns4)? "show" : "visible"
}
function browser() {
	bwName = navigator.appName
	bwVer = parseInt(navigator.appVersion);
	this.ie4=((bwName==("Microsoft Internet Explorer")) && (bwVer>=4)) ? true:false;
	this.ns4=((bwName==("Netscape")) && (bwVer>=4 && bwVer<5)) ? true:false;
	this.ns5=((bwName==("Netscape")) && (bwVer>=5)) ? true:false; 
	this.dom=document.getElementById?true:false;
}
is = new browser()

function moveBy(x,y)
{
	this.moveTo(this.x+x,this.y+y)
}
