PageSourceSearch

https://www.tollkeeperscottage.ca/Pluginlab/Scripts/PLVFO.js

js tollkeeperscottage.ca collected 2026-10-02 14:03:50 UTC 21,161 bytes, 408 lines download raw bytes

1//Copyright(C)2002-2007 Pluginlab Limited. All rights reserved.
2//www.pluginlab.com
3//Registered to:nsadler
4var PLVFO={dummy:0,
5VERSION:'2.1.1.4',
6WIDTH:140,
7LAYER:false,
8X:0,
9Y:0,
10VALIGN:0,
11IS_FLOATING:false,
12MAIN_SET_HEIGHT:true,
13FLYOUT_SET_HEIGHT:false,
14MAIN_ITEM_HEIGHT:25,
15FLYOUT_ITEM_HEIGHT:17,
16ROLLOVER_HAS_BORDER:true,
17SHOW_SELECTED:true,
18STYLE:0,
19V_INTERVAL:2,
20CROSSFADE:0,
21FLYOUT_HEIGHT:0,
22FLYOUT_WIDTH:10,
23OVERLAP:false,
24Z_INDEX:50,
25PARENT_MO:true,
26HAS_SHADOW:false,
27OPEN_EVENT:0,
28OPEN_ANIMATION:1,
29CLOSE_ANIMATION:0,
30OPEN_SPEED:10,
31CLOSE_SPEED:10,
32SHOW_DELAY:100,
33AUTOCLOSE_DELAY:700,
34BACKGROUND_COLOR:'#ffffff',
35SEPARATOR_COLOR:'#ff0000',
36NORMAL_COLOR:'#cccc99',
37MOUSEOVER_COLOR:'#003366',
38MOUSEDOWN_COLOR:'#003366',
39SELECTED_COLOR:'#cccc99',
40NORMAL_BORDER_COLOR:'#003366',
41MOUSEOVER_BORDER_COLOR:'#003366',
42MOUSEDOWN_BORDER_COLOR:'#003366',
43SELECTED_BORDER_COLOR:'#ff3737',
44TEXT_COLOR:'#003366',
45TEXT_MOUSEOVER_COLOR:'#cccc99',
46TEXT_MOUSEDOWN_COLOR:'#cccc99',
47TEXT_SELECTED_COLOR:'#6a0000',
48BORDER_COLOR:'#ffffff',
49FLYOUT_BORDER_COLOR:'#ffffff',
50MAIN_FONT:'Times New Roman,Times,serif',
51FLYOUT_FONT:'Times New Roman,Times,serif',
52MAIN_FONT_SIZE:17,
53FLYOUT_FONT_SIZE:16,
54MAIN_BOLD:true,
55FLYOUT_BOLD:true,
56MAIN_ITALIC:true,
57FLYOUT_ITALIC:true,
58MAIN_UNDERLINE:false,
59FLYOUT_UNDERLINE:false,
60ALIGN_MAIN_NORMAL:0,
61ALIGN_MAIN_HEADING:1,
62ALIGN_FO_NORMAL:0,
63ALIGN_FO_HEADING:1,
64RTL:false,
65SUB_ARROW:"*../Images/fo_arrow.gif",
66SUB_ARROW_ROLLOVER:"*../Images/fo_arrowOver.gif",
67UP_ARROW:"*../Images/up.gif",
68UP_ARROW_DISABLED:"*../Images/up_disabled.gif",
69DOWN_ARROW:"*../Images/down.gif",
70DOWN_ARROW_DISABLED:"*../Images/down_disabled.gif",
71STREAM:[0,13,'#ffffff','#ff0000','#cccc99','#003366','#003366','#cccc99','#003366','#003366','#003366','#ff3737','#003366','#cccc99','#cccc99','#6a0000',0,0,"Home",'*../../','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Join the Parade!",'*../../html/Participate.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Background",'*../../html/Background.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Discovery",'*../../html/Discovery.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Restoration",'*../../html/Restoration.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Slideshows",'*../../Images/openShow/tcgallery.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,1,"What's New",'','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,2,"Groups/Events",'','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"We're Open!",'*../../html/open.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,3,"Friends",'','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,4,"About CHP",'','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Contact Us",'*../../html/Contact.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Links",'*../../html/Links.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,1,1,'#ffffff','#ff0000','#cccc99','#003366','#003366','#cccc99','#003366','#003366','#003366','#ff3737','#003366','#cccc99','#cccc99','#6a0000',0,0,"Site Updates",'*../../html/Whats%20New.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,2,2,'#ffffff','#ff0000','#cccc99','#003366','#003366','#cccc99','#003366','#003366','#003366','#ff3737','#003366','#cccc99','#cccc99','#6a0000',0,0,"2025",'*../../html/Events202x.htm#nov','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Group Visits (School and Adult)",'*../../html/tours.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,3,2,'#ffffff','#ff0000','#cccc99','#003366','#003366','#cccc99','#003366','#003366','#003366','#ff3737','#003366','#cccc99','#cccc99','#6a0000',0,0,"Friends",'*../../html/Friends.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"Wish List",'*../../html/Wish%20List.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,4,3,'#ffffff','#ff0000','#cccc99','#003366','#003366','#cccc99','#003366','#003366','#003366','#ff3737','#003366','#cccc99','#cccc99','#6a0000',0,0,"About CHP",'*../../html/About.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"CHP Pamphlets",'*../../html/pamphlets.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12,0,0,"CHP's New Home",'*../../html/newHome.htm','','*../../Images/tkcMenuBlueBar1.gif','',25,12],
72browser:function(){var ua=navigator.userAgent.toLowerCase()
73this.opera=ua.indexOf('opera')>=0
74this.safari=ua.indexOf('safari')>=0
75this.ie=document.all&&!this.opera
76this.macie=this.ie&&ua.indexOf('mac')>=0
77this.winie=this.ie&&!this.macie
78this.ieCanvas=(this.ie&&document.compatMode=="CSS1Compat")?document.documentElement:document.body
79return this},
80setPathAdjustment:function(ID){var sl=''
81var sc=document.getElementById(ID)
82if(sc)sl=sc.src
83else{sc=document.getElementsByTagName('script')
84for(var i=0;i<sc.length;i++){if(sc[i].innerHTML.search(ID)>-1)sl=sc[i].src}}this.SCRIPT_LOCATION=sl.substr(0, sl.lastIndexOf('/')+1)},
85adjustPath:function(path){if(path.charAt(0)!='*')return path
86return this.SCRIPT_LOCATION+path.substr(1)},linkScripts:function(aNewScripts){var scripts=document.getElementsByTagName('script')
87for(var i=0;i<aNewScripts.length;i++){var bScriptLinked=false
88for(var j=0;j<scripts.length;j++){if(aNewScripts[i]==scripts[j].src){bScriptLinked=true;break}}if(!bScriptLinked)document.write("<script src='"+aNewScripts[i]+"' type='text/javascript'><\/script>")}},isCurrent:function(r){if(!r)return false
89var l=location.href
90if(r.search('//')==-1){if(r.charAt(0)=='/')
91r=l.replace(/(.*\/\/[^\/]*).*/,'$1')+r
92else
93r=l.replace(/[^\/]*$/,'')+r}do{var r1=r
94r=r1.replace(/[^\/]*\/\.\.\//,'')}while(r!=r1)
95return r==l},addLoadEvent:function(f){var oldf=window.onload
96if(typeof oldf!='function'){window.onload=f}else{window.onload=function(){try{oldf()}catch(e){}f()}}},
97init:function(){this.linkScripts(new Array())
98this.addLoadEvent(this.onload)},
99onload:function(){setTimeout('PLVFO.start()',0)},
100start:function(){var m=this
101m.br=new m.browser()
102m.flyouts=new Array
103m.shownFoids=Array('0')
104m.currentFoid=null
105m.nextFoid=null
106m.currentItem
107m.timeout=null
108m.interval=null
109m.scroll_start=0
110m.scroll_time=0
111m.scroll_delta=0
112m.preloads=new Array
113m.plIndex=0
114m.cur=null
115m.div=document.getElementById('PLVFODiv')
116m.setPathAdjustment('PLVFOMenu script')
117m.SUB_ARROW=m.adjustPath(m.SUB_ARROW)
118m.SUB_ARROW_ROLLOVER=m.adjustPath(m.SUB_ARROW_ROLLOVER)
119m.UP_ARROW=m.adjustPath(m.UP_ARROW)
120m.UP_ARROW_DISABLED=m.adjustPath(m.UP_ARROW_DISABLED)
121m.DOWN_ARROW=m.adjustPath(m.DOWN_ARROW)
122m.DOWN_ARROW_DISABLED=m.adjustPath(m.DOWN_ARROW_DISABLED)
123m.preload(m.SUB_ARROW_ROLLOVER)
124m.preload(m.UP_ARROW)
125m.preload(m.DOWN_ARROW_DISABLED)
126m.flyouts[0]=new m.flyout(m, null, 0)
127var i=0, st=m.STREAM
128while(i<st.length){var index=st[i++]
129var n=st[i++]
130var curSecColor=st[i++]
131var curColor=st[++i]
132var curMOColor=st[++i]
133var curMDColor=st[++i]
134var curSelColor=st[++i]
135var curBColor=st[++i]?st[i]:curSecColor
136var curBMOColor=st[++i]?st[i]:curSecColor
137var curBMDColor=st[++i]?st[i]:curSecColor
138var curBSelColor=st[++i]?st[i]:curSecColor
139i++
140var curTxtColor=st[i++]
141var curTMOColor=st[i++]
142var curTMDColor=st[i++]
143var curTSelColor=st[i++]
144var fo=m.flyouts[index].div
145fo.onmouseover=m.onmouseover
146fo.onmouseout=m.onmouseout
147var wraper
148var uss=""
149var dss=""
150if(fo.foid=index){var tbl=document.createElement('table')
151tbl.style.width='100%'
152fo.appendChild(tbl)
153fo.style.position='absolute'
154tbl.cellPadding=0
155tbl.cellSpacing=0
156tbl.style.border='solid 1px #ffffff'
157tbl.bgColor=curSecColor
158var cell=m.insertCell(tbl)
159uss="<TABLE border=0 cellpadding=0 cellspacing=0 width=100%><TBODY><TR><TD><TABLE cellpadding=0 cellspacing=0 width=100% class='PLVFO_UPSCROLLER' bgcolor='"+curColor+"' style='border:solid 1px "+curBColor+";cursor:pointer' ncolor='"+curColor+"' mocolor='"+curMOColor+"' brdcolor='"+curBColor+"' bmocolor='"+curBMOColor+"'><TBODY><TR><TD align='center' style='padding:2px 0px'><IMG src="+m.UP_ARROW_DISABLED+"></IMG></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><TABLE border=0 cellpadding=0 cellspacing=0 width=100%><TBODY><TR><TD style='background-color:#ffffff;height:1px'></TD></TR></TBODY></TABLE>"
160dss="<TABLE border=0 cellpadding=0 cellspacing=0 width=100%><TBODY><TR><TD style='background-color:#ffffff;height:1px'></TD></TR></TBODY></TABLE><TABLE border=0 cellpadding=0 cellspacing=0 width=100%><TBODY><TR><TD><TABLE cellpadding=0 cellspacing=0 width=100% class='PLVFO_DOWNSCROLLER' bgcolor='"+curColor+"' style='border:solid 1px "+curBColor+";cursor:pointer' ncolor='"+curColor+"' mocolor='"+curMOColor+"' brdcolor='"+curBColor+"' bmocolor='"+curBMOColor+"'><TBODY><TR><TD align='center' style='padding:2px 0px'><IMG src="+m.DOWN_ARROW+"></IMG></TD></TR></TBODY></TABLE>
160</TD></TR></TBODY></TABLE>"
161wraper=cell}else{wraper=m.div.getElementsByTagName('TD')[0]}var fos=""
162if(index)fos+=uss+"<DIV id='PLVFOSA'>"
163fos+="<TABLE width=100% border=0 cellpadding=0 cellspacing=0 bgcolor="+curSecColor+"><TBODY><TR><TD>"
164var first_item=1
165for(var j=0;j<n;j++){var type=st[i++]
166var is
167if(type==0){var cfoid=st[i++]
168var txt=st[i++]
169var ref=m.adjustPath(st[i++])
170var targ=st[i++]
171var func=''
172var params=''
173if(targ.substr(0,3)=='_PL'){func=st[i++]
174params=st[i++]}var imgn=m.adjustPath(st[i++])
175var imgo=m.adjustPath(st[i++])
176var imgh=st[i++]
177var imgw=st[i++]
178m.preload(imgo)
179var cur=m.isCurrent(ref)
180var sel=cur
181is="<DIV style='margin:"+(first_item?"0":"2")+"px 0px 0px 0px'><TABLE border=0 cellpadding=0 cellspacing=0 class='PLVFOLink' ename='fi' foid="+index+" width=100% cfoid="+cfoid+" txt='"+txt+"' ref='"+ref+"' target='"+targ+"'"+(func?" func='"+func+"'":"")+""+(params?" params=\""+params+"\"":"")+" imgn='"+imgn+"' imgo='"+imgo+"' imgh="+imgh+" imgw="+imgw+" ncolor='"+curColor+"' mocolor='"+curMOColor+"' mdcolor='"+curMDColor+"' brdcolor='"+curBColor+"' bmocolor='"+curBMOColor+"' bmdcolor='"+curBMDColor+"' bselcolor='"+curBSelColor+"' txtcolor='"+curTxtColor+"' tmocolor='"+curTMOColor+"' tmdcolor='"+curTMDColor+"' BGCOLOR='"+(sel?curSelColor:curColor)+"'"+(cur?" cur=1":"")+""+(sel?" sel=1":"")+" style=' border:solid 1px "+(sel?curBSelColor:curBColor)+";cursor:"+(sel?'default':"pointer")+"'><TBODY><TR>"
182if(imgn||imgo)is+="<TD><IMG class='PLVFOIcon' SRC='"+(imgn?imgn:imgo)+"' HEIGHT='"+imgh+"px' WIDTH='"+imgw+"px'"+(imgn?"":" style='visibility:hidden'")+"></IMG></TD>"
183is+="<TD width='100%'"+(index?" align='left'":" align='left'")+" style='padding:"+(index?"1px 6px 3px 6px":"2px 6px 4px 6px")+";font-family:"+(index?m.FLYOUT_FONT:m.MAIN_FONT)+";font-size:"+(index?"16px":"17px")+""+((index&&m.FLYOUT_BOLD)||(!index&&m.MAIN_BOLD)?";font-weight:bold":"")+""+((index&&m.FLYOUT_ITALIC)||(!index&&m.MAIN_ITALIC)?";font-style:italic":"")+"' nowrap><FONT style='color:"+(sel?curTSelColor:curTxtColor)+""+((index&&m.FLYOUT_UNDERLINE)||(!index&&m.MAIN_UNDERLINE)?";text-decoration:underline":"")+"'>"+txt+"</FONT></TD>"
184if(cfoid>0&&m.SUB_ARROW)is+="<TD><IMG class='PLVFOArrow' SRC='"+m.SUB_ARROW+"' HEIGHT='7px' WIDTH='7px'></IMG></TD>"
185is+="</TR></TBODY></TABLE></DIV>"
186first_item=0}else if(type==1){var txt=st[i++]
187var color=st[i++]
188var bgimg=m.adjustPath(st[i++])
189is="<DIV style='margin:"+(first_item?"0":"2")+"px 0px 0px 0px'><TABLE border=0 cellpadding=0 cellspacing=0 class='PLVFOHeading' ename='fi' width=100%"
190if(bgimg)is+=" style='background-image:url("+bgimg+")'"
191is+="><TBODY><TR><TD"+(index?" align='center'":" align='center'")+" style='padding:"+(index?"2px 4px 4px 4px":"3px 4px 5px 4px")+";font-family:"+(index?m.FLYOUT_FONT:m.MAIN_FONT)+";font-size:"+(index?"16px":"17px")+";font-weight:bold"+((index&&m.FLYOUT_ITALIC)||(!index&&m.MAIN_ITALIC)?";font-style:italic":"")+"' nowrap><FONT style='color:"+color+""+((index&&m.FLYOUT_UNDERLINE)||(!index&&m.MAIN_UNDERLINE)?";text-decoration:underline":"")+"'>"+txt+"</FONT></TD></TR></TBODY></TABLE></DIV>"
192first_item=0}else if(type==2){curSecColor=st[i++]
193var sepColor=st[i]
194curColor=st[++i]
195curMOColor=st[++i]
196curMDColor=st[++i]
197curSelColor=st[++i]
198curBColor=st[++i]?st[i]:curSecColor
199curBMOColor=st[++i]?st[i]:curSecColor
200curBMDColor=st[++i]?st[i]:curSecColor
201curBSelColor=st[++i]?st[i]:curSecColor
202i++
203curTxtColor=st[i++]
204curTMOColor=st[i++]
205curTMDColor=st[i++]
206curTSelColor=st[i++]
207is="</TD></TR></TBODY></TABLE>"
208if(sepColor!='')is+="<TABLE border=0 cellpadding=0 cellspacing=0 width=100% bgcolor="+sepColor+"><TBODY><TR><TD height=1></TD></TR></TBODY></TABLE>"
209is+="<TABLE width=100% border=0 cellpadding=0 cellspacing=0 bgcolor="+curSecColor+"><TBODY><TR><TD>"
210first_item=1}fos+=is}fos+="</TD></TR></TBODY></TABLE>"
211if(index)fos+="</DIV>"+dss
212wraper.innerHTML=fos
213if(index){fo.upScrWrp=wraper.childNodes[0]
214var upScr=fo.upScrWrp.getElementsByTagName('TABLE')[0]
215fo.upArrow=fo.upScrWrp.getElementsByTagName('IMG')[0]
216fo.upScBorder=wraper.childNodes[1]
217var scrollArea=wraper.childNodes[2]
218fo.dnScBorder=wraper.childNodes[3]
219fo.dwnScrWrp=wraper.childNodes[4]
220var dwnScr=fo.dwnScrWrp.getElementsByTagName('TABLE')[0]
221fo.downArrow=fo.dwnScrWrp.getElementsByTagName('IMG')[0]
222var attr=new Array('ncolor','mocolor','brdcolor','bmocolor')
223for(var a=0;a<attr.length;a++){eval('upScr.'+attr[a]+'=upScr.getAttribute("'+attr[a]+'")')
224eval('dwnScr.'+attr[a]+'=dwnScr.getAttribute("'+attr[a]+'")')}dwnScr.foid=upScr.foid=index}var items=wraper.getElementsByTagName('Table')
225for(var k=0;k<items.length;k++){var e=items[k]
226if(e.className=='PLVFOLink'){var attr=new Array('ename','foid','cfoid','txt','ref','target','func','params','imgn','imgo','ncolor','mocolor','mdcolor','bmdcolor','bselcolor','brdcolor','bmocolor','bmdcolor','bselcolor','txtcolor','tmocolor','tmdcolor','cur','sel')
227for(var a=0;a<attr.length;a++)
228eval('e.'+attr[a]+'=e.getAttribute("'+attr[a]+'")')
229if(e.cur)m.cur=e
230if(e.sel){var tfi=e
231while(tfi=m.flyouts[tfi.foid].pfi){tfi.style.borderColor=tfi.bselcolor
232tfi.bgColor=tfi.ncolor
233tfi.selp=1}}else{e.onmousedown=m.onmousedown
234e.onmouseup=m.onmouseup}e.co=0
235if(e.className=='PLVFOLink'&&e.cfoid>0){m.flyouts[e.cfoid]=new m.flyout(m, e, e.cfoid)}}}if(index){fo.style.display=''
236scrollArea.baseHeight=scrollArea.offsetHeight
237fo.scrollArea=scrollArea
238fo.style.zIndex=50
239fo.style.display='none'}}var items=document.getElementsByTagName('TABLE')
240for(var i=0;i<items.length;i++){var e=items[i]
241if(e.className=='PLVFOLink'||e.className=='PLVFOHeading'){if(e.className=='PLVFOLink')e.a=e.getElementsByTagName('FONT')[0]
242var imgs=e.getElementsByTagName('IMG')
243for(var j=0;j<imgs.length;j++){if(imgs[j].className=='PLVFOIcon')e.img=imgs[j]
244if(imgs[j].className=='PLVFOArrow')e.fo_arrow=imgs[j]}}}},
245onmouseover:function(evt){var m=PLVFO
246var e=m.getSource(evt)
247m.currentFoid=m.getFoid(this)
248m.nextFoid=null
249if(e){window.clearTimeout(m.timeout)
250m.currentItem=e
251m.nextFoid=e.cfoid
252if(e.className=='PLVFO_UPSCROLLER'||e.className=='PLVFO_DOWNSCROLLER'){m.showMO(e)
253m.scroll_start=m.flyouts[e.foid].div.scrollArea.scrollTop
254m.scroll_time=m.getTime()
255m.scroll_delta=e.className=='PLVFO_UPSCROLLER'?-0.15:0.15
256m.interval=window.setInterval('PLVFO.scroll()',35)}else if(e.className=='PLVFOLink'){m.showMO(e)
257m.timeout=window.setTimeout('PLVFO.updateFlyouts()',100)}}},
258onmouseout:function(evt){var m=PLVFO
259var e=m.getSource(evt)
260m.currentFoid=0
261m.nextFoid=null
262if(e&&((e.className=='PLVFO_UPSCROLLER')||(e.className=='PLVFO_DOWNSCROLLER')||(e.className=='PLVFOLink'&&!e.co)))PLVFO.hideMO(e)
263window.clearInterval(m.interval)
264window.clearTimeout(m.timeout)
265m.timeout=window.setTimeout('PLVFO.updateFlyouts()',700)},
266onmousedown:function(evt){var m=PLVFO
267var e=m.getSource(evt)
268if(!e.selp)
269e.style.borderColor=e.bmdcolor
270e.bgColor=e.mdcolor
271e.a.style.color=e.tmdcolor},
272onmouseup:function(evt){var m=PLVFO
273var e=m.getSource(evt)
274m.showMO(e)
275m.currentFoid=0
276m.nextFoid=null
277window.clearInterval(m.interval)
278window.clearTimeout(m.timeout)
279m.updateFlyouts()
280if(e.func)eval(e.func+'("PLVFOMenu script","'+e.ref+'",'+e.params+')')
281else{if(!e.ref)return
282if(e.target)window.open(e.ref,e.target)
283else location=e.ref}},
284showMO:function(e){if(e.fo_arrow)e.fo_arrow.src=this.SUB_ARROW_ROLLOVER
285if(e.sel)return
286if(!e.selp)
287e.style.borderColor=e.bmocolor
288e.bgColor=e.mocolor
289if(e.className=='PLVFOLink'){e.a.style.color=e.tmocolor
290if(e.imgo){e.img.src=e.imgo
291e.img.style.visibility=''}}},
292hideMO:function(e){if(e.fo_arrow)e.fo_arrow.src=this.SUB_ARROW
293if(e.sel)return
294if(!e.selp)
295e.style.borderColor=e.brdcolor
296e.bgColor=e.ncolor
297if(e.className=='PLVFOLink'){e.a.style.color=e.txtcolor
298if(e.imgn)e.img.src=e.imgn
299else if(e.imgo)e.img.style.visibility='hidden'}},
300updateFlyouts:function(){var m=this
301var i
302i=0
303while((m.currentFoid!=m.shownFoids[i])&&(i<m.shownFoids.length))i++
304if(i>=m.shownFoids.length)i=1
305else{i++
306if(m.nextFoid>0){if(m.shownFoids[i]!=m.nextFoid){if(m.shownFoids[i])m.flyouts[m.shownFoids[i]].removeFlyout()
307m.shownFoids[i]=m.nextFoid
308m.showFlyout()}i++}}for(var j=i;j<m.shownFoids.length;j++){m.flyouts[m.shownFoids[j]].removeFlyout()}m.shownFoids.length=i},
309showFlyout:function(){var m=this
310var e=m.currentItem
311var fo=m.flyouts[e.cfoid].div
312if(!fo)return
313e.co=1
314fo.obj.open=true
315if(fo.obj.intr)return
316fo.obj.intr=true
317fo.pfoid=e.foid
318var docTop=m.br.ie?m.br.ieCanvas.scrollTop:window.pageYOffset
319var docLeft=m.br.ie?m.br.ieCanvas.scrollLeft:window.pageXOffset
320var docHeight=m.br.ie?m.br.ieCanvas.clientHeight:window.innerHeight
321var docWidth=m.br.ie?m.br.ieCanvas.offsetWidth:window.innerWidth
322var topLimit=docTop+2
323var bottomLimit=docTop+docHeight-6
324var foHeight=bottomLimit-topLimit
325var show_scrollers='none'
326if(m.br.winie&&fo.scrollArea.baseHeight>foHeight){show_scrollers=''
327fo.scrollArea.style.overflow='hidden'
328if(foHeight<36)foHeight=36
329fo.scrollArea.style.height=foHeight-32+'px'}else{fo.scrollArea.style.height=(foHeight=fo.scrollArea.baseHeight)+'px'}fo.style.top='-10000px'
330fo.style.left='-10000px'
331fo.style.display=''
332fo.style.width=fo.childNodes[0].offsetWidth+'px'
333fo.baseTop=m.getTop(e)-1
334if(e.foid>
3340&&m.br.ie)fo.baseTop-=m.flyouts[e.foid].div.scrollArea.scrollTop
335fo.baseLeft=m.getLeft(e)+parseInt(e.offsetWidth)+0
336if(fo.baseTop<topLimit)fo.baseTop=topLimit
337if(foHeight+fo.baseTop>bottomLimit){var t=bottomLimit-foHeight
338fo.baseTop=t<topLimit?topLimit:t}fo.upScrWrp.style.display=show_scrollers
339fo.dwnScrWrp.style.display=show_scrollers
340fo.upScBorder.style.display=show_scrollers
341fo.dnScBorder.style.display=show_scrollers
342if(fo.baseLeft+fo.offsetWidth+22-docLeft>docWidth)fo.baseLeft=(e.foid==0?docWidth-22+docLeft:m.flyouts[e.foid].div.baseLeft+1)-fo.offsetWidth
343fo.style.top=fo.baseTop+'px'
344fo.style.left=fo.baseLeft+'px'
345fo.obj.rolldown(0)},
346scroll:function(){var m=this
347var offset=m.scroll_start+(m.getTime()-m.scroll_time)*m.scroll_delta
348var fo=m.flyouts[m.currentItem.foid].div
349fo.scrollArea.scrollTop=offset
350fo.upArrow.src=offset<=0? m.UP_ARROW_DISABLED:m.UP_ARROW
351fo.downArrow.src=offset>=fo.scrollArea.scrollHeight-fo.scrollArea.offsetHeight? m.DOWN_ARROW_DISABLED:m.DOWN_ARROW},
352preload:function(img){if(!img)return
353this.preloads[this.plIndex]=new Image
354this.preloads[this.plIndex++].src=img},
355insertCell:function(t){var tbody=document.createElement('tbody')
356var row=document.createElement('TR')
357var cell=document.createElement('TD')
358t.appendChild(tbody)
359tbody.appendChild(row)
360row.appendChild(cell)
361return cell},
362getSource:function(evt){var e=this.br.ie?event.srcElement:evt.target
363while(e&&(e.tagName!='TABLE'))
364e=e.parentNode
365return e},
366getFoid:function(e){while(e&&(!e.foid)){e=e.parentNode}return e?e.foid:0},
367getTop:function(e){var m=this
368var top=0
369var abs=false
370while(e&&((e.tagName!='BODY')||!abs)){if(e.style.position=='absolute')abs=true
371top+=e.offsetTop
372e=e.offsetParent}if(m.br.macie)top+=parseInt(document.body.currentStyle.marginTop)
373return top},getLeft:function(e){var m=this
374var left=0
375var abs=false
376while(e&&((e.tagName!='BODY')||!abs)){if(e.style.position=='absolute')abs=true
377left+=e.offsetLeft
378e=e.offsetParent}if(m.br.macie)left+=parseInt(document.body.currentStyle.marginLeft)
379return left},getTime:function(){var time=new Date()
380return time.valueOf()}};PLVFO.flyout=function(m, parent, index){var f=this
381if(index==0){f.div=m.div}else{f.div=document.createElement('div')
382f.div.style.width='10px'
383f.div.style.display='none'
384document.body.appendChild(f.div)
385f.pfi=parent
386f.open=false
387f.intr=false}f.m=m
388f.div.obj=this
389f.obj='PLVFO_FO_'+index
390eval(f.obj+'=f')};PLVFO.flyout.prototype={removeFlyout:function(){var f=this
391f.pfi.co=0
392f.m.hideMO(f.pfi)
393f.open=false
394if(f.intr)return
395f.intr=true
396f.hideFlyout()},
397hideFlyout:function(){with(this){div.scrollArea.scrollTop=0
398div.style.display='none'
399div.upArrow.src=PLVFO.UP_ARROW_DISABLED
400div.downArrow.src=PLVFO.DOWN_ARROW
401intr=false
402if(open)PLVFO.showFlyout()}},
403rolldown:function(b){with(this){if(b>div.offsetHeight)b=div.offsetHeight
404div.style.clip='rect(0 auto '+b+'px 0)'
405if(b<div.offsetHeight){b+=10
406window.setTimeout(obj+'.rolldown('+b+')',10)}else{intr=false
407if(!open)removeFlyout()}}},
408dummy:null};PLVFO.init()

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.