// Form and Form Validation Functions
function resizeObj(objId,origW,origH,minW,minH,maxW,maxH,w,h){
	var taObj = document.getElementById(objId);
	if(w != null){
		var tmpWidth = parseInt(taObj.style.width,10);
		if(isNaN(tmpWidth))		tmpWidth = origW;
		if((tmpWidth + w <= maxW) && (tmpWidth + w >= minW))	tmpWidth += w;	
		taObj.style.width = tmpWidth.toString() + "px";
	}			
	if(h != null){
		var tmpHeight = parseInt(taObj.style.height,10);
		if(isNaN(tmpHeight))	tmpHeight = origH;
		if((tmpHeight + h <= maxH) && (tmpHeight + h >= minH))	tmpHeight += h;	
		taObj.style.height = tmpHeight.toString() + "px";	
	}
}
