var MsjsBase = Class.create(MsjsAbstractPageClass, {
	
	initialize: function($super) {
		$super();
		this.new_window_name = "new_window";
		this.ord = Math.round((Math.random() * 99999999));
	},

	exists: function() {return true;},

	setup: function() {
		if (this.debug_enabled) {
			Event.observe(window, 'load', this.init_debug_console.bindAsEventListener(this));
		}
		Event.observe(window, 'load', this.add_link_targets.bindAsEventListener(this));
	},

	add_link_targets: function() {
		var items = $A(document.getElementsByClassName(this.new_window_name));
		items.each(function(item) {
			item.setAttribute('target', '_blank');
		});
	}

});