/*********************************************** * OO_CMotion Image Gallery- © Dynamic Drive DHTML code library (www.dynamicdrive.com) * Visit http://www.dynamicDrive.com for source code * This copyright notice must stay intact for legal use * Modified for autowidth and optional starting positions in * http://www.dynamicdrive.com/forums/showthread.php?t=11839 by jschuer1 8/5/06 * Object Oriented update 9/19/06 ***********************************************/ // Set message to show at end of gallery(s). Enter "" to disable message. var endofgallerymsg=''; //declare gallery's name: var gallery1=new Array(); // Use a space character between each image for this gallery? (use 1 for yes, 0 for no): gallery1.usespace=1; var glink0 = "/products/Plastic_Balls/PB/BL-OTBSLeaf/OnTheBall_Sparkle_Leaf_[Exclusive-Special_Order].html" gallery1[1]='
$135.00
OnTheBall Sparkle Leaf (Exclusive-Special Order)
'; var glink1 = "/products/New_Balls/NBALLS/BL-MCraze/MoRich_Craze.html" gallery1[2]='
$134.95
MoRich Craze
'; var glink2 = "/products/Plastic_Balls/PB/BL-EbSkull/Ebonite_-_Skull.html" gallery1[6]='
$103.95
Ebonite - Skull
'; var glink3 = "/products/Plastic_Balls/PB/BL-BTZS/Brunswick_T-Zone_Skull.html" gallery1[0]='
$57.95
Brunswick T-Zone Skull
'; var glink4 = "/products/Ebonite_Balls/EB/BL-EEvolve/Ebonite_Evolve.html" gallery1[7]='
$152.95
Ebonite Evolve
'; var glink5 = "/products/Roto_Grip_Balls/RGB/BL-RGRC/Roto_Grip_Rogue_Cell.html" gallery1[3]='
$129.95
Roto Grip Rogue Cell
'; var glink6 = "/products/Ebonite_Balls/EB/BL-ELB/Ebonite_Lanebreaker.html" gallery1[5]='
$109.95
Ebonite Lanebreaker
'; var glink7 = "/products/New_Balls/NBALLS/BL-900BHP/900_Global_Bounty_Hunter_Pearl.html" gallery1[4]='
$143.95
900 Global Bounty Hunter Pearl
'; //declare gallery's name: var gallery2=new Array(); // Use a space character between each image for this gallery? (use 1 for yes, 0 for no): gallery2.usespace=1; var glink8 = "/products/2_Ball_Rollers/DBR/BG-BStealthS2/Brunswick_Stealth_2_Ball_Roller_[Black/Silver].html" gallery2[1]='
$89.95
Brunswick Stealth 2 Ball Roller (Black/Silver)
'; var glink9 = "/products/1_Ball_Rollers/1BR/BG-BDSC1R/Brunswick_-_Dyno_Skull_Crazy_1_Ball_Roller.html" gallery2[7]='
$42.95
Brunswick - Dyno Skull Crazy 1 Ball Roller
'; var glink10 = "/products/1_Ball_Rollers/1BR/BG-KREL1R/KR_-_Eliminator_1_Ball_Roller_[Assorted_Colors].html" gallery2[4]='
$39.95
KR - Eliminator 1 Ball Roller (Assorted Colors)
'; var glink11 = "/products/3_Ball_Rollers/3BR/BG-KRSE345/KR_-_Special_Edition_Option_3-4-5_Ball_Roller.html" gallery2[3]='
$149.95
KR - Special Edition Option 3-4-5 Ball Roller
'; var glink12 = "/products/2_Ball_Rollers/DBR/BG-BStealthN2/Brunswick_Stealth_2_Ball_Roller_[Black/Navy].html" gallery2[2]='
$89.95
Brunswick Stealth 2 Ball Roller (Black/Navy)
'; var glink13 = "/products/3_Ball_Rollers/3BR/BG-BFlash3P/Brunswick_-_Flash_Players_3_Ball_Roller_[Black/Pink].html" gallery2[0]='
$105.95
Brunswick - Flash Players 3 Ball Roller (Black/Pink)
'; var glink14 = "/products/Tote_Bags_[1_&_2]/TB1/BG-BDPCamo/Brunswick_-_Dyno_Single_PINK_CAMO.html" gallery2[6]='
$18.95
Brunswick - Dyno Single PINK CAMO
'; var glink15 = "/products/3_Ball_Rollers/3BR/BG-S3TTN/Storm_-_3_Ball_Tournament_Tote_Roller_[Navy].html" gallery2[5]='
$55.95
Storm - 3 Ball Tournament Tote Roller (Navy)
'; //declare gallery's name: var gallery3=new Array(); // Use a space character between each image for this gallery? (use 1 for yes, 0 for no): gallery3.usespace=1; var glink16 = "/products/Etonic_Shoes/SH-ESL/SH-EGloSpider/Etonic_-_E_Basic_Glo_SPIDER_[Mens].html" gallery3[0]='
$34.95
Etonic - E Basic Glo SPIDER (Mens)
'; var glink17 = "/products/Etonic_Shoes/SH-ESL/SH-ERetroWW/Etonic_Retro_[Black/White]_Womens.html" gallery3[3]='
$39.95
Etonic Retro (Black/White) Womens
'; var glink18 = "/products/Dexter/D/SH-DTony/Dexter_Tony_[B2246-1]_Mens.html" gallery3[4]='
$47.95
Dexter Tony (B2246-1) Mens
'; var glink19 = "/products/Etonic_Shoes/SH-ESL/SH-EESSAPS/Etonic_-_ESS_Action_[Womens]_Pink/Silver.html" gallery3[1]='
$59.95
Etonic - ESS Action (Womens) Pink/Silver
'; var glink20 = "/products/Etonic_Shoes/SH-ESL/SH-EESSBF/Etonic_-_ESS_Blue_Flame_[Mens]_w/_Interchangeable_Soles.html" gallery3[6]='
$69.95
Etonic - ESS Blue Flame (Mens) w/ Interchangeable Soles
'; var glink21 = "/products/Brunswick_Shoes/SH-B/SH-BCopaBB/Brunswick_-_Copa_[Black/Blue]_Mens_[Clearance].html" gallery3[5]='
$37.95
Brunswick - Copa (Black/Blue) Mens (Clearance)
'; var glink22 = "/products/Dexter/D/SH-DSST6LE/Dexter_-_SST_6_LE_[Mens].html" gallery3[7]='
$122.95
Dexter - SST 6 LE (Mens)
'; var glink23 = "/products/Dyno-Thane_3G_Shoes/SH-Dyno/SH-DyTUBlk/Dyno-Thane_Tour_Ultra_Mens_[Black].html" gallery3[2]='
$142.95
Dyno-Thane Tour Ultra Mens (Black)
'; //declare gallery's name: var gallery5=new Array(); // Use a space character between each image for this gallery? (use 1 for yes, 0 for no): gallery5.usespace=1; var glink24 = "/products/Racing_Shirts/RS/AP-LuckyX/Lucky_X_Racing_Shirt_[Assorted_Colors].html" gallery5[0]='
$29.95
Lucky X Racing Shirt (Assorted Colors)
'; var glink25 = "/products/Bowling_Shirts/BS1/AP-StrikeForce/StrikeForce_Bowling_Shirt_[Black/White/Red]_SALE.html" gallery5[3]='
$20.95
StrikeForce Bowling Shirt (Black/White/Red) SALE
'; var glink26 = "/products/Bowling_Shirts/BS1/AP-TheHopM/The_Hop_Bowling_Shirt_[Black/Mint/Grey].html" gallery5[1]='
$32.95
The Hop Bowling Shirt (Black/Mint/Grey)
'; var glink27 = "/products/Bowling_Shirts/BS1/AP-ELECTRICBPum/Electric_Retro_Bowling_Shirt_[Black/Pumpkin].html" gallery5[2]='
$21.95
Electric Retro Bowling Shirt (Black/Pumpkin)
'; var glink28 = "/products/Bowling_Shirts/BS1/AP-ELECTRICBP/Electric_Retro_Bowling_Shirt_[Black/Dark_Pink].html" gallery5[5]='
$21.95
Electric Retro Bowling Shirt (Black/Dark Pink)
'; var glink29 = "/products/Bowling_Shirts/BS1/AP-CLS57/Classic_57_Retro_Bowling_Shirt_[Assorted_Colors].html" gallery5[7]='
$29.95
Classic 57 Retro Bowling Shirt (Assorted Colors)
'; var glink30 = "/products/Bowling_Shirts/BS1/AP-ShoopsterRed/Shoopster_Bowling_Shirt_[RED].html" gallery5[6]='
$29.95
Shoopster Bowling Shirt (RED)
'; var glink31 = "/products/Bowling_Shirts/BS1/AP-ShoopsterBP/Shoopster_Bowling_Shirt_[BLACK/PINK].html" gallery5[4]='
$29.95
Shoopster Bowling Shirt (BLACK/PINK)
'; //declare gallery's name: var gallery9=new Array(); // Use a space character between each image for this gallery? (use 1 for yes, 0 for no): gallery9.usespace=1; var glink32 = "/products/Towels/T/AC-KRNFL08/KR_NFL_Team_Towel_[Assorted_Teams].html" gallery9[5]='
$8.95
KR NFL Team Towel (Assorted Teams)
'; var glink33 = "/products/Finger_Grips/FG/FG-GR-TQ/Turbo_4N1_Quads_[Assorted_Sizes_and_Colors].html" gallery9[1]='
$2.00
Turbo 4N1 Quads (Assorted Sizes and Colors)
'; var glink34 = "/products/Insert_Tape/IT/FG-AC-VNT50B/Vise_-_NT50B_Tape_Roll.html" gallery9[2]='
$15.95
Vise - NT50B Tape Roll
'; var glink35 = "/products/Towels/T/B-Buff/Master_Buff-a-Ball.html" gallery9[3]='
$6.95
Master Buff-a-Ball
'; var glink36 = "/products/Spinners,__Polishes/CP/PS-ESMK/Ebonite_-_Powerhouse_Surface_Management_Kit.html" gallery9[6]='
$39.95
Ebonite - Powerhouse Surface Management Kit
'; var glink37 = "/products/Towels/T/AC-ViseSS/Vise_-_See_Saw.html" gallery9[0]='
$7.95
Vise - See Saw
'; var glink38 = "/products/Hand_Conditioners/P1/AC-171D/Master_Ladies_Grip_Sac_[#171]_DOZEN.html" gallery9[7]='
$33.00
Master Ladies Grip Sac (#171) DOZEN
'; var glink39 = "/products/Insert_Tape/IT/FG-AC-E040/Ebonite_-_Skin_Protecting_Tape_Roll.html" gallery9[4]='
$11.50
Ebonite - Skin Protecting Tape Roll
'; function gotourl(url) { window.location.href = url; } var tclassname = 'pscroll';// this will test the class values, it holds the current value, and should correspond to the off state class var tclassname1 = 'pscroll';// static value, change this to your class 1 name var tclassname2 = 'pscroll2';// static value, change this to your class 2 name function toggle(obj) { if(obj.className == tclassname1) { obj.className = tclassname2; tclassname = tclassname2; } else { obj.className = tclassname1; tclassname = tclassname1; } } //function used optionally to enlarge an image. Change as desired: function enlargeimage(path, optWidth, optHeight){ if(!document.body.filters) if(thewin&&thewin.name=='cwin'&&window==thewin.opener)thewin.close(); var actualWidth=typeof optWidth!="undefined" ? optWidth : 600; //set 600 to default width var actualHeight=typeof optHeight!="undefined" ? optHeight : 500; //set 500 to default height actualWidth+=window.opera? 0 : 20, actualHeight+=window.opera? 0 : 20; var winattributes="width="+actualWidth+",height="+actualHeight+",resizable,status"; thewin=window.open(path,"cwin", winattributes); if(document.body.filters) thewin.resizeTo(actualWidth+12, actualHeight+70); thewin.focus(); onunload=function(){if(thewin&&thewin.name=='cwin')thewin.close();}; return false; } ////NO NEED TO EDIT BELOW THIS LINE//////////// var iedom=document.all||document.getElementById, cgals=[], thewin=null; function cmotiongallery(gallery, rest, maxs, maxw, startp, width, height, c){ if(!iedom) return; this.gallery=gallery; this.usespace=this.gallery.usespace? ' ' : ''; this.width=/%/.test(width)? width : parseInt(width)+'px'; this.height=height; this.c=c? 'margin:0 auto;' : ''; this.loadedyes=0; this.movestate=''; this.scrollspeed=0; this.galid=cgals.length; cgals[cgals.length]=this; this.rest=rest; this.maxs=maxs; this.maxw=maxw; this.startpos=startp; for (var i_tem = 0; i_tem < this.gallery.length; i_tem++) this.gallery[i_tem]=!/on[cC]lick/.test(this.gallery[i_tem])? this.gallery[i_tem].replace(/href="#"/, 'href="#" onclick="return false;"') : this.gallery[i_tem]; document.write('
\n'+ '
\n'+ '\n'+ ''+this.gallery.join(this.usespace)+'
\n'+ '\n'+ '<\/div>\n'+ '<\/div>') this.fillup(); } function ietruebody(){ return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body; } cmotiongallery.prototype.creatediv=function(){ this.statusdiv=document.createElement("div") this.statusdiv.setAttribute("id","statusdiv"+this.galid) this.statusdiv.className="statusdiv"; document.body.appendChild(this.statusdiv) this.statusdiv=document.getElementById("statusdiv"+this.galid) this.statusdiv.innerHTML=endofgallerymsg } cmotiongallery.prototype.positiondiv=function(){ this.mainobjoffset=getposOffset(this.crossmain, "left"), this.menuheight=parseInt(this.crossmain.offsetHeight), this.mainobjoffsetH=getposOffset(this.crossmain, "top"); this.statusdiv.style.left=this.mainobjoffset+(this.menuwidth/2)-(this.statusdiv.offsetWidth/2)+"px"; this.statusdiv.style.top=this.menuheight+this.mainobjoffsetH+"px"; } cmotiongallery.prototype.showhidediv=function(what){ if (endofgallerymsg!="") { this.positiondiv(); this.statusdiv.style.visibility=what; } } function getposOffset(what, offsettype){ var totaloffset=(offsettype=="left")? what.offsetLeft: what.offsetTop; var parentEl=what.offsetParent; while (parentEl!=null){ totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } cmotiongallery.prototype.moveleft=function(){ if (this.loadedyes){ this.movestate="left"; if (iedom&&parseInt(this.cross_scroll.style.left)>(this.menuwidth-this.actualwidth)){ this.cross_scroll.style.left=parseInt(this.cross_scroll.style.left)-this.scrollspeed+"px"; this.showhidediv("hidden"); } else this.showhidediv("visible"); } this.lefttime=setTimeout("cgals["+this.galid+"].moveleft()",10); } cmotiongallery.prototype.moveright=function(){ if (this.loadedyes){ this.movestate="right"; if (iedom&&parseInt(this.cross_scroll.style.left)<0){ this.cross_scroll.style.left=parseInt(this.cross_scroll.style.left)+this.scrollspeed+"px"; this.showhidediv("hidden"); } else this.showhidediv("visible"); } this.righttime=setTimeout("cgals["+this.galid+"].moveright()",10); } cmotiongallery.prototype.motionengine=function(e){ this.mainobjoffset=getposOffset(this.crossmain, "left"), dsocx=(window.pageXOffset)? pageXOffset: ietruebody().scrollLeft, dsocy=(window.pageYOffset)? pageYOffset : ietruebody().scrollTop, curposy=window.event? event.clientX : e.clientX? e.clientX: ""; curposy-=this.mainobjoffset-dsocx; this.leftbound=(this.menuwidth-this.rest)/2; this.rightbound=(this.menuwidth+this.rest)/2; if (curposy>this.rightbound){ this.scrollspeed=(curposy-this.rightbound)/((this.menuwidth-this.rest)/2) * this.maxs; clearTimeout(this.righttime); if (this.movestate!="left") this.moveleft(); } else if (curposy