var G = function(id){return (typeof(id) == "string" ? document.getElementById(id) : id)}

Array.prototype.forEach = function(func){
	for(var n=0,l=this.length;n<l;n++){
		func(this[n],n);
	}
};