function ajax_page(page,divname){
	ajax.requestFile = page;
	ajax.element = divname;
	
	ajax.elementres="RESULT DIV";
	ajax.onLoadingStr="<p>Loading Page..</p>";
	ajax.onLoadedStr="<p>Page Loaded</p>";
	ajax.onInteractiveStr="<p>Still Loding...</p>";
	ajax.onCompletionStr="<p>4Page Loading Complete</p>";
	ajax.onErrorStr="<p>Page Load Error</p>";
	ajax.onFailStr="<p>Page Load Failed</p>";
	ajax.onLoading = whenLoading;
	ajax.onLoaded = whenLoaded;
	ajax.onInteractive = whenInteractive;
	ajax.runAJAX();
}