function roll(obj,sta,lay){
  iSrc=document[obj];
  if(document.layers && lay){iSrc=document.layers[lay].document[obj];}
  if(sta.length>1){iSrc.src="img"+sta+".gif";return;}
  iSrc.src=iSrc.src.substring(0,iSrc.src.lastIndexOf('_')+1)+sta+".gif";
}

function md(e) 
{ 
try { if (event.button==2||event.button==3) return false; }  
catch (e) { if (e.which == 3) return false; } 
}
document.oncontextmenu = function() { return false; }
document.ondragstart   = function() { return false; }
document.onmousedown   = md;