
<!--

var goodBrowser=false;
var clicked="";

// Browser check  Checks for netscape verisons 3or higher and IE version 3 or higher
if ((navigator.userAgent.substring(0,9) == "Mozilla/3") || (navigator.userAgent.substring(0,9) == "Mozilla/4") || (navigator.userAgent.substring(0,9) == "Mozilla/5") || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion)>=4))) {
   
	goodBrowser=true;
	
    home_off = new Image(88,20);      home_off.src = "act1/graphics/but_off_home.gif";
	about_off = new Image(88,14);      about_off.src = "act1/graphics/but_off_about.gif";
	search_off = new Image(88,15);      search_off.src = "act1/graphics/but_off_search.gif";
	cart_off = new Image(88,15);         cart_off.src = "act1/graphics/but_off_cart.gif";
	contact_off = new Image(88,18);      contact_off.src = "act1/graphics/but_off_contact.gif";

    home_on = new Image(88,20);         home_on.src = "act1/graphics/but_on_home.gif";
	about_on = new Image(88,14);         about_on.src = "act1/graphics/but_on_about.gif";
	search_on = new Image(88,15);         search_on.src = "act1/graphics/but_on_search.gif";
	cart_on = new Image(88,15);            cart_on.src = "act1/graphics/but_on_cart.gif";
	contact_on = new Image(88,18);         contact_on.src = "act1/graphics/but_on_contact.gif";


}

function over(imagName) {
	if (goodBrowser==true) {
		if (clicked==imagName) {
		   return;
		}
		imgOn = eval(imagName + "_on.src");
		document[imagName].src = imgOn; 
	}
}
	
function out(imagName) {
	if (goodBrowser==true) {
		if (clicked==imagName) {
		   return;
		}
		imgOff = eval(imagName + "_off.src");
		document[imagName].src = imgOff;
	}
}

function clicked_on(imagName) {
	if (goodBrowser==true) {
		if (clicked==imagName) {
		   return;
		}
	
		if (clicked!='') {
		   imgOff=eval(clicked + "_off.src");
		   document[clicked].src = imgOff;
		}		
           imgOn = eval(imagName + "_on.src");
		   clicked=imagName;
           document[imagName].src = imgOn;
	}
}



// This function will setup arraies for this website.
function makeArray(n) {
	this.length = n
	for (var i = 1; i <= n; i++) {
		this[i] = null;
	}
	return this
}


// This Function will create a new window and display a URL
function Info_Win(site_num) {
	
	var site_urls = new makeArray(12)
	
	site_urls[1] = "http://www.gr8net.com/"
	site_urls[2] = "http://www.gr8net.com/example_sites/gscc/"
	site_urls[3] = "http://www.gr8net.com/example_sites/rhw/"
	site_urls[4] = "http://www.gr8net.com/example_sites/reefers/frameset.html"
	site_urls[5] = "http://www.aestmd.com/"
	site_urls[6] = "http://www.actagency.com/"
	site_urls[7] = "http://www.orlandophillips.com/"
	site_urls[8] = "http://www.gr8net.com/example_sites/harinc/"
	site_urls[9] = "http://www.redhotrollin.com/"
	site_urls[10] = "http://www.gr8net.com/example_sites/magicme/"
	site_urls[11] = "http://www.lloydmarcus.com/"
	site_urls[12] = "http://www.gr8net.com/example_sites/realtime/prod_solu/st1000.html"

	var newWinObj = window.open(site_urls[site_num],'newWin','toolbar=1,location=1,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,copyhistory=0,width=800,height=500')
	newWinObj = window.open(site_urls[site_num],'newWin')     //REDUNDANT CALL TO FIX MAC BUG
	newWinObj.focus()
}


// Display date function
function todaysdate(today) {
	var now = new Date();
	var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
	var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
	var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
	
	function fourdigits(number)	{
		return (number < 1000) ? number + 1900 : number;
	}
	
	today =  days[now.getDay()] + ", " + months[now.getMonth()] + " " + date + ", " + (fourdigits(now.getYear()));
	
	return(today);
}

//Display rendom text function
function random_text() {
	number = 0;
	text = new makeArray(8);
	
	text[number++] = "<IMG SRC=\"graphics/ran_1.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_2.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_3.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_4.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_5.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_6.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_7.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	text[number++] = "<IMG SRC=\"graphics/ran_8.gif\" WIDTH=\"600\" HEIGHT=\"20\" BORDER=\"0\">"
	
	increment = Math.floor(Math.random() * number);
	return text[increment];
}


//-->