// JavaScript Document
// CMswingDiv takes one variables,
// The layer to be hidden or shown
function CMshowDiv(swingWho) {
	if (document.layers) {
		showMeCommand = "document." + swingWho + ".display='block'";
		eval(showMeCommand);
	} else if (document.getElementById) {
		showMeCommand = "document.getElementById('" + swingWho + "').style.display='block'";
		eval(showMeCommand);
	} else if (document.all) {
		showMeCommand = "document.all." + swingWho + ".style.display='block'";
		eval(showMeCommand);
	}	
}

function CMhideDiv(swingWho) {
	if (document.layers) {
		hideMeCommand = "document." + swingWho + ".display='none'";
		eval(hideMeCommand);
	} else if (document.getElementById) {
		hideMeCommand = "document.getElementById('" + swingWho + "').style.display='none'";
		eval(hideMeCommand);
	} else if (document.all) {
		hideMeCommand = "document.all." + swingWho + ".style.display='none'";
		eval(hideMeCommand);
	}	
}