
    jQuery(document).ready(function($) {
        $('#gallery a').lightBox();
        $('#GalleryWrapper a').lightBox();
        
        $('#frm_timetables').submit ( function () 
            {
                if ($('#frm_timetables #branch').val() == '' )
                {
                    alert ('Please select a branch to view!');
                    return false;
                }
            });
            
        $('input#name').focus ( function () 
            {
                if ($(this).val() == 'Enter Name'  )
                {
                    $(this).val( '' );
                }
            
            });
            
        $('input#email').focus ( function () 
            {
                if ($(this).val() == 'Enter Email Address'  )
                {
                    $(this).val( '' );
                }
            
            });
            
        $('input#name').blur ( function () 
            {
                if ($(this).val() == ''  )
                {
                    $(this).val( 'Enter Name' );
                }
            
            });
            
        $('input#email').blur ( function () 
            {
                if ($(this).val() == ''  )
                {
                    $(this).val( 'Enter Email Address' );
                }
            
            });
            
        }) 
