/*********************************************** * 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/Ebonite_Balls/EB/BL-EbSkull/Ebonite_-_Skull.html" gallery1[5]='
$103.95
Ebonite - Skull
'; var glink1 = "/products/Track_Balls/TB/BL-T920T/Track_920T_[Clearance].html" gallery1[6]='
$99.95
Track 920T (Clearance)
'; var glink2 = "/products/Plastic_Balls/PB/BL-BVizSH/Brunswick_Viz-a-ball_Shark.html" gallery1[7]='
$84.95
Brunswick Viz-a-ball Shark
'; var glink3 = "/products/Brunswick/KR_Viz-A-Balls/VizaBall/BL-BVizIN/Brunswick_IN-Viz-a-ball.html" gallery1[3]='
$84.95
Brunswick IN-Viz-a-ball
'; var glink4 = "/products/Plastic_Balls/PB/BL-OTBHLeaf/OnTheBall_Heart_Marijuana_Leaf_[Exclusive-Special_Order].html" gallery1[2]='
$129.95
OnTheBall Heart Marijuana Leaf (Exclusive-Special Order)
'; var glink5 = "/products/Plastic_Balls/PB/BL-OTBSLeaf/OnTheBall_Sparkle_Marijuana_Leaf_[Exclusive-Special_Order].html" gallery1[1]='
$129.95
OnTheBall Sparkle Marijuana Leaf (Exclusive-Special Order)
'; var glink6 = "/products/Storm_Balls/SB/BL-SVG/Storm_Virtual_Gravity_[Clearance].html" gallery1[4]='
$145.95
Storm Virtual Gravity (Clearance)
'; var glink7 = "/products/Plastic_Balls/PB/BL-BVizK/Brunswick_Viz-a-ball_Kaleidoscope_Glow.html" gallery1[0]='
$84.95
Brunswick Viz-a-ball Kaleidoscope Glow
'; //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-BHeart2R/Brunswick_Image_Hearts_All_Over_2_Ball_Roller.html" gallery2[2]='
$69.95
Brunswick Image Hearts All Over 2 Ball Roller
'; var glink9 = "/products/4_Ball_Rollers/4BR/BG-BPP4R/Brunswick_Pro_Players_4_Ball_Roller.html" gallery2[3]='
$179.95
Brunswick Pro Players 4 Ball Roller
'; var glink10 = "/products/3_Ball_Rollers/3BR/BG-BFS3/Brunswick_Flash_Slim_3_Ball_Roller_[Black/Burgundy].html" gallery2[4]='
$69.95
Brunswick Flash Slim 3 Ball Roller (Black/Burgundy)
'; var glink11 = "/products/2_Ball_Rollers/DBR/BG-BSnake2R/Brunswick_Image_Snake_2_Ball_Roller.html" gallery2[7]='
$67.95
Brunswick Image Snake 2 Ball Roller
'; var glink12 = "/products/Tote_Bags_[1_&_2]/TB1/BG-HBWT/Hammer_-_Black_Widow_2_Ball_Tote.html" gallery2[1]='
$26.95
Hammer - Black Widow 2 Ball Tote
'; var glink13 = "/products/3_Ball_Rollers/3BR/BG-KRS3/KR_-_Slim_3_Ball_Roller.html" gallery2[5]='
$53.95
KR - Slim 3 Ball Roller
'; var glink14 = "/products/2_Ball_Rollers/DBR/BG-KCFB2/KR_Crossfire_2_Ball_Roller_[Black/Blue].html" gallery2[6]='
$89.95
KR Crossfire 2 Ball Roller (Black/Blue)
'; var glink15 = "/products/4_Ball_Rollers/4BR/BG-RG4Y/Roto_Grip_4_Ball_Roller_[Yellow/Charcoal/Black].html" gallery2[0]='
$189.95
Roto Grip 4 Ball Roller (Yellow/Charcoal/Black)
'; //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/Dexter/D/SH-DAstrid3/Dexter_Astrid_III_[Womens].html" gallery3[0]='
$57.95
Dexter Astrid III (Womens)
'; var glink17 = "/products/Brunswick_Shoes/SH-B/SH-BBPM/Brunswick_BrunsPro_[Mens]_Black_Convertible.html" gallery3[1]='
$131.95
Brunswick BrunsPro (Mens) Black Convertible
'; var glink18 = "/products/Brunswick_Shoes/SH-B/SH-BBPW/Brunswick_BrunsPro_[Womens]_White_Convertible.html" gallery3[7]='
$131.95
Brunswick BrunsPro (Womens) White Convertible
'; var glink19 = "/products/Dyno-Thane_3G_Shoes/SH-Dyno/SH-DYTUL/Dyno-Thane_3G_Tour_Ultra_Ladies_[White/Gold].html" gallery3[4]='
$151.95
Dyno-Thane 3G Tour Ultra Ladies (White/Gold)
'; var glink20 = "/products/Dexter/D/SH-DSST6LE/Dexter_-_SST_6_LE_[Mens].html" gallery3[2]='
$131.95
Dexter - SST 6 LE (Mens)
'; var glink21 = "/products/Dexter/D/SH-DSST7SE/Dexter_-_SST_7_SE_[Mens]_Clearance].html" gallery3[3]='
$99.95
Dexter - SST 7 SE (Mens) Clearance)
'; var glink22 = "/products/Dyno-Thane_3G_Shoes/SH-Dyno/SH-DYSDB/Dyno-Thane_3G_Sport_Deluxe_Mens_[Black]_[S950-04].html" gallery3[6]='
$89.95
Dyno-Thane 3G Sport Deluxe Mens (Black) (S950-04)
'; var glink23 = "/products/Dexter/D/SH-DTony/Dexter_Tony_[B2246-1]_Mens.html" gallery3[5]='
$47.95
Dexter Tony (B2246-1) 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-CLS57/Classic_57_Retro_Bowling_Shirt_[Assorted_Colors].html" gallery5[5]='
$30.95
Classic 57 Retro Bowling Shirt (Assorted Colors)
'; var glink25 = "/products/Bowling_Shirts/BS1/AP-ELECTRICBP/Electric_Retro_Bowling_Shirt_[Black/Dark_Pink].html" gallery5[0]='
$22.95
Electric Retro Bowling Shirt (Black/Dark Pink)
'; var glink26 = "/products/Bowling_Shirts/BS1/AP-ShoopsterRed/Shoopster_Bowling_Shirt_[RED].html" gallery5[3]='
$32.95
Shoopster Bowling Shirt (RED)
'; var glink27 = "/products/Bowling_Shirts/BS1/AP-ELECTRICBT/Electric_Retro_Bowling_Shirt_[Black/Turquoise].html" gallery5[4]='
$22.95
Electric Retro Bowling Shirt (Black/Turquoise)
'; var glink28 = "/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 glink29 = "/products/Bowling_Shirts/BS1/AP-CB1776/Stars_&_Stripes_Sportshirt_[Clearance].html" gallery5[6]='
$19.95
Stars & Stripes Sportshirt (Clearance)
'; var glink30 = "/products/Bowling_Shirts/BS1/AP-ShoopAm/Shoopster_Bowling_Shirt_[America].html" gallery5[7]='
$32.95
Shoopster Bowling Shirt (America)
'; var glink31 = "/products/Bowling_Shirts/BS1/AP-RET50/Retro_50s_Bowling_Shirt_[13_Color_Options].html" gallery5[2]='
$30.95
Retro 50s Bowling Shirt (13 Color Options)
'; //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/Insert_Tape/IT/FG-AC-E040/Ebonite_-_Skin_Protecting_Tape_Roll.html" gallery9[2]='
$11.50
Ebonite - Skin Protecting Tape Roll
'; var glink33 = "/products/Spinners,__Polishes/CP/PS-ESMK/Ebonite_-_Powerhouse_Surface_Management_Kit.html" gallery9[0]='
$39.95
Ebonite - Powerhouse Surface Management Kit
'; var glink34 = "/products/Finger_Grips/FG/FG-GR-VP/VISE_Power_Lift/Oval_Grips.html" gallery9[3]='
$2.00
VISE Power Lift/Oval Grips
'; var glink35 = "/products/Wrist_Supports/WS1/WR-BPK/Brunswick_-_PowrKoil_Wrist_Support.html" gallery9[4]='
$49.95
Brunswick - PowrKoil Wrist Support
'; var glink36 = "/products/Spinners,__Polishes/CP/PS-DKS3-4/3/4_HP_Ball_Spinner.html" gallery9[5]='
$289.95
3/4 HP Ball Spinner
'; var glink37 = "/products/Wrist_Supports/WS1/WR-BPKXF/Brunswick_-_PowrKoil_XF_Wrist_Support.html" gallery9[6]='
$49.95
Brunswick - PowrKoil XF Wrist Support
'; var glink38 = "/products/Spinners,__Polishes/CP/PL-ECDQ/Ebonite_-_Clean_N_Dull_Quart.html" gallery9[1]='
$30.95
Ebonite - Clean N Dull Quart
'; var glink39 = "/products/Hand_Conditioners/P1/FG-AC-154/Master_Skin_Patch_AC-154.html" gallery9[7]='
$2.95
Master Skin Patch AC-154
'; 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