﻿// JScript File
 function disp()
        {
          var dis = document.getElementById("search_options_menu").style.display
         
          if(dis=="block")
          {
             document.getElementById("search_options_menu").style.display="none";
             document.getElementById("imgdrop").style.backgroundColor='#FFFFFF';
          }
          else
          { 
             document.getElementById("search_options_menu").style.display="block";
             document.getElementById("imgdrop").style.backgroundColor='#76499C';
          }
         
        }                           
    function chanlecolor()
    {
        document.getElementById("imgdrop").style.backgroundColor="#76499C";
    }
    function chanlecolor1()
    {
        document.getElementById("imgdrop").style.backgroundColor="#FFFFFF";
      
    }
    function changec1(obj)
    {
      var id = obj.id;
      
     document.getElementById(id).style.backgroundColor="#8B60AC";
     document.getElementById(id).style.color="#ffffff";
    }
    function changec2(obj)
    {
       var id = obj.id;
       document.getElementById(id).style.backgroundColor="White";
       
       document.getElementById(id).style.color="#8B60AC";
    }
    
    function chec(search)
    {
         var dis = document.getElementById("search_options_menu").style.display
    
      if(dis=="block")
        {
             //document.getElementById("ctl00_ContentPlaceHolder1_txtsearch").className = 'nput';
          document.getElementById("search_options_menu").style.display="none";
        }
      else
        { 
        
          document.getElementById("search_options_menu").style.display="block";
        }
        
       document.getElementById("<%=txtsearch.ClientID%>").value = search ;
    
    }
    
    
    function rnd()
    {
     document.getElementById("search_options_menu").style.display="none";
     
	}


