function hideOne() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_one').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_one.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_one.style.visibility = 'hidden';

}

}

}



function showOne() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_one').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_one.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_one.style.visibility = 'visible';

}

}

} 



function hideTwo() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_two').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_two.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_two.style.visibility = 'hidden';

}

}

}



function showTwo() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_two').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_two.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_two.style.visibility = 'visible';

}

}

} 



function hideThree() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_three').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_three.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_three.style.visibility = 'hidden';

}

}

}



function showThree() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_three').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_three.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_three.style.visibility = 'visible';

}

}

} 





function hideFour() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_four').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_four.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_four.style.visibility = 'hidden';

}

}

}



function showFour() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_four').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_four.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_four.style.visibility = 'visible';

}

}

} 



function hideBoxOne() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_box_button_1').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_box_button_1.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_box_button_1.style.visibility = 'hidden';

}

}

}



function showBoxOne() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_box_button_1').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_box_button_1.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_box_button_1.style.visibility = 'visible';

}

}

} 



function hideBoxTwo() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_box_button_2').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_box_button_2.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_box_button_2.style.visibility = 'hidden';

}

}

}



function showBoxTwo() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_box_button_2').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_box_button_2.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_box_button_2.style.visibility = 'visible';

}

}

} 



function hideBoxThree() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_box_button_3').style.visibility = 'hidden';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_box_button_3.visibility = 'hidden';

}

else { // IE 4

document.all.main_graphic_box_button_3.style.visibility = 'hidden';

}

}

}



function showBoxThree() {

if (document.getElementById) { // DOM3 = IE5, NS6

document.getElementById('main_graphic_box_button_3').style.visibility = 'visible';

}

else {

if (document.layers) { // Netscape 4

document.main_graphic_box_button_3.visibility = 'visible';

}

else { // IE 4

document.all.main_graphic_box_button_3.style.visibility = 'visible';

}

}

} 





var t;

/*SETS BLN TO FALSE, THIS ALLOWS IMAGES TO CIRCLE THROUGH DIFFERENT FUNCTIONS*/

var bln=false;

/*TIMER ALLOWS FUNCTION TO SET BLN TO TRUE WITHOUT ALLOWING ANOTHER FUNCTION TO CONTINUE WITH BLN BEING FALSE*/

var timerOne=3499;

/*SETS TIMER TO 1 TO RUN FUNCTION, SET AFTER TIMERONE TO START NEW FUNCTION*/

var timerTwo=1;





function trueBln (){

	return bln=true;

}



function mainGraphic (){

	showOne();

	hideTwo();

	hideThree();

	hideFour();

	showBoxOne();

	hideBoxTwo();

	hideBoxThree();

	t = setTimeout("mainTwo ()", timerOne);

}



function mainTwo () {

if (bln==true) {

	return;

}

else {

	t = setTimeout("mainGraphicTwo()", timerTwo);

	}

}



function mainGraphicTwo () {

	hideOne();

	showTwo();

	hideThree();

	hideFour();

	hideBoxOne();

	showBoxTwo();

	hideBoxThree();

	t = setTimeout("mainThree ()", timerOne);

}



function mainThree () {

if (bln==true) {

	return;

}

else {

	t = setTimeout("mainGraphicThree()", timerTwo);

	}

}



function mainGraphicThree () {

	hideOne();

	hideTwo();

	showThree();

	hideFour();

	hideBoxOne();

	hideBoxTwo();

	showBoxThree();

	t = setTimeout("main ()", timerOne);

}





function main () {

if (bln==true) {

	return;

}

else {

	t = setTimeout("mainGraphic()", timerTwo);

	}

}

