function getElemFromId( id )
{

  var elem=null;
  if( document.getElementById )
  {
    elem=document.getElementById(id);
  }
  else if( document.all )
  {
    elem=document.all[id];
  }
  return elem;


}
function imageswap(url, title, blurb, otherblurb, picWidth)
{
        var thePic = document.images.theimage;
	thePic.src=url;
	
	var theTitle = getElemFromId("thetitle");
	if( theTitle.childNodes.length > 0)
        {
            theTitle.removeChild(theTitle.lastChild);
        }
        theTitle.appendChild(document.createTextNode(title)); 

	var theBlurb = getElemFromId("theblurb");
	if( theBlurb.childNodes.length > 0)
        {
            theBlurb.removeChild(theBlurb.lastChild);
        }
        theBlurb.appendChild(document.createTextNode(blurb)); 

	var theOtherblurb = getElemFromId("theotherblurb");
	if( theOtherblurb.childNodes.length > 0)
        {
            theOtherblurb.removeChild(theOtherblurb.lastChild);
        }
        theOtherblurb.appendChild(document.createTextNode(otherblurb)); 
	
	thePic.width=picWidth;

}

var popup="Sorry, right-click is disabled.\n\nThis Site Copyright ©2004-2005 by Denise Philipbar";
function noway(go) 
{
   if (document.all) 
   {
      if (event.button == 2) 
      {
         alert(popup);
         return false;
      }
   }
   if (document.layers) 
   {
      if (go.which == 3) 
      {
         alert(popup);
         return false;
      }
   }
}

if (document.layers) 
   {
     // document.captureEvents(Event.MOUSEDOWN);
   }
   //document.onmousedown=noway;
