function confirm_logoff(url){
 if(confirm("Are You Sure You Want to Log Off?")){
 	document.location=url;
	}
}

function help(url){
	myinfo_window=open("../help.htm","MyInfo","resizable=no,width=640,height=600,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no,locationbar=no");
}

function myinfo(url){
	myinfo_window=open(url,"MyInfo","resizable=no,width=640,height=600,toolbar=no,menubar=no,directories=no,scrollbars=yes,location=no,locationbar=no");
}

function go(url){
document.location=url;
}

var DHTML = (document.getElementById || document.all || document.layers);
function getObj(name)
{
  if (document.getElementById)
  {
	this.style = document.getElementById(name).style;
  }
  else if (document.all)
  {

	this.obj = document.all[name];
	this.style = document.all[name].style;
  }
  else if (document.layers)
  {
   	this.obj = document.layers[name];
   	this.style = document.layers[name];
  }
}

function invi(obj,flag)
{
	if (!DHTML) return;
	var x = new getObj(obj);
	x.style.display = (flag) ? 'none' : 'block'
}

function toggle(obj)
{
	if (!DHTML) return;
	var x = new getObj(obj);
	if(x.style.display=='none'){
		x.style.display='block'
	}
	else {
		x.style.display='none'
	}
}
