function moveto(scale)
{
var w;

w=0; //idImg1.width/2;
//alert(w);

d = document.getElementById("idX");

d.style.left=idXX.value-w;// + " px";
d.style.top=idYY.value-w;// + " px";
d.style.visiblity="visible";

return true;

}

function moveto2(intX, intY)
{

return true;

}

function mapcallback(sn, cx, cy, xxx)
{

  d = document.getElementById("idX2");
  dimg=document.getElementById("idImg2");

  d.innerHTML=sn;
  dimg.src="php/transmitteranigif.php?id="+xxx;

  return true;

}

function mapcallback_xmg(cx, cy, strKey, strValue, intColour, strInfo)
{

d    = document.getElementById("idX2");
dX   = document.getElementById("idX");
dXX  = document.getElementById("idXX");
dYY  = document.getElementById("idYY");
dimg2= document.getElementById("idImg2");
dimg1= document.getElementById("idImg1");

  d.innerHTML=strInfo;
  dX.style.visiblity="visible";
  dXX.value=cx;
  dYY.value=cy;
  dimg2.src="php/v10image_xmg.php?key="+strKey+"&value="+strValue+"&c="+intColour;
  dimg1.src="styles/images/blank2.png";

  return true;


}



function special(strS, strT, strU)
{
  document.write (strS);

}




