var locationclicked	= 0;

function getDim(el){
        for (var lx=0,ly=0;el!=null;
                lx+=el.offsetLeft,ly+=el.offsetTop,el=el.offsetParent);
        return {x:lx,y:ly}
}

function showlocation(){
	locationclicked = 1;
	var imgName	= eval("document.images." + 'locationgif');		
	locationPlace 	= getDim(imgName);
	var locationbasex  = locationPlace.x;
	var locationbasey  = locationPlace.y;
       	document.getElementById('locationmenu').style.left =  (locationbasex  - 4) + "px";
       	document.getElementById('locationmenu').style.top =  (locationbasey - 7) + "px";
	document.getElementById('locationmenu').style.display  =  "block";
}

function hidelocation(){
	document.getElementById('locationmenu').style.display  =  "none";

}

