function zxcExternal(zxcfun){ // Example to call a function where the obj.url(field 2 of the array) is 'FunctionName^|^functionparameter' // function 'FunctionName' will be called passing 'functionparameter' as a parameter var zxcdata=zxcfun.split('^|^'); window[zxcdata[0]](zxcdata[1]); } // **** Customising Variables var zxcBGColor='#B1D1FC'; // The default background color of banner elements (string) var zxcTxtColor='black'; // The default text color of banner elements (string) var zxcTxtAlign='center'; // The default text alignment of banner elements (string) var zxcFontSize='22px'; // The default font size of banner elements (string) var ImgPath='Hip-Resurfacing-Patients/'; var ContentAry=[ImgPath]; ContentAry[1]=['IMG','Blaise-Eagleheart.jpg','BHR_Fitness_Instructor.php',140,91,'#FFFFFF']; ContentAry[2]=['TXT','Blaise Eagleheart','BHR_Fitness_Instructor.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[3]=['IMG','Jonathan-Montenegro.jpg','BHR_Golfer.php',140,91,'#FFFFFF']; ContentAry[4]=['TXT','Jonathan Montenegro','BHR_Golfer.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[5]=['IMG','Balzliel.jpg','BHR_Missionary_Doctor.php',140,91,'#FFFFFF']; ContentAry[6]=['TXT','Dr.G.R.Balzliel','BHR_Missionary_Doctor.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[7]=['IMG','Kim-Reiser.jpg','BHR_Mountain_Hiker.php',140,91,'#FFFFFF']; ContentAry[8]=['TXT','Kim Reiser','BHR_Mountain_Hiker.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[9]=['IMG','Tom-Raudaschl.jpg','BHR_Ski_Guide.php',140,91,'#FFFFFF']; ContentAry[10]=['TXT','Tom Raudaschl','BHR_Ski_Guide.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[11]=['IMG','Russel-Kappius.jpg','BHR_Cyclist.php',140,91,'#FFFFFF']; ContentAry[12]=['TXT','Russel Kappius','BHR_Cyclist.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[13]=['IMG','Pam-Barnes.jpg','BHR_Horse_Woman.php',140,91,'#FFFFFF']; ContentAry[14]=['TXT',' Pam Barnes','BHR_Horse_Woman.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[15]=['IMG','C-P.jpg','BHR_Sitar_Player.php',140,91,'#FFFFFF']; ContentAry[16]=['TXT','C.P.','BHR_Sitar_Player.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[17]=['IMG','Richard-Millman.jpg','BHR_Squash.php',140,91,'#FFFFFF']; ContentAry[18]=['TXT','Richard Millman','BHR_Squash.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[19]=['IMG','Ken-Miller.jpg','BHR_Surfer.php',140,91,'#FFFFFF']; ContentAry[20]=['TXT',' Ken Miller','BHR_Surfer.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[21]=['IMG','William-Cory-Foulk.jpg','BHR_Triathlon_Competitor.php',140,91,'#FFFFFF']; ContentAry[22]=['TXT','William Cory Foulk','BHR_Triathlon_Competitor.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[23]=['IMG','Scott-Kopperud.jpg','BHR_Grand_Master.php',140,91,'#FFFFFF']; ContentAry[24]=['TXT','Scott Kopperud','BHR_Grand_Master.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[25]=['IMG','Joan-Gunness.jpg','BHR_Instructor.php',140,91,'#FFFFFF']; ContentAry[26]=['TXT','Joan Gunness','BHR_Instructor.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[27]=['IMG','Peter-F-Koenig.jpg','BHR_Motorcycle.php',140,91,'#FFFFFF']; ContentAry[28]=['TXT','Peter F. Koenig','BHR_Motorcycle.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[29]=['IMG','Jane-Schaeffer.jpg','Testimony-Hip-Resurfacing-Surgery.php',140,91,'#FFFFFF']; ContentAry[30]=['TXT','Jane Schaeffer','Testimony-Hip-Resurfacing-Surgery.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[31]=['IMG','Maryann-Ayim.jpg','Happy-Himalayan-Hip.php',140,91,'#FFFFFF']; ContentAry[32]=['TXT','Maryann Ayim','Happy-Himalayan-Hip.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; ContentAry[33]=['IMG','Thomas-B-Devaney.jpg','Devaney-TriAthletic.php',140,91,'#FFFFFF']; ContentAry[34]=['TXT','Thomas B. Devaney','Devaney-TriAthletic.php' ,'' ,'' ,'#4880B3','#FFFFFF','center' ,'13px']; // **** Functional Code - NO NEED to Change function zxcCSBanner(zxcid,zxcvh,zxcw,zxcspd,zxcaary){ var zxcp=document.getElementById(zxcid); var zxcary=[] if (zxcaary){ var zxcpth=zxcaary[0]; for (var zxc0=1;zxc00){ zxcoop.dir=1; } else { zxcoop.dir=-1; } zxcoop.rotate(); } function zxcBannerStop(zxcid){ var zxcoop=document.getElementById(zxcid).oopbr; if (!zxcoop){ return; } clearTimeout(zxcoop.to); } function zxcBannerStart(zxcid,zxcdir){ var zxcoop=document.getElementById(zxcid).oopbr; if (!zxcoop){ return; } clearTimeout(zxcoop.to); zxcoop.dir=zxcdir||zxcoop.dir; zxcoop.rotate(); } function zxcLink(zxcobj){ // if (zxcobj.url.match('^|^')){ zxcExternal(zxcobj.url); return; } window.top.location=zxcobj.url; } function zxcStyle(zxcele,zxcstyle){ if (typeof(zxcele)=='string'){ zxcele=document.createElement(zxcele); } for (key in zxcstyle){ zxcele.style[key]=zxcstyle[key]; } return zxcele; } function zxcOOPBannerRotate(zxcp,zxcvh,zxcspd,zxchw){ this.ref='zxcoobr'+zxcp.id; this.wh=(zxcvh=='H')?'left':'top'; window[this.ref]=this; this.ary=zxcp.ary; this.spd=zxcspd||100; this.to=null; this.dir=1; this.h=zxchw; } zxcOOPBannerRotate.prototype.rotate=function(){ this.ary[1].style[this.wh]=(parseInt(this.ary[1].style[this.wh])+this.dir)+'px'; this.ary[0].style[this.wh]=(parseInt(this.ary[1].style[this.wh])-this.h)+'px'; this.ary[2].style[this.wh]=(parseInt(this.ary[2].style[this.wh])+this.dir)+'px'; this.ary[3].style[this.wh]=(parseInt(this.ary[2].style[this.wh])+this.h*2)+'px'; if (this.dir<0&&parseInt(this.ary[1].style[this.wh])+this.h<0){ this.ary[1].style[this.wh]=(parseInt(this.ary[2].style[this.wh])+this.h)+'px'; this.ary.reverse(); } if (this.dir>0&&parseInt(this.ary[1].style[this.wh])>this.h){ this.ary[1].style[this.wh]=(parseInt(this.ary[2].style[this.wh])-this.h)+'px'; this.ary.reverse(); } this.setTimeOut('rotate();',this.spd); } zxcOOPBannerRotate.prototype.setTimeOut=function(zxcf,zxcd){ this.to=setTimeout('window.'+this.ref+'.'+zxcf,zxcd); }