Array.insert function error as Object function Array() { [native code] } has no method 'insert'
===

I am working with javascript, HTML, HTTPHandlers and i have used a line in javascript as 

Array.insert(Garray,eval(firstmarker),tmparray);

for this line in Goggle Chrome console have found an error as:

Uncaught TypeError: Object function Array() { [native code] } has no method 'insert'


In the above line the tmparray contains values and the Garray is an array declared globally as
var Garray = [];
  
eval(firstmarker) has the position and initially that is taken as undefined but even if i pass manually 0 it shows the above error in Console.

And the Array.Insert method found from the link below:

http://msdn.microsoft.com/en-us/library/bb383995.aspx

I have tried alternatives for this as Arrayname.splice method and also Arrayname.push method but it is not working so Can you please help me to solve the above error.

Thanking you in advance!

