	// Wrapper function, to avoid "sometimes" malfunctioning on input button's "onClick" event
	function navigate(sUrl, sTarget, sWindowAttr)
	{
		if (typeof(sTarget) == "undefined") {
			location.href = sUrl;
		} else {
			sWindowAttr = (typeof(sWindowAttr) != "undefined") ? sWindowAttr : "";
			open(sUrl, sTarget, sWindowAttr);
		}
	}
	
	// Find container form object by providing element object
	function parentForm(oFind)
	{
		if (typeof(oFind) == "object" && typeof(oFind.type) != "undefined") {
			for (f=0;f<document.forms.length;f++) {
				var oForm = document.forms[f];
				for (e=0;e<oForm.length;e++) {
					var oElement = oForm.elements[e];
					if (oElement.type == oFind.type && oElement.name == oFind.name && oElement.value == oFind.value) {
						return oForm;
					}
				}
			}
		}
		return false;
	}
	
	function setStyle(oElement, sStyle, sValue)
	{
		if (typeof(oElement) == "object") {
			if (oElement.style) {
				if (eval("oElement.style." + sStyle)) {
					eval("oElement.style." + sStyle + " = sValue");
				}
			}
		}
	}
