// ====================================================================
// Swap Screen 2
//
// Add tesxt in html format to the variable outString
// Add images to the variable outImage.  Height should not exceed 140
//
// ====================================================================

function swapScreen2(theText) {

	// Arrow 1 - Commented out so you just get the default
//	if (theText == 1) {
//		outString="<FONT SIZE='4'><B>PC World</B></FONT> Teams With Market Insight<BR>Lorem ipsum cu dicat solet has, ex mei latine minimum intellegam, te nam diceret adipisci. Veri causae singulis vim ex, magna probatus reformidans mea id. Te audiam intellegam neglegentur mei, mea ex modo appetere. Vix id nonumy tempor audire.";
//		outImage="JPEGs/images/PlaceHolder-Logo-2.gif";
//	}

	// Arrow 2
	if (theText == 2) {
		outString="<FONT SIZE='3'><B>IDC</B></FONT><BR><FONT SIZE='2'>IDC says, “Market Insight's ability to reach into an audience of active shoppers, provides a continuous stream of powerful information.  As a premier global provider of market intelligence, IDC values its partnership with Market Insight and the timely, dynamic nature of the intelligence we develop together.”";
		outImage="JPEGs/images/PlaceHolder-Logo-3.gif";
	}

	//Arrow 3
	else if (theText == 3) {
		outString="<FONT SIZE='3'><B>Price Grabber</B></FONT><BR><FONT SIZE='2'>Price Grabber says, “Market Insight provides a comprehensive user experience that helps consumers match the right products to their specific needs.  This process is well complemented by PriceGrabber.com’s merchant and pricing information which allows users to make the best purchase decision.”";
		outImage="JPEGs/images/PriceGraber.gif";
	}

	// Arrow 4
	else if (theText == 4) {
		outString="<FONT SIZE='3'><B>PC World</B></FONT><BR><FONT SIZE='2'>PC World says, “As the Web’s trusted source for management-level buyers of technology products, PCWorld embraces Market Insight’s promise of unbiased, ranked recommendations for consumers.  MI’s consumer facing shopping facility, www.myproductadvisor.com, complements PCWorld.com’s award winning web site.  The sophisticated market  intelligence developed by MI lends value to PCWorld’s buying-advice initiatives.”";
		outImage="JPEGs/images/PCWorld.gif";
	}


	// Default
	else {
		outString="<FONT SIZE='3'><B>Market Insight Corporation</B></FONT><BR><FONT SIZE='2'>Market Insight Corporation utilizes active, in-market shoppers, to track consumer preference trends and prepare qualified consumers. This is accomplished through the company's consumer-facing web site, MyProductAdvisor.com. The intelligence created by Market Insight is used by Fortune 500 Enterprise companies as a primary source for guiding product offerings to meet consumer demand.  The prepared consumers developed by MyProductAdvisor.com can be matched to retailers and merchants to fulfill buyer demand.";
		outImage="JPEGs/images/PlaceHolder-Logo-1.gif";
	}

	theString = "<TABLE BORDER=0 CELLPADDING=3 width=100% height=145><TR><TD valign=top>" + outString + "</TD><TD WIDTH=50>&nbsp;</TD><TD ALIGN='RIGHT' valign='center' width='145'><IMG SRC='" + outImage + "' BORDER=0>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD></TR></TABLE>"


	document.getElementById("Screen2").innerHTML = theString;
}



// ====================================================================
// Swap Screen 3
//
// Add text in html format for the Header, Middle, and Bottom variables
//
// ====================================================================

function swapScreen3(theImage) {

	// Add text in html format for the Header, Middle, and Bottom variables

	// Image 2
	if (theImage == 2) {
		Image1 = "<img src='images/step" + theImage + ".jpg' width='282' height='371' alt='' border='0' usemap='#Screen3Map'>";

		Header="<FONT SIZE='2'><B>What you get with a MyProductAdvisor.com consumer . . .";
		Middle = "<B>Shoppers that are non-solicited & unpaid";
		Bottom="Willing, pro-active participants lead to objective, unbiased intelligence";
	}

	// Image 2
	else if (theImage == 3) {
		Image1 = "<img src='images/step" + theImage + ".jpg' width='282' height='371' alt='' border='0' usemap='#Screen3Map'>";

		Header="<FONT SIZE='2'><B>What you get with a MyProductAdvisor.com consumer . . .";
		Middle = "<B>Shoppers That Participate 24 x 7";
		Bottom="“Always On” nature of the system guarantees real time, dynamic input";
	}

	// Image 2
	else if (theImage == 4) {
		Image1 = "<img src='images/step" + theImage + ".jpg' width='282' height='371' alt='' border='0' usemap='#Screen3Map'>";

		Header="<FONT SIZE='2'><B>What you get with a MyProductAdvisor.com consumer . . .";
		Middle = "<B>Shoppers that drive a sophisticated market intelligence system";
		Bottom="The intelligence is powered by sophisticated mathematics and extensive data";
	}

	// Image 2
	else if (theImage == 5) {
		Image1 = "<img src='images/step" + theImage + ".jpg' width='282' height='371' alt='' border='0' usemap='#Screen3Map'>";

		Header="<FONT SIZE='2'><B>What you get with a MyProductAdvisor.com consumer . . .";
		Middle = "<B>Shoppers prepared to become real buyers";
		Bottom="Informed consumers make good buying decisions leading to satisfaction and loyalty";
	}

	// Image 1 (Default)
	else {
		Image1 = "<img src='images/step" + theImage + ".jpg' width='282' height='371' alt='' border='0' usemap='#Screen3Map'>";

		Header="<FONT SIZE='2'><B>What you get with a MyProductAdvisor.com consumer . . .";
		Middle = "<B>Active in-market shoppers";
		Bottom="Active shoppers deliver high quality preference data and true buying potential";
	}


	// Write to the screen
	document.getElementById("Screen3Image").innerHTML = Image1;
	document.getElementById("Screen3Header").innerHTML = "<FONT COLOR='WHITE'>" + Header + "</FONT>";
	document.getElementById("Screen3Middle").innerHTML = Middle;
	document.getElementById("Screen3Bottom").innerHTML = Bottom;
}


// ====================================================================
// Mouse Out
//
// Handles the mouse out event for the box on screen 3.
//
// ====================================================================

function out(evt) {
	var evt = evt || window.event; // event object
	var target = evt.target || window.event.srcElement; // event target
	var targetID = target.getAttribute("id"); // event target id

	var tg = evt.target || window.event.srcElement; // event target
	var reltg = (evt.relatedTarget) ? evt.relatedTarget : evt.toElement;
	while (reltg.nodeName != "DIV" && reltg.nodeName != 'BODY') {
		reltg= reltg.parentNode
	}

	if (reltg.nodeName == "DIV") return;
	// Mouseout took place when mouse actually left layer
	document.getElementById('lower').style.visibility='hidden';
}
