﻿ //Disable the button during click
  function DisableButton()
  {
    document.forms[0].submit();
    window.setTimeout("disableButton('" + 
    window.event.srcElement.id + "')", 0);
  }
 function disableButton(buttonID)
 {
   document.getElementById(buttonID).disabled=true;
 }


 function hideObjById(objId) {
     document.getElementById(objId).style.display = "none";
 }

 function showObjById(objId) {
     document.getElementById(objId).style.display = "inline";
 }

 function hideObj(obj) {
     obj.style.display = "none";
 }

 function showObj(obj) {
     obj.style.display = "inline";
 }
 
 function RefreshParent(obj)
 {
    window.opener.location.reload(true);
 }