
$(document).ready(function(){
    //$('#RSJtabcontainer').tabs();
	
	$('#EmentorFastTracknews').newsTicker();
    
    $('a.EmentorFastTrackpoptoggle').click(function(){
        var topPos = $(this).offset();
        $(this).parent('.EmentorFastTrackheading').siblings('.EmentorFastTrackpopform').css('top', (topPos.top + 3) + 'px').slideToggle('fast');
    });
    
    $('a.EmentorFastTrackpopclose').click(function(){
        $(this).parents('.EmentorFastTrackpopform').slideToggle('fast');
    });    
    
    $("a.EmentorFastTrackprint").click(function(){ 
        window.print();
        return false;
      });
    
    $('#txtSearch').focus(function(){
        this.value = (this.value == this.defaultValue)?'':this.value;
    });
    
    $('#txtSearch').blur(function(){
        this.value = (this.value == '')?this.defaultValue:this.value;
    });
});