window.onerror = null;
 
function initArray() {

this.length = initArray.arguments.length;
  for (var i = 0; i < this.length; i++) {
  this[i] = initArray.arguments[i];
  }
}



//BLINKING
function Blink(layerName,color,i,blink_speed)
{
	if(document.getElementById(layerName))
	{
		document.getElementById(layerName).style.color=eval(color+"["+i+"]");
		if(eval("i<"+color+".length-1"))
		{
		i++;
		} 
		else
		{
		i=0;
		}
		setTimeout("Blink('"+layerName+"','"+color+"',"+i+","+blink_speed+")",blink_speed);
	};
}
