﻿// Event Handlers
function Page_Load()
{   
    // Add element for section title floating in the background of the header
    var sectionTitle = new Element('h3').update($('SectionTitle').innerHTML);
    $('Header').insert(sectionTitle);
    
    sectionTitle.setStyle({'opacity':'0.0', 'display':'block'});
    new Effect.Opacity(sectionTitle, {from:0.0, to:0.12, duration:1});
}

Event.observe(window, 'load', Page_Load);