﻿var __include_js = {

	items : new Array() ,
	
	write : function(src) {
		document.write('<script type="text/javascript" src="' + src + '"></script>');
	},
	
	bind : function() {
		
		for(var i=0;i<this.items.length;i++){
			this.write(this.items[i]);
		}
	},
	
	add : function(src) {
	
		src = (src || "").toLowerCase();
		
		var itemstring = ("," + this.items.join(",") + ",").toLowerCase();
		var hasitem = (itemstring.indexOf(src)>-1);
	
		if(!hasitem) this.write(src);
	}
	
}

__include_js.items.push("/Common/js/prototype.js");
__include_js.items.push("/Common/js/prototypeextention.js");
__include_js.items.push("/Common/js/common.js");
__include_js.items.push("/Common/js/AuctionJs.js");
__include_js.items.push("/Common/js/dragdrop.js");
__include_js.items.push("/Common/js/Abuse.js");
__include_js.items.push("/Common/js/design.js");
__include_js.items.push("/Common/js/common_base.js");
__include_js.items.push("/Common/js/MyMarket.js");
__include_js.items.push("/Common/js/board_comment.js");

//__include_js.items.push("/Common/js/calendar.js");

__include_js.bind();
