// JavaScript Document


function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null;
  with (document){
	  if (getElementById) {
  		obj = getElementById(objId);
	   } else {
		   // alert( "getElementById doesn't exist " );
	   }
  }
  if (obj){
    if (theValue == true || theValue == false) {
      eval("obj.style."+theProp+"="+theValue);
	} else {
	  // alert( "object exists " + objId );
	  eval("obj.style."+theProp+"='"+theValue+"'");
	}
  } else { 
  	// alert( "object doesn't exist " + objId );
  }
}


function SetSelected() {
	
	if (buttonID != "") {
		// testing
		// alert( 'About to call MM_changeProp() with buttonID = ' + buttonID );
		MM_changeProp(buttonID,"",'backgroundPosition','right top');
	}
	
}


function Body_OnLoad() {
	
	// testing
	// alert( 'In Body_OnLoad()' );
	
	// Now call to set the selected image in the rollovers
	// window.onload = SetSelected();
	SetSelected();

	// Now call any local init on load
	// Alert( "About to call My_Body_OnLoad()..." );
	My_Body_OnLoad();
}

function Body_OnUnLoad() {
	// Now call any local deinit on unload
	My_Body_OnUnLoad();
}


