//variables
var ActCont_ID=1;

function LockButton (Button_id)
{
	//executed onLoad of each ContentFrame code
	//sets the "selected image" to the button corresponding
	//to the selected ContentFrame view
	ActCont_ID = Button_id;
	top.document['MainButton_1'].src = "Images/b1.jpg";
	top.document['MainButton_2'].src = "Images/b2.jpg";
	top.document['MainButton_3'].src = "Images/b3.jpg";
	top.document['MainButton_4'].src = "Images/b4.jpg";
	top.document['MainButton_5'].src = "Images/b5.jpg";
	switch (Button_id)
	{
  case 1:
    top.document['MainButton_1'].src = "Images/b1a.jpg";
    break;
  case 2:
    top.document['MainButton_2'].src = "Images/b2a.jpg";
    break;
  case 3:
    top.document['MainButton_3'].src = "Images/b3a.jpg";
    break;
  case 4:
    top.document['MainButton_4'].src = "Images/b4a.jpg";
    break;
  case 5:
    top.document['MainButton_5'].src = "Images/b5a.jpg";
    break;
  default:
    //leave the buttons unpressed!
    break;
  }
}
	


