//-------------------------------------------------------------------------
function buttonOver(o){
  o.style.cursor     = 'pointer';
//  o.style.background = 'ivory';
};
//-------------------------------------------------------------------------
function buttonOut(o){
//  o.style.background = '';
};
//-------------------------------------------------------------------------
function dogOpen(aId){
  document.frmMain.actn.value = 'dogOpen';
  document.frmMain.dog_id.value = aId;
  document.frmMain.submit();
};
//-------------------------------------------------------------------------
function dogDelete(aId, dogName){
  if( confirm("You are about to delete \""+dogName+"\" from your account.\n\n"
             +"If you're sure you wish to do this press [ok], otherwise press [cancel].") ){
    document.frmMain.actn.value = 'dogDelete';
    document.frmMain.dog_id.value = aId;
    document.frmMain.submit();
  };
};
//-------------------------------------------------------------------------
function dogEvent(aId){      
  document.frmMain.actn.value = 'dogEventOpen';
  document.frmMain.dog_id.value = aId;
  document.frmMain.submit();
};
//-------------------------------------------------------------------------
function dogEventDelete(aId, dogName, eventName){      
  if( confirm("You are about to remove the entry for \""+dogName+"\" from \""+eventName+"\".\n\n"
             +"If you're sure you wish to do this press [ok], otherwise press [cancel].") ){
    document.frmMain.actn.value = 'dogEventDelete';
    document.frmMain.dog_event_id.value = aId;
    document.frmMain.submit();
  };
};
//--------------------------------------------------------------------
function dogEventResults(aId){
  document.frmMain.actn.value = 'dogEventResults';
  document.frmMain.dog_event_id.value = aId;
  document.frmMain.submit();
};
//--------------------------------------------------------------------
function dogList(){
  document.frmMain.actn.value = 'dogList';
  document.frmMain.submit();
};
//--------------------------------------------------------------------
function eventList(){
  document.frmMain.actn.value = 'eventList';
  document.frmMain.submit();
};
//--------------------------------------------------------------------
function eventListDetail(){
  document.frmMain.actn.value = 'eventListDetail';
  document.frmMain.submit();
};
//--------------------------------------------------------------------
function eventDelete(id, eventName){
  if( confirm("You are about to delete \""+eventName+"\" from your account.\n\n"
             +"If you're sure you wish to do this press [ok], otherwise press [cancel].") ){
    document.frmMain.actn.value = 'eventDelete';
    document.frmMain.event_id.value = id;
    document.frmMain.submit();
  };
};
//--------------------------------------------------------------------
function eventOpen(aId){
  document.frmMain.actn.value = 'eventOpen';
  document.frmMain.event_id.value = aId;
  document.frmMain.submit();
};
//--------------------------------------------------------------------
function eventParticipantList(aId){
  document.frmMain.actn.value = 'participantList';
  document.frmMain.event_id.value = aId;
  document.frmMain.submit();
};
//-------------------------------------------------------------------------
function eventParticipantReview(aId){
  document.frmMain.actn.value = 'participantReview';
  document.frmMain.dog_event_id.value = aId;
  document.frmMain.submit();
};
//-------------------------------------------------------------------------
function listItemOver(o){
  o.style.cursor     = 'pointer';
};
//-------------------------------------------------------------------------
function listItemOut(o){
};
//-------------------------------------------------------------------------
function setFocus(aName){
  o = document.getElementById(aName);
  if(o){
    o.focus();
  };
};
