Array.prototype.shuffle = function() { var s = []; while (this.length) s.push(this.splice(Math.random() * this.length, 1)); while (s.length) this.push(s.pop()); return this; } var rx = 0; var randimages; var len; function random_imglink(){ randimages=new Array(); Fatal error: Uncaught Error: Call to undefined function eregi() in /customers/5/7/5/hoonhout.eu/httpd.www/bram/pics_scr.php:29 Stack trace: #0 /customers/5/7/5/hoonhout.eu/httpd.www/bram/pics_scr.php(41): returnimages('') #1 {main} thrown in /customers/5/7/5/hoonhout.eu/httpd.www/bram/pics_scr.php on line 29