var divide = new Array();							// Define global variables
var allMatch = new Array();							
var anyMatch = new Array();
var urlMatch = new Array();
var indexer = 0;
var all = false;
var count = 0;
var start = 0;
var urlTest = false;

function validate(text) {							// Check for search method. 
										// Make sure the user enters something
	var entry = text;							// worthwhile. No extra spaces or 
	if (entry.charAt(0) == "+") {						// strings less than 3 characters
		entry = entry.substring(1,entry.length);
		all = true;
		}
	if ((entry.substring(0,4) == "url:") && (all == false)) {
		entry = entry.substring(5,entry.length);
		all = null;
		}
	while (entry.charAt(0) == ' ') {					
		entry = entry.substring(1,entry.length);
		document.forms[0].query.value = entry;
		} 
	while (entry.charAt(entry.length - 1) == ' ') {
		entry = entry.substring(0,entry.length - 1);
		document.forms[0].query.value = entry;
		} 
	if (entry.length < 3) {
		alert("Please Elaborate a little.");
		document.forms[0].query.focus();
		return;
		}
	convertString(entry);
	}

function convertString(reentry) {						// Split the valid string into an array
		searchArray = reentry.split(" ");
		if (all == false) { allowAny(searchArray); return; }
		if (all == true) { requireAll(searchArray); return; }
		if (all == null) { parseURL(searchArray); return; }
	}

function allowAny(t) { 								// Kick off the search, and compare any word 
	for (i = 0; i < profiles.length; i++) {					// the user entered with each element in the database
		var anyConfirmation = true;					// The search loops through each search word and
		var compareElement = profiles[i].toUpperCase();			// each database element
		var refineElement = compareElement.substring(0,compareElement.indexOf('|HTTP'));
		for (j = 0; j < t.length; j++) {
			var compareString = t[j].toUpperCase();
			if (refineElement.indexOf(compareString) != -1 && (anyConfirmation)) {	// If a match is found,	
				anyConfirmation = false;						// put the profile and the  
				anyMatch[indexer] = profiles[i];				// and its corresponding 
				indexer++;							// URL in an array
				}
			}
		}

	if (anyMatch.length == 0) {						// If no matches are found, print a no match
		noMatch();							// HTML document
		return;
		}
	else { formatResults(anyMatch); }					// Otherwise, generate a results document
	}

function requireAll(t) {							 // Incite the search, requiring all search terms entered
	for (i = 0; i < profiles.length; i++) {					// be present in order to qualify matches
		var allConfirmation = true;		
		var allString = profiles[i].toUpperCase();
		var refineAllString = allString.substring(0,allString.indexOf('|HTTP'));
		for (j = 0; j < t.length; j++) { 
			var allElement = t[j].toUpperCase();
			if (refineAllString.indexOf(allElement) == -1) { 
				allConfirmation = false;
				continue; 
				}	
			}
		if (allConfirmation) {
			allMatch[indexer] = profiles[i];
			indexer++;
			}
		}
	if (allMatch.length == 0) {
		noMatch();
		return;
		}
	else { formatResults(allMatch); }
	}

function parseURL(u) {							 	// Incite the search, looking only in the URL portion of the string
	for (i = 0; i < profiles.length; i++) {		
		var urlConfirmation = true;		
		var anyURL = profiles[i].toUpperCase();
		var refineAnyURL = anyURL.substring(anyURL.indexOf('|HTTP'),anyURL.length);
		for (j = 0; j < u.length; j++) { 
			var urlPart = u[j].toUpperCase();
			if (refineAnyURL.indexOf(urlPart) != -1 && (urlConfirmation)) { 
				urlConfirmation = false;
				urlMatch[indexer] = profiles[i];
				indexer++;
				}
			}
		}
	if (urlMatch.length == 0) {
		noMatch();
		return;
		}
	else {
		urlTest = true;
		formatResults(urlMatch);
		}
	}

function noMatch() {								// Dyanmic HTML page with no results
	
	var queryValue2 = document.forms[0].query.value
	
	document.clear();
	document.open();
	document.writeln("<HTML><HEAD><TITLE>ReCon Results</TITLE></HEAD>");
	document.writeln("<BODY BGCOLOR=WHITE TEXT=BLACK>");
	document.writeln("<TABLE WIDTH=450 BORDER=0 ALIGN=CENTER><TR>");
	document.writeln("<TD VALIGN=TOP><FONT FACE='Arial'><B><DL>");
	document.writeln("<HR NOSHADE WIDTH=445>");
	document.writeln("'" + queryValue2 + "' returned no results.");
	document.writeln("<HR NOSHADE WIDTH=445>");
	document.writeln("</TD></TR></TABLE></BODY></HTML>");
	document.close();
	clearOut();
	return;
	}
	
function formatResults(passedArray) {						// Dynamic HTML with results page
	var results = passedArray;	
	var queryValue = document.forms[0].query.value
	var newContent = ""  // Initialize variable
	var newContent2 = "" // Next var
	var newContent3 = ""
	var newContent4 = ""
	
	// Creating Layout
	
	newContent += "<html>\n"
	newContent += "<head>\n"
	newContent += "<title>Image Access, Inc. Advanced Document Imaging Products</title> \n"
	newContent += "<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'>\n"
	newContent += "<meta name=\"description\" CONTENT=\"Home page for Image Access. Image Access is a leading developer of and supplier of modular image capture software, hardware and specialty scanners. A pioneer of document image capture, Image Access' focus for years has been to maximize both speed and accuracy of scanning, image clean up, barcode recognition, zonal text recognition and QC. \"> \n"
    newContent += "<meta name=\"keywords\" CONTENT=\"ImageAccess, Image, Access, bscan, upfront, lite, liteplus, bookeye, grayscale, ocr, icr, omr, zonal, capture, hiscan\"> \n"
	newContent += "<script language=\"JavaScript\" SRC=\"IA1.js\"> \n"
	newContent += "</script> \n"
	newContent += "<script language=\"JavaScript\" SRC=\"IA2.js\"> \n"
	newContent += "</script> \n"
	newContent += "<script language=\"JavaScript\"> \n \r"
	newContent += "function MM_reloadPage(init) {\n"
	newContent += "if (init==true) with (navigator) {if ((appName==\"Netscape\")&&(parseInt(appVersion)==4)) {\n"
	newContent += "document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}\n"
	newContent += "else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); \n"
	newContent += "} \n"
	newContent += "MM_reloadPage(true); \n"
	newContent += "\n"
	newContent += "function MM_findObj(n, d) { \n"
	newContent += "var p,i,x;  if(!d) d=document; if((p=n.indexOf(\"?\"))>0&&parent.frames.length) { \n"
	newContent += "d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} \n"
	newContent += "if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n]; \n"
	newContent += "for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); \n"
	newContent += "if(!x && document.getElementById) x=document.getElementById(n); return x; \n"
	newContent += "} \n \r"
	newContent += "function MM_showHideLayers() { \n"
	newContent += "var i,p,v,obj,args=MM_showHideLayers.arguments; \n"
	newContent += "for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2]; \n"
	newContent += "if (obj.style) { obj=obj.style; v=(v==\"show\")?\"visible\":(v=\"hide\")?\"hidden\":v; } \n"
	newContent += "obj.visibility=v; } \n"
	newContent += "} \n \r"
	newContent += "function MM_preloadImages() { "
	newContent += "var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array(); \n"
	newContent += "var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++) \n"
	newContent += "if (a[i].indexOf(\"#\")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}} \n"
	newContent += "}\n \r"
	newContent += "function MM_swapImgRestore() { \n"
	newContent += "var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; \n"
	newContent += "} \n"
	newContent += "function MM_swapImage() { \n"
	newContent += "var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3) \n"
	newContent += "if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];} \n"
	newContent += "} \n"
	// BP 1

	newContent += "function MM_changeProp(objName,x,theProp,theValue) {\n"
	newContent += "var obj = MM_findObj(objName);\n"
	newContent += "  if (obj && (theProp.indexOf(\"style.\")==-1 || obj.style)) eval(\"obj.\"+theProp+\"=\'\"+theValue+\"\'\"); \n"
	newContent += "}\n \r"
	newContent += "function HideLayers() {\n"
	newContent += "Layer2.style.visibility = \"hidden\" \n"
	newContent += "Layer3.style.visibility = \"hidden\" \n"
	newContent += "}\n \r"
	newContent += "<" + "/script" + "> \n"
	
	newContent += "<" + "/head" + ">" + " \n \r"
	
	// Start of body
	
	newContent2 += "<body bgcolor=\"#FFFFFF\" text=\"#000000\" onLoad=\"MM_preloadImages(\'../images/sub/2b.jpg\',\'../images/sub/3b.jpg\',\'../images/sub/4b.jpg\',\'../images/sub/5b.jpg\',\'../images/sub/6b.jpg\',\'../images/sub/7b.jpg\',\'../images/sub/8b.jpg\',\'../images/sub/9b.jpg\',\'../images/sub/faq2.jpg\',\'../images/sub/direct2.jpg\',\'../images/sub/doc2.jpg\',\'../images/sub/lab2.jpg\')\"> \n"
	newContent2 += "<table width=\"972\" border=\"0\" height=\"78\" cellpadding=\"0\" cellspacing=\"0\"> \n"
	newContent2 += "  <tr> \n"
	newContent2 += "    <td width=\"247\" height=\"64\" valign=\"top\" align=\"left\"> \n"
	newContent2 += "      <p><img src=\"../images/top1.jpg\" width=\"247\" height=\"127\" border=\"0\"></p> \n"
	newContent2 += "    </td> \n"
	newContent2 += "    <td width=\"209\" height=\"64\" align=\"left\" valign=\"top\"><img src=\"../images/top2.jpg\" width=\"209\" height=\"127\" usemap=\"#Map3\" border=\"0\"></td> \n"
	newContent2 += "    <td width=\"284\" height=\"64\" align=\"left\" valign=\"top\"><img src=\"../images/top3.jpg\" width=\"284\" height=\"127\" usemap=\"#Map2\" border=\"0\"></td> \n"
	newContent2 += "    <td width=\"245\" height=\"64\" align=\"left\" valign=\"top\"><img src=\"../images/top4.jpg\" width=\"243\" height=\"127\" usemap=\"#Map4\" border=\"0\"></td> \n"
	newContent2 += "  </tr> \n"
	newContent2 += "</table> \n"
	newContent2 += "<table width=\"981\" border=\"0\" OnMouseOver=\"HideLayers()\" cellpadding=\"0\" cellspacing=\"0\"> \n"
	newContent2 += "  <tr> \n"
	newContent2 += "    <td width=\"248\" height=\"831\" valign=\"top\" align=\"left\"><img src=\"../images/left.jpg\" width=\"247\" height=\"359\" usemap=\"#Map5\" border=\"0\"><img src=\"../images/leftbot.jpg\" width=\"248\" height=\"567\"></td> \n"
	newContent2 += "    <td width=\"733\" height=\"831\" align=\"left\" background=\"../images/back.jpg\" valign=\"top\" bgcolor=\"#FFFFFF\"> \n"
	newContent2 += "      <p><img src=\"../images/setting-cap.jpg\"></p> \n"
	newContent2 += "      <div align=\"left\"></div> \n"
	
	newContent2 += "<p>Search Query: " + queryValue + "</p> \n"
	//newContent2 += "<p>Search Results: " + results.length + "</p> \n"
	newContent2 += "<p>Search Results: " + results.length + "</p> \n"
	
	
	
// Print results
	
	results.sort();
	newContent2 += "<blockquote><DL> \n"
	if (urlTest) {
		for (i = 0; i < results.length ; i++) {
			divide = results[i].split("|"); 			// Print each URL result as a unit of a definition list
			newContent4 += "<DT>" + "<A HREF='javascript:void(parent.opener.location.href = \"" + divide[2] + "\")'>" + divide[2] + "</A>"
			newContent4 += "<DD>" + "<I>" + divide[1] + "</I><P>"
			}
		}
	else {
	for (i = 0; i < results.length ; i++) {
		divide = results[i].split("|"); 			// Print each profile result as a unit of a definition list
			newContent2 += "<DT><a href=\"" + divide[2] + "\">" + divide[0] + "</a> \n"			
			newContent2 += "<DD><i>" + divide[1] + "</i> \n"
			newContent2 += "<p></p> \n"
			}
		}
	newContent2 += "</DL></blockquote>"				// Finish the HTML document
	//newContent4 += "<A HREF=\'javascript: history.go(-1)\'><IMG SRC=\'back.gif\' BORDER=0></A>"
	//newContent4 += "<HR NOSHADE WIDTH=445>"
	
	
	
	
	
	
	newContent2 += "    </td> \n"
	newContent2 += "  </tr> \n"
	newContent2 += "  <tr> \n"
	newContent2 += "    <td width=\"248\" height=\"184\"></td> \n"
	newContent2 += "    <td width=\"733\" height=\"184\" valign=\"top\"> \n"
	newContent2 += "      <div align=\"center\"><a href=\"mailto:webmaster@imageaccess.com\">Question \n"
	newContent2 += "        or suggestion?</a><br> \n"
	newContent2 += "        <font face=\"Arial, Helvetica, sans-serif\" size=\"2\">All Content &copy; \n"
	newContent2 += "        2001 Image Access, Inc. All rights reserved.</font><br> \n"
	newContent2 += "      </div> \n"
	newContent2 += "    </td> \n"
	newContent2 += "  </tr> \n"
	newContent2 += "</table> \n"
	newContent2 += "<map name=\"Map2\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"67,81,177,99\" onMouseOver=\"MM_showHideLayers(\'Layer2\',\'\',\'show\',\'Layer3\',\'\',\'hide\')\" href=\"products.htm\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"187,82,330,97\" onMouseOver=\"MM_showHideLayers(\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'show\')\" href=\"support.htm\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"0,61,341,75\" onMouseOver=\"MM_showHideLayers(\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\')\" href=\"#\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"-9,80,58,97\" href=\"http://www.imageaccess.com\" onMouseOver=\"MM_showHideLayers(\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\')\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"102,15,155,45\" href=\"http://www.imageaccess.com\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"169,13,210,46\" href=\"http://www.imageaccess.de\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"229,15,272,45\" href=\"http://www.bscan.com.br\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"-20,39,47,54\" href=\"tab2.htm\"> \n"
	newContent2 += "</map> \n"
	newContent2 += "<map name=\"Map3\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"158,79,234,97\" href=\"http://www.imageaccess.com\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"16,38,129,53\" href=\"tab1.htm\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"150,38,216,54\" href=\"tab2.htm\"> \n"
	newContent2 += "</map> \n"
	newContent2 += "<div id=\"Layer1\" style=\"position:absolute; width:111px; height:27px; z-index:4; left: 743px; top: 32px\"><img src=\"../images/varsite.gif\" width=\"94\" height=\"25\" usemap=\"#Map6\" border=\"0\"> \n"
	newContent2 += "  <map name=\"Map6\"> \n"
	newContent2 += "    <area shape=\"rect\" coords=\"4,3,89,20\" href=\"var.htm\"> \n"
	newContent2 += "  </map> \n"
	newContent2 += "</div> \n"
	newContent2 += "<map name=\"Map4\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"18,82,128,96\" href=\"company.htm\" onMouseOver=\"MM_showHideLayers(\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\')\"> \n"
	newContent2 += "  <area shape=\"rect\" coords=\"256,42,271,65\" href=\"usr.htm\"> \n"
	
	newContent3 += "  <area shape=\"rect\" coords=\"-5,60,142,75\" href=\"#\" onMouseOver=\"MM_showHideLayers(\'Layer2\',\'\',\'hide\',\'Layer3\',\'\',\'hide\')\"> \n"
	newContent3 += "</map> \n"
	
	newContent3 += "<map name=\"Map5\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"70,48,183,69\" href=\"testimonials.htm\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"68,76,184,96\" href=\"mission.htm\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"69,102,185,124\" href=\"sales.htm\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"69,129,184,150\" href=\"press.htm\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"68,156,185,175\" href=\"employment.htm\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"68,182,184,201\" href=\"reg.htm\"> \n"
	newContent3 += "  <area shape=\"rect\" coords=\"68,208,188,229\" href=\"contact.htm\"> \n"
	newContent3 += "</map> \n"
	
	newContent3 += "<div id=\"Layer4\" style=\"position:absolute; width:209px; height:179; z-index:1; left: 25px; top: 455px; background-image:  url(../images/leftbotmenu.jpg); layer-background-image:  url(../images/leftbotmenu.jpg); border: 1px none #000000\"> \n"
	newContent3 += "  <form name=\"search\" onsubmit=\"validate(document.forms[0].query.value); return false;\"> \n"
	newContent3 += "    <p><br> \n"
	newContent3 += "    </p> \n"
	newContent3 += "          <p>&nbsp;</p> \n"
	newContent3 += "    <p> &nbsp; \n"
	newContent3 += "      <input type=\"text\" name=\"query\"> \n"
	newContent3 += "      <input type=\"image\" src=\"../images/go.jpg\" border=\"0\" align=\"absmiddle\" name=\"image2\" width=\"26\" height=\"21\"> \n"
	newContent3 += "          <p>&nbsp; <br> \n"
	newContent3 += "            &nbsp; \n"
	newContent3 += "<select name=\"select\" size=\"1\" onChange=\"location.href=options[selectedIndex].value\"> \n"
	newContent3 += "        <option selected>Select Department</option> \n"
	newContent3 += "        <option value=\"mailto:sales@imageaccess.com\">Sales </option> \n"
	newContent3 += "        <option value=\"mailto:cservice@imageaccess.com\">Customer Service</option> \n"
	newContent3 += "        <option value=\"mailto:support@imageaccess.com\">Tech Support</option> \n"
	newContent3 += "        <option value=\"mailto:admin@imageaccess.com\">Administration</option> \n"
	newContent3 += "        <option value=\"mailto:marketing@imageaccess.com\">Marketing</option> \n"
	newContent3 += "        <option value=\"mailto:webmaster@imageaccess.com\">Webmaster</option> \n"
	newContent3 += "      </select> \n"
	newContent3 += "          </p> \n"
	newContent3 += "          </form> \n"
	newContent3 += "</div> \n"
	
	newContent3 += "<div id=\"Layer2\" style=\"position:absolute; width:118px; height:266px; z-index:2; left: 533px; top: 114px; visibility: hidden\"> \n"
	newContent3 += "  <p><img src=\"../images/sub/1.jpg\" width=\"117\" height=\"9\"><br> \n"
	newContent3 += "    <a href=\"prod-standard.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image1\',\'\',\'../images/sub/2b.jpg\',1)\"><img src=\"../images/sub/2.jpg\" width=\"117\" height=\"24\" border=\"0\" name=\"Image1\"></a><a href=\"prod-liteplus.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image2\',\'\',\'../images/sub/3b.jpg\',1)\"><img src=\"../images/sub/3.jpg\" width=\"117\" height=\"23\" border=\"0\" name=\"Image2\"></a><a href=\"prod-lite.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image3\',\'\',\'../images/sub/4b.jpg\',"
	newContent3 += "1)\"><img src=\"../images/sub/4.jpg\" width=\"117\" height=\"24\" border=\"0\" name=\"Image3\"></a><a href=\"prod-upfront.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image4\',\'\',\'../images/sub/5b.jpg\',1)\"><img src=\"../images/sub/5.jpg\" width=\"117\" height=\"23\" border=\"0\" name=\"Image4\"></a><a href=\"prod-fastpack.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image5\',\'\',\'../images/sub/6b.jpg\',1)\"><img src=\"../images/sub/6.jpg\" width=\"117\" height=\"24\" border=\"0\" name=\"Image5\"></a><a href=\"prod-be.htm\" on"
	newContent3 += "MouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image6\',\'\',\'../images/sub/7b.jpg\',1)\"><img src=\"../images/sub/7.jpg\" width=\"117\" height=\"23\" border=\"0\" name=\"Image6\"></a><a href=\"prod-hiscan.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image7\',\'\',\'../images/sub/8b.jpg\',1)\"><img src=\"../images/sub/8.jpg\" width=\"117\" height=\"24\" border=\"0\" name=\"Image7\"></a><a href=\"prod-lab.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image8\',\'\',\'../images/sub/9b.jpg\',1)\"><img src=\"../images"
	newContent3 += "/sub/9.jpg\" width=\"117\" height=\"25\" border=\"0\" name=\"Image8\"></a><img src=\"../images/sub/10.jpg\" width=\"117\" height=\"44\"> \n"
	newContent3 += "  </p> \n"
	newContent3 += "</div> \n"
	newContent3 += "<div id=\"Layer3\" style=\"position:absolute; width:118px; height:115px; z-index:3; left: 651px; top: 113px; visibility: hidden\"><img src=\"../images/sub/support-top.jpg\" width=\"117\" height=\"11\"><br> \n"
	newContent3 += "  <a href=\"sup-faq.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image9\',\'\',\'../images/sub/faq2.jpg\',1)\"><img src=\"../images/sub/faq1.jpg\" width=\"117\" height=\"23\" border=\"0\" name=\"Image9\"></a><a href=\"sub-dir.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image10\',\'\',\'../images/sub/direct2.jpg\',1)\"><img src=\"../images/sub/direct1.jpg\" width=\"117\" height=\"23\" border=\"0\" name=\"Image10\"></a><a href=\"sup-doc.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image11\',\'\',\'../i"
	newContent3 += "mages/sub/doc2.jpg\',1)\"><img src=\"../images/sub/doc1.jpg\" width=\"117\" height=\"24\" border=\"0\" name=\"Image11\"></a><a href=\"sup-lab.htm\" onMouseOut=\"MM_swapImgRestore()\" onMouseOver=\"MM_swapImage(\'Image12\',\'\',\'../images/sub/lab2.jpg\',1)\"><img src=\"../images/sub/lab1.jpg\" width=\"117\" height=\"23\" border=\"0\" name=\"Image12\"></a><img src=\"../images/sub/support-bot.jpg\" width=\"117\" height=\"41\"> \n"
	newContent3 += "</div> \n"

	// End
	
	




	//document.clear();
	//document.open();
	document.write(newContent);
	document.write(newContent2);
	document.write(newContent3);
	//document.write(newContent4);
	document.write("<" + "/body" + "> \n")
	document.write("<" + "/html" + ">" + " \n")
	
	document.close(); // Close the stream.
	clearOut();
	}


function clearOut() {								// Clear the arrays and variables generated from the current search
	allMatch.length = 0;	anyMatch.length = 0;
	urlMatch.length = 0;	divide.length = 0;
	indexer = 0;	all = false; 	urlTest = false;
	
	//document.forms[0].query.select();
	}
