var searchParam=new Array()
   searchParam[0]=['India Movies'];
   searchParam[1]=['India Holidays'];
   searchParam[2]=['Travel'];
   searchParam[3]=['India Tourism'];
   searchParam[4]=['Air Tickets'];
   searchParam[5]=['Gifts'];
   searchParam[6]=['Bollywood'];
   searchParam[7]=['Cricket'];
   searchParam[8]=['IPL'];
   searchParam[9]=['Movies'];
   searchParam[10]=['Real Estate'];
   searchParam[11]=['Property Investment'];
   searchParam[12]=['Best Airfares'];
   searchParam[13]=['India Travel Packages'];
   searchParam[14]=['India Hotels'];
   searchParam[15]=['Gifts to India'];
   searchParam[16]=['Online Games'];
   searchParam[17]=['Property in India'];
   searchParam[18]=['Real Estate India'];
   searchParam[19]=['India Rentals'];
   searchParam[20]=['Matrimony'];
   searchParam[21]=['Bollywood'];
   searchParam[22]=['India Vacation'];
   
   var txtFocused = false;
   var searchListLength = searchParam.length;
   var searchInterval = 6; 
   searchInterval = searchInterval * 1000;
   var currentIndex = 0;
   
   function txtChanged()
   {
    txtFocused = true;
   }
   function rotateSearchText(txtboxName) 
   {
    if (txtFocused == false)
    {
       var txtBox = document.getElementById(txtboxName);
       if (txtBox != null)
       {txtBox.value = searchParam[currentIndex];}
       var recur_call = "rotateSearchText('"+txtboxName+"')";
       setTimeout(recur_call, searchInterval);
       currentIndex++;
       if (currentIndex >= searchListLength)
       {
        currentIndex = 0;
       }
     }  
   }

