var clicked="" var gtype=".jpg" var selstate="_over" if (typeof(loc)=="undefined" || loc==""){ var loc="" if (document.body&&document.body.innerHTML){ var tt = document.body.innerHTML.toLowerCase(); var last = tt.indexOf("mechanix.js\""); if (last>0){ var first = tt.lastIndexOf("\"", last); if (first>0 && first"); document.write("\"\""); tr(false); writeButton("","http://merihart.co.nz/trolleys.htm","mechanix_b1",180,35,"Dog Show Trolleys","",0); writeButton("","http://merihart.co.nz/tables.htm","mechanix_b2",180,35,"Grooming Tables","",0); writeButton("","http://merihart.co.nz/pens.htm","mechanix_b3",180,35,"Puppy & Dog Pens","",0); writeButton("","http://merihart.co.nz/nightpens.htm","mechanix_b4",180,35,"Night & Show Pens","",0); writeButton("","http://merihart.co.nz/runs.htm","mechanix_b5",180,35,"Dog Run Panels","",0); writeButton("","http://merihart.co.nz/otherproducts.htm#grooming arms","mechanix_b6",180,35,"Grooming Arms","",0); writeButton("","http://merihart.co.nz/otherproducts.htm#umbrella holders","mechanix_b7",180,35,"Umbrella Holders","",0); writeButton("","http://merihart.co.nz/otherproducts.htm#dog beds","mechanix_b8",180,35,"Dog Beds","",0); writeButton("","http://merihart.co.nz/otherproducts.htm#dog ramps","mechanix_b9",180,35,"Dog Ramps","",0); writeButton("","http://merihart.co.nz/vehiclecratesandbarriers.htm","mechanix_b10",180,35,"Vehicle Barriers/Dividers","",0); writeButton("","http://merihart.co.nz/pricelist.htm","mechanix_b11",180,35,"Price List","",0); writeButton("","http://merihart.co.nz/pbgv.htm","mechanix_b12",180,35,"Merihart Petit Basset Griffon Vendeen","",0); tr(true); document.write("\"\""); document.write("") loc=""; function tr(b){if (b) document.write("");else document.write("");} function turn_over(name) { if (document.images != null && clicked != name) { document[name].src = document[name+"_over"].src; } } function turn_off(name) { if (document.images != null && clicked != name) { document[name].src = document[name+"_off"].src; } } function reg(gname,name) { if (document.images) { document[name+"_off"] = new Image(); document[name+"_off"].src = loc+gname+gtype; document[name+"_over"] = new Image(); document[name+"_over"].src = loc+gname+"_over"+gtype; } } function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""} function writeButton(urld, url, name, w, h, alt, target, hsp) { gname = name; while(typeof(document[name])!="undefined") name += "x"; reg(gname, name); tr(true); document.write(""); if (alt != "") alt = " alt=\"" + alt + "\""; if (target != "") target = " target=\"" + target + "\""; if (w > 0) w = " width=\""+w+"\""; else w = ""; if (h > 0) h = " height=\""+h+"\""; else h = ""; if (url != "") url = " href=\"" + urld + url + "\""; document.write(""); if (hsp == -1) hsp =" align=\"right\""; else if (hsp > 0) hsp = " hspace=\""+hsp+"\""; else hsp = ""; document.write(""); tr(false); }