/**
 * Core functionalities
 * 
 * Copyright (c) 2008 Peter Cicman. 
 */

var XJS = {};

XJS.implement = function(target, implement){
	for (option in implement) {
		if (!target.prototype[option]) {
			target.prototype[option] = implement[option]; 
		}
	}
}

XJS.implement(Array, {
	merge: function(array) {
		for (var i = 0, j = array.length; i < j; i++) this.push(array[i]);
		return this;
	}
})
