﻿var initialText = "please enter email...";

$(document).ready(function(){


    $(".ImageLink").hover(
        function(){
            $(this).children().fadeIn(350);
        },
        function(){
            $(this).children().fadeOut(700);
        }
    );

    $("#header ul li a:not(.Selected)").hover(
        function(){
            //$(this).animate({color:"#8D1818"},300);
			$(this).animate({color:"#FF0000"},300);
			
			
        },
        function(){
            $(this).animate({color:"#000"},800);
        }
    );
    
    $("#Register #TextRegister").val(initialText)
                                .css("color","#666")
                                .css("font-style","normal");
    
    
    $("#Register #TextRegister").focus(function(){
        if ($(this).val()==initialText)
        {
            $(this).val("").css("color","#000").css("font-style","");
        }
    });
    
    $("#Register #TextRegister").blur(function(){
        if ($(this).val()=="")
        {
            $(this).css("color","#666")
                    .css("font-style","normal")
                    .val(initialText);
        }
    });    

});
