<div>GRRRRRRRRRRRRRR,</div>  <div>&nbsp;</div>  <div>i am using the following line to query the map </div>  <div>&nbsp;</div>  <div>window.open("/cgi-bin/mapserv.exe?map=karachi.map&amp;mode=ITEMQUERY&amp;qstring=charge&amp;layer=charge_region");</div>  <div>&nbsp;</div>  <div>actually stive lime gave me this, but its giving following error</div>  <div>"msQueryByAttribute():General error message. No query layer defined"</div>  <div>&nbsp;</div>  <div>below is my map file, please check is there any thing wrong in my map file. I am using ka-map as my map client. my kamap is woring fine it displays all the layers but the hell query is not woring another thing my maps are not georeferenced so i cant use QueryByPoint.</div>  <div>&nbsp;</div>  <div>Please help me n guide me i am very depressed.</div>  <div>Regards,</div>  <div>&nbsp;</div>  <div>Absar Ali</div>  <div>____________________________________________________</div>  <div><BR>NAME Karachi<BR>STATUS ON</div> 
 <div><BR>SIZE 800 600<BR>SHAPEPATH "karachiShape"</div>  <div>WEB<BR>&nbsp;IMAGEPATH "C:/tmp/"<BR>&nbsp;IMAGEURL "C:/tmp/"<BR>END</div>  <div><BR>EXTENT 40.2283 -5.55177 49.7201 1.8823<BR>UNITS dd<BR>IMAGECOLOR 255 255 255<BR>IMAGETYPE png</div>  <div>QUERYMAP<BR>&nbsp;STATUS ON<BR>&nbsp;# the map is queryable by default<BR>&nbsp;STYLE HILITE<BR>&nbsp;# the selected object is highligthed<BR>&nbsp;COLOR 255 0 0<BR>&nbsp;SIZE -1 -1 <BR>END<BR>&nbsp; LEGEND<BR>&nbsp;&nbsp;&nbsp; KEYSIZE 18 12<BR>&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TYPE BITMAP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE MEDIUM<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 89<BR>&nbsp;&nbsp;&nbsp; END<BR>&nbsp;&nbsp;&nbsp; STATUS ON<BR>&nbsp; END</div>  <div>LAYER<BR>&nbsp; NAME charge_region<BR>&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS ON<BR>&nbsp; DATA CHARGE_region<BR>&nbsp; LABELITEM
 "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "CHARGE_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 146 154 155<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 43 170 115<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME circle_region<BR>&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA CIRCLE_region<BR>&nbsp; LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "CIRCLE_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 90 15 155<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 200 205
 133<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME important_locations_point<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POINT<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA "IMPORTANT LOCATIONS_point"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "IMPORTANT LOCATIONS_point"<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME town_region<BR>&nbsp;&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA TOWN_region<BR>&nbsp;
 LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "TOWN_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 77 224 186<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 244 237 138<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME town_text<BR>&nbsp;&nbsp; TEMPLATE "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POINT<BR>&nbsp; STATUS OFF<BR>&nbsp; DATA TOWN_text<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "TOWN_text"<BR>&nbsp; END<BR>END<BR>LAYER<BR>&nbsp; NAME union_council_region<BR>&nbsp;&nbsp; TEMPLATE
 "template/ka.html"<BR>&nbsp; METADATA<BR>&nbsp;&nbsp;"queryable" "true" <BR>&nbsp; END<BR>&nbsp; TYPE POLYGON<BR>&nbsp; STATUS ON<BR>&nbsp; DATA "UNION COUNCIL_region"<BR>&nbsp;&nbsp; LABELITEM "name"<BR>&nbsp; CLASS<BR>&nbsp;&nbsp;&nbsp; NAME "UNION COUNCIL_region"<BR>&nbsp;&nbsp;&nbsp; COLOR 37 118 61<BR>&nbsp;&nbsp;&nbsp; OUTLINECOLOR 220 54 199<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LABEL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINFEATURESIZE 40<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MINDISTANCE 150<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; POSITION CC<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIZE TINY<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; COLOR 0 0 0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END&nbsp;<BR>&nbsp; END<BR>END<BR>END </div>  <div>&nbsp;</div><p>&#32;
        
                <hr size=1>Sneak preview the <a href="http://us.rd.yahoo.com/evt=40762/*http://www.yahoo.com/preview"> all-new Yahoo.com</a>. It's not radically different. Just radically better.