HistoryManager = Class.create();
HistoryManager.prototype = {
	initialize: function() {
        ///alert("init HistoryManager");
    },
	init : function(){
		///alert(document.body);
		this.iframe = Builder.node('iframe', {width:'1',height:'1',id:'History_Manager',name:'History_Manager'});
		this.iframe.style.display = "none";
		document.body.appendChild(this.iframe);
 ////<iframe width="1" height="1" id="History_Manager"  name="History_Manager"></iframe>
		///this.iframe = document.getElementById("History_Manager");
	},
	isLoaded : function(){
		return ((this.iframe == null))?false:true;
	},
	loadSection : function(num){
		if( !this.isLoaded() ){
			this.init();
		}
		this.iframe.src = "history.html?section="+num;
	},
	onIframeLoaded : function(num){
			this.dispatchEvent( 'SectionLoad', { num: num } );
			///App.onSectionLoad(num);
	}
	
}
Object.extend( HistoryManager.prototype, Event.Publisher )
///


