function initialize_marquee(){ populateMarquee$2$(); } var marqueecontents2="Photo Release - Breakfast Briefing by Winfried Engelbrecht-Bresges      Cathay Pacific Hong Kong International Races - Photo Release 5      SILENT WITNESS ONCE AGAIN THE STAR OF THE CXHKIR SHOW      Cathay Pacific Hong Kong International Races - Photo Release 4      ALEXANDER GOLDRUN SCORES CXHK CUP FOR IRELAND      FIREBREAK BURNS TO CXHK MILE SUCCESS      CATHAY PACIFIC HONG KONG CUP - Trainer/Jockey Quotes      CATHAY PACIFIC HONG KONG MILE - TRAINER/JOCKEY QUOTES      Cathay Pacific Hong Kong International Races - Photo Release 3      INCOMPARABLE SILENT WITNESS THE UNDISPUTED CHAMPION      CATHAY PACIFIC HONG KONG SPRINT - TRAINER/JOCKEY QUOTES      Cathay Pacific Hong Kong International Races - Photo Release 2      PHOENIX REACH LANDS CXHK VASE FOR BRITAIN      CATHAY PACIFIC HONG KONG VASE - Trainer/Jockey Quotes      Cathay Pacific Hong Kong International Races - Photo Release 1      "; var marquee$2$content = "" + marqueecontents2 + "" /* Cross browser Marquee script- ?Dynamic Drive (www.dynamicdrive.com) - horizontal For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com Credit MUST stay intact */ //Specify the marquee$2$'s width (in pixels) var marquee$2$width="347px" //Specify the marquee$2$'s height var marquee$2$height="17px" //Specify the marquee$2$'s marquee$2$ speed (larger is faster 1-10) var marquee$2$speed=1 var marquee$2$pixel=1 var marquee$2$timeinterval=30 //configure background color: //var marquee$2$bgcolor="#DEFDD9" var marquee$2$bgcolor="" //Pause marquee$2$ onMousever (0=no. 1=yes)? var pauseit$2$=1 //Specify the marquee$2$'s content (don't delete tag) //Keep all content on ONE line, and backslash any single quotations (ie: that\'s great): //var marquee$2$content='Welcome to the Hong Kong Jockey Club Website ...' ////NO NEED TO EDIT BELOW THIS LINE//////////// marquee$2$speed=(document.all)? marquee$2$speed : Math.max(1, marquee$2$speed-1) //slow speed down by 1 for NS var copyspeed$2$=marquee$2$speed var pausespeed$2$=(pauseit$2$==0)? copyspeed$2$: 0 var iedom=document.all||document.getElementById if (iedom) document.write('') var actualwidth$2$='' var cross_marquee$2$, ns_marquee$2$ function populateMarquee$2$(){ if (iedom){ cross_marquee$2$=document.getElementById? document.getElementById("iemarquee$2$") : document.all.iemarquee$2$ cross_marquee$2$.style.left=parseInt(marquee$2$width)+marquee$2$pixel+"px" cross_marquee$2$.innerHTML=marquee$2$content actualwidth$2$=document.all? temp$2$.offsetWidth : document.getElementById("temp$2$").offsetWidth } else if (document.layers){ ns_marquee$2$=document.ns_marquee$2$.document.ns_marquee$2$2 ns_marquee$2$.left=parseInt(marquee$2$width)+marquee$2$pixel ns_marquee$2$.document.write(marquee$2$content) ns_marquee$2$.document.close() actualwidth$2$=ns_marquee$2$.document.width } lefttime=setInterval("scrollmarquee$2$()",marquee$2$timeinterval) } function scrollmarquee$2$(){ if (iedom){ if (parseInt(cross_marquee$2$.style.left)>(actualwidth$2$*(-1)+marquee$2$pixel)) cross_marquee$2$.style.left=parseInt(cross_marquee$2$.style.left)-copyspeed$2$+"px" else cross_marquee$2$.style.left=parseInt(marquee$2$width)+marquee$2$pixel+"px" } else if (document.layers){ if (ns_marquee$2$.left>(actualwidth$2$*(-1)+marquee$2$pixel)) ns_marquee$2$.left-=copyspeed$2$ else ns_marquee$2$.left=parseInt(marquee$2$width)+marquee$2$pixel } } function placemarquee$2$(){ if (iedom||document.layers){ with (document){ document.write('
') if (iedom){ write('
') write('
') write('
') write('
') } else if (document.layers){ write('') write('') write('') } document.write('
') } } }