
	var flPage = function(contents, container){
		this.instID = 'flPage.' + parseInt(Math.random()*1000000);
		this.contents = contents
		this.container = container;
		this.shown = false;
	} 
	
	flPage = flPage.extendsFrom(wps.base);
	
	flPage.prototype.show = function(){
		if (!this.shown){
			var head = this.contents.getAttribute('title');
			var html = "<h3>" + head + "</h3>" + this.contents.childNodes.item(0).nodeValue;
			this.container.style.display = 'none';
			this.container.innerHTML = ''; 
			this.container.innerHTML = html;
			new Effect.Appear(this.container);
			this.shown = true;
			return true;
		}else{
			return false;
		}
	}
	
	flPage.prototype.reset = function(){
		this.shown = false;
	}