
function SetLocation(location)
{
	document.location = location;
}

// Array Remove - By John Resig (MIT Licensed)
Array.prototype.remove = function(from, to) {

  var rest = this.slice((to || from) + 1 || this.length);
  this.length = from < 0 ? this.length + from : from;
  return this.push.apply(this, rest);
  
};

Array.prototype.print = function(){
	var string = '';

	for(var i=0; i<this.length; i++){		
		string += this[i];
		
		if(i+1 < this.length){
			string += ';';
		}
	}
	
	return string;
};

function Sanitize(input){
	return input.replace(/'/, "\'");
}
