
// this script below is pretty cool for a single click option. *sigh* doesn't work with fckeditor
var state = 'none';

function showhide(layer_ref) {

	if (state == 'block') {
		state = 'none';
		}
	else {
		state = 'block';
		}
	if (document.all) { //IS IE 4 or 5 (or 6 beta)
		eval( "document.all." + layer_ref + ".style.display = state");
		}
	if (document.layers) { //IS NETSCAPE 4 or below
		document.layers[layer_ref].display = state;
		}
	if (document.getElementById &&!document.all) {
		hza = document.getElementById(layer_ref);
		hza.style.display = state;
		}
//This is a hack for Gecko & fckeditor to make sure the editor becomes editable all over again found here: http://dev.fckeditor.net/browser/FCKeditor/trunk/_testcases/004.html
	if ( !document.all ) {
			var oEditor = FCKeditorAPI.GetInstance( 'comment' ) ;
		if (  oEditor.EditMode == FCK_EDITMODE_WYSIWYG ) {
			  oEditor.MakeEditable() ;
			}
		}
		
	}  


