/*For global topnav search text */
    function clearBlank(what)
    {
      if (what.value == 'Search by Google')
      {
        what.value = "";
      }
    }

    function fillBlank(what)
    {
      if (what.value == '')
      {
        what.value = "Search by Google";
      }
    }

    function validate(what)
    {
      if (what.q.value == "Search by Google")
      {
        alert("Search by Google");
        return false;
      }
    }

    function prefillQ(what)
    {
      if (what) document.getElementById("global_topnav_search_text").value = what;
    }

    function preselectSS(what)
    {
      if (what == 1) document.getElementById("selSS").selectedIndex = 0;
      else if (what == 2) document.getElementById("selSS").selectedIndex = 1;
      else if (what == 3) document.getElementById("selSS").selectedIndex = 2;
      else document.getElementById("selSS").selectedIndex = 3;
    }
    
    function selectChange (obj)
    {
    	var val = 0;
    	
    	$("#selSS").attr("value", obj[obj.selectedIndex].value);
    }
