var css = new Array ();
var strings= new Array ();

css[0] = "color: #FF0000; font-weight: 100;";
strings[0] = "Adobe";

css[1] = "color: #000000; ";
strings[1] = "Acrobat";

css[2] = "color: #000000; ";
strings[2] = "After";

css[3] = "color: #000000; ";
strings[3] = "Effects";

css[4] = "color: #000000; ";
strings[4] = "Creative";

css[5] = "color: #000000; ";
strings[5] = "Suite";

css[6] = "color: #000000; ";
strings[6] = "Design";

css[7] = "color: #000000; ";
strings[7] = "Encore";

css[8] = "color: #000000; ";
strings[8] = "DVD";

css[9] = "color: #ff3300; ";
strings[9] = "Flash";

css[10] = "color: #000000; ";
strings[10] = "GoLive";

css[11] = "color: #000000; ";
strings[11] = "InDesign";

css[12] = "color: #000000; ";
strings[12] = "LiveCycle";

css[13] = "color: #000000; ";
strings[13] = "Photoshop";

css[14] = "color: #000000; ";
strings[14] = "Elements";

css[15] = "color: #000000; ";
strings[15] = "Premiere";

css[16] = "color: #000000; ";
strings[16] = "Pro";

css[17] = "color: #000000; ";
strings[17] = "Production";

css[18] = "color: #000000; ";
strings[18] = "Illustrator";

css[19] = "color: #336699; ";
strings[19] = "Captivate";

css[20] = "color: #0099cc; ";
strings[20] = "ColdFusion";

css[21] = "color: #9966cc; ";
strings[21] = "Contribute";

css[22] = "color: #cccc33; ";
strings[22] = "Dreamweaver";

css[23] = "color: #ffcc00; ";
strings[23] = "Fireworks";

css[24] = "color: #993333; ";
strings[24] = "HomeSite";

css[25] = "color: #000000; font-style : italic;";
strings[25] = "Plus";

function wordColorMatch (text) {
	var arrayText = text.split(" ");
	var index = 0;

	while (arrayText[index] != null) {
		var colorWordFound = false;

		for (var i = 0; i < strings.length; i++) {
			if (arrayText[index] == strings[i]) {
				colorWordFound = true;
				document.write ("<span style='" + css[i] + "'>" + arrayText[index] + "</span>");
			}
		}

		if (colorWordFound == false) {
			document.write (arrayText[index]);
		}

		document.write (" ");

		index++;
	}
}