/*********************************************** * 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/Roto_Grip_Balls/RGB/BL-RGRC/Roto_Grip_Rogue_Cell.html" gallery1[1]='
$129.95
Roto Grip Rogue Cell
'; var glink1 = "/products/Columbia_300_Balls/C3B/BL-CPURES/Columbia_Pure_Swing.html" gallery1[0]='
$149.95
Columbia Pure Swing
'; var glink2 = "/products/Track_Balls/TB/BL-T715C/Track_715C.html" gallery1[6]='
$129.95
Track 715C
'; var glink3 = "/products/Brunswick_Balls/BB2/BL-BES/Brunswick_Evil_Siege_[Limited_Time_Sale].html" gallery1[7]='
$129.95
Brunswick Evil Siege (Limited Time Sale)
'; var glink4 = "/products/Columbia_300_Balls/C3B/BL-CTB/Columbia_Total_Bedlam.html" gallery1[5]='
$129.95
Columbia Total Bedlam
'; var glink5 = "/products/Storm_Balls/SB/BL-SROF/Storm_Reign_of_Fire.html" gallery1[4]='
$117.95
Storm Reign of Fire
'; var glink6 = "/products/Plastic_Balls/PB/BL-BVizLizE/Brunswick_Viz-a-ball_Lizard_Eye.html" gallery1[2]='
$86.95
Brunswick Viz-a-ball Lizard Eye
'; var glink7 = "/products/Hammer_Balls/HB/BL-HBWN/Hammer_Black_Widow_Nasty.html" gallery1[3]='
$129.95
Hammer Black Widow Nasty
'; //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-KCFB2/KR_Crossfire_2_Ball_Roller_[Black/Blue].html" gallery2[5]='
$89.95
KR Crossfire 2 Ball Roller (Black/Blue)
'; var glink9 = "/products/Tote_Bags_[1_&_2]/TB1/BG-BHK1/Brunswick_-_Hello_Kitty_Single_Bag.html" gallery2[7]='
$18.95
Brunswick - Hello Kitty Single Bag
'; var glink10 = "/products/1_Ball_Rollers/1BR/BG-BDSC1R/Brunswick_-_Dyno_Skull_Crazy_1_Ball_Roller.html" gallery2[3]='
$42.95
Brunswick - Dyno Skull Crazy 1 Ball Roller
'; var glink11 = "/products/4_Ball_Rollers/4BR/BG-RG4B/Roto_Grip_-_4_Ball_Roller.html" gallery2[1]='
$165.95
Roto Grip - 4 Ball Roller
'; var glink12 = "/products/Tote_Bags_[1_&_2]/TB1/BG-HBWT/Hammer_-_Black_Widow_2_Ball_Tote.html" gallery2[0]='
$26.95
Hammer - Black Widow 2 Ball Tote
'; var glink13 = "/products/3_Ball_Rollers/3BR/BG-BPP345/Brunswick_-_Pro_Players_Option_3-4-5_Ball_Roller.html" gallery2[4]='
$147.95
Brunswick - Pro Players Option 3-4-5 Ball Roller
'; var glink14 = "/products/Tote_Bags_[1_&_2]/TB1/BG-BJR1/Brunswick_-_Jolly_Roger_Single_Bag.html" gallery2[6]='
$17.95
Brunswick - Jolly Roger Single Bag
'; var glink15 = "/products/3_Ball_Rollers/3BR/BG-BO345R/Brunswick_-_Pro_Players_Option_3-4-5_Ball_Roller_[Black/Royal].html" gallery2[2]='
$147.95
Brunswick - Pro Players Option 3-4-5 Ball Roller (Black/Royal)
'; //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-EESSBF/Etonic_-_ESS_Blue_Flame_[Mens]_w/_Interchangeable_Soles.html" gallery3[3]='
$69.95
Etonic - ESS Blue Flame (Mens) w/ Interchangeable Soles
'; var glink17 = "/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 glink18 = "/products/Etonic_Shoes/SH-ESL/SH-EGloSpider/Etonic_-_E_Basic_Glo_SPIDER_[Mens].html" gallery3[4]='
$34.95
Etonic - E Basic Glo SPIDER (Mens)
'; var glink19 = "/products/Dexter/D/SH-DSST8/Dexter_-_SST_8_[Mens]_RH_or_LH_Convertible.html" gallery3[2]='
$137.95
Dexter - SST 8 (Mens) RH or LH Convertible
'; var glink20 = "/products/Dyno-Thane_3G_Shoes/SH-Dyno/SH-DYSDB/Dyno-Thane_-_Sport_Deluxe_Mens_[Black]_[S950-04].html" gallery3[0]='
$82.95
Dyno-Thane - Sport Deluxe Mens (Black) (S950-04)
'; var glink21 = "/products/Etonic_Shoes/SH-ESL/SH-ERetroWW/Etonic_Retro_[Black/White]_Womens.html" gallery3[6]='
$39.95
Etonic Retro (Black/White) Womens
'; var glink22 = "/products/Brunswick_Shoes/SH-B/SH-BBling/Brunswick_Bling_[Womens]_White/Silver.html" gallery3[7]='
$41.95
Brunswick Bling (Womens) White/Silver
'; var glink23 = "/products/Dexter/D/SH-DSST6LE/Dexter_-_SST_6_LE_[Mens].html" gallery3[5]='
$122.95
Dexter - SST 6 LE (Mens)
'; //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/Bowling_Shirts/BS1/AP-ShoopAm/Shoopster_Bowling_Shirt_[America].html" gallery5[4]='
$29.95
Shoopster Bowling Shirt (America)
'; var glink25 = "/products/Bowling_Shirts/BS1/AP-ELECTRICBL/Electric_Retro_Bowling_Shirt_[Black/Lime].html" gallery5[7]='
$21.95
Electric Retro Bowling Shirt (Black/Lime)
'; var glink26 = "/products/Bowling_Shirts/BS1/AP-ShoopsterBP/Shoopster_Bowling_Shirt_[BLACK/PINK].html" gallery5[1]='
$29.95
Shoopster Bowling Shirt (BLACK/PINK)
'; var glink27 = "/products/Bowling_Shirts/BS1/AP-RET50/Retro_50s_Bowling_Shirt_[13_Color_Options].html" gallery5[2]='
$29.95
Retro 50s Bowling Shirt (13 Color Options)
'; var glink28 = "/products/Bowling_Shirts/BS1/AP-CLS57/Classic_57_Retro_Bowling_Shirt_[Assorted_Colors].html" gallery5[6]='
$29.95
Classic 57 Retro Bowling Shirt (Assorted Colors)
'; var glink29 = "/products/Bowling_Shirts/BS1/AP-ShoopsterRed/Shoopster_Bowling_Shirt_[RED].html" gallery5[3]='
$29.95
Shoopster Bowling Shirt (RED)
'; var glink30 = "/products/Racing_Shirts/RS/AP-LuckyX/Lucky_X_Racing_Shirt_[Assorted_Colors].html" gallery5[0]='
$29.95
Lucky X Racing Shirt (Assorted Colors)
'; var glink31 = "/products/Bowling_Shirts/BS1/AP-ShoopsterPB/Shoopster_Bowling_Shirt_[PINK/BLACK].html" gallery5[5]='
$29.95
Shoopster Bowling Shirt (PINK/BLACK)
'; //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/Hand_Conditioners/P1/AC-171D/Master_Ladies_Grip_Sac_[#171]_DOZEN.html" gallery9[0]='
$33.00
Master Ladies Grip Sac (#171) DOZEN
'; var glink33 = "/products/Towels/T/AC-KRNFL08/KR_NFL_Team_Towel_[Assorted_Teams].html" gallery9[6]='
$8.95
KR NFL Team Towel (Assorted Teams)
'; var glink34 = "/products/Spinners,__Polishes/CP/PL-ECDQ/Ebonite_-_Clean_N_Dull_Quart_[Out_of_Stock].html" gallery9[3]='
$30.95
Ebonite - Clean N Dull Quart (Out of Stock)
'; var glink35 = "/products/Hand_Conditioners/P1/FG-AC-154/Master_Skin_Patch_AC-154.html" gallery9[1]='
$2.95
Master Skin Patch AC-154
'; var glink36 = "/products/Wrist_Supports/WS1/WR-45/Master_Power_Paw_PRO_[Clearance].html" gallery9[2]='
$21.95
Master Power Paw PRO (Clearance)
'; var glink37 = "/products/Measurement_Gauges/MG/PS-786/Master_Pitch_Gauge_#786.html" gallery9[4]='
$67.95
Master Pitch Gauge #786
'; var glink38 = "/products/Buffers/B/AC-ViseSS/Vise_-_See_Saw.html" gallery9[7]='
$7.95
Vise - See Saw
'; var glink39 = "/products/Insert_Tape/IT/AC-BDSPT/Brunswick_-_Defense_Skin_Protecting_Tape_Roll.html" gallery9[5]='
$11.50
Brunswick - Defense 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