
function search(){		//start of the function

title = new Object();		// this section creates the new objects that are going to be used in the search
desc = new Object();
links= new Object();
matched= new Object();
keywords= new Object();
found= new Object();
var temp=0;
// actual location or the item to be searched
// description of he location
// actual link
// percentage match found
// keywords as parsed from the input
// # of titles present in the database
title[0]=63
//no of keywords after parsing
keywords[0]=0
//no of  matches found.
found[0]=0

<!-- Begin List of Searchable Items -->

<!--put the list of the links and descriptions here!!-->

title[1]="Axiom servo smartrak pinless metering case packers casepackers tray traypackers knock-down knockdown rsc pre-glued preglued knock down stainless steel intermittent continuous Velocity stacker corrugated"
desc[1]="Axiom Servo Case/Tray Packers"
links[1]="http://www.douglas-machine.com/case_tray_packers/axiom_servo.asp"
matched[1]=0

title[2]="mechanical smartrak pinless metering case packers casepackers tray traypackers knock-down knockdown rsc pre-glued preglued knock down stainless steel continuous Velocity stacker corrugated"
desc[2]="Continuous Motion Mechanical Case/Tray Packers"
links[2]="http://www.douglas-machine.com/case_tray_packers/cm_mechanical.asp"
matched[2]=0

title[3]="smartrak pinless metering case packers casepackers tray traypackers knock-down knockdown rsc pre-glued preglued knock down stainless steel intermittent Velocity stacker corrugated"
desc[3]="Intermittent Motion Mechanical Case/Tray Packers"
links[3]="http://www.douglas-machine.com/case_tray_packers/im_mechanical.asp"
matched[3]=0

title[4]="Axiom servo mechanical Contour 30/50 T-30 T-50 T-Series T Series T-75 T-105 T30 T50 75/105 T 75 T 105 T75 T105 smartrak pinless meteringAxiom servo smartrak pinless metering case packers casepackers tray traypackers knock-down knockdown rsc pre-glued preglued knock down stainless steel intermittent continuous Velocity stacker corrugated"
desc[4]="Case/Tray Packers - Overview"
links[4]="http://www.douglas-machine.com/case_tray_packers/index.asp"
matched[4]=0


title[5]="Contour tray packers traypackers servo smartrak pinless metering 30/50 T-30 T-50 T 30 50 T-30 T-50 T-Series T Series pad u-board u board"
desc[5]="T-30/50 Case/Tray Packers"
links[5]="http://www.douglas-machine.com/case_tray_packers/T-30-50.asp"
matched[5]=0

title[6]="Contour tray packers traypackers servo smartrak pinless metering 75/105 T-75 T-105 T 75 105 T-75 T-105 T-Series T Series pad u-board u board"
desc[6]="T-75/105 Case/Tray Packers"
links[6]="http://www.douglas-machine.com/case_tray_packers/T-75-105.asp"
matched[6]=0



title[7]="Douglas machine corporation apv davis esop partners in excellence award 2002 international trade award history past"
desc[7]="History - About Us"
links[7]="http://www.douglas-machine.com/history.asp"
matched[7]=0


title[8]="Aluminum plating finishing anodizing anodize hard-coat hard coat irradiate embrittlement metal"
desc[8]="Aluminum Anodizing"
links[8]="http://www.douglas-machine.com/finishing/aluminum.asp"
matched[8]=0


title[9]="Barrel zinc plating chromate finishing clear yellow hydrogen embrittlement metal"
desc[9]="Barrel Zinc Plating"
links[9]="http://www.douglas-machine.com/finishing/zinc.asp"
matched[9]=0


title[10]="Douglas Machine Inc. alexandria finishing metal zinc barrel electroless nickel aluminum anodizing anodize powder coating painting plating"
desc[10]="Alexandria Finishing - Overview"
links[10]="http://www.douglas-machine.com/finishing/index.asp"
matched[10]=0

title[11]="Electroless nickel plating finishing high phosphorous metal low chrome hard embrittlement"
desc[11]="Electroless Nickel Plating"
links[11]="http://www.douglas-machine.com/finishing/nickel.asp"
matched[11]=0

title[12]="Powder coating painting"
desc[12]="Powder Coating"
links[12]="http://www.douglas-machine.com/finishing/powder.asp"
matched[12]=0

title[13]="Zinc chromate finishing clear yellow hydrogen embrittlement plating metal"
desc[13]="Zinc Plating"
links[13]="http://www.douglas-machine.com/finishing/zinc.asp"
matched[13]=0

title[14]="Beverage industry case packers casepackers tray traypackers axiom contour shrink-wrapper shrink-wrapping shrink wrapper cartoner film pad u-board unsupported spectrum multipackers bundles bundler paperboard corrugated cartons bottle jar can pet dairy soft drink pop soda beer wine alcoholic water bottled energy drink breweries wineries nutraceutical brewery"
desc[14]="Beverage Industries"
links[14]="http://www.douglas-machine.com/industries/beverage.asp"
matched[14]=0

title[15]="Food industry case packers casepackers tray traypackers axiom contour shrink-wrapper shrink-wrapping cartoner shrink film pad u-board unsupported spectrum apex multipackers sleevers sleeving paperboard corrugated cartons bottles jars cans cups tubs tubes pet cereal grain dairy yogurt vegetables meat fruit canning frozen food canners frozen"
desc[15]="Food Industries"
links[15]="http://www.douglas-machine.com/industries/food.asp"
matched[15]=0

title[16]="Petrochemical motor oil grease air filters chemicals cleaning finishing resin paint case packers casepackers tray packers traypackers axiom contour shrink-wrappers shrink-wrapping cartons cartoners shrink film pad u-board unsupported spectrum apex multipackers sleevers sleeving paperboard corrugated cartons paper textiles pharmaceutical personal care medical"
desc[16]="Other Industries"
links[16]="http://www.douglas-machine.com/industries/otherindustries.asp"
matched[16]=0

title[17]="Spectrum servo mechanical multipackers cartoners multipacks cartons cartoning multipacking multi-packs paperboard fiber board fibre e-flute"
desc[17]="Multipackers - Overview"
links[17]="http://www.douglas-machine.com/multipackers/index.asp"
matched[17]=0

title[18]="Multipackers cartoners multipacks cartons multipacking mechanical multi-packs multi-pack paperboard fiber board fibre board e-flute"
desc[18]="Mechanical Multipackers"
links[18]="http://www.douglas-machine.com/multipackers/mechanical_multipackers.asp"
matched[18]=0

title[19]="Spectrum servo multipackers cartoners cartoning multipackers cartoner multipacks cartons multipacking multipacks multi-packs paperboard fiber board fibre board e-flute"
desc[19]="Spectrum Servo Multipackers"
links[19]="http://www.douglas-machine.com/multipackers/spectrum_servo_multipackers.asp"
matched[19]=0

title[20]="reciprocating placers rotary top sealers tray formers sealers"
desc[20]="Other Solutions - Overview"
links[20]="http://www.douglas-machine.com/other_solutions/index.asp"
matched[20]=0

title[21]="Lane dividers servo"
desc[21]="Lane Dividers"
links[21]="http://www.douglas-machine.com/other_solutions/lane_dividers.asp"
matched[21]=0

title[22]="Reciprocating placers reciprocaters nested non-nested inserting outserting feeders feeding hoppers"
desc[22]="Reciprocating Placers"
links[22]="http://www.douglas-machine.com/other_solutions/reciprocating.asp"
matched[22]=0

title[23]="Rotary placers placement coupons inserts mini-rotary feeders feeding"
desc[23]="Rotary Placers"
links[23]="http://www.douglas-machine.com/other_solutions/rotary.asp"
matched[23]=0

title[24]="Top sealers cartons shippers sealing shipper cases hand-packing hand-packing"
desc[24]="Top Sealers"
links[24]="http://www.douglas-machine.com/other_solutions/top_sealers.asp"
matched[24]=0

title[25]="tray formers s-90 s-100 space saver sstf telescope clamshell end-slotted side-slotted end side slotted top loading loader"
desc[25]="Tray Formers"
links[25]="http://www.douglas-machine.com/other_solutions/tray_formers.asp"
matched[25]=0

title[26]="Contour shrink-wrappers shrink wrappers multiwrappers multi-wrappers bundlers bundles packers servo wrapping wand smartrak pinless metering 30/50 S-30 S-50 SPS-30 SPS-50 T-Series T Series S-Series S SPS SPS-Series M-Series M M-75 M-105 S-75 S-105 SPS-75 T-105 75/105 wrapping pad padless tray unsupported u-board u board film"
desc[26]="Shrink-Wrap Systems - Overview"
links[26]="http://www.douglas-machine.com/shrink_wrap_systems/index.asp"
matched[26]=0

title[27]="Contour shrink-wrappers shrink wrappers multiwrappers multi-wrappers bundlers bundles packers servo wrapping wand smartrak pinless metering M-75 M-105 M 75 105 M75 M105 75/105 M-Series pad padless u-board u board film"
desc[27]=" Contour M-75/105 Shrink-Wrappers"
links[27]="http://www.douglas-machine.com/shrink_wrap_systems/M-75-105.asp"
matched[27]=0

title[28]="Contour shrink-wrappers shrink wrappers servo wrapping wand 30/50 S-30 S-50 S30 S50 S 30 50 S-Series wrapping tray film"
desc[28]="Contour S-30/50 Shrink-Wrappers"
links[28]="http://www.douglas-machine.com/shrink_wrap_systems/S-30-50.asp"
matched[28]=0

title[29]="Contour shrink-wrappers shrink wrappers servo wrapping wand 75/105 S-75 S-105 S75 S105 S 75 105 S-Series tray film"
desc[29]="Contour S-75/105 Shrink-Wrappers"
links[29]="http://www.douglas-machine.com/shrink_wrap_systems/S-75-105.asp"
matched[29]=0

title[30]="Contour shrink-wrappers shrink wrappers multiwrappers multi-wrappers bundlers bundles packers servo wrapping wand smartrak pinless metering 30/50 SPS-30 SPS-50 SPS 30 50 SPS30 SPS50 SPS-Series SPS pad padless tray unsupported u-board u board film"
desc[30]="Contour SPS-30/50 Shrink-Wrappers"
links[30]="http://www.douglas-machine.com/shrink_wrap_systems/SPS-30-50.asp"
matched[30]=0

title[31]="Contour shrink-wrappers shrink wrappers multiwrappers multi-wrappers bundlers bundles packers servo wrapping wand smartrak pinless metering pinless 75/105 SPS-75 SPS-105 SPS 75 105 SPS75 SPS105 SPS-Series Series pad padless"
desc[31]="Contour SPS-75/105 Shrink Packers"
links[31]="http://www.douglas-machine.com/shrink_wrap_systems/SPS-75-105.asp"
matched[31]=0

title[32]="Contour tray packers traypackers servo smartrak pinless metering 30/50 T-30 T-50 T 30 50 T-30 T-50 T-Series pad tray u-board u board"
desc[32]="Contour T-30/50 Tray Packers"
links[32]="http://www.douglas-machine.com/shrink_wrap_systems/T-30-50.asp"
matched[32]=0

title[33]="Contour tray packers traypacker servo smartrak pinless metering 75/105 T-75 T-105 T 75 105 T-75 T-105 T-Series pad tray u-board u board"
desc[33]="Contour T-75/105 Tray Packers"
links[33]="http://www.douglas-machine.com/shrink_wrap_systems/T-75-105.asp"
matched[33]=0

title[34]="Apex servo sleevers sleeve sleeving cartoners cartoning multipacks cartons multipacking multipacks multi-packs"
desc[34]="Apex Servo Sleevers"
links[34]="http://www.douglas-machine.com/sleevers/apex_servo_sleevers.asp"
matched[34]=0

title[35]="Apex servo mechanical sleevers sleeve sleeving cartoners cartoning multipacks cartons multipacking multipacks multi-packs"
desc[35]="Sleevers - Overview"
links[35]="http://www.douglas-machine.com/sleevers/index.asp"
matched[35]=0

title[36]="mechanical sleevers sleeve sleeving cartoners cartoning multipacks cartons multipacking multipacks multi-packs"
desc[36]="Mechanical Sleevers"
links[36]="http://www.douglas-machine.com/sleevers/mechanical_sleevers.asp"
matched[36]=0

title[37]="Operator manual service documentation oem bulletins assembly prints electrical drawings programs plc program screens maintenance spare parts"
desc[37]="Machine Documentation"
links[37]="http://www.douglas-machine.com/support/machine_documentation.asp"
matched[37]=0

title[38]="reliability assurance program technical support regional audit preventive maintenance"
desc[38]="Reliability Assurance Program"
links[38]="http://www.douglas-machine.com/support/reliability.asp"
matched[38]=0

title[39]="Parts replacement in-stock spare parts order form replacement expedited"
desc[39]="Replacement Parts"
links[39]="http://www.douglas-machine.com/support/replacement_parts.asp"
matched[39]=0

title[40]="Technical support service field regional technician preventive maintenance surveys audits modifications emergency routine training courtesy visits apv douglas davis engineering dimension industries acculift tech"
desc[40]="Technical Support"
links[40]="http://www.douglas-machine.com/support/tech_support.asp"
matched[40]=0

title[41]="Training factory certified trainers formal manuals operator service education classes"
desc[41]="Training & Education"
links[41]="http://www.douglas-machine.com/multipackers/mechanical_multipackers.asp"
matched[41]=0

title[42]="warranty 3-year 3 year"
desc[42]="3 Year Warranty"
links[42]="http://www.douglas-machine.com/support/warranty.asp"
matched[42]=0

title[43]="news archived"
desc[43]="Archived News"
links[43]="http://www.douglas-machine.com/newatdouglas.asp"
matched[43]=0

title[44]="Douglas machine inc jobs careers cnc machinist electrical designer engineer field service technician mechanical microcomputer support technician assembler employment openings"
desc[44]="Careers at Douglas"
links[44]="http://www.douglas-machine.com/contact.asp"
matched[44]=0

title[45]="Douglas machine davis business unit acculift dimension industries apv Rockford Alexandria deerwood ironton Minnesota engineering e-mail phone address"
desc[45]="Contact Douglas"
links[45]="http://www.douglas-machine.com/multipackers/mechanical_multipackers.asp"
matched[45]=0

title[46]="copyright disclaimer"
desc[46]="Copyright & Disclaimer"
links[46]="http://www.douglas-machine.com/copyright.asp"
matched[46]=0

title[47]="Pack expo international 2007 mccormick place convention center china brew beverage china international exhibition centre"
desc[47]="Upcoming Events"
links[47]="http://www.douglas-machine.com/events.asp"
matched[47]=0

title[48]="douglas machine home index"
desc[48]="Douglas Machine - Home"
links[48]="http://www.douglas-machine.com/index.asp"
matched[48]=0

title[49]="Douglas machine inc. Alexandria deerwood ironton map maps driving directions location"
desc[49]="Maps - Directions"
links[49]="http://www.douglas-machine.com/maps.html"
matched[49]=0

title[50]="Douglas machine inc biblically-based mission statement values ethics company about us"
desc[50]="Missions/Values"
links[50]="http://www.douglas-machine.com/mission_values.asp"
matched[50]=0

title[51]="Refurbishments modifications rebuild rebuilt upgrades used machines"
desc[51]="Refurbishment/Modifications"
links[51]="http://www.douglas-machine.com/refurb_mod.asp"
matched[51]=0

title[52]="employee owners trade stocks ownership finance esop corporation"
desc[52]="Employee Owners"
links[52]="http://www.douglas-machine.com/employee_owners.asp"
matched[52]=0

title[53]="finishing contact alexandria directions maps map"
desc[53]="Alexandria Finishing Contact"
links[53]="http://www.douglas-machine.com/finishingcontact.asp"
matched[53]=0

title[54]="invex case packers tray pinless stacker new"
desc[54]="Invex&#8482; Case and Tray Packers"
links[54]="http://www.douglas-machine.com/case_tray_packers/invex.asp"
matched[54]=0

title[55]="axiom dl bcl continuous motion case tray packers pinless stacker new"
desc[55]="Axiom&reg; DL or BCL Continuous Motion Case and Tray Packers"
links[55]="http://www.douglas-machine.com/case_tray_packers/axiom_dl_bcl.asp"
matched[55]=0

title[56]="axiom invex contour shrink wrappers flash ads commercials videos swf animation movie clip bullseye clearcase"
desc[56]="Douglas Flash Ads"
links[56]="http://www.douglas-machine.com/flashads.asp"
matched[56]=0

title[57]="contour 105 tray packer shrink wrap systems"
desc[57]="New Contour&#8482; 105 Series Tray Packers and Shrink-Wrap Systems"
links[57]="http://www.douglas-machine.com/newatdouglas.asp"
matched[57]=0

title[58]="slipstream LS pinless metering"
desc[58]="New Slipstream&#8482; LS Pinless Metering reduces costs"
links[58]="http://www.douglas-machine.com/newatdouglas.asp"
matched[58]=0

title[59]="velocity stacker high speed servo"
desc[59]="New Velocity&#8482; High Speed Servo Stacker"
links[59]="http://www.douglas-machine.com/newatdouglas.asp"
matched[59]=0

title[60]="spectrum servo multipacker"
desc[60]="New Spectrum&reg; Servo Multipackers reduce operating costs"
links[60]="http://www.douglas-machine.com/newatdouglas.asp"
matched[60]=0

title[61]="sitemap directory website search pdf brochures case tray finishing industries shrink wrap sleevers support links download"
desc[61]="Sitemap - Douglas Machine Inc."
links[61]="http://www.douglas-machine.com/sitemap.asp"
matched[61]=0

title[62]="pdf douglas brochures documentation print save"
desc[62]="Douglas Brochures"
links[62]="http://www.douglas-machine.com/douglasbrochures.asp"
matched[62]=0

title[63]="douglas foundation charity united way faith education social support contact"
desc[63]="The Douglas Foundation"
links[63]="http://www.douglas-machine.com/foundation.asp"
matched[63]=0














<!-- End list of Searchable items -->


var skeyword=document.searchengine.keywords.value.toLowerCase();  //converts all the search words to lower case
var check=1;
var pos=0;
var i=0;				// setting up variables for the loop in this section
var j=0;
var  itemp=0;
var config='';

while (true)
	{
	if (skeyword.indexOf("+") == -1 )		//this loop is matching up database keywords against user input keywords
		{									// also keeps track of the number of hits it has as well when they match
		keywords[check]=skeyword;
		break;
		}
	pos=skeyword.indexOf("+");
	if (skeyword !="+")
	{
	keywords[check]=skeyword.substring(0,pos);
	check++;
	}
	else
	{
	check--;
	break;
	}
	skeyword=skeyword.substring(pos+1, skeyword.length);
	if (skeyword.length ==0)
		{
		check--;
		break;
		}

	}
// the keywords have been put in keywords object.
keywords[0]=check;

// matching and storing the matches in matched
for ( i=1; i<=keywords[0];i++)
	{
	for (j=1;j<=title[0];j++)
		{
		if (title[j].toLowerCase().indexOf(keywords[i]) > -1 )
			{
			  matched[j]++;
			}
		}
	}
// putting all the indexes of the matched records  in found

for (i=1;i<=title[0];i++)
{
	if (matched[i] > 0 )
		{
		  found[0]++;
		// increment the found
		  found[found[0]]=i;

		}
}



for (i=1;i<=found[0]-1;i++)
	{
	for(j=i+1;j<=found[0];j++)
		{
		if ( matched[found[i]]< matched[found[j]] )
			{
			temp= found[j];
			found[j]=found[i];
			found[i]=temp;
			}
		}
	}

// end of sort

output = self;							// all the code in this area is where the page is dynamically created, all html tags used on the page
output.document.write('<html>');		// are found here. if you want to edit the page you will hve to seach out the section you want to change
output.document.write('<head>');		// and then edit the tag or the attributes for the tags here.
output.document.write('<script>');
output.document.write('window.onerror=new Function("return true")');
output.document.write('<\/script>');
output.document.write('<script src="http://www.douglas-machine.com/searchengine.js">');
output.document.write('</script>');
output.document.write('<title> Search Results </title>');
output.document.write('<style type="text/css"><!--.rightColumnCopy {font-family: Arial, Helvetica, sans-serif;font-size: xx-small;color: #000000;}</style>');
output.document.write('<link href="http://www.douglas-machine.com/childCopy.css" rel="stylesheet" type="text/css">');
output.document.write('</head>');
output.document.write('<body bgcolor="727681">');
output.document.write('<div id="header" style="position:absolute; left:112px; top:-1px; width:536px; height:119px; z-index:20; visibility: visible;">');
output.document.write('<table border="0" cellpadding="0" cellspacing="0" width="751">');
output.document.write('<tr> ');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="158" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="110" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="21" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="56" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="21" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="81" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="16" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="103" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="174" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="11" height="1" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="1" height="1" border="0" alt=""></td>');
output.document.write('</tr>');
output.document.write('<tr> ');
output.document.write('<td colspan="10"><img name="header_r1_c1" src="http://www.douglas-machine.com/header/images/header_r1_c1.png" width="751" height="72" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="1" height="72" border="0" alt=""></td>');
output.document.write('</tr>');
output.document.write('<tr> ');
output.document.write('<td rowspan="3"><img name="header_r2_c1" src="http://www.douglas-machine.com/header/images/header_r2_c1.png" width="158" height="59" border="0" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c2" src="http://www.douglas-machine.com/header/images/header_r2_c2.png" width="110" height="27" border="0" usemap="#m_header_r2_c2" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c3" src="http://www.douglas-machine.com/header/images/header_r2_c3.png" width="21" height="27" border="0" usemap="#m_header_r2_c3" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c4" src="http://www.douglas-machine.com/header/images/header_r2_c4.png" width="56" height="27" border="0" usemap="#m_header_r2_c4" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c5" src="http://www.douglas-machine.com/header/images/header_r2_c5.png" width="21" height="27" border="0" usemap="#m_header_r2_c5" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c6" src="http://www.douglas-machine.com/header/images/header_r2_c6.png" width="81" height="27" border="0" usemap="#m_header_r2_c6" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c7" src="http://www.douglas-machine.com/header/images/header_r2_c7.png" width="16" height="27" border="0" usemap="#m_header_r2_c7" alt=""></td>');
output.document.write('<td rowspan="2"><img name="header_r2_c8" src="http://www.douglas-machine.com/header/images/header_r2_c8.png" width="103" height="27" border="0" usemap="#m_header_r2_c8" alt=""></td>');
output.document.write('<td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="174" height="26">');
output.document.write('<param name="movie" value="http://www.douglas-machine.com/flash%20files/bright.swf">');
output.document.write('<param name=quality value=high>');
output.document.write('<embed src="http://www.douglas-machine.com/flash%20files/bright.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="174" height="26"></embed>');
output.document.write('</object></td>');
output.document.write('<td rowspan="3"><img name="header_r2_c10" src="http://www.douglas-machine.com/header/images/header_r2_c10.png" width="11" height="59" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="1" height="26" border="0" alt=""></td>');
output.document.write('</tr>');
output.document.write('<tr> ');
output.document.write('<td rowspan="2"><img name="header_r3_c9" src="http://www.douglas-machine.com/header/images/header_r3_c9.png" width="174" height="33" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="1" height="1" border="0" alt=""></td>');
output.document.write('</tr>');
output.document.write('<tr> ');
output.document.write('<td colspan="7"><img name="header_r4_c2" src="http://www.douglas-machine.com/header/images/header_r4_c2.png" width="408" height="32" border="0" alt=""></td>');
output.document.write('<td><img src="http://www.douglas-machine.com/header/images/spacer.gif" width="1" height="32" border="0" alt=""></td>');
output.document.write('</tr>');
output.document.write('<map name="m_header_r2_c2">');
output.document.write('<area shape="poly" coords="131,0,110,27,0,27,0,16,26,11,48,4,53,0,131,0" href="http://www.douglas-machine.com" alt="">');
output.document.write('</map>');
output.document.write('<map name="m_header_r2_c3">');
output.document.write('<area shape="poly" coords="20,0,98,0,77,27,0,27,20,0" href="#" alt="">');
output.document.write('<area shape="poly" coords="21,0,0,27,-110,27,-110,16,-84,11,-62,4,-57,0,21,0" href="#" alt="">');
output.document.write('</map>');
output.document.write('<map name="m_header_r2_c4">');
output.document.write('<area shape="poly" coords="-1,0,77,0,56,27,-21,27,-1,0" href="http://www.douglas-machine.com/newatdouglas.asp" alt="">');
output.document.write('</map>');
output.document.write('<map name="m_header_r2_c5">');
output.document.write('<area shape="poly" coords="21,0,118,0,102,27,0,27,21,0" href="#" alt="">');
output.document.write('<area shape="poly" coords="-57,0,21,0,0,27,-77,27,-57,0" href="#" alt="">');
output.document.write('</map>');
output.document.write('<map name="m_header_r2_c6">');
output.document.write('<area shape="poly" coords="0,0,97,0,81,27,-21,27,0,0" href="http://www.douglas-machine.com/contact.asp" alt="">');
output.document.write('</map>');
output.document.write('<map name="m_header_r2_c7">');
output.document.write('<area shape="poly" coords="17,0,119,0,119,27,0,27,17,0" href="#" alt="">');
output.document.write('<area shape="poly" coords="-81,0,16,0,0,27,-102,27,-81,0" href="#" alt="">');
output.document.write('</map>');
output.document.write('<map name="m_header_r2_c8">');
output.document.write('<area shape="poly" coords="1,0,103,0,103,27,-16,27,1,0" href="#" alt="">');
output.document.write('</map>');
output.document.write('</table>');
output.document.write('</div>');
output.document.write('<div id="fade" style="position:absolute; left:61px; top:0px; width:873px; height:750; z-index:1; background-image:      url(http://www.douglas-machine.com/images/fade_600px.jpg); layer-background-image:      url(http://www.douglas-machine.com/images/fade_600px.jpg); border: 1px none #000000; visibility: visible;">');
output.document.write('<p><br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p><br>');
output.document.write('</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('</div>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<div id="copy" style="position:absolute; left:113px; top:126px; width:749px; height:945px; z-index:12; background-color: #FFFFFF; layer-background-color: #FFFFFF; visibility: visible;"> ');
output.document.write('<br>');
output.document.write('<br>');
output.document.write(' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The Keyword(s) you searched :: '.small() )
for (i=1;  i<=keywords[0]; i++)
	{
	output.document.write( keywords[i].small() +"   ");	//this section is where the keywords used are out put to the page
	}
output.document.write('<br>');

if (found[0]==0)
	{
	//alert(found[0]);
	output.document.write('<hr>');		// this is the error handling section where if you don't have any hits with your search you get this display
	output.document.write("<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No matches found</b> <br>");
	output.document.write(" ");
	}
else
	{
	// data has been found		// this section is where the number of matching results found it output to the page
	output.document.write(" <hr color=#999999> <b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Search Results  : </b>  ");
	output.document.write( found[0] +"  Entries found  ".small());
	output.document.write("<table border=0 width=100%>");
	for (i=1; i<=found[0];i++)
		{
		output.document.write("<hr color=#666666><tr><td valign=top bgcolor=#ffffff>"); //this for loop is where you can change the look of the links created
		output.document.write("<h4>" +i +"</h4>");					  // for the results and links
		output.document.write("<td valign=top>");
		itemp=found[i];
		output.document.write(desc[itemp].bold() +"<br>" +
		links[itemp].link(links[itemp])+"<br>");
		temp= (matched[itemp]/keywords[0])*100

		matched[itemp]=0
		}
	found[0]=0;
	output.document.write("</table>");
	output.document.write('<br>');
	output.document.write('<h5><center><a href="javascript:history.go(-1)">Go Back</a></center></h5>');

	}
//---- area below here was remarked to take out some of the empty space after the links----
//output.document.write('<table width="78%" height="25" border="0">');
//output.document.write('<tr> ');
//output.document.write('<td width="15" height="16" class="rightColumn">&nbsp;&nbsp; </td>');
//output.document.write('<td width="559" class="rightColumn"> <div align="left" class="rightColumnCopy"> ');
//output.document.write('&nbsp; ');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');			// section creats white space
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<img src="http://www.douglas-machine.com/images/spacer.gif" width="1" height="13"> </div></td>');
output.document.write('</tr>');
output.document.write('</table>');
output.document.write('<p class="rightColumnCopy"><br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p><br>');
output.document.write('</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p><br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('<br>');
output.document.write('</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('<p>&nbsp;</p>');
output.document.write('</div>');		//--- the section below here is what sets up the search engine bar on the results page as well.
output.document.write('<div id="searchbar" style="position:absolute; left:142px; top:106px; width:144px; height:29px; z-index:23; visibility: visible;" class="childCopy">  ');
output.document.write('<form name="searchengine"  onSubmit="search();" method="post" action="">');
output.document.write('<input name="keywords" type="text" class="rightColumn" size="10" maxlength="25" style="height: 17px;">');
output.document.write('<input type="image" name="submit" src="http://www.douglas-machine.com/images/go2.gif" width="44" height="15">');
output.document.write('</form>');
output.document.write('</div>');
output.document.write('<p class="child">&nbsp;</p>');
output.document.write('<div id="searchCover" style="position:absolute; left:264px; top:107px; width:60px; height:15px; z-index:22; background-color: d3d3d3; layer-background-color: d3d3d3; border: 1px none #000000; visibility: visible;\"></div></script></body></html>');
output.document.close(); // stops document creation.
}
