function filtervalue() {
    var common = "a,an,the,is,of,are,was,were,shall,will,should,would,can,could,may,might,am,by,to,you,me,he,she,it,we,all,they,how,in,to,for,job,jobs"; 
     var sentence=document.getElementById("txtKeyword").value; 
        var wordArr = sentence.match(/\w+/g),
        commonObj = {},
        uncommonArr = [],
        word, i;

    common = common.split(',');
    for ( i = 0; i < common.length; i++ ) {
        commonObj[ common[i].trim() ] = true;
    }
    
    for ( i = 0; i < wordArr.length; i++ ) {
        word = wordArr[i].trim().toLowerCase();
        if ( !commonObj[word] ) {
            uncommonArr.push(word);
        }
    }
    return LoadURL(uncommonArr.join(" "));
}



function LoadURL(tmpObj)
{
    var linkSrc = "http://jobsearch.gobananas.in/?JSR*qsAjs=";
  //  var tmpObj = document.getElementById("txtKeyword").value;
    if(tmpObj == "Put Job Titles, Location, Company Name, Skills, Industry") { tmpObj = ""; }
    linkSrc += "&qsKW=" + tmpObj;
    window.location = linkSrc;
    return false;
}

function clickButton(e, buttonid)
{ 
    var bt = window.document.getElementById(buttonid);
    if (bt)
    { 
        if(navigator.appName.indexOf("Netscape")>(-1))
        {
            if (e.keyCode == 13) { return LoadURL(); }
        } 
        if (navigator.appName.indexOf("Microsoft Internet Explorer")>(-1))
        { 
            if (event.keyCode == 13) { return LoadURL(); }
        } 
    } 
}
