﻿
function search(input) {
    text = document.getElementById(input);   
    //var text = input.value;
    if (!text.value || text.value == "Search...") return;
    window.location.href = "/Packages.aspx?Search=" + text.value;
    //window.location.href = "/SourceCode/Packages.aspx?Search=" + text.value;
    //return false; // this is required if submittig through image else if
    // its button return false can be removed
    //return false if search Text is Default value(Search...)
}
function ajax_showTitle() {    
    var text = document.getElementById('tbSearch');
    if (text.value == "Search...") {
        text.value = "";

    }
}
       
