//moveTo routine v1.1
//karl@core10.co.uk

function ProtoLayerMoveTo(x,y) {
	if (x!=null) {
		this.x = parseInt(x)
		if(ns5)x+="px";
		if (ns) this.css.left = x
		else this.css.pixelLeft = x
	}
	if (y!=null) {
		this.y = parseInt(y)
		if(ns5)y+="px";
		if (ns) this.css.top = y
		else this.css.pixelTop = y
	}
}

ProtoLayer.prototype.moveTo = ProtoLayerMoveTo
