function Search()
{
    
}

function ChangeFootImg(type, obj)
{
    var id = $(obj);
    var name = id.attr("alt");
    var src = "images/2010/9";
    if(type == "0") type = "";
    id.attr("src", src + "/" + name + type + ".jpg");
}

$(function () {
    
    var searchTxt = $("#searchTxt");
    searchTxt.focus(function() {
        searchTxt.removeClass("search");
    }).blur(function() {
        if($.trim(searchTxt.val()) == "") searchTxt.addClass("search").val("");
    });
    
    var searchKey = $("#searchkey");
    searchKey.focus(function() {
        if($.trim(searchKey.val()) == "Watch Item") searchKey.val("");
    }).blur(function() {
        if($.trim(searchKey.val()) == "") searchKey.val("Watch Item");
    });
    
//    $("#jCarouselLite").jCarouselLite({
//        btnNext: "#btn1",
//        btnPrev: "#btn2",
//        auto: 3000,
//        speed: 500,
//        visible: 1
//    });
    
    $(".footMenu").each(function() {
        $(this).hover(function(){
            ChangeFootImg("1", this);
        }, function() {
            ChangeFootImg("0", this);
        });
    });
});
