//©Xara Ltd
var clicked="";var gtype=".gif";var selstate="_over";if (typeof(loc)=="undefined" || loc==""){var loc="";if (document.body&&document.body.innerHTML){var tt=document.body.innerHTML;var ml=tt.match(/["']([^'"]*)blueball_mainsite.js["']/i);if(ml && ml.length > 1) loc=ml[1];}}document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");document.write("<td><img src=\""+loc+"blueball_mainsite_top"+gtype+"\" alt=\"\" width=\"146\" height=\"22\"></td>");tr(false);writeButton(loc+"","../../../index.htm","blueball_mainsite_b1",146,26,"Home","",0);writeButton(loc+"","../../../shop/index.html","blueball_mainsite_b2",146,26,"Shop","",0);writeButton(loc+"","../../../Equipment/equip_index.html","blueball_mainsite_b3",146,26,"Make Equipment","",0);writeButton(loc+"","../../../shop/equipment/equipment_index.html","blueball_mainsite_b4",146,26,"Buy Equipment","",0);writeButton(loc+"","../../../classes/class_index.html","blueball_mainsite_b5",146,26,"Entering shows","",0);writeButton(loc+"","../../../fun/fun_index.html","blueball_mainsite_b6",146,26,"Agility Fun","",0);writeButton(loc+"","../../../bits/index.html","blueball_mainsite_b7",146,26,"Other Agility Bits","",0);writeButton(loc+"","../../../bits/obedient/index.html","blueball_mainsite_b8",146,26,"Dog Training","",0);writeButton(loc+"","../../../breeds/index.html","blueball_mainsite_b9",146,26,"Dog Breeds","",0);writeButton(loc+"","../../../games/games_index.html","blueball_mainsite_b10",146,26,"Dog Games","",0);writeButton(loc+"","../../../names/index.html","blueball_mainsite_b11",146,26,"Dog Names","",0);writeButton(loc+"","../../../kc/kc_index.html","blueball_mainsite_b12",146,26,"Kennel Club","",0);writeButton(loc+"","../../../dogblog/blog.html","blueball_mainsite_b13",146,26,"Dog Blog","",0);writeButton("","http://www.agilitybits.co.uk/forum/index.php","blueball_mainsite_b14",146,26,"Forum","",0);writeButton(loc+"","../../../links/subject_links.html","blueball_mainsite_b15",146,26,"Links","",0);writeButton(loc+"","../../../bits/us/page2.html","blueball_mainsite_b16",146,26,"About Us","",0);writeButton(loc+"","../../../bits/contact.html","blueball_mainsite_b17",146,26,"Contact Us","",0);tr(true);document.write("<td><img src=\""+loc+"blueball_mainsite_bottom"+gtype+"\" alt=\"\" width=\"146\" height=\"16\"></td>");document.write("</tr></table>");loc="";function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}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("<td>");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+"\"";if(typeof(clx)!="undefined"){target="";url=" href=\"?"+clx+"\"";alt=" alt=\"Click to edit\"";}document.write("<a "+url+evs(name)+target+">");if(hsp==-1)hsp=" align=\"right\"";else if(hsp>0)hsp=" hspace=\""+hsp+"\"";else hsp="";document.write("<img src=\""+loc+gname+gtype+"\" name=\""+name+"\""+w+h+alt+hsp+" border=\"0\" /></a></td>");tr(false);}
