variable are not accepting in javascript for web services
iam connecting to dotnet webservice using javascript.
see the following code:

var packet='<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetShoutMessages_New xmlns="http://fitzgeraldsoftware.com"><CurrentLatitude>'+CurrentLatitude+'</CurrentLatitude><Currentlongitude>'+CurrentLongitude+'</Currentlongitude><SearchIndex>'+Searchindex+'</SearchIndex><SearchBy>'+SearchBy+'</SearchBy><strt>'+currentstrtindex+'</strt><end>'+currentendindex+'</end></GetShoutMessages_New></soap:Body></soap:Envelope>';
objXMLHttpRequest.send(packet);

in the above code in packet iam sending one parameter in <searchby></searchby> tag.

if i used <searchby>'+searchlocation+'</searchby> its not working here searchlocation is a variable having value 'INDIA'

If i used <searchby>india</searchby> it is functioning well. 
i dont know the reason and solution too.
please help me any one
variable are not accepting in javascript for web services
===

iam connecting to dotnet webservice using javascript.
see the following code:

var packet='<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Body><GetShoutMessages_New xmlns="http://fitzgeraldsoftware.com"><CurrentLatitude>'+CurrentLatitude+'</CurrentLatitude><Currentlongitude>'+CurrentLongitude+'</Currentlongitude><SearchIndex>'+Searchindex+'</SearchIndex><SearchBy>'+SearchBy+'</SearchBy><strt>'+currentstrtindex+'</strt><end>'+currentendindex+'</end></GetShoutMessages_New></soap:Body></soap:Envelope>';
objXMLHttpRequest.send(packet);

in the above code in packet iam sending one parameter in <searchby></searchby> tag.

if i used <searchby>'+searchlocation+'</searchby> its not working here searchlocation is a variable having value 'INDIA'

If i used <searchby>india</searchby> it is functioning well. 
i dont know the reason and solution too.
please help me any one