
{Array.prototype.inArray=function(value)
{for(var i in this)
{if(this[i]===value)
{return true;}}
return false;}
Array.prototype.keyExists=function(value)
{for(var i in this)
{if(i===value)
{return true;}}
return false;}
Array.prototype.shuffle=function()
{for(var j,x,i=this.length;i;j=parseInt(Math.random()*i),x=this[--i],this[i]=this[j],this[j]=x);}}
function isArray(o)
{return Object.prototype.toString.call(o)==='[object Array]';}
