function find(prodname,qstring,tgtcheck)
{

var str=window.top.location;
    newurl = new String(str)
 

    ques='?';
    if (qstring == '')
    {
      qstring="";
      ques="";
    }

 
	 
//for get quote button
	   if (prodname=="getquote")
	   {
     		if (newurl.match("lpdww"))
    		{
	      		var openurl='http://213.86.137.221:82' + ques + qstring;
    		}
    		else if(newurl.match("qwww"))
    		{
	      		var openurl='http://213.86.137.221:82 ' + ques + qstring;
                          
 			}
    		else if (newurl.match("www"))
    		{
	      		var openurl='http://www.etravel.americanexpress.com' + ques + qstring;
    		}
    		else 
    		{
	      		var openurl='http://www.etravel.americanexpress.com' + ques + qstring;
    		}
        }


    if (tgtcheck=="true")
    {
       window.open(openurl);
    }
    else
    {
       window.location.href=openurl;
    }
   

}

