function rnd() {
	rnd.seed = (rnd.seed*9301+49297) % 233280;
	return rnd.seed/(233280.0);
};
rnd.today = new Date();
rnd.seed = rnd.today.getTime();
function rand(number) {
	return Math.ceil(rnd()*number);
};
function image(src,title,width,height,border,href,target) {
	this.src = src;
	this.title = title;
	this.width = width;
	this.height = height;
	this.border = border;
	this.href = href;
	this.target = target;
	this.selected = false;
};
function chooseImage(arry) {
	var idx, str = "";
	do {
		idx = rand(arry.length)-1;
	} while(arry[idx].selected == true);
	if(arry[idx].href.length > 0) str = "<A HREF=\""+arry[idx].href+"\" TARGET=\""+arry[idx].target+"\">";
	str += "<IMG SRC=\""+arry[idx].src+"\" ALT=\""+arry[idx].title+"\" WIDTH=\""+arry[idx].width+"\" HEIGHT=\""+arry[idx].height+"\" BORDER=\""+arry[idx].border+"\">";
	if(arry[idx].href.length > 0) str += "</A>";
	document.write(str);
	arry[idx].selected = true;
	return true;
};
// syntax: image("src","alt text",height,width,border,"url","target");
entry = new Array();
entry[0] = new image("v2/images/entry/420x280_entry01.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");
entry[1] = new image("v2/images/entry/420x280_entry02.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");
entry[2] = new image("v2/images/entry/420x280_entry03.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");
entry[3] = new image("v2/images/entry/420x280_entry04.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");
entry[4] = new image("v2/images/entry/420x280_entry05.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");
entry[5] = new image("v2/images/entry/420x280_entry06.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");
entry[6] = new image("v2/images/entry/420x280_entry07.gif","McCarrica Industries welcomes you. Click to enter.",420,280,0,"v2/","");







