PageSourceSearch

https://www.arlingtontransit.com/shared/scripts/calendar/calendar1.js

js arlingtontransit.com collected 2026-10-02 06:04:45 UTC 24,568 bytes, 688 lines download raw bytes

1//\//////////////////////////////////////////////////////////////////////////////////
2//\  overLIB 3.50  --  This notice must remain untouched at all times.
3//\  Copyright Erik Bosrup 1998-2001. All rights reserved.
4//\  THIS IS A VERY MODIFIED VERSION. DO NOT EDIT OR PUBLISH. GET THE ORIGINAL!
5var INARRAY=1;
6var CAPARRAY=2;
7var STICKY=3;
8var BACKGROUND=4;
9var NOCLOSE=5;
10var CAPTION=6;
11var LEFT=7;
12var RIGHT=8;
13var CENTER=9;
14var OFFSETX=10;
15var OFFSETY=11;
16var FGCOLOR=12;
17var BGCOLOR=13;
18var TEXTCOLOR=14;
19var CAPCOLOR=15;
20var CLOSECOLOR=16;
21var WIDTH=17;
22var BORDER=18;
23var STATUS=19;
24var AUTOSTATUS=20;
25var AUTOSTATUSCAP=21;
26var HEIGHT=22;
27var CLOSETEXT=23;
28var SNAPX=24;
29var SNAPY=25;
30var FIXX=26;
31var FIXY=27;
32var FGBACKGROUND=28;
33var BGBACKGROUND=29;
34var PADX=30;// PADX2 out
35var PADY=31;// PADY2 out
36var FULLHTML=34;
37var ABOVE=35;
38var BELOW=36;
39var CAPICON=37;
40var TEXTFONT=38;
41var CAPTIONFONT=39;
42var CLOSEFONT=40;
43var TEXTSIZE=41;
44var CAPTIONSIZE=42;
45var CLOSESIZE=43;
46var FRAME=44;
47var TIMEOUT=45;
48var FUNCTION=46;
49var DELAY=47;
50var HAUTO=48;
51var VAUTO=49;
52var CLOSECLICK=50;
53var CSSOFF=51;
54var CSSSTYLE=52;
55var CSSCLASS=53;
56var FGCLASS=54;
57var BGCLASS=55;
58var TEXTFONTCLASS=56;
59var CAPTIONFONTCLASS=57;
60var CLOSEFONTCLASS=58;
61var PADUNIT=59;
62var HEIGHTUNIT=60;
63var WIDTHUNIT=61;
64var TEXTSIZEUNIT=62;
65var TEXTDECORATION=63;
66var TEXTSTYLE=64;
67var TEXTWEIGHT=65;
68var CAPTIONSIZEUNIT=66;
69var CAPTIONDECORATION=67;
70var CAPTIONSTYLE=68;
71var CAPTIONWEIGHT=69;
72var CLOSESIZEUNIT=70;
73var CLOSEDECORATION=71;
74var CLOSESTYLE=72;
75var CLOSEWEIGHT=73;
76if(typeof ol_fgcolor=='undefined'){var ol_fgcolor="#eeeeee";}
77if(typeof ol_bgcolor=='undefined'){var ol_bgcolor="#F3F1EB";}
78if(typeof ol_textcolor=='undefined'){var ol_textcolor="#000000";}
79if(typeof ol_capcolor=='undefined'){var ol_capcolor="#000000";}
80if(typeof ol_closecolor=='undefined'){var ol_closecolor="#000000";}
81if(typeof ol_textfont=='undefined'){var ol_textfont="Verdana,Arial,Helvetica";}
82if(typeof ol_captionfont=='undefined'){var ol_captionfont="Verdana,Arial,Helvetica";}
83if(typeof ol_closefont=='undefined'){var ol_closefont="Verdana,Arial,Helvetica";}
84if(typeof ol_textsize=='undefined'){var ol_textsize="1";}
85if(typeof ol_captionsize=='undefined'){var ol_captionsize="1";}
86if(typeof ol_closesize=='undefined'){var ol_closesize="1";}
87if(typeof ol_width=='undefined'){var ol_width="200";}
88if(typeof ol_border=='undefined'){var ol_border="1";}
89if(typeof ol_offsetx=='undefined'){var ol_offsetx=10;}
90if(typeof ol_offsety=='undefined'){var ol_offsety=10;}
91if(typeof ol_text=='undefined'){var ol_text="Default Text";}
92if(typeof ol_cap=='undefined'){var ol_cap="";}
93if(typeof ol_sticky=='undefined'){var ol_sticky=0;}
94if(typeof ol_background=='undefined'){var ol_background="";}
95if(typeof ol_close=='undefined'){var ol_close="X ";}
96if(typeof ol_hpos=='undefined'){var ol_hpos=8;}
97if(typeof ol_status=='undefined'){var ol_status="";}
98if(typeof ol_autostatus=='undefined'){var ol_autostatus=0;}
99if(typeof ol_height=='undefined'){var ol_height=-1;}
100if(typeof ol_snapx=='undefined'){var ol_snapx=0;}
101if(typeof ol_snapy=='undefined'){var ol_snapy=0;}
102if(typeof ol_fixx=='undefined'){var ol_fixx=-1;}
103if(typeof ol_fixy=='undefined'){var ol_fixy=-1;}
104if(typeof ol_fgbackground=='undefined'){var ol_fgbackground="";}
105if(typeof ol_bgbackground=='undefined'){var ol_bgbackground="";}
106if(typeof ol_padxl=='undefined'){var ol_padxl=1;}
107if(typeof ol_padxr=='undefined'){var ol_padxr=1;}
108if(typeof ol_padyt=='undefined'){var ol_padyt=1;}
109if(typeof ol_padyb=='undefined'){var ol_padyb=1;}
110if(typeof ol_fullhtml=='undefined'){var ol_fullhtml=0;}
111if(typeof ol_vpos=='undefined'){var ol_vpos=36;}
112if(typeof ol_aboveheight=='undefined'){var ol_aboveheight=0;}
113if(typeof ol_caption=='undefined'){var ol_capicon="";}
114if(typeof ol_frame=='undefined'){var ol_frame=self;}
115if(typeof ol_timeout=='undefined'){var ol_timeout=0;}
116if(typeof ol_function=='undefined'){var ol_function=Function();}
117if(typeof ol_delay=='undefined'){var ol_delay=0;}
118if(typeof ol_hauto=='undefined'){var ol_hauto=0;}
119if(typeof ol_vauto=='undefined'){var ol_vauto=0;}
120if(typeof ol_closeclick=='undefined'){var ol_closeclick=0;}
121if(typeof ol_css=='undefined'){var ol_css=51;}
122if(typeof ol_fgclass=='undefined'){var ol_fgclass="";}
123if(typeof ol_bgclass=='undefined'){var ol_bgclass="";}
124if(typeof ol_textfontclass=='undefined'){var ol_textfontclass="";}
125if(typeof ol_captionfontclass=='undefined'){var ol_captionfontclass="";}
126if(typeof ol_closefontclass=='undefined'){var ol_closefontclass="";}
127if(typeof ol_padunit=='undefined'){var ol_padunit="px";}
128if(typeof ol_heightunit=='undefined'){var ol_heightunit="px";}
129if(typeof ol_widthunit=='undefined'){var ol_widthunit="px";}
130if(typeof ol_textsizeunit=='undefined'){var ol_textsizeunit="px";}
131if(typeof ol_textdecoration=='undefined'){var ol_textdecoration="none";}
132if(typeof ol_textstyle=='undefined'){var ol_textstyle="normal";}
133if(typeof ol_textweight=='undefined'){var ol_textweight="normal";}
134if(typeof ol_captionsizeunit=='undefined'){var ol_captionsizeunit="px";}
135if(typeof ol_captiondecoration=='undefined'){var ol_captiondecoration="none";}
136if(typeof ol_captionstyle=='undefined'){var ol_captionstyle="normal";}
137if(typeof ol_captionweight=='undefined'){var ol_captionweight="bold";}
138if(typeof ol_closesizeunit=='undefined'){var ol_closesizeunit="px";}
139if(typeof ol_closedecoration=='undefined'){var ol_closedecoration="none";}
140if(typeof ol_closestyle=='undefined'){var ol_closestyle="normal";}
141if(typeof ol_closeweight=='undefined'){var ol_closeweight="normal";}
142if(typeof ol_texts=='undefined'){var ol_texts=new Array("Text 0", "Text 1");}
143if(typeof ol_caps=='undefined'){var ol_caps=new Array("Caption 0", "Caption 1");}
144var otext="";
145var ocap="";
146var osticky=0;
147var obackground="";
148var oclose="Close";
149var ohpos=8;
150var ooffsetx=2;
151var ooffsety=2;
152var ofgcolor="";
153var obgcolor="";
154var otextcolor="";
155var ocapcolor="";
156var oclosecolor="";
157var owidth=100;
158var oborder=1;
159var ostatus="";
160var oautostatus=0;
161var oheight=-1;
162var osnapx=0;
163var osnapy=0;
164var ofixx=-1;
165var ofixy=-1;
166var ofgbackground="";
167var obgbackground="";
168var opadxl=0;
169var opadxr=0;
170var opadyt=0;
171var opadyb=0;
172var ofullhtml=0;
173var ovpos=36;
174var oaboveheight=0;
175var ocapicon="";
176var otextfont="Verdana,Arial,Helvetica";
177var ocaptionfont="Verdana,Arial,Helvetica";
178var oclosefont="Verdana,Arial,Helvetica";
179var otextsize="1";
180var ocaptionsize="1";
181var oclosesize="1";
182var oframe=self;
183var otimeout=0;
184var otimerid=0;
185var oallowmove=0;
186var ofunction=Function();
187var odelay=0;
188var odelayid=0;
189var ohauto=0;
190var ovauto=0;
191var ocloseclick=0;
192var ocss=51;
193var ofgclass="";
194var obgclass="";
195var otextfontclass="";
196var ocaptionfontclass="";
197var oclosefontclass="";
198var opadunit="px";
199var oheightunit="px";
200var owidthunit="px";
201var otextsizeunit="px";
202var otextdecoration="";
203var otextstyle="";
204var otextweight="";
205var ocaptionsizeunit="px";
206var ocaptiondecoration="";
207var ocaptionstyle="";
208var ocaptionweight="";
209var oclosesizeunit="px";
210var oclosedecoration="";
211var oclosestyle="";
212var ocloseweight="";
213var ox=0;
214var oy=0;
215var oallow=0;
216var oshowingsticky=0;
217var oremovecounter=0;
218var over=null;
219var ns4=(document.layers)? true:false;
220var ns6=(document.getElementById)? true:false;
221var ie4=(document.all)? true:false;
222var ie5=false;
223if(ie4){
224if((navigator.userAgent.indexOf('MSIE 5')>
224 0)||(navigator.userAgent.indexOf('MSIE 6')> 0)){
225ie5=true;
226}
227if(ns6){
228ns6=false;
229}
230}
231if((ns4)||(ie4)||(ns6)){
232document.onmousemove=mouseMove
233if(ns4)document.captureEvents(Event.MOUSEMOVE)
234}else{
235overlib=no_overlib;
236nd=no_overlib;
237ver3fix=true;
238}
239function no_overlib(){
240return ver3fix;
241}
242function overlib(){
243otext=ol_text;
244ocap=ol_cap;
245osticky=ol_sticky;
246obackground=ol_background;
247oclose=ol_close;
248ohpos=ol_hpos;
249ooffsetx=ol_offsetx;
250ooffsety=ol_offsety;
251ofgcolor=ol_fgcolor;
252obgcolor=ol_bgcolor;
253otextcolor=ol_textcolor;
254ocapcolor=ol_capcolor;
255oclosecolor=ol_closecolor;
256owidth=ol_width;
257oborder=ol_border;
258ostatus=ol_status;
259oautostatus=ol_autostatus;
260oheight=ol_height;
261osnapx=ol_snapx;
262osnapy=ol_snapy;
263ofixx=ol_fixx;
264ofixy=ol_fixy;
265ofgbackground=ol_fgbackground;
266obgbackground=ol_bgbackground;
267opadxl=ol_padxl;
268opadxr=ol_padxr;
269opadyt=ol_padyt;
270opadyb=ol_padyb;
271ofullhtml=ol_fullhtml;
272ovpos=ol_vpos;
273oaboveheight=ol_aboveheight;
274ocapicon=ol_capicon;
275otextfont=ol_textfont;
276ocaptionfont=ol_captionfont;
277oclosefont=ol_closefont;
278otextsize=ol_textsize;
279ocaptionsize=ol_captionsize;
280oclosesize=ol_closesize;
281otimeout=ol_timeout;
282ofunction=ol_function;
283odelay=ol_delay;
284ohauto=ol_hauto;
285ovauto=ol_vauto;
286ocloseclick=ol_closeclick;
287ocss=ol_css;
288ofgclass=ol_fgclass;
289obgclass=ol_bgclass;
290otextfontclass=ol_textfontclass;
291ocaptionfontclass=ol_captionfontclass;
292oclosefontclass=ol_closefontclass;
293opadunit=ol_padunit;
294oheightunit=ol_heightunit;
295owidthunit=ol_widthunit;
296otextsizeunit=ol_textsizeunit;
297otextdecoration=ol_textdecoration;
298otextstyle=ol_textstyle;
299otextweight=ol_textweight;
300ocaptionsizeunit=ol_captionsizeunit;
301ocaptiondecoration=ol_captiondecoration;
302ocaptionstyle=ol_captionstyle;
303ocaptionweight=ol_captionweight;
304oclosesizeunit=ol_closesizeunit;
305oclosedecoration=ol_closedecoration;
306oclosestyle=ol_closestyle;
307ocloseweight=ol_closeweight;
308if((ns4)||(ie4)||(ns6)){
309oframe=ol_frame;
310if(ns4)over=oframe.document.overDiv
311if(ie4)over=oframe.overDiv.style
312if(ns6)over=oframe.document.getElementById("overDiv");
313}
314var c=-1;
315var ar=arguments;
316for(i=0;i < ar.length;i++){
317if(c < 0){
318if(ar[i]==1){
319otext=ol_texts[ar[++i]];
320}else{
321otext=ar[i];
322}
323c=0;
324}else{
325if(ar[i]==1){otext=ol_texts[ar[++i]];continue;}
326if(ar[i]==2){ocap=ol_caps[ar[++i]];continue;}
327if(ar[i]==3){osticky=1;continue;}
328if(ar[i]==4){obackground=ar[++i];continue;}
329if(ar[i]==NOCLOSE){oclose="";continue;}
330if(ar[i]==6){ocap=ar[++i];continue;}
331if(ar[i]==9 || ar[i]==7 || ar[i]==8){ohpos=ar[i];continue;}
332if(ar[i]==10){ooffsetx=ar[++i];continue;}
333if(ar[i]==11){ooffsety=ar[++i];continue;}
334if(ar[i]==12){ofgcolor=ar[++i];continue;}
335if(ar[i]==13){obgcolor=ar[++i];continue;}
336if(ar[i]==14){otextcolor=ar[++i];continue;}
337if(ar[i]==15){ocapcolor=ar[++i];continue;}
338if(ar[i]==16){oclosecolor=ar[++i];continue;}
339if(ar[i]==17){owidth=ar[++i];continue;}
340if(ar[i]==18){oborder=ar[++i];continue;}
341if(ar[i]==19){ostatus=ar[++i];continue;}
342if(ar[i]==20){oautostatus=1;continue;}
343if(ar[i]==21){oautostatus=2;continue;}
344if(ar[i]==22){oheight=ar[++i];oaboveheight=ar[i];continue;}// Same param again.
345if(ar[i]==23){oclose=ar[++i];continue;}
346if(ar[i]==24){osnapx=ar[++i];continue;}
347if(ar[i]==25){osnapy=ar[++i];continue;}
348if(ar[i]==26){ofixx=ar[++i];continue;}
349if(ar[i]==27){ofixy=ar[++i];continue;}
350if(ar[i]==28){ofgbackground=ar[++i];continue;}
351if(ar[i]==29){obgbackground=ar[++i];continue;}
352if(ar[i]==30){opadxl=ar[++i];opadxr=ar[++i];continue;}
353if(ar[i]==31){opadyt=ar[++i];opadyb=ar[++i];continue;}
354if(ar[i]==34){ofullhtml=1;continue;}
355if(ar[i]==36 || ar[i]==35){ovpos=ar[i];continue;}
356if(ar[i]==37){ocapicon=ar[++i];continue;}
357if(ar[i]==38){otextfont=ar[++i];continue;}
358if(ar[i]==39){ocaptionfont=ar[++i];continue;}
359if(ar[i]==40){oclosefont=ar[++i];continue;}
360if(ar[i]==41){otextsize=ar[++i];continue;}
361if(ar[i]==42){ocaptionsize=ar[++i];continue;}
362if(ar[i]==43){oclosesize=ar[++i];continue;}
363if(ar[i]==44){opt_FRAME(ar[++i]);continue;}
364if(ar[i]==45){otimeout=ar[++i];continue;}
365if(ar[i]==46){opt_FUNCTION(ar[++i]);continue;}
366if(ar[i]==47){odelay=ar[++i];continue;}
367if(ar[i]==48){ohauto=(ohauto==0)? 1 : 0;continue;}
368if(ar[i]==49){ovauto=(ovauto==0)? 1 : 0;continue;}
369if(ar[i]==50){ocloseclick=(ocloseclick==0)? 1 : 0;continue;}
370if(ar[i]==51){ocss=ar[i];continue;}
371if(ar[i]==52){ocss=ar[i];continue;}
372if(ar[i]==53){ocss=ar[i];continue;}
373if(ar[i]==54){ofgclass=ar[++i];continue;}
374if(ar[i]==55){obgclass=ar[++i];continue;}
375if(ar[i]==56){otextfontclass=ar[++i];continue;}
376if(ar[i]==57){ocaptionfontclass=ar[++i];continue;}
377if(ar[i]==58){oclosefontclass=ar[++i];continue;}
378if(ar[i]==59){opadunit=ar[++i];continue;}
379if(ar[i]==60){oheightunit=ar[++i];continue;}
380if(ar[i]==61){owidthunit=ar[++i];continue;}
381if(ar[i]==62){otextsizeunit=ar[++i];continue;}
382if(ar[i]==63){otextdecoration=ar[++i];continue;}
383if(ar[i]==64){otextstyle=ar[++i];continue;}
384if(ar[i]==65){otextweight=ar[++i];continue;}
385if(ar[i]==66){ocaptionsizeunit=ar[++i];continue;}
386if(ar[i]==67){ocaptiondecoration=ar[++i];continue;}
387if(ar[i]==68){ocaptionstyle=ar[++i];continue;}
388if(ar[i]==69){ocaptionweight=ar[++i];continue;}
389if(ar[i]==70){oclosesizeunit=ar[++i];continue;}
390if(ar[i]==71){oclosedecoration=ar[++i];continue;}
391if(ar[i]==72){oclosestyle=ar[++i];continue;}
392if(ar[i]==73){ocloseweight=ar[++i];continue;}
393}
394}
395if(odelay==0){
396return overlib350();
397}else{
398odelayid=setTimeout("overlib350()", odelay);
399if(osticky){
400return false;
401}else{
402return true;
403}
404}
405}
406function nd(){
407if(oremovecounter >=1){oshowingsticky=0};
408if((ns4)||(ie4)||(ns6)){
409if(oshowingsticky==0){
410oallowmove=0;
411if(over !=null)hideObject(over);
412}else{
413oremovecounter++;
414}
415}
416return true;
417}
418function overlib350(){
419var layerhtml;
420if(obackground !="" || ofullhtml){
421layerhtml=ol_content_background(otext, obackground, ofullhtml);
422}else{
423if(ofgbackground !="" && ocss==CSSOFF){
424ofgbackground="BACKGROUND=\""+ofgbackground+"\"";
425}
426if(obgbackground !="" && ocss==CSSOFF){
427obgbackground="BACKGROUND=\""+obgbackground+"\"";
428}
429if(ofgcolor !="" && ocss==CSSOFF){
430ofgcolor="BGCOLOR=\""+ofgcolor+"\"";
431}
432if(obgcolor !="" && ocss==CSSOFF){
433obgcolor="BGCOLOR=\""+obgcolor+"\"";
434}
435if(oheight > 0 && ocss==51){
436oheight="HEIGHT=" + oheight;
437}else{
438oheight="";
439}
440if(ocap==""){
441layerhtml=ol_content_simple(otext);
442}else{
443if(osticky){
444layerhtml=ol_content_caption(otext, ocap, oclose);
445}else{
446layerhtml=ol_content_caption(otext, ocap, "");
447}
448}
449}
450if(osticky){
451oshowingsticky=1;
452oremovecounter=0;
453}
454layerWrite(layerhtml);
455if(oautostatus > 0){
456ostatus=otext;
457if(oautostatus > 1){
458ostatus=ocap;
459}
460}
461oallowmove=0;
462if(otimeout > 0){
463if(otimerid > 0)clearTimeout(otimerid);
464otimerid=setTimeout("cClick()", otimeout);
465}
466disp(ostatus);
467if(osticky){
468oallowmove=0;
469return false;
470}else{
471return true;
472}
473}
474function ol_content_simple(text){
475if(ocss==CSSCLASS)txt="<TABLE WIDTH="+owidth+" BORDER=0 CELLPADDING="+oborder+" CELLSPACING=0 class=\""+obgclass+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 class=\""+ofgclass+"\"><TR><TD VALIGN=TOP><FONT class=\""+otextfontclass+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
476if(ocss==CSSSTYLE)txt="<TABLE WIDTH="+owidth+" BORDER=0 CELLPADDING="+oborder+" CELLSPACING=0 style=\"background-color: "+obgcolor+";height: "+oheight+oheightunit+";\"><TR><TD><TABLE WIDTH=100% BORDER=1 CELLPADDING=2 CELLSPACING=0 style=\"color: "+ofgcolor+";background-color: "+ofgcolor+";height: "+oheight+oheightunit+";\"><TR><TD VALIGN=TOP><FONT style=\"font-family: "+otextfont+";color: "+otextcolor+";font-size: "+otextsize+otextsizeunit+";text-decoration: "+otextdecoration+";font-weight: "+otextweight+";font-style:"+otextstyle+"\">"+text+"</FONT></TD></TR></TABLE></TD>
476</TR></TABLE>";
477if(ocss==CSSOFF)txt="<TABLE WIDTH="+owidth+" BORDER=0 CELLPADDING="+oborder+" CELLSPACING=0 "+obgcolor+" "+oheight+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 "+ofgcolor+" "+ofgbackground+" "+oheight+"><TR><TD VALIGN=TOP><FONT FACE=\""+otextfont+"\" COLOR=\""+otextcolor+"\" SIZE=\""+otextsize+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
478set_background("");
479return txt;
480}
481function ol_content_caption(text, title, close){
482closing="";
483closeevent="onMouseOver";
484if(ocloseclick==1)closeevent="onClick";
485if(ocapicon !="")ocapicon="<IMG SRC=\""+ocapicon+"\"> ";
486if(close !=""){
487if(ocss==CSSCLASS)closing="<TD ALIGN=RIGHT><A HREF=\"/\" "+closeevent+"=\"return cClick();\" class=\""+oclosefontclass+"\">"+close+"</A></TD>";
488if(ocss==CSSSTYLE)closing="<TD ALIGN=RIGHT><A HREF=\"/\" "+closeevent+"=\"return cClick();\" style=\"color: "+oclosecolor+";font-family: "+oclosefont+";font-size: "+oclosesize+oclosesizeunit+";text-decoration: "+oclosedecoration+";font-weight: "+ocloseweight+";font-style:"+oclosestyle+";\">"+close+"</A></TD>";
489if(ocss==CSSOFF)closing="<TD ALIGN=RIGHT><A HREF=\"/\" "+closeevent+"=\"return cClick();\"><FONT COLOR=\""+oclosecolor+"\" FACE=\""+oclosefont+"\" SIZE=\""+oclosesize+"\">"+close+"</FONT></A></TD>";
490}
491if(ocss==CSSCLASS)txt="<TABLE WIDTH="+owidth+" BORDER=0 CELLPADDING="+oborder+" CELLSPACING=0 class=\""+obgclass+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><FONT class=\""+ocaptionfontclass+"\">"+ocapicon+title+"</FONT></TD>"+closing+"</TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 class=\""+ofgclass+"\"><TR><TD VALIGN=TOP><FONT class=\""+otextfontclass+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
492if(ocss==CSSSTYLE)txt="<TABLE WIDTH="+owidth+" BORDER=0 style='background-color:#F3F1EB; border-left:1px solid gray; border-top:1px solid gray; border-right:3px solid black; border-bottom:3px solid black;' CELLPADDING="+oborder+" CELLSPACING=0 style=\"background-color: "+obgcolor+";background-image: url("+obgbackground+");height: "+oheight+oheightunit+";\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><FONT style=\"font-family: "+ocaptionfont+";color: "+ocapcolor+";font-size: "+ocaptionsize+ocaptionsizeunit+";font-weight: "+ocaptionweight+";font-style: "+ocaptionstyle+";\">"+ocapicon+title+"</FONT></TD>"+closing+"</TR></TABLE><TABLE style='border-top:1px solid gray;' WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0 style=\"color: "+ofgcolor+";background-color: "+ofgcolor+";height: "+oheight+oheightunit+";\"><TR><TD VALIGN=TOP><FONT style=\"font-family: "+otextfont+";color: "+otextcolor+";font-size: "+otextsize+otextsizeunit+";text-decoration: "+otextdecoration+";font-weight: "+otextweight+";font-style:"+otextstyle+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
493if(ocss==CSSOFF)txt="<TABLE WIDTH="+owidth+" BORDER=0 CELLPADDING="+oborder+" CELLSPACING=0 "+obgcolor+" "+obgbackground+" "+oheight+"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR><TD><B><FONT COLOR=\""+ocapcolor+"\" FACE=\""+ocaptionfont+"\" SIZE=\""+ocaptionsize+"\">"+ocapicon+title+"</FONT></B></TD>"+closing+"</TR></TABLE><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 "+ofgcolor+" "+ofgbackground+" "+oheight+"><TR><TD VALIGN=TOP><FONT COLOR=\""+otextcolor+"\" FACE=\""+otextfont+"\" SIZE=\""+otextsize+"\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>";
494set_background("");
495return txt;
496}
497function ol_content_background(text, picture, hasfullhtml){
498if(hasfullhtml){
499txt=text;
500}else{
501if(ocss==CSSCLASS)txt="<TABLE WIDTH="+owidth+owidthunit+" BORDER=0 CELLPADDING=0 CELLSPACING=0 HEIGHT="+oheight+oheightunit+"><TR><TD COLSPAN=3 HEIGHT="+opadyt+opadunit+"></TD></TR><TR><TD WIDTH="+opadxl+opadunit+"></TD><TD VALIGN=TOP WIDTH="+(owidth-opadxl-opadxr)+opadunit+"><FONT class=\""+otextfontclass+"\">"+text+"</FONT></TD><TD WIDTH="+opadxr+opadunit+"></TD></TR><TR><TD COLSPAN=3 HEIGHT="+opadyb+opadunit+"></TD></TR></TABLE>";
502if(ocss==CSSSTYLE)txt="<TABLE WIDTH="+owidth+owidthunit+" BORDER=0 CELLPADDING=0 CELLSPACING=0 HEIGHT="+oheight+oheightunit+"><TR><TD COLSPAN=3 HEIGHT="+opadyt+opadunit+"></TD></TR><TR><TD WIDTH="+opadxl+opadunit+"></TD><TD VALIGN=TOP WIDTH="+(owidth-opadxl-opadxr)+opadunit+"><FONT style=\"font-family: "+otextfont+";color: "+otextcolor+";font-size: "+otextsize+otextsizeunit+";\">"+text+"</FONT></TD><TD WIDTH="+opadxr+opadunit+"></TD></TR><TR><TD COLSPAN=3 HEIGHT="+opadyb+opadunit+"></TD></TR></TABLE>";
503if(ocss==CSSOFF)txt="<TABLE WIDTH="+owidth+" BORDER=0 CELLPADDING=0 CELLSPACING=0 HEIGHT="+oheight+"><TR><TD COLSPAN=3 HEIGHT="+opadyt+"></TD></TR><TR><TD WIDTH="+opadxl+"></TD><TD VALIGN=TOP WIDTH="+(owidth-opadxl-opadxr)+"><FONT FACE=\""+otextfont+"\" COLOR=\""+otextcolor+"\" SIZE=\""+otextsize+"\">"+text+"</FONT></TD><TD WIDTH="+opadxr+"></TD></TR><TR><TD COLSPAN=3 HEIGHT="+opadyb+"></TD></TR></TABLE>";
504}
505set_background(picture);
506return txt;
507}
508function set_background(pic){
509if(pic==""){
510if(ie4)over.backgroundImage="none";
511if(ns6)over.style.backgroundImage="none";
512}else{
513if(ns4){
514over.background.src=pic;
515}else if(ie4){
516over.backgroundImage="url("+pic+")";
517}else if(ns6){
518over.style.backgroundImage="url("+pic+")";
519}
520}
521}
522function disp(statustext){
523if((ns4)||(ie4)||(ns6)){
524if(oallowmove==0){
525placeLayer();
526showObject(over);
527oallowmove=1;
528}
529}
530if(statustext !=""){
531self.status=statustext;
532}
533}
534function placeLayer(){
535var placeX, placeY;
536if(ofixx > -1){
537placeX=ofixx;
538}else{
539winoffset=(ie4)? oframe.document.body.scrollLeft : oframe.pageXOffset;
540if(ie4)iwidth=oframe.document.body.clientWidth;
541if(ns4)iwidth=oframe.innerWidth;// was screwed in mozilla, fixed now?
542if(ns6)iwidth=oframe.outerWidth;
543if(ohauto==1){
544if((ox - winoffset)>((eval(iwidth))/ 2)){
545ohpos=7;
546}else{
547ohpos=8;
548}
549}
550if(ohpos==9){// Center
551placeX=ox+ooffsetx-(owidth/2);
552}
553if(ohpos==8){// Right
554placeX=ox+ooffsetx;
555if((eval(placeX)+ eval(owidth))>(winoffset + iwidth)){
556placeX=iwidth + winoffset - owidth;
557if(placeX < 0)placeX=0;
558}
559}
560if(ohpos==7){// Left
561placeX=ox-ooffsetx-owidth;
562if(placeX < winoffset)placeX=winoffset;
563}
564if(osnapx > 1){
565var snapping=placeX % osnapx;
566if(ohpos==7){
567placeX=placeX -(osnapx + snapping);
568}else{
569placeX=placeX +(osnapx - snapping);
570}
571if(placeX < winoffset)placeX=winoffset;
572}
573}
574if(ofixy > -1){
575placeY=ofixy;
576}else{
577scrolloffset=(ie4)? oframe.document.body.scrollTop : oframe.pageYOffset;
578if(ovauto==1){
579if(ie4)iheight=oframe.document.body.clientHeight;
580if(ns4)iheight=oframe.innerHeight;
581if(ns6)iheight=oframe.outerHeight;
582iheight=(eval(iheight))/ 2;
583if((oy - scrolloffset)> iheight){
584ovpos=35;
585}else{
586ovpos=36;
587}
588}
589if(ovpos==35){
590if(oaboveheight==0){
591var divref=(ie4)? oframe.document.all['overDiv'] : over;
592oaboveheight=(ns4)? divref.clip.height : divref.offsetHeight;
593}
594placeY=oy -(oaboveheight + ooffsety);
595if(placeY < scrolloffset)placeY=scrolloffset;
596}else{
597placeY=oy + ooffsety;
598}
599if(osnapy > 1){
600var snapping=placeY % osnapy;
601if(oaboveheight > 0 && ovpos==35){
602placeY=placeY -(osnapy + snapping);
603}else{
604placeY=placeY +(osnapy - snapping);
605}
606if(placeY < scrolloffset)placeY=scrolloffset;
607}
608}
609repositionTo(over, placeX, placeY);
610}
611function mouseMove(e){
612if((ns4)||(ns6)){ox=e.pageX;oy=e.pageY;}
613if(ie4){ox=event.x;oy=event.y;}
614if(ie5){ox=event.x+oframe.document.body.scrollLeft;oy=event.y+oframe.document.body.scrollTop;}
615if(oallowmove==1){
616placeLayer();
617}
618}
619function cClick(){
620hideObject(over);
621oshowingsticky=0;
622return false;
623}
624function compatibleframe(frameid){
625if(ns4){
626if(typeof frameid.document.overDiv=='undefined')return false;
627}else if(ie4){
628if(typeof frameid.document.all["overDiv"]=='undefined')return false;
629}else if(ns6){
630if(frameid.document.getElementById('overDiv')==null)return false;
631}
632return true;
633}
634function layerWrite(txt){
635txt +="\n";
636if(ns4){
637var lyr=oframe.document.overDiv.document
638lyr.write(txt)
639lyr.close()
640}else if(ie4){
641oframe.document.all["overDiv"].innerHTML=txt
642}else if(ns6){
643range=oframe.document.createRange();
644range.setStartBefore(over);
645domfrag=range.createContextualFragment(txt);
646while(over.hasChildNodes()){
647over.removeChild(over.lastChild);
648}
649over.appendChild(domfrag);
650}
651}
652function showObject(obj){
653if(ns4)obj.visibility="show";
654else if(ie4)obj.visibility="visible";
655else if(ns6)obj.style.visibility="visible";
656}
657function hideObject(obj){
658if(ns4)obj.visibility="hide";
659else if(ie4)obj.visibility="hidden";
660else if(ns6)obj.style.visibility="hidden";
661if(otimerid > 0)clearTimeout(otimerid);
662if(odelayid > 0)clearTimeout(odelayid);
663otimerid=0;
664odelayid=0;
665self.status="";
666}
667function repositionTo(obj,xL,yL){
668if((ns4)||(ie4)){
669obj.left=xL;
670obj.top=yL;
671}else if(ns6){
672obj.style.left=xL + "px";
673obj.style.top=yL+ "px";
674}
675}
676function opt_FRAME(frm){
677oframe=compatibleframe(frm)? frm : ol_frame;
678if((ns4)||(ie4 ||(ns6))){
679if(ns4)over=oframe.document.overDiv;
680if(ie4)over=oframe.overDiv.style;
681if(ns6)over=oframe.document.getElementById("overDiv");
682}
683return 0;
684}
685function opt_FUNCTION(callme){
686otext=callme()
687return 0;
688}

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.