function setFocus() {
  if ((navigator.userAgent.toLowerCase().indexOf("msie") < 0) || (parseInt(navigator.appVersion) >= 4)) {
    focus();
  }
}
function requireFrames(Url) {
	if (top.frames.length < 1) {
		top.location = Url;
	}
}
function breakFrames() {
  if (top.location != self.location) {
	  top.location = self.location
	}
}
function setStyle(theCell, newClass){
  cells = theCell.parentNode.cells;
  for(i=0;i<cells.length;i++){
    if(newClass){
      cells[i].orgClass = cells[i].className;
      cells[i].className = newClass;
    } else {
      cells[i].className = cells[i].orgClass;
    }
  }
}
function navClick(url) {
        location.href = url;
}
function stopRKey(evt) {
  var evt  = (evt) ? evt : ((event) ? event : null);
  var node = (evt.target) ? evt.target : ((evt.srcElement) ? evt.srcElement : null);
  if ((evt.keyCode == 13) && (node.type=="text")) { return false; }
}
function resetTarget()
{
  aspnetForm.target = '_self';
}

