function sendServer(){
.
.
url+="&level="+level+"&fastid="+FastId+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
parent.postFrame.document.location="url";
.
.
}
function processXml(str){
var imageurl=getImageUrl(str);
ctl("mapImage").src=imageurl;
function getMap(op)
{
var url="mapsrv.aspx?op="+op;
var imgwidth=697;
var height=513;
imgwidth=ctl("mapImage").width;
imgheight=ctl("mapImage").height;
switch(op)
{
case 11://fast map
url+="&level="+level+"&fastid="+FastId+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
break
case 21://zoom map
url+="&level="+level+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
break
case 22://move map
url+="&direction="+Direction+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
break
case 23://center map
url+="&imgx="+MapX+"&imgy="+MapY+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
break
case 5://buffer map
url+="&buffer1="+Buffer1+"&buffer2="+Buffer2+"&buffer3="+Buffer3+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
break
case 24://refresh map
url+="&imgwidth="+imgwidth+"&imgheight="+imgheight;
break
case 9://identify
url+="&imgx="+MapX+"&imgy="+MapY+"&imgwidth="+imgwidth+"&imgheight="+imgheight+"&factor="+factor+"&mapclickstate="+MapClickState;
break
case 10://label map
url+="&imgx="+MapX+"&imgy="+MapY+"&imgwidth="+imgwidth+"&imgheight="+imgheight;
break;
case 26://clearmeasure
url+="&imgwidth="+imgwidth+"&imgheight="+imgheight;
break;
case 65://measure map
url+="&imgx="+MapX+"&imgy="+MapY+"&imgwidth="+imgwidth+"&imgheight="+imgheight+"&mapclickstate="+MapClickState;
break
}
ctl("mapImage").src=url;
//ctl("MapImage").style.filter="Gray()";
//setTimeout('resetImage()',2000);
}