// JavaScript Document
	function showform(zap) {
		if(zap == 'general') { 
			var boom = 'auto';
		} else if (zap == 'auto') {
			var boom = 'general';
		}
		if (document.getElementById) {
			var abra = document.getElementById(zap).style;
			var kadabra = document.getElementById(boom).style;
			if (abra.display == "block") {
				kadabra.display = "none";
			} else {
				abra.display = "block";
				kadabra.display = "none";
			}
			return true;
		} else {
			return true;
		}
	}
	function showfile(zap, action) {
		if (document.getElementById) {
			var abra = document.getElementById(zap).style;
			if(action == "show") {
				abra.display = "block";
			} else if (action == "hide") {
				abra.display = "none";
			}
			return true;
		} else {
			return true;
		}
	}
	function editform(zap) {
		var boom = 'preview';
		if (document.getElementById) {
			var abra = document.getElementById(zap).style;
			var kadabra = document.getElementById(boom).style;
			if (abra.display == "block") {
				abra.display = "none";
				kadabra.display = "block";
			} else {
				abra.display = "block";
				kadabra.display = "none";
			}
			return false;
		} else {
			return true;
		}
	}
