	function findPos(obj) {
		var curleft = curtop = 0;
		
		if (obj.offsetParent) {
			do {
				curleft += obj.offsetLeft;
				curtop += obj.offsetTop;
			} while (obj = obj.offsetParent);
		}
		
		//alert(curleft + '\n' + curtop);
		return [curleft,curtop];
	}
	
	function clearField(obj,defaultText){
		if (obj.value == defaultText){
			obj.value = '';
		}
	}
	
	function fillField(obj,defaultText){
		if (obj.value == ''){
			obj.value = defaultText;
		}
	}
