// JavaScript Document
/*--------------------------------------------------
  FileName : innerframe.js
  Author   : YamatoKakeru ((c) WADATSUMI Anchorage)
  
  It is the group of function(s) to substitute 
  for frameset DTD.
--------------------------------------------------*/

/*--------------------------------------------------
  Function : read HTMLdocument to div section
  Argument : id  : div id
             uri : read HTML document uri
  Caution! : this function use prototype.js.
	           Must call before prototype.js !
--------------------------------------------------*/
function innerLoadHtml(id, uri){
  new Ajax.Request(uri, 
	  {
		  method: 'get', 
			onSuccess: function(transport) {
			  $(id).innerHTML = transport.responseText;
			}
		}
	);
}
