if (!window.Education)
	window.Education = {};

Education.Page = function() 
{
}

Education.Page.prototype =
{
	handleLoad: function(control, userContext, rootElement) 
	{
		this.control = control;
		
		// Sample event hookup:	
		rootElement.addEventListener("MouseLeftButtonDown", Silverlight.createDelegate(this, this.handleMouseDown));
	},
	
	// Sample event handler
	handleMouseDown: function(sender, eventArgs) 
	{
		// The following line of code shows how to find an element by name and call a method on it.
		// this.control.content.findName("Timeline1").Begin();
	}
	
}


function ButtonMouseEnter(sender, eventArgs)
{  
      // Get a reference to the glass rectangle.
      var photoImg = sender;
      photoImg.opacity = 1;
      
      var photoLabel= sender.findName(sender.name + "Label");
	  photoLabel.opacity = 1;
}
function ButtonMouseLeave(sender, eventArgs)
{  
      // Get a reference to the glass rectangle.
      var photoImg = sender;
      photoImg.opacity = 0.7;

      var photoLabel= sender.findName(sender.name + "Label");
	  photoLabel.opacity = 0;
}


function ButtonClick(sender, eventArgs)
{  
	
	  var photoText2 = sender.findName("Photo2Details");
	  photoText2.opacity = 0;
	  photoText2.Visibility = "Collapsed";

	  var photoText3 = sender.findName("Photo3Details");
	  photoText3.opacity = 0;
	  photoText3.Visibility = "Collapsed";

	  var photoText4 = sender.findName("Photo4Details");
	  photoText4.opacity = 0;
	  photoText4.Visibility = "Collapsed";

	  var photoText5 = sender.findName("Photo5Details");
	  photoText5.opacity = 0;
	  photoText5.Visibility = "Collapsed";

	  var photoText6 = sender.findName("Photo6Details");
	  photoText6.opacity = 0;
	  photoText6.Visibility = "Collapsed";

	  var photoText7 = sender.findName("Photo7Details");
	  photoText7.opacity = 0;
	  photoText7.Visibility = "Collapsed";

	  var photoText8 = sender.findName("Photo8Details");
	  photoText8.opacity = 0; 
	  photoText8.Visibility = "Collapsed";

      var photoText= sender.findName(sender.name + "Details");
	  photoText.opacity = 1;
	  photoText.Visibility = "Visible";

 
}




function Reset(sender, eventArgs)
{  
      // Get a reference to the glass rectangle.
     // var playGlassRectangle = sender;
      //playGlassRectangle.opacity = 0.7;
}


function hyperlinkOver_MouseLeftButtonDown(sender, args) {
    window.location = "2007progressreport.mspx";
}

function hyperlinkPD_MouseLeftButtonDown(sender, args) {
    window.location = "ProfessionalDevelopment.mspx";
}

function hyperlinkDW_MouseLeftButtonDown(sender, args) {
    window.location = "DevelopingWorld.mspx";
}

function hyperlinkICT_MouseLeftButtonDown(sender, args) {
    window.location = "ICTSkills.mspx";
}

function hyperlinkIL_MouseLeftButtonDown(sender, args) {
    window.location = "InnovativeLearning.mspx";
}

function hyperlinkColab_MouseLeftButtonDown(sender, args) {
    window.location = "Collaboration.mspx";
}

function hyperlinkLeadership_MouseLeftButtonDown(sender, args) {
    window.location = "Leadership.mspx";
}

