(function(){
	dynamic = {
		options:{
			proccessing:'/public/images/processing.gif',
			loading:'/public/images/loading.gif',
			proccessingText:'<p class="notice" id="pro-txt">程序正在进行中，请等待，不要刷新游览器</p>',
			loadingText:'<p class="notice" id="loa-txt">程序下在装载中，请等待，不要刷新游览器</p>',
			successText:'<p class="success" id="suc-txt">操作成功</p>',
			successImg:  '<img id="successImg" src="/public/images/send_job_right.gif" alt="success"/>',
			errorText:'<p class="error" id="err-txt">操作出现异常，请联系技术员：itlongtom@tom.com</p>',
			errorImg: '<img id="errorImg" src="/public/images/send_job_error.gif" alt="error"/>',
			alertImg: '<img id="alertImg" src="/public/images/alert.gif" alt="alert"/>'
		},
		proImgObj:null,
		loadImgObj:null,
		proImg:function(){
			if(this.proImgObj){
				return this.proImgObj;
			}
			this.proImgObj = Builder.node('img', {id:'proccessing',
			src:this.options.proccessing,
			alt:'进行中...'});
			return this.proImgObj;
		},
		loadImg:function(){
			if(this.loadImgObj){
				return this.loadImgObj;
			}
			this.loadImgObj = Builder.node('img', {id:'loading',
			src:this.options.loading,
			alt:'装载中...'});
			return this.loadImgObj;
		},
		endNoticeMsg:function(img, txt){
			var img = img || this.options.successImg;
			var txt = txt || this.options.successText;
			return Builder.node('table', {id:'alerttb', style:'margin:10px;font-size:14px'},
			Builder.node('tbody',{},
			Builder.node('tr', {}, [
			Builder.node('td', {valign:'top', width:'90', id:'alert_img'}).update(img),
			Builder.node('td', {valign:'top', id:'alert_txt'}).update(txt)
			]))
			);
		}
	};
})();
