<!--

function layerVisibility(layerId, tf){
	if(tf){
		document.getElementById(layerId).style.visibility="visible";
	}
	else{
		document.getElementById(layerId).style.visibility="hidden";
	}
}

function showHelp(id){
	if(document.getElementById){
		document.getElementById("help_"+id).style.visibility="visible";
	}
}

function hideHelp(id){
	var t=(new Date()).getTime();
	while((new Date()).getTime() < t+100){};
	if(document.getElementById){
		document.getElementById("help_"+id).style.visibility="hidden";
	}
}

function showLayerViaJquery(layerName, overallClass, title, w, h){
	$(layerName).dialog({
			modal: true,
			title: title,
			resizable: false,
			width: w, height: h
	});
	$( "input:submit, a, button", overallClass ).button(); 
}

function showMessage(_title, _msg)
	{
		
		var $dialog = $('<div></div>')
			.html(_msg)
			.dialog({
				modal: true,
				title: _title,
				resizable: false,
			})
			.dialog( "option", "buttons", { "Ok": function() { $(this).dialog("close"); } } );
	}


//-->
