// declare a string to load the XML into.
var XMLString = "";
function loadXMLString(form) {
	// Ther are currently 4 checkbox inputs that will get the visitor a link to the CCS (QA-QD)
	// This method will grab the question from the form and it's Boolean state.
        XMLString ="<QuestionSet>";
	if (document.getElementById) {
        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QA").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.A.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QB").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.B.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QC").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.C.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QD").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.D.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QE").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.E.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QF").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.F.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QG").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.G.checked + "</Answer>";
        	XMLString +="</Question>";

        	XMLString +="<Question>";
		XMLString +="<QuestionText>" + document.getElementById("QH").innerHTML + "</QuestionText>";
		XMLString +="<Answer>" + form.H.checked + "</Answer>";
        	XMLString +="</Question>";
	}
        XMLString +="</QuestionSet>";
}
function QuestionnaireAnswersToCCS() {
	// Returns the XML string containing questions and (Boolean) answers.
	return XMLString;
}

// Define the text blocks that get pre-pended to the custom report when the scanner passes back to the wrapper

var userDeclinedEULA = "Thank you for visiting the Cybercrime Response Unit portal. We noticed that you chose not to agree to the License Agreement to use the Cybercrime Scanner. We invite you to use the many other resources available to you throughout the Cybercrime Response Unit portal and look forward to helping you with your cybercrime needs in the future. You have been returned to your Risk Assessment Custom Report.";
var userStoppedScanner = "Thank you for visiting the Cybercrime Response Unit portal. We noticed that you chose not to continue with the Cybercrime Scanner. We invite you to use the many other resources available to you throughout the Cybercrime Response Unit portal and look forward to helping you with your cybercrime needs in the future. You have been returned to your Risk Assessment Custom Report."
var unsupportedSystem = "Thank you for your interest in the Cybercrime Scanner. Unfortunately, the McAfee Cybercrime Scanner is unable to run on your system.  The scanner supports Internet Explorer browser versions 6.0 and above only. We invite you to use the many other resources available to you throughout the Cybercrime Response Unit portal and look forward to helping you with your cybercrime needs in the future. You have been returned to your Risk Assessment Custom Report.";
var scannerRunning = "It appears that the McAfee Cybercrime Scanner is already running on your computer. The scanner can only be run in one window.  Please refer to the results of the scan that you are currently running on your computer. You have been returned to your Risk Assessment Custom Report.";
var scannerReturnedError = "Thank you for visiting the Cybercrime Response Unit portal. You have been returned to your Risk Assessment Custom Report.";

function OverToWrapper(retval) {

	if (document.getElementById) {
		if (retval == 1) 
			document.getElementById("theReportDiv").innerHTML = "<div class='returnFromScanMessage'>" + userDeclinedEULA +"</div>"+theReport;
		else if (retval == 2) 
			document.getElementById("theReportDiv").innerHTML = "<div class='returnFromScanMessage'>" + userStoppedScanner +"</div>"+theReport;
		else if (retval == 3) 
			document.getElementById("theReportDiv").innerHTML = "<div class='returnFromScanMessage'>" + unsupportedSystem +"</div>"+theReport;
		else if (retval == 4) 
			document.getElementById("theReportDiv").innerHTML = "<div class='returnFromScanMessage'>" + scannerRunning +"</div>"+theReport;
		else document.getElementById("theReportDiv").innerHTML = "<div class='returnFromScanMessage'>" + scannerReturnedError +"</div>"+theReport;
		cw_showReport();
	}
	
}
var theReport = "";
function cw_make_report(form) {

	var access_to_scanner = 0;
	var access_to_other = 0;

	var unexplained_charges = 0;
	var acting_differently = 0;
	var responded_to_email = 0;
	var opened_attachment = 0;
	var scammed = 0;
	var predator = 0;
	var bully = 0;
	var lost = 0;
	var none_of_above = 0;

	var comprimisedLinks = "";
	var otherLinks = "";

	// load up the XML String that will be available to the CCS from the iframe.
	loadXMLString(form);

	if (form.A.checked) unexplained_charges = 1;
	if (form.B.checked) acting_differently = 1;
	if (form.C.checked) responded_to_email = 1;
	if (form.D.checked) opened_attachment = 1;
	if (form.E.checked) lost = 1;
	if (form.F.checked) scammed = 1;
	if (form.G.checked) bully = 1;
	if (form.H.checked) predator = 1;
	if (form.I.checked) none_of_above = 1;

	if (unexplained_charges || acting_differently || responded_to_email || opened_attachment )
		access_to_scanner = 1;
	if (lost || scammed || bully || predator ) 
		access_to_other = 1;
	if (!access_to_scanner && !access_to_other && !none_of_above) {
		// nothing is checked
		alert("Please make a selection before attempting to generate report.");
		return false;
	}

	theReport = "";
	// Build some html to display based on the user's selected checkboxes.
	// This html content is being wrapped so we can isolate it for printing.
	//theReport += "<a name='topOfReport'></a>";
	theReport += "<div id='printableContent' style='padding:10px;'>";
	if (unexplained_charges) {
		comprimisedLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#unexplainedCharges'>Fraudulent activity on financial accounts</a><br />";
		comprimisedLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#identityTheft'>Victim of identity theft</a><br />";
	}
	if (acting_differently)
		comprimisedLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#actingDifferently'>Malfunctioning computer</a><br />";
	if (responded_to_email)
		comprimisedLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#respondedToEmail'>Responded to unsolicited email or web request</a><br />";
	if (opened_attachment)
		comprimisedLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#openedAttachment'>Opened suspicious attachments in email</a><br />";

	if (lost)
		otherLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#lost'>Lost or stolen computer</a><br />";
	if (scammed)
		otherLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#scammed'>Scammed by online retailer or auction site</a><br />";
	if (bully)
		otherLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#bully'>Cyberbullied or victimized by online stalker</a><br />";
	if (predator)
		otherLinks += "<img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#predator'>Victimized by online predator or pedophile</a><br />";


	// This became more complicted because some of the report sections referred back to the 5 steps in the acting_differently text
	// Which does not show up if you did not select the checkbox that gives you that section of the report.
	if (access_to_scanner) {
		theReport += "<p>" + compromisedText + "</p>";
		theReport += "<p>" + comprimisedLinks + "</p>";
		theReport += "<p>" + access_to_scannerText + "</p>";
		if (BrowserDetect.OS == "Windows") {
			// supported platform
			if (BrowserDetect.browser == "Explorer") {
				// supported browser
				if (BrowserDetect.version >= 6) {
					// supported version
					// you win, you get a button
					theReport += access_to_scannerButton;
				}
				else {
					// unsupported version
					theReport += youAreUsingBrowserOS+"<br />";
					theReport += browserVersionNotSupportedText;
				}
			}
			else {
				// unsupported browser
				theReport += youAreUsingBrowserOS+"<br />";
				theReport += browserNameNotSupportedText;
			}
		}
		else {
			// unsupported platform
			theReport += youAreUsingBrowserOS+"<br />";
			theReport += OSNotSupportedText;
		}

	}
	if (access_to_other) {
		theReport += "<p>" + notComprimisedText + "</p>";
		theReport += "<p>" + otherLinks + "</p>";
	}
	if (access_to_scanner || access_to_other)
		theReport += "<div class='reportSeparator'>&#160;</div>";
	if (unexplained_charges) {
		theReport += "<a name='unexplainedCharges'>&#160;</a>";
		theReport += "<p>" + unexplained_chargesText + "</p>";
		theReport += "<a name='identityTheft'>&#160;</a>";
		theReport += "<p>" + identity_theftText + "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (acting_differently) {
		theReport += "<a name='actingDifferently'>&#160;</a>";
		// need to build this one
		theReport += "<p>";
		theReport += acting_differentlyText;
		theReport += acting_differently_stepsText;
		theReport += closeStepsText;
		theReport += "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (responded_to_email) {
		theReport += "<a name='respondedToEmail'>&#160;</a>";
		theReport += "<p>";
		theReport += responded_to_emailText;
		if (acting_differently) {
			// just tell them to follow the steps in the above section
			theReport += follow_the_stepsText;
		}
		else {
			// have to output the actual steps
			theReport += acting_differently_stepsText;
			theReport += closeStepsText;
		}
		theReport += medical_recordsText;
		theReport += "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (opened_attachment) {
		theReport += "<a name='openedAttachment'>&#160;</a>";
		theReport += "<p>";
		theReport += opened_attachmentText;
		if (acting_differently) {
			// just tell them to follow the steps in the above section
			theReport += follow_the_stepsText;
		}
		else {
			// have to output the actual steps
			theReport += acting_differently_stepsText;
			theReport += closeStepsText;
		}
		theReport += "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (lost) {
		theReport += "<a name='lost'>&#160;</a>";
		theReport += "<p>" + lostText + "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (scammed) {
		theReport += "<a name='scammed'>&#160;</a>";
		theReport += "<p>" + scammedText + "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (bully) {
		theReport += "<a name='bully'>&#160;</a>";
		theReport += "<p>" + bullyText + "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (predator) {
		theReport += "<a name='predator'>&#160;</a>";
		theReport += "<p>" + predatorText + "</p>";
		theReport += "<br /><img src='images/arrow_blue_right.gif' align='absmiddle' width='7' height='15' /> <a href='#topOfReport'>Back to top</a><br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
	}
	if (none_of_above) {
		theReport += "<p>" + none_of_aboveText + "<br />";
		theReport += "<div class='reportSeparator'>&#160;</div>";
		theReport += "</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p><p>&#160;</p>";
	}

	theReport += "</div>"; // end of printableContent
	theReport += "<br />&#160;<br />";

	if (document.getElementById) 
		document.getElementById("theReportDiv").innerHTML = theReport;
	cw_showReport();
	document.location = '#topOfReport';
	return false;
}
function cw_loadIframeCCS() {
	var alertText = "";
                if (BrowserDetect.OS == "Windows") {
                        // supported platform
                        if (BrowserDetect.browser == "Explorer") {
                                // supported browser
                                if (BrowserDetect.version >= 6) {
                                        // supported version
                                }
                                else {
                                        // unsupported version
                                        alertText += youAreUsingBrowserOS+"\n";
                                        alertText += browserVersionNotSupportedText;
                                }
                        }
                        else {
                                // unsupported browser
                                alertText += youAreUsingBrowserOS+"\n";
                                alertText += browserNameNotSupportedText;
                        }
                }
                else {
                        // unsupported platform
                        alertText += youAreUsingBrowserOS+"\n";
                        alertText += OSNotSupportedText;
                }
	if (alertText != "") {
		alert(alertText);
		return false;
	}
	else {
		// ccs_iframe_url is a global defined in domain.js
		if (document.getElementById) {
			document.getElementById("ctl00_cphBody_CCSIFRAME").src = ccs_iframe_url;
		}
		cw_showIframeCCS();
	}
}
function cw_loadIframeIntro() {
	if (document.getElementById) 
		document.getElementById("CCSIntro").src = "ccs_intro.html";
	cw_showIframeIntro();
}
function cw_showForm() {
	if (document.getElementById) {
		// disable the scanner that is running so they can't change thier answers and get back to the same scan in progress.
		document.getElementById("ctl00_cphBody_CCSIFRAME").src = "blank.html";
		//window.frames["ctl00_cphBody_CCSIFRAME"].location.href = "blank.html";
		document.getElementById("theFormDiv").style.display = "block";
		document.getElementById("theReportDiv").style.display = "none";
		document.getElementById("theIframeCCSDiv").style.display = "none";
		document.getElementById("theIframeIntroDiv").style.display = "none";
	}
	cw_updateBreadCrumbs("form")
}
function cw_showReport() {
	if (document.getElementById) {
		document.getElementById("theFormDiv").style.display = "none";
		document.getElementById("theReportDiv").style.display = "block";
		document.getElementById("theIframeCCSDiv").style.display = "none";
		document.getElementById("theIframeIntroDiv").style.display = "none";
	}
	cw_updateBreadCrumbs("report")
}
function cw_showIframeIntro() {
	if (document.getElementById) {
		document.getElementById("theFormDiv").style.display = "none";
		document.getElementById("theReportDiv").style.display = "none";
		document.getElementById("theIframeCCSDiv").style.display = "none";
		document.getElementById("theIframeIntroDiv").style.display = "block";
	}
	cw_updateBreadCrumbs("ccs_intro")
}
function cw_showIframeCCS() {
	if (document.getElementById) {
		document.getElementById("theFormDiv").style.display = "none";
		document.getElementById("theReportDiv").style.display = "none";
		document.getElementById("theIframeCCSDiv").style.display = "block";
		document.getElementById("theIframeIntroDiv").style.display = "none";
	}
	cw_updateBreadCrumbs("ccs_tool")
}

// The browser does not always clear the form when refreshing the page. 
// It does however clear the images, so we need to sync them up.
function syncForm() {
	if (document.getElementById) {
		if (document.forms.questions.A.checked) 
			document.getElementById('imgA').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.B.checked)
			document.getElementById('imgB').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.C.checked)
			document.getElementById('imgC').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.D.checked)
			document.getElementById('imgD').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.E.checked)
			document.getElementById('imgE').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.F.checked)
			document.getElementById('imgF').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.G.checked)
			document.getElementById('imgG').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.H.checked)
			document.getElementById('imgH').src = "images/button_on_focus_no.gif";
		if (document.forms.questions.I.checked)
			document.getElementById('imgI').src = "images/button_on_focus_no.gif";
	}
}
// Need to clear "None of the above" if anything else is selected
function clearNone() {
	if (document.getElementById) {
		document.forms.questions.I.checked = false;
		document.getElementById('imgI').src = "images/button_off_focus_no.gif";
	}
}
// Need to clear all the other checkboxes if "None of the above" is selected
function clearToNone() {
	if (document.getElementById) {
		document.forms.questions.A.checked = false;
		document.getElementById('imgA').src = "images/button_off_focus_no.gif";
		document.forms.questions.B.checked = false;
		document.getElementById('imgB').src = "images/button_off_focus_no.gif";
		document.forms.questions.C.checked = false;
		document.getElementById('imgC').src = "images/button_off_focus_no.gif";
		document.forms.questions.D.checked = false;
		document.getElementById('imgD').src = "images/button_off_focus_no.gif";
		document.forms.questions.E.checked = false;
		document.getElementById('imgE').src = "images/button_off_focus_no.gif";
		document.forms.questions.F.checked = false;
		document.getElementById('imgF').src = "images/button_off_focus_no.gif";
		document.forms.questions.G.checked = false;
		document.getElementById('imgG').src = "images/button_off_focus_no.gif";
		document.forms.questions.H.checked = false;
		document.getElementById('imgH').src = "images/button_off_focus_no.gif";
	}
}
function addPrintIcon() {
	if (document.getElementById) {
		document.getElementById("printIcon").innerHTML = "<a href='javascript:' onclick='cw_printDiv(\"printableContent\",\"Customized Report\");'><img border='0' src='images/icon_print.gif' hspace='20' width='17' height='13' alt='Print'></a>";
	}
}
function removePrintIcon() {
	if (document.getElementById) {
		document.getElementById("printIcon").innerHTML = "";
	}
}
function setPageTitle(page) {
	if (document.getElementById) {
		if (page == "form") 
			document.getElementById("pageTitle").innerHTML = "Assess Your Risks <img class='titleIcon' valign='bottom' src='images/icon_page_on.gif' width='46' height='17' alt='' /><a name='topOfReport'>&#160;</a>";
		else if (page == "report")
			document.getElementById("pageTitle").innerHTML = "Custom Report <img class='titleIcon' valign='bottom' src='images/icon_page_on.gif' width='46' height='17' alt='' /><a name='topOfReport'>&#160;</a>";
		else if (page == "ccs_intro")
			document.getElementById("pageTitle").innerHTML = "Cybercrime Scanner Intro<a name='topOfReport'>&#160;</a>";
		else if (page == "ccs_tool")
			document.getElementById("pageTitle").innerHTML = "Cybercrime Scanner<a name='topOfReport'>&#160;</a>";
	}
}
function cw_updateBreadCrumbs(page) {
	var newBreadHTML = "";
	if (document.getElementById) {
		if (page == "form")  {
			removePrintIcon();
			setPageTitle(page);

			// **** set the breadcrumb . **** //
			newBreadHTML += "<a href='http://mcafee.com/us/about/corporate/fight_cybercrime/index.html'>Home</a>";
			newBreadHTML += " / <a href='index.html'>Cybercrime Response Unit</a>";
			newBreadHTML += " / <span class='youAreHere'>Assess Your Risks</span>";
			document.getElementById("breadCrumbs").innerHTML = newBreadHTML;
		}
		else if (page == "report") {
			addPrintIcon();
			setPageTitle(page);

			// **** set the breadcrumb . **** //
			newBreadHTML += "<a href='http://mcafee.com/us/about/corporate/fight_cybercrime/index.html'>Home<a/>";
			newBreadHTML += " / <a href='index.html'>Cybercrime Response Unit</a>";
			newBreadHTML += " / <a href='javascript:cw_showForm();'>Assess Your Risks</a>";
			newBreadHTML += " / <span class='youAreHere'>Custom Report</span> ";

			document.getElementById("breadCrumbs").innerHTML = newBreadHTML;
		}
		else if (page == "ccs_intro") {
			removePrintIcon();
			setPageTitle(page);

			// **** set the breadcrumb . **** //
			newBreadHTML += "<a href='http://mcafee.com/us/about/corporate/fight_cybercrime/index.html'>Home</a>";
			newBreadHTML += " / <a href='index.html'>Cybercrime Response Unit</a>";
			newBreadHTML += " / <a href='javascript:cw_showForm();'>Assess Your Risks</a>";
			newBreadHTML += " / <a href='javascript:cw_showReport();'>Custom Report</a>";
			newBreadHTML += " / <span class='youAreHere'>Cybercrime Scanner Intro</span>";

			document.getElementById("breadCrumbs").innerHTML = newBreadHTML;
		}
		else if (page == "ccs_tool") {
			removePrintIcon();
			setPageTitle(page);

			// **** set the breadcrumb . **** //
			newBreadHTML += "<a href='http://mcafee.com/us/about/corporate/fight_cybercrime/index.html'>Home</a>";
			newBreadHTML += " / <a href='index.html'>Cybercrime Response Unit</a>";
			newBreadHTML += " / <a href='javascript:cw_showForm();'>Assess Your Risks</a>";
			//newBreadHTML += " / <a href='javascript:cw_showReport();'>Custom Report</a>";
			//newBreadHTML += " / <a href='javascript:cw_showIframeIntro();'>Cybercrime Scanner Intro</a>";
			newBreadHTML += " / Custom Report";
			newBreadHTML += " / Cybercrime Scanner Intro";
			newBreadHTML += " / <span class='youAreHere'>Cybercrime Scanner</span>";

			document.getElementById("breadCrumbs").innerHTML = newBreadHTML;
		}
	}
}
//var access_to_scannerButton = "<p><a href='javascript:cw_loadIframeIntro();'><img id='scannerButton' name='scannerButton' src='images/scanner_button_off.gif' onmouseover=\"swapImage('scannerButton','images/scanner_button_on.gif');\" onmouseout=\"swapImage('scannerButton','images/scanner_button_off.gif')\" width='198' height='19' alt='McAfee Cybercrime Scanner' border='0' /></a></p>";
//var browserNameNotSupportedText = "The McAfee Cybercrime Scanner <b>does not support "+BrowserDetect.browser+".</b> Please use <b>Microsoft's Internet Explorer version 6 or greater.</b>";
//var browserVersionNotSupportedText = "The McAfee Cybercrime Scanner <b>does not support version "+BrowserDetect.version+".</b> Please use <b>Microsoft's Internet Explorer version 6 or greater.</b>";
//var OSNotSupportedText = "The McAfee Cybercrime scanner supports only <b>Microsoft's Internet Explorer version 6 or greater on Windows.</b>";
//var youAreUsingBrowserOS = "<b>You are using "+BrowserDetect.browser + " " + BrowserDetect.version + " on  " + BrowserDetect.OS+"</b>";
var access_to_scannerButton = "<p><a href='javascript:cw_loadIframeIntro();'><img id='scannerButton' name='scannerButton' src='images/scanner_button_off.gif' onmouseover=\"swapImage('scannerButton','images/scanner_button_on.gif');\" onmouseout=\"swapImage('scannerButton','images/scanner_button_off.gif')\" width='198' height='19' alt='McAfee Cybercrime Scanner' border='0' /></a></p>";
var browserNameNotSupportedText = "The McAfee Cybercrime Scanner does not support "+BrowserDetect.browser+". Please use Microsoft's Internet Explorer version 6 or greater.";
var browserVersionNotSupportedText = "The McAfee Cybercrime Scanner does not support version "+BrowserDetect.version+". Please use Microsoft's Internet Explorer version 6 or greater.";
var OSNotSupportedText = "The McAfee Cybercrime scanner supports only Microsoft's Internet Explorer version 6 or greater on Windows.";
var youAreUsingBrowserOS = "You are using "+BrowserDetect.browser + " " + BrowserDetect.version + " on  " + BrowserDetect.OS;
