function isEmpty(sText) {
  var spaceChars = " "
  var Char;
  for (i = 0; i < sText.length ; i++) {
    Char = sText.charAt(i);
    if (spaceChars.indexOf(Char) == -1) {
      return false;
    }
  }
  return true;	
}

function keyFunction() {
if (window.event.altLeft) {
   window.event.returnValue = false;
   document.body.focus();
 }
 else if (window.event.altKey) {
     window.event.returnValue = false;
     document.body.focus();
 }
 else if (window.event.ctrlKey)
 {
     window.event.returnValue = false;
     document.body.focus();
 }
}
function display(str) {
  window.status = str;
  return true;
}
function IE(e) 
{
     if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
     {
          return false;
     }
}
function NS(e) 
{
     if (document.layers || (document.getElementById && !document.all))
     {
          if (e.which == "2" || e.which == "3")
          {
               return false;
          }
     }
}
document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");

var isIE
if (navigator.appName == "Microsoft Internet Explorer") {
	isIE=true;
}
