
	var abstractOrderPage = Class.create({
		
		initialize: function(container, controller){
			this.instID = 'abstractOrderPage.' + parseInt(Math.random()*1000000);
			this.pageContainer = container;
			this.controller = controller;
			this.started = false;
		},
		
		showPage : function(){
			this.pageContainer.show();
		},
		
		hidePage : function(){
			this.pageContainer.hide();
		},
		
		start:function(){
			if (this.started) return;
		},
		
		validate : function(){
			return true;
		},
		
		save : function(callBack){
			callBack();
		},
		
		safeValue : function(value){
			if (!value) value = '';
			return encodeURIComponent(value.stripTags()) ;
//			return '<![CDATA[' + encodeURIComponent(value.stripTags()) + ']]>';
		}
	})
