/*****************************************************************************
**image.js                                                                   
**                                                                             
** Copyright 2004 by CRN Media.                                               
** Web address: http://fmiclinic.com                                        
** Last update: February 6, 2004.                                               
**                                                                             
** Random panorama images for page tops.            
*******************************************************************************/

<!--//
// Indicate how many images there are.
var amount=15;

// Array Function.
function makeArray(len) {
	for (var i = 0; i < len; i++) 
		this[i] = null;
	this.length = len;
}

// Generate's the arrays.
lnk = new makeArray(amount);

// Place your image information here. Start at index number 0.
link0='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback0.jpg">';
link1='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback1.jpg">';
link2='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback2.jpg">';
link3='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback3.jpg">';
link4='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback4.jpg">';
link5='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback5.jpg">';
link6='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback6.jpg">';
link7='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback7.jpg">';
link8='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback8.jpg">';
link9='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback9.jpg">';
link10='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback10.jpg">';
link11='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback11.jpg">';
link12='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback12.jpg">';
link13='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback13.jpg">';
link14='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback14.jpg">';
link15='<TABLE cellpadding="0" cellspacing="0" border="0" width="100%" background="http://fmiclinic.com/picts/fmiback15.jpg">';
	
// Randomly pick a banner to display.
function rand(n) {
	seed = (0x015a4e35 * seed) % 0x7fffffff;
	return (seed >> 16) % n;
}

var now = new Date();
var seed = now.getTime() % 0xffffffff;
var position=rand(amount);
document.write(eval("link"+position));
//-->


