
function showhide(content, show_or_hide) {
	if (show_or_hide == "hide") {
		document.getElementById(content).style.display = "none";
	} else {
		document.getElementById(content).style.display = "block";
	}
}


// Constructor
var o = init = function() {
	this.showErrors();
};

// Prototypes
o = o.prototype;

o.showErrors = function() {
	// Highlight error fields
	if( input_error.length > 1 ){
		for(var i=1;i<input_error.length;i++){
			// Highlight error elements
			if( input_error[i] != "" ){
				document.getElementById(input_error[i]).className += " errorField";
			}
		}
	}
};

delete o;

window.onload = function () {
	//new init();
};
