/*Example message arrays for the two demo scrollers*/ var pausecontent2=new Array() pausecontent2[0]= '

new鴻巣カントリークラブ 70万円  new大宮ゴルフコース 650万円  new東京五日市カントリー倶楽... 55万円

'; pausecontent2[1]= '

new紫雲ゴルフ倶楽部 45万円  new烏山城カントリークラブ 30万円  new南総カントリークラブ 290万円

'; pausecontent2[2]= '

new浜野ゴルフクラブ 290万円  new相模原ゴルフクラブ 1200万円  new千葉夷隅ゴルフクラブ 12万円

'; pausecontent2[3]= '

new茨城ゴルフ倶楽部 1000万円  new富士チサンカントリークラ... 10万円  new小金井カントリー倶楽部 4200万円

'; pausecontent2[4]= '

new美里ゴルフ倶楽部 90万円  new本千葉カントリークラブ 40万円  new高根カントリー倶楽部 30万円

'; pausecontent2[5]= '

new大洗ゴルフ倶楽部 290万円  new立川国際カントリー倶楽部 280万円  new赤羽ゴルフ倶楽部 270万円

'; pausecontent2[6]= '

new東京よみうりカントリーク... 2550万円  new東京国際ゴルフ倶楽部 250万円  newGMG八王子ゴルフ場 25万円

'; pausecontent2[7]= '

new厚木国際カントリー倶楽部 1480万円  new総武カントリークラブ 140万円  newレインボーカントリー倶楽... 110万円

'; pausecontent2[8]= '

ゴルフ倶楽部成田ハイツリ... 80万円  メイプルポイントゴルフク... 650万円  東松山カントリークラブ 210万円

'; pausecontent2[9]= '

アスレチックガーデンゴル... 160万円  姉ヶ崎カントリー倶楽部 145万円  大利根カントリークラブ 960万円

'; pausecontent2[10]= '

横浜カントリークラブ 920万円  木更津ゴルフクラブ 90万円  東京カントリー倶楽部 85万円

'; pausecontent2[11]= '

PGMマリアゴルフリンク... 80万円  鎌ヶ谷カントリークラブ 80万円  川越カントリークラブ 80万円

'; pausecontent2[12]= '

秦野カントリークラブ 8万円  武蔵カントリークラブ 740万円  平塚富士見カントリークラ... 700万円

'; pausecontent2[13]= '

江戸崎カントリー倶楽部 70万円  阿見ゴルフクラブ 70万円  成田ヒルズカントリークラ... 70万円

'; pausecontent2[14]= '

中津川カントリークラブ 70万円  津久井湖ゴルフ倶楽部 65万円  キングフィールズゴルフク... 630万円

'; pausecontent2[15]= '

我孫子ゴルフ倶楽部 620万円  箱根カントリー倶楽部 600万円  桃里カントリー倶楽部 600万円

'; pausecontent2[16]= '

豊科カントリー倶楽部 60万円  芝山ゴルフ倶楽部 60万円  ザ・インペリアルカントリ... 60万円

'; pausecontent2[17]= '

都留カントリー倶楽部 55万円  白河高原カントリークラブ 50万円  靜岡カントリー袋井コース 50万円

'; pausecontent2[18]= '

富貴ゴルフ倶楽部 50万円  松本カントリークラブ 50万円  武蔵野ゴルフクラブ 50万円

'; pausecontent2[19]= '

米原ゴルフ倶楽部 50万円  鎌倉カントリークラブ 5万円  KOSHIGAYA GO... 450万円

'; pausecontent2[20]= '

飯能パークカントリークラ... 45万円  蓼科高原カントリークラブ 45万円  日光カンツリー倶楽部 440万円

'; pausecontent2[21]= '

おおむらさきゴルフ倶楽部 40万円  リバーサイドフェニックス... 40万円  昇仙峡カントリークラブ 40万円

'; pausecontent2[22]= '

大栄カントリー倶楽部 40万円  袖ヶ浦カンツリークラブ(... 380万円  青梅ゴルフ倶楽部 380万円

'; pausecontent2[23]= '

藤ヶ谷カントリークラブ 380万円  あづみ野カントリークラブ 35万円  上総モナークカントリーク... 35万円

'; pausecontent2[24]= '

磯子カンツリークラブ 3400万円  レイクウッドゴルフクラブ 3000万円  鳳琳カントリー倶楽部 30万円

'; pausecontent2[25]= '

小名浜カントリー倶楽部 30万円  グレンオークスカントリー... 30万円  入間カントリー倶楽部 30万円

'; pausecontent2[26]= '

坂東ゴルフクラブ(旧 新... 30万円  相良カントリー倶楽部 30万円  ホロンゴルフ倶楽部 30万円

'; pausecontent2[27]= '

飯田カントリー倶楽部 30万円  立野クラシック・ゴルフ倶... 280万円  チェックメイトカントリー... 270万円

'; pausecontent2[28]= '

石坂ゴルフ倶楽部 250万円  富士小山ゴルフクラブ 250万円  PGM石岡ゴルフクラブ ... 25万円

'; pausecontent2[29]= '

大多喜カントリークラブ 25万円  習志野カントリークラブ 25万円  山田クラブ21 25万円

'; pausecontent2[30]= '

館山カントリークラブ 25万円  富士見ヶ丘カントリー倶楽... 25万円  沼津ゴルフクラブ 25万円

'; pausecontent2[31]= '

房総カントリークラブ 25万円  飯能くすの樹カントリー倶... 25万円  浜名湖カントリークラブ 230万円

'; pausecontent2[32]= '

河口湖カントリークラブ 220万円  戸塚カントリー倶楽部 2100万円  鷹之台カンツリー倶楽部 2000万円

'; pausecontent2[33]= '

岡部チサンカントリークラ... 20万円  さいたま梨花カントリーク... 20万円  上総富士ゴルフクラブ 20万円

'; pausecontent2[34]= '

ニッソーカントリークラブ 20万円  オーク・ヒルズカントリ-... 20万円  ノーザンカントリークラブ... 20万円

'; pausecontent2[35]= '

PGM御殿場カントリーク... 20万円  日高カントリークラブ 190万円  飯能グリーンカントリーク... 190万円

'; pausecontent2[36]= '

日本カントリークラブ 170万円  平川カントリークラブ 170万円  富士レイクサイドカントリ... 170万円

'; pausecontent2[37]= '

高坂カントリークラブ 160万円  取手国際ゴルフ倶楽部 160万円  カレドニアン・ゴルフクラ... 160万円

'; pausecontent2[38]= '

麻倉ゴルフ倶楽部 1550万円  常陽カントリー倶楽部 155万円  熊谷ゴルフクラブ 150万円

'; pausecontent2[39]= '

グランディ軽井沢ゴルフク... 150万円  東千葉カントリークラブ 15万円  関越ハイランドゴルフクラ... 15万円

'; pausecontent2[40]= '

出島ゴルフクラブ 15万円  アバイディングクラブゴル... 15万円  東名厚木カントリー倶楽部... 15万円

'; pausecontent2[41]= '

さいたまゴルフクラブ 15万円  中央都留カントリー倶楽部 15万円  あさひヶ丘カントリークラ... 15万円

'; pausecontent2[42]= '

船橋カントリークラブ 140万円  紫カントリークラブ あや... 140万円  成田ゴルフ倶楽部 130万円

'; pausecontent2[43]= '

金乃台カントリークラブ 120万円  武蔵松山カントリークラブ 110万円  多摩カントリークラブ 1000万円

'; pausecontent2[44]= '

太平洋アソシエイツ 100万円  湘南シーサイドカントリー... 100万円  浦和ゴルフ倶楽部 100万円

'; pausecontent2[45]= '

長瀞カントリークラブ 10万円  扶桑カントリー倶楽部 10万円  栃木ヶ丘ゴルフ倶楽部 10万円

'; pausecontent2[46]= '

成田の森カントリークラブ 10万円  大宮国際カントリークラブ 10万円  都ゴルフ倶楽部 10万円

'; pausecontent2[47]= '

ディアレイク・カントリー... 10万円  芦の湖カントリークラブ 10万円  ロイヤルスターゴルフクラ... 10万円

'; pausecontent2[48]= '

大日向カントリー倶楽部 10万円  伊勢原カントリークラブ 10万円  御殿場東名ゴルフクラブ 10万円

'; pausecontent2[49]= '

ノーザンカントリークラブ... 10万円  彩の森カントリークラブ・... 10万円  東松苑ゴルフ倶楽部 10万円

'; pausecontent2[50]= '

'; /*********************************************** * Pausing up-down scroller- c Dynamic Drive (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit http://www.dynamicdrive.com/ for this script and 100s more. ***********************************************/ function pausescroller(content, divId, divClass, delay){ this.content=content //message array content this.tickerid=divId //ID of ticker div to display information this.delay=delay //Delay between msg change, in miliseconds. this.mouseoverBol=0 //Boolean to indicate whether mouse is currently over scroller (and pause it if it is) this.hiddendivpointer=1 //index of message array for hidden div document.write('
'+content[0]+'
') var scrollerinstance=this if (window.addEventListener) //run onload in DOM2 browsers window.addEventListener("load", function(){scrollerinstance.initialize()}, false) else if (window.attachEvent) //run onload in IE5.5+ window.attachEvent("onload", function(){scrollerinstance.initialize()}) else if (document.getElementById) //if legacy DOM browsers, just start scroller after 0.5 sec setTimeout(function(){scrollerinstance.initialize()}, 500) } // ------------------------------------------------------------------- // initialize()- Initialize scroller method. // -Get div objects, set initial positions, start up down animation // ------------------------------------------------------------------- pausescroller.prototype.initialize=function(){ this.tickerdiv=document.getElementById(this.tickerid) this.visiblediv=document.getElementById(this.tickerid+"1") this.hiddendiv=document.getElementById(this.tickerid+"2") this.visibledivtop=parseInt(pausescroller.getCSSpadding(this.tickerdiv)) //alert(this.visibledivtop); //set width of inner DIVs to outer DIV's width minus padding (padding assumed to be top padding x 2) this.visiblediv.style.width=this.hiddendiv.style.width=this.tickerdiv.offsetWidth-(this.visibledivtop*2)+"px" this.getinline(this.visiblediv, this.hiddendiv) this.hiddendiv.style.visibility="visible" var scrollerinstance=this document.getElementById(this.tickerid).onmouseover=function(){scrollerinstance.mouseoverBol=1} document.getElementById(this.tickerid).onmouseout=function(){scrollerinstance.mouseoverBol=0} if (window.attachEvent) //Clean up loose references in IE window.attachEvent("onunload", function(){scrollerinstance.tickerdiv.onmouseover=scrollerinstance.tickerdiv.onmouseout=null}) setTimeout(function(){scrollerinstance.animateup()}, this.delay) } // ------------------------------------------------------------------- // animateup()- Move the two inner divs of the scroller up and in sync // ------------------------------------------------------------------- pausescroller.prototype.animateup=function(){ /* var scrollerinstance=this if (parseInt(this.hiddendiv.style.top)>(this.visibledivtop+5)){ this.visiblediv.style.top=parseInt(this.visiblediv.style.top)-5+"px" this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)-5+"px" setTimeout(function(){scrollerinstance.animateup()}, 70) } else{ this.getinline(this.hiddendiv, this.visiblediv) this.swapdivs() setTimeout(function(){scrollerinstance.setmessage()}, this.delay) } */ var scrollerinstance=this if (parseInt(this.hiddendiv.style.top)<(this.visibledivtop-5)){ this.visiblediv.style.top=parseInt(this.visiblediv.style.top)+5+"px" this.hiddendiv.style.top=parseInt(this.hiddendiv.style.top)+5+"px" setTimeout(function(){scrollerinstance.animateup()}, 70) } else{ this.getinline(this.hiddendiv, this.visiblediv) this.swapdivs() setTimeout(function(){scrollerinstance.setmessage()}, this.delay) } } // ------------------------------------------------------------------- // swapdivs()- Swap between which is the visible and which is the hidden div // ------------------------------------------------------------------- pausescroller.prototype.swapdivs=function(){ var tempcontainer=this.visiblediv this.visiblediv=this.hiddendiv this.hiddendiv=tempcontainer } pausescroller.prototype.getinline=function(div1, div2){ div1.style.top=this.visibledivtop+"px" ///div2.style.top=Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px" div2.style.top=this.visibledivtop-Math.max(div1.parentNode.offsetHeight, div1.offsetHeight)+"px" } // ------------------------------------------------------------------- // setmessage()- Populate the hidden div with the next message before it's visible // ------------------------------------------------------------------- pausescroller.prototype.setmessage=function(){ var scrollerinstance=this if (this.mouseoverBol==1) //if mouse is currently over scoller, do nothing (pause it) setTimeout(function(){scrollerinstance.setmessage()}, 100) else{ var i=this.hiddendivpointer var ceiling=this.content.length this.hiddendivpointer=(i+1>ceiling-1)? 0 : i+1 this.hiddendiv.innerHTML=this.content[this.hiddendivpointer] this.animateup() } } pausescroller.getCSSpadding=function(tickerobj){ //get CSS padding value, if any if (tickerobj.currentStyle) return tickerobj.currentStyle["paddingTop"] else if (window.getComputedStyle) //if DOM2 return window.getComputedStyle(tickerobj, "").getPropertyValue("padding-top") else return 0 }