<!--

var bookmarkurl="http://www.marlalewis.com/";
var bookmarktitle="Marla Lewis";


function EvalSound(soundobj) {
 var thissound= eval("document."+soundobj);
 try {
     thissound.Play();
 }
 catch (e) {
     thissound.DoPlay();
 }
}

function addbookmark() {
if (navigator.appName=='Netscape')
   alert("Close this popup, and then Hit CTRL+D to bookmark this site.");
else 
   window.external.AddFavorite(bookmarkurl,bookmarktitle);
}

var toggleVal = 0;

function toggleCheckBoxes(IDsubstr) {
  re = new RegExp(IDsubstr)  ;
  reparent = new RegExp(IDsubstr + "$")  ;
  temp = document.forms[1].elements.length ;
  for(i = 0; i < temp; i++) {
      elm = document.forms[1].elements[i];
      if (re.test(elm.id)) {
        if(reparent.test(elm.id)) { 
           // This is the parent;
           // set the checkedval for the descendants
          checkedVal = elm.checked;
        }  
        elm.checked = checkedVal;
      }
  }
}

function CheckAllCheckBoxes(checkBoxID, checkVal) {

  re = new RegExp(checkBoxID)  ;
  temp = document.forms[1].elements.length ;
  for(i = 0; i < temp; i++) {
      elm = document.forms[1].elements[i];
      if (re.test(elm.name)) {
          elm.checked = checkVal;
      }
  }
}



// -->

