// need to have input element 
//  <input type='hidden' id='map_cmd'  name='map_cmd' value='' />

/////////////////////////////////////
//  Set Map Command
///////////////////////////////
function setMapCommand(map_cmd){
  try{
	  document.getElementById('map_cmd').value=map_cmd;
  }catch(err){alert('setMapCommand: map_cmd is not available');}
}
function getMapCommand(){
  var cmd="";
  try{
    cmd = document.getElementById('map_cmd').value;
  } catch(err){alert('getMapCommand: map_cmd is not available');}

  return cmd;
}
