// JavaScript Document
// <![CDATA[
Array.prototype.random = function(limit)
{
	if (typeof limit == 'undefined' || limit < 0) limit = 1;
	else if (!limit) limit = this.length;
	for (var i = 0, source = this, target = new Array(), n = source.length; i < limit && n > 0; i++)
	{
		do { var index = Math.random(); } while (index == 1);
		index = Math.floor(index * n);
		target.push(source[index]);
		source[index] = source[--n];
	}
	return target;
}

document.write(new Array(

'<img src="images/1.jpg" />',
'<img src="images/5.jpg" />',
'<img src="images/2.jpg" />',
'<img src="images/3.jpg" />',
'<img src="images/6.jpg" />',
'<img src="images/7.jpg" />',
'<img src="images/8.jpg" />',
'<img src="images/9.jpg" />',
'<img src="images/10.jpg" />',
'<img src="images/11.jpg" />',
'<img src="images/12.jpg" />',
'<img src="images/13.jpg" />',
'<img width="200" height="180" src="images/14.jpg" />',
'<img width="200" height="180" src="images/15.jpg" />',
'<img width="200" height="180" src="images/16.jpg" />',

'<img src="images/4.jpg" />'

).random().join(''));
// ]]>

