function slice(ident)
{
  if (document.getElementById(ident).style.display == 'none')
    document.getElementById(ident).style.display = 'block';
  else
    document.getElementById(ident).style.display = 'none';
}

function sPopupNamed(path,width,height,named)
{
  var wine, completepath;

  completepath = path;

  wine = window.open (completepath, named,'width='+width+', height='+height+',screenX=100,screenY=80,left=100,top=80,resizable=yes,location=no,toolbar=no,directories=no,status=no,scrollbars=yes,menubar=no');
  wine.focus();
}
 
function none()
{
	;
}

function	openCloseDiv(theDiv) {
	myDiv = document.getElementById(theDiv);
	if (myDiv.style.display == 'none') {
		myDiv.style.display = 'block';
	} else {
		myDiv.style.display = 'none';
	}
}

function	openGetDiv(theDiv, path, theId) {
	myDiv = document.getElementById(theDiv+'-'+theId);
	myDiv.style.display = 'block';
	ajaxGET(path, theDiv+'-'+theId);
}

function	closeTinyDiv(theDiv, mceId) {
	RemoveTinyMce(document.getElementsByTagName("body")[0]);
	myDiv = document.getElementById(theDiv);
	myDiv.style.display = 'none';
}
