var strNonFlash;
lnkVar =  xmlDoc.getElementsByTagName("section");
str1 = '<div><img src="images/nonFlash.gif" alt="" width="300" height="249" border="0" usemap="#Map" /></div>';
str2 = '<div><img src="images/nonFlash_FF.gif" alt="" width="300" height="249" border="0" usemap="#Map" /></div>';
strMiddle = '<div class="legal">\
			<p>&copy; 2010 Matt Spitko.<br />\
				All Rights Reserved.</p>\
		</div>';
str3 = '<map name="Map" id="Map">\
			<area shape="rect" coords="29,129,118,154" href="http://get.adobe.com/flashplayer/" target="_blank"  onclick="s.tl(this,\'o\',\'Skittles:NonFlash:GetFlash\');" />\
			<area shape="rect" coords="29,162,127,180" href="thehighway.htm"  onclick="s.tl(this,\'o\',\'Skittles:NonFlash:SiteMap\');" />';
str4 = '<map name="Map" id="Map">\
			<area shape="rect" coords="29,129,118,154" href="http://www.mozilla.com/en-US/firefox/" target="_blank"  onclick="s.tl(this,\'o\',\'Skittles:NonFlash:GetFirefox\');" />\
			<area shape="rect" coords="29,162,127,180" href="thehighway.htm"  onclick="s.tl(this,\'o\',\'Skittles:NonFlash:SiteMap\');" />\
		</map>';
		
strNonFlash = str1 + strMiddle + str3;	

if ((/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent))&&(navigator.appVersion.indexOf('Mac')!=-1))
{
	 var ffversion=new Number(RegExp.$1)	
	 
	 if(ffversion<=2)
	 {
			strNonFlash = str2 + strMiddle + str4;
	}
}

document.write(strNonFlash);

/*strNonFlash = '<div><img src="images/nonFlash.gif" alt="" width="300" height="249" border="0" usemap="#Map" /></div>\
		<div class="legal">\
			<p>&copy; 2009 Mars, Incorporated and its Affiliates.<br />\
				All Rights Reserved. MARS Snackfoods.</p>\
			<p><a href="'+ lnkVar[0].getAttribute("url") +'" target="_blank" onclick="s.tl(this,\'e\',\'Skittles:NonFlashFooter:PrivacyPolicy\');">Privacy</a> | <a href="'+ lnkVar[1].getAttribute("url") +'" target="_blank"  onclick="s.tl(this,\'e\',\'Skittles:NonFlashFooter:Legal\');">Legal</a> | <a href="'+ lnkVar[2].getAttribute("url") +'" target="_blank"  onclick="s.tl(this,\'e\',\'Skittles:NonFlashFooter:AllergyInfo\');">Allergy Info</a> | <a href="'+ lnkVar[3].getAttribute("url") +'" target="_blank"  onclick="s.tl(this,\'e\',\'Skittles:NonFlashFooter:NoteToParents\');">Note to Parents</a> | <a href="'+ lnkVar[4].getAttribute("url") +'"  onclick="s.tl(this,\'o\',\'Skittles:NonFlashFooter:SiteOwner\');">Site Owner</a><br />\
			<a href="'+ lnkVar[5].getAttribute("url") +'" target="_blank"  onclick="s.tl(this,\'o\',\'Skittles:NonFlashFooter:ProductLocator\');">Product Locator</a> | <a href="'+ lnkVar[6].getAttribute("url") +'" target="_blank"  onclick="s.tl(this,\'e\',\'Skittles:NonFlashFooter:VisitMars\');">Visit MARS.COM</a> | <a href="'+ lnkVar[7].getAttribute("url") +'" target="_blank"  onclick="s.tl(this,\'e\',\'Skittles:NonFlashFooter:MarsNutrition\');">Mars Nutrition</a></p>\
			<p>A Word from Our Sponsor: This site includes information, games, advertisements and promotional offers featuring our products. Children should get a parent\'s permission before visiting any website or giving personal information. You must be 18 or older to shop online.</p>\
		</div>\
		<map name="Map" id="Map">\
			<area shape="rect" coords="29,129,118,154" href="http://get.adobe.com/flashplayer/" target="_blank"  onclick="s.tl(this,\'o\',\'Skittles:NonFlash:GetFlash\');" />\
			<area shape="rect" coords="29,162,127,180" href="thehighway.htm"  onclick="s.tl(this,\'o\',\'Skittles:NonFlash:SiteMap\');" />\
		</map>';*/
