﻿function GetSiteSearchResults(newWindow,frameObject,frameObjectName,fontFace,fontSize,fontColour,linkFace,linkSize,linkColour,resultsText)
{
var sTerms="";
var iDepth = 0;
var sURL = new String(document.location);
if (sURL.indexOf("?") > 0)
{
var arrParams = sURL.split("?");
var arrURLParams = arrParams[1].split("&");
for (var i=0;i<arrURLParams.length;i++)
{
var sParam = arrURLParams[i].split("=");
var sValue = unescape(sParam[1]);
if( sParam[0] == frameObjectName)
	sTerms = sValue;
if( sParam[0] == "depth")
	iDepth = parseInt(sValue);
}
}
var d=frameObject.document;
if (sTerms=="") {d.open(); d.write("<html><head></head><body style=\"background: transparent;\"></body></html>"); d.close();return;}
var sBack=""; for (i=0; i<iDepth; i++) sBack+='..\\\\';
d.open();
d.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">");
d.write("<html lang=\"en\">");
d.write("<head>");
d.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">");
d.write("</head>");
d.write("<body style=\"margin: 0px 0px 0px 0px; font-family: "+fontFace+"; font-size: "+fontSize+"; color: "+fontColour+"; background: transparent;\">");
d.write("<div id=\"wpSearchResults\"></div>");
d.write("<script type=\"text/javascript\">");
d.write("var wordMap = new Array(\" welcome numerous pinball titles have been manufactured over past four decades some limited number runs others thousands choosing title personal choice machines which rare very collectable machine manufacture ceased late 1970's 1970s when technology advanced these were then replaced solid state electronic versions today older becoming harder find most need repair restoration bring back former glory take numerous hours work patience however rewarding project complete previous current restorations seen restorations page browsing through site will tips images restored plus progress time allows more content believe assistance visit repairs store view coloured bumper protectors trim platters play field clear vinyl insert leveling discs other products working please contact email help advice correctly want sell machine? would interested having look reside local area electro mechanical modern matrix display captivated entertained people around world simply playing collecting restoring amazing coin operated arcade this interest repairing gottlieb williams bally hobby since classic \",\" electro mechanical machines unlike more modern solid state which electronics parts printed circuit boards containing semiconductors transistors resistors capacitors diodes ic's some later pinball have however only small numbers housed score motor with banks leaf contacts switches attached were opened closed when wheel post passed them this would send counted signals relays reels light also known back relays contain coil powered mechanically pull either open close series coils mechanism advance reset zero reel game credit ball count chime units coils make perform their functions light globes both play field behind glass permanently general illumination game advances during lucky matching number bonus specials flipper bumper slingshot kick hole mechanisms operate similar fashion these move around more voltage versus voltages electrical wiring diagrams schematics hard follow many books sites give assistance troubleshooting repairing electrical components those people into reading prefer images simplified help plan focus operation different  and segments time allows please note same operating voltage attempt repairs without knowing always take care working alternating current kill they work your first machine inside mechanical don't dont fact that limited knowledge comes mechanics electrics deter from purchasing your best start collection single player model simpler these basic than players whether faults purchased develop will easier fault find repair tips available line through numerous site forums running inspect before ensure complete look inside making certain there flying wires where originally connected removed metal overly rusty don't dont freely look another priced right good future inspect rear backglass major artwork paint flaking small areas repaired large very difficult playfield show signs dirt swirl marks planking wear this common cleaned playfield plastics chipped cracked missing reproduction plastic sets worth checking purchase cabinets woodwork scratches dents faded wish check whether been cabinet water damage satisfy yourself repair case rusting legs doors coin entrances easily replaced concerned about purchase price vary depend title theme overall condition further information coming soon \",\" artwork always take photos machine both inside outside cabinet before restoration need them later pinball cabinets work 30-40 years have taken beating their commercial life timber exterior back boxes most cases will dented chipped laminate peeling away built earlier wedge head versions machines where beyond repair graphics scratched faded been touched altered back glasses also flaking some collectors these prefer leave untouched original condition this preference individual however many this bring former glory displayed played family games rumpus rooms  process take clear picture artwork using mega pixel digital camera ensuring lens parallel subject taking angle distort correct scale image then stripped paint taking care sanding contain lead filled remove imperfections finally sanded painting primer first based semi gloss enamel ready completed match colour from area behind coin slot door strike plate when removed cabinet dimensions outer drawn software package corel draw file created imported into layered resized traced over masking stencils coloured adhesive vinyl your local print sign shop check format that uses compatible with extensions formats recommend want restore create yourself worth purchasing does some time learn operation features well intend number process gottlieb ‘golden arrow attached right example please click enlarge other restorers simply successfully cardboard hand method very could considered stencil kits available small titles more demand grows personally which gives sharp neater finish examples page \",\" pinball links \",\" machine should inspected prior purchasing personally have number machines online auctions only little disappointed photos will show true condition whether electrical parts place ensure before plugging visually inspect which carry operate high voltages electrical repairs unqualified previous owners dangerous work unsuspecting owner also check that fuse values correct examples gotllieb ‘golden arrow' arrow left find cabinet back light when starting restoration faded artwork touch scratches dents delaminating common dirty worn play fields ball swirl marks planking sunken field inserts plus faded flaking glasses assessed strip down repaint take plenty photos both inside outside well need them later date reassembling remove glass from store safe unplug connectors between coin door interior board safely mechanisms strike plate entrances lock brackets keep nuts bolts stainless steel side rails removed plans having professionally restored more this written remember take confident where goes together this process covered page plan stencil paint trace over original cutting before removal ensure record base colours samples colour taken behind artwork matched against chart stenciling painting fading time also into account best stripper contain lead sand excess fill holes sand finally woodwork repair necessary more preparation here give better result apply paints using roller spray finish with minimum coats undercoat acrylic based recommended smooth after each coat grit sandpaper interiors overlooked final satin enamel allow completely part cleaning rebuilding mechanical units wise complete overhaul bulbs screws stepper score reels chime bumpers other assemblies cleaned polished some replacement being available various suppliers local overseas start removing rust ranex brush clean wire brush wheel sander remove dirt grease parts zinc plated painted immediately undercoat then some simply chime boxes knockers bells flipper switches next these complex dismantle reassemble however your once assemble plastic problems come motor target banks reel these recommend thoroughly spring tension lost replaced adjusted inspection numerous relays hold leaf pictured above positioned levels rotates opened closed perform certain task care needs handling working around contacts they bent alignment visually make adjustments switch stacks tightened made never oils lubricant sprays circuit testing fault finding wiring schematic always helpful tracing problem occurs reading understanding diagram challenging wire making difficult determine terminate particular point what connected multi-meter very handy tool enable test coil resistance continuity must mains voltage transformer located front right when multimeter scale measure de-solder disconnect wires otherwise measuring areas diode function multimeters keep turned power outlet image lamp there contact terminal note length leads allows view unit testing coils while triggering related under playfield soon previous restorations gottlieb football 1973 wedgehead single player click enlarge restore early 2011 worked full mylared cabinet wedge head beyond first built trouble shooting were sorted stripping finally applied coloured adhesive vinyl rubbers fitted quite good been it's late poor required electrics stripped repaired overhauled targets plastics backglass opperating getting close completed decals card whiz 1976 restoration progress hover images \",\" oldpinballs brisbane australia e-mail contact please leave your message your  name  email address will published required contact order enquiries questions feedback back soon possible \",\" outer diameter inner  thickness microns machine universal suits most makes machines pack size pack sorry mixed colours item pbp- price postage handing applies covers existing play field wear prevents future  large range gloss including clear suits gottlieb 60's 70's pbp-1 repairs store bumper adhesive vinyl protectors trim platters click images enlarge actual differ slightly those your screen custom shapes enquiries welcome designed items made order want custom drop target body cabinet artwork window stickers leave question requests contact page will back soon levels excessive sinking inserts stuck ball parking sunken layer build suit extent  clear disc layers discs each  each adds micron insert adapts machine pfi-1 price handling play repair adhesive mylar playfield masks coming tack black painted outline surrounding blue thickness example supplied pfir- your dimensions required back glass score reel replaces original cracked faded flaking white apply rear early sizes available srvw image lane rollover switch protects lane rollovers from clear models decals rop-1 score numerals reels look like strips with printed diameter vsrd-1 \",\" artwork examples \",\" sale \",\" orders download order form below save your complete email back postage handling charges will calculated size location with total cost confirmation microsoft excel worksheet order payments made through paypal receipt payment goods posted please allow days delivery thank \");");
d.write("var pageMap = new Array(\"Home\",\"Operation\",\"Artwork\",\"Links\",\"Restorations\",\"Contact\",\"Repairs Store\",\"Artwork examples\",\"For Sale\",\"Orders\");");
d.write("var linkMap = new Array(\"index.html\",\"operation.html\",\"artwork.html\",\"links.html\",\"restorations.html\",\"contact.html\",\"store.html\",\"artwork examples.html\",\"for sale.html\",\"orders.html\");");
d.write("var preMap = new Array(\"Welcome Numerous pinball titles have been manufactured over the past four decades, some had limited number runs and others thousands. Choosing a title is a personal choice, machines which had a limite\",\"Electro mechanical machines (EM) are unlike the more modern Solid State (SS) machines which use electronics parts i.e. printed circuit boards containing semiconductors e.g. transistors, resistors, cap\",\"Artwork Always take photos of the machine both inside and outside the cabinet before the restoration, you may need them later. EM pinball machine cabinets I work on are now 30-40 years old and have ta\",\"Pinball links \",\"A machine should be inspected prior to purchasing. Personally I have won a number of machines at online auctions, only to be a little disappointed.  Photos will not show the true condition of a machin\",\"oldpinballs.com Brisbane QLD Australia E-mail: contact@oldpinballs.com Please leave your message. Your  name Your  email address (will not be published) (is required) Contact Please leave order enquir\",\"        90 mm Outer Diameter  22 mm Inner Diameter   Thickness 75 microns Machine cut  Universal - suits most makes of machines  Pack size : 6 per pack (sorry no mixed colours) Item: PBP- 2   Pack pri\",\"Artwork examples \",\"For Sale \",\"Orders  Download the order form below and save to your PC. Complete the form, save and email back . Postage and handling charges will be calculated on the size of your order and your location. I will \");");
d.write("function doNav(ind)");
d.write("{");
if (newWindow)
d.write("		 window.open(\""+sBack+"\"+linkMap[ind],\"_blank\");");
else
d.write("		 parent.window.location.href=linkMap[ind];");
d.write("}");
d.write("function wpDoSearch(searchTerms){");
d.write("var terms = searchTerms.split(\" \");");
d.write("if (terms==\"\") return;");
d.write("var results = \"\";");
d.write("var resultscount = 0;");
d.write("for (var i=0; i<wordMap.length; i++)");
d.write("{");
d.write("			var found=true;");
d.write("			for (var j=0; j<terms.length; j++)");
d.write("					if (wordMap[i].indexOf(terms[j].toLowerCase())==-1) found=false;");
d.write("			if (found)");
d.write("			{");
d.write("				 results+=\"<a style=\\\"cursor: pointer; font-family: "+linkFace+"; font-size: "+linkSize+"; color: "+linkColour+"; \\\" onclick=\\\"doNav(\"+i+\");\\\"><u>\"+pageMap[i]+\"</u></a><br>\"+preMap[i]+\"...<br><br>\";");
d.write("				 resultscount++;");
d.write("			}");
d.write("}");
d.write("document.getElementById(\"wpSearchResults\").innerHTML=resultscount+\" "+resultsText+" \"+searchTerms+\"<br><br>\"+results;");
d.write("}");
while(sTerms.indexOf("\"") != -1 ) {
sTerms = sTerms.replace("\"","");
};
d.write("wpDoSearch(\""+sTerms+"\");");
d.write("</script>");
d.write("</body></html>");
d.close();
}
