var System;

function Change_System(Which) {
	System= Which;
	SetCookie('System', Which.toString(), 'Wed, 01-Jan-25 23:12:40 GMT', '/');
	if (Which) { 
		document.MacImage.src= "images/MacYes.gif";
		document.WinImage.src= "images/WindowsNo.gif";
		}
	else {
		document.MacImage.src= "images/MacNo.gif";
		document.WinImage.src= "images/WindowsYes.gif";
		}

	if (document.all || document.getElementById) {
		Element= document.getElementById ? 
			 document.getElementById("Info_Text") : document.all.Info_Text;
		Element.innerHTML= (Which ?  "...my computer<br>is <b>MACINTOSH</b>" :
			"...my computer<br>is <b>WINDOWS</b>");
		}
	else if (document.layers) {
		document.Info.document.write('<div ID="Info_Text" style="width:106;height=60" align="center"><font class="mgctitle">');
		document.Info.document.write(Which ?  '...my computer<br>is <b>MACINTOSH</b>' :
			 '...my computer<br>is <b>WINDOWS</b>');
		document.Info.document.write('</font></div>');
		}
	}

function Setup_System() {
	var		Text= GetCookie('System');
	if (Text == null) Text= "0";
	Change_System(eval(Text));
	}
	
function MacWin(First, Last) {
	return (First + (System ? "Mac" : "") + Last);
	}

function MW(First, Last) {
	return (First + (System ? "M" : "W") + Last);
	}

var ColorIndex= 0;
var ColorText= "PrintingSolutions";

function ChangeColor() {

// Change all letters to base color

	if (ColorIndex == -1) {
		for (I= 0; I < ColorText.length; I++)
			document.all.MGCText[I].style.color= "#808080";
	
		ColorIndex= 0;
		clearInterval(Changer);
		setTimeout("StartChangeColor()", 1000);
		}

// Cycle through and change individual letters to neon color

	else {
		document.all.MGCText[ColorIndex].style.color= "#0308C0";

		if (ColorIndex < ColorText.length - 1)
			ColorIndex++
		else 
			ColorIndex= -1;
		}
	}

function StartChangeColor() {
	if (document.all)
		Changer= setInterval("ChangeColor()", 100);
	}

