	
function showhide(id,val)
{
document.getElementById("txtSearch").value = "" ;
document.getElementById("imgGo").src = "/KodakGCG/KodakGCGPages/Images/search_go_dis.gif";
 if (val==0) document.getElementById(id).style.display = 'none';

 if (val==1) document.getElementById(id).style.display = 'block';

}	
	
	
function popUp()//funtion to popup the feedback form
	{	
        
     strHost = "http://"+document.getElementById("hdHost").value+"";	
     strHost+= "/KodakGCG/KodakGCGPages/FeedbackForm.aspx" ;
     
      window.open(strHost,"welcome",'width=472,height=450,menubar=no,status=no,left=260,top=135,screenX=0,screenY=100,toolbar=no,resize=no,scrollbars=no');
   }
      
function OpenSearch() //funtion to open the search page with the parameters
{ 
    var strSearch ="";
    strSearch = document.getElementById("txtSearch").value;
    if (strSearch != "") 
    {
        window.open("http://search.kodak.com/?pq-locale=en_US&global=en&q="+ strSearch +" ","_parent","toolbar=yes, location=yes, directories=no, status=no, menubar=yes, scrollbars=yes, resizable=no, copyhistory=yes, width=400, height=400");
    }   
}
   
function ChangeGoBtn()
{
    var strSearch ="";
    strSearch = document.getElementById("txtSearch").value;   
    if (strSearch== "") 
    {
        document.getElementById("imgGo").src = "/KodakGCG/KodakGCGPages/Images/search_go_dis.gif";
    }
    else
    {
        document.getElementById("imgGo").src = "/KodakGCG/KodakGCGPages/Images/search_go.gif";
       
    }
}