// ***********************************************
// AUTHOR: WWW.CGISCRIPT.NET, LLC
// URL: http://www.cgiscript.net
// Use the script, just leave this message intact.
// Download your FREE CGI/Perl Scripts today!
// ( http://www.cgiscript.net/scripts.htm )
// ***********************************************

//
//  	to use:
//	<SCRIPT LANGUAGE="javascript" type="text/javascript" src="js/random.js"></script>


function image() {
};

image = new image();
number = 0;




// imageArray
image[number++] = "<img src='images/bg_china.jpg' width='798' height='468' alt='' border='0'>"
image[number++] = "<img src='images/bg_hongkong.jpg' width='798' height='468' alt='' border='0'>"
image[number++] = "<img src='images/bg_peru.jpg' width='798' height='468' alt='' border='0'>"


increment = Math.floor(Math.random() * number);

document.write(image[increment]);
