PageSourceSearch

https://www.othervoice.org/htm-webaxy/javascript/overlibmws/overlibmws.js

js othervoice.org collected 2026-10-02 07:19:25 UTC 34,385 bytes, 622 lines download raw bytes

1/*
2 Do not remove or change this notice.
3 overlibmws.js core module - Copyright Foteos Macrides 2002-2010. All rights reserved.
4   Initial: August 18, 2002 - Last Revised: March 2, 2010
5 This module is subject to the same terms of usage as for Erik Bosrup's overLIB,
6 though only a minority of the code and API now correspond with Erik's version.
7 See the overlibmws Change History and Command Reference via:
8
9	http://www.macridesweb.com/oltest/
10
11 Published under an open source license: http://www.macridesweb.com/oltest/license.html
12 Give credit on sites that use overlibmws and submit changes so others can use them as well.
13 You can get Erik's version via: http://www.bosrup.com/web/overlib/
14*/
15
16// PRE-INIT -- Ignore these lines, configuration is below.
17var OLloaded=0,OLbubblePI=0,OLcrossframePI=0,OLdebugPI=0,OLdraggablePI=0,OLexclusivePI=0,OLfilterPI=0,
18OLfunctionPI=0,OLhidePI=0,OLiframePI=0,OLmodalPI=0,OLovertwoPI=0,OLscrollPI=0,OLshadowPI=0,OLprintPI=0,
19pmCnt=1,pMtr=new Array(),OLcmdLine=new Array(),OLrunTime=new Array(),OLv,OLudf,OLrefXY,
20OLpct=new Array("83%","67%","83%","100%","117%","150%","200%","267%");if(typeof OLgateOK=='undefined')var OLgateOK=1;
21var OLp1or2c='inarray,caparray,caption,closetext,right,left,center,autostatuscap,padx,pady,below,above,vcenter,donothing',
22OLp1or2co='nofollow,background,offsetx,offsety,fgcolor,bgcolor,cgcolor,textcolor,capcolor,width,wrap,wrapmax,height,border,'
23+'base,status,autostatus,snapx,snapy,fixx,fixy,relx,rely,midx,midy,ref,refc,refp,refx,refy,fgbackground,bgbackground,'
24+'cgbackground,fullhtml,capicon,textfont,captionfont,textsize,captionsize,timeout,delay,hauto,vauto,nojustx,nojusty,fgclass,'
25+'bgclass,cgclass,capbelow,textpadding,textfontclass,captionpadding,captionfontclass,sticky,noclose,mouseoff,offdelay,'
26+'closecolor,closefont,closesize,closeclick,closetitle,closefontclass,decode',OLp1or2o='text,cap,close,hpos,vpos,padxl,'
27+'padxr,padyt,padyb',OLp1co='label',OLp1or2=OLp1or2co+','+OLp1or2o,OLp1=OLp1co+','+'frame';
28OLregCmds(OLp1or2c+','+OLp1or2co+','+OLp1co);
29function OLud(v){return eval('typeof ol_'+v+'=="undefined"')?1:0;}
30
31// DEFAULT CONFIGURATION -- See overlibConfig.txt for descriptions
32if(OLud('fgcolor'))var ol_fgcolor="#ccccff";
33if(OLud('bgcolor'))var ol_bgcolor="#333399";
34if(OLud('cgcolor'))var ol_cgcolor="#333399";
35if(OLud('textcolor'))var ol_textcolor="#000000";
36if(OLud('capcolor'))var ol_capcolor="#ffffff";
37if(OLud('closecolor'))var ol_closecolor="#eeeeff";
38if(OLud('textfont'))var ol_textfont="Verdana,Arial,Helvetica";
39if(OLud('captionfont'))var ol_captionfont="Verdana,Arial,Helvetica";
40if(OLud('closefont'))var ol_closefont="Verdana,Arial,Helvetica";
41if(OLud('textsize'))var ol_textsize=1;
42if(OLud('captionsize'))var ol_captionsize=1;
43if(OLud('closesize'))var ol_closesize=1;
44if(OLud('fgclass'))var ol_fgclass="";
45if(OLud('bgclass'))var ol_bgclass="";
46if(OLud('cgclass'))var ol_cgclass="";
47if(OLud('textpadding'))var ol_textpadding=2;
48if(OLud('textfontclass'))var ol_textfontclass="";
49if(OLud('captionpadding'))var ol_captionpadding=2;
50if(OLud('captionfontclass'))var ol_captionfontclass="";
51if(OLud('closefontclass'))var ol_closefontclass="";
52if(OLud('close'))var ol_close="Close";
53if(OLud('closeclick'))var ol_closeclick=0;
54if(OLud('closetitle'))var ol_closetitle="Click to Close";
55if(OLud('text'))var ol_text="Default Text";
56if(OLud('cap'))var ol_cap="";
57if(OLud('capbelow'))var ol_capbelow=0;
58if(OLud('background'))var ol_background="";
59if(OLud('width'))var ol_width=200;
60if(OLud('wrap'))var ol_wrap=0;
61if(OLud('wrapmax'))var ol_wrapmax=0;
62if(OLud('height'))var ol_height= -1;
63if(OLud('border'))var ol_border=1;
64if(OLud('base'))var ol_base=0;
65if(OLud('offsetx'))var ol_offsetx=10;
66if(OLud('offsety'))var ol_offsety=10;
67if(OLud('sticky'))var ol_sticky=0;
68if(OLud('nofollow'))var ol_nofollow=0;
69if(OLud('noclose'))var ol_noclose=0;
70if(OLud('mouseoff'))var ol_mouseoff=0;
71if(OLud('offdelay'))var ol_offdelay=300;
72if(OLud('hpos'))var ol_hpos=RIGHT;
73if(OLud('vpos'))var ol_vpos=BELOW;
74if(OLud('status'))var ol_status="";
75if(OLud('autostatus'))var ol_autostatus=0;
76if(OLud('snapx'))var ol_snapx=0;
77if(OLud('snapy'))var ol_snapy=0;
78if(OLud('fixx'))var ol_fixx= -1;
79if(OLud('fixy'))var ol_fixy= -1;
80if(OLud('relx'))var ol_relx=null;
81if(OLud('rely'))var ol_rely=null;
82if(OLud('midx'))var ol_midx=null;
83if(OLud('midy'))var ol_midy=null;
84if(OLud('ref'))var ol_ref="";
85if(OLud('refc'))var ol_refc='UL';
86if(OLud('refp'))var ol_refp='UL';
87if(OLud('refx'))var ol_refx=0;
88if(OLud('refy'))var ol_refy=0;
89if(OLud('fgbackground'))var ol_fgbackground="";
90if(OLud('bgbackground'))var ol_bgbackground="";
91if(OLud('cgbackground'))var ol_cgbackground="";
92if(OLud('padxl'))var ol_padxl=1;
93if(OLud('padxr'))var ol_padxr=1;
94if(OLud('padyt'))var ol_padyt=1;
95if(OLud('padyb'))var ol_padyb=1;
96if(OLud('fullhtml'))var ol_fullhtml=0;
97if(OLud('capicon'))var ol_capicon="";
98if(OLud('frame'))var ol_frame=self;
99if(OLud('timeout'))var ol_timeout=0;
100if(OLud('delay'))var ol_delay=0;
101if(OLud('hauto'))var ol_hauto=0;
102if(OLud('vauto'))var ol_vauto=0;
103if(OLud('nojustx'))var ol_nojustx=0;
104if(OLud('nojusty'))var ol_nojusty=0;
105if(OLud('label'))var ol_label="";
106if(OLud('decode'))var ol_decode=0;
107// ARRAY CONFIGURATION - See overlibConfig.txt for descriptions.
108if(OLud('texts'))var ol_texts=new Array("Text 0","Text 1");
109if(OLud('caps'))var ol_caps=new Array("Caption 0","Caption 1");
110// END CONFIGURATION -- Don't change anything below, all configuration is above.
111
112// INIT -- Runtime variables.
113var o3_text="",o3_cap="",o3_sticky=0,o3_nofollow=0,o3_background="",o3_noclose=0,o3_mouseoff=0,o3_offdelay=300,o3_hpos=RIGHT,
114o3_offsetx=10,o3_offsety=10,o3_fgcolor="",o3_bgcolor="",o3_cgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",
115o3_width=200,o3_wrap=0,o3_wrapmax=0,o3_height= -1,o3_border=1,o3_base=0,o3_status="",o3_autostatus=0,o3_snapx=0,o3_snapy=0,
116o3_fixx= -1,o3_fixy= -1,o3_relx=null,o3_rely=null,o3_midx=null,o3_midy=null,o3_ref="",o3_refc='UL',o3_refp='UL',o3_refx=0,
117o3_refy=0,o3_fgbackground="",o3_bgbackground="",o3_cgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0,o3_fullhtml=0,
118o3_vpos=BELOW,o3_capicon="",o3_textfont="Verdana,Arial,Helvetica",o3_captionfont="",o3_closefont="",o3_textsize=1,OLcC=null,
119o3_captionsize=1,o3_closesize=1,o3_frame=self,o3_timeout=0,o3_delay=0,o3_hauto=0,o3_vauto=0,o3_nojustx=0,o3_nojusty=0,
120o3_close="",o3_closeclick=0,o3_closetitle="",o3_fgclass="",o3_bgclass="",o3_cgclass="",o3_textpadding=2,o3_textfontclass="",
121o3_captionpadding=2,o3_captionfontclass="",o3_closefontclass="",o3_capbelow=0,o3_label="",o3_decode=0,
122CSSOFF=DONOTHING,CSSCLASS=DONOTHING,over=null,OLdelayid=0,OLtimerid=0,OLshowid=0,OLndt=0,OLfnRef="",OLhover=0,OLx=0,OLy=0,
123OLshowingsticky=0,OLallowmove=0,OLoverHTML="",OLover2HTML="",OLifRef="",OLo2Ref="",OLifX=0,OLifY=0,
124OLua=(OLv=navigator.userAgent)?OLv.toLowerCase():'',
125OLns4=(navigator.appName=='Netscape'&&parseInt(navigator.appVersion)==4)?1:0,
126OLns6=(document.getElementById)?1:0,
127OLie4=(document.all)?1:0,
128OLgek=(OLv=OLua.match(/gecko\/(\d{8})/i))?parseInt(OLv[1]):0,
129OLmac=(OLua.indexOf('mac')>=0)?1:0,
130OLsaf=(OLua.indexOf('safari')>=0)?1:0,
131OLkon=(OLua.indexOf('konqueror')>=0)?1:0,
132OLkht=(OLsaf||OLkon)?1:0,
133OLopr=(OLua.indexOf('opera')>=0)?1:0,
134OLop7=(OLopr&&document.createTextNode)?1:0;
135OLop95=(OLop7&&document.getElementsByClassName)?1:0;
136if(OLopr){OLns4=OLns6=OLgek=0;OLie4=(OLop7)?1:0;}
137var OLieM=((OLie4&&OLmac)&&!(OLkht||OLopr))?1:0,
138OLie5=0,OLie55=0,OLie7=0;OLie8=0;if(OLie4&&!OLop7){
139if((OLv=OLua.match(/msie (\d\.\d+)\.*/i))&&(OLv=parseFloat(OLv[1]))>=5.0){
140OLie5=1;OLns6=0;if(OLv>=5.5)OLie55=1;if(OLv>=7.0)OLie7=1;if(OLv>=8.0)OLie8=1;}if(OLns6)OLie4=0;}
141if(OLns4)window.onresize=function(){location.reload();};var OLchkMh=1,OLdw;
142if(OLns4||OLie4||OLns6){OLmh();if(window.addEventListener)window.addEventListener("unload",
143OLulCl,false);}else{overlib=nd=cClick=OLpageDefaults=no_overlib;}
144function OLulCl(){if(over)cClick();window.removeEventListener("unload",OLulCl,false);}
145
146/*
147 PUBLIC FUNCTIONS
148*/
149// Loads defaults then args into runtime variables.
150function overlib(){
151if(!(OLloaded&&OLgateOK))return;if((OLexclusivePI)&&OLisExclusive(arguments))return true;if(OLchkMh)OLmh();if(OLndt&&
152!OLtimerid)OLndt=0;if(over){if(OLfilterPI)o3_filter=0;cClick();}if(parent!=self){new Array('try{','if(parent.OLo2Ref){',
153'parent.OLeval(parent.OLo2Ref);','parent.OLo2Ref="";','}','if(parent.OLifRef){','parent.OLeval(parent.OLifRef);',
154'parent.OLifRef="";','}','}','catch(e){','}').join('\n')};if(OLo2Ref){eval(OLo2Ref);OLo2Ref="";}if(OLifRef){eval(OLifRef);
155OLifRef="";}OLload(OLp1or2);OLload(OLp1);OLfnRef="";OLifX=0;OLifY=0;OLhover=0;if(OLcrossframePI&&parent!=self)OLchkFRAME(
156arguments);OLsetRunTimeVar();OLparseTokens('o3_',arguments);if(!(over=OLmkLyr()))return false;over.onmouseover=
157over.onmouseout=null;if(o3_decode)OLdecode();if(OLprintPI)OLchkPrint();if(OLbubblePI)OLchkForBubbleEffect();if(OLdebugPI)
158OLsetDebugCanShow();if(OLshadowPI)OLinitShadow();if(OLiframePI)OLinitIfs();if(OLfilterPI)OLinitFilterLyr();if(OLexclusivePI
159&&o3_exclusive&&o3_exclusivestatus!="")o3_status=o3_exclusivestatus;else if(o3_autostatus==2&&o3_cap!="")o3_status=o3_cap;
160else if(o3_autostatus==1&&o3_text!="")o3_status=o3_text;if(!o3_delay){return OLmain();}else{OLdelayid=setTimeout("OLmain()",
161o3_delay);if(o3_status!=""){self.status=o3_status;return true;}else if(!(OLop7&&event&&event.type=='mouseover'))
162return false;}
163}
164function OLeval(s){eval(s);}
165
166// Clears popups if appropriate
167function nd(time){
168if(OLloaded&&OLgateOK){if(!((OLexclusivePI)&&OLisExclusive())){if(time&&over&&!o3_delay){if(OLtimerid>0)
169clearTimeout(OLtimerid);OLtimerid=(OLhover&&!OLcursorOff())?0:setTimeout("cClick()",(o3_timeout=OLndt=time));
170}else{if(!OLshowingsticky){OLallowmove=0;if(over)OLhideObject(over);}}}}return false;
171}
172
173// Close function for stickies
174function cClick(){
175if(OLloaded&&OLgateOK){OLhover=0;if(over){if(OLo2Ref){eval(OLo2Ref);OLo2Ref="";}if(OLovertwoPI&&over==over2)cClick2();
176OLhideObject(over);OLshowingsticky=0;OLallowmove=0;}if(OLmodalPI)OLclearModal();}return false;
177}
178
179// Sets page-specific defaults.
180function OLpageDefaults(){
181OLparseTokens('ol_',arguments);
182}
183
184// Gets object referenced by its id or name
185function OLgetRef(l,d){var r=OLgetRefById(l,d);return (r)?r:OLgetRefByName(l,d);}
186
187// For unsupported browsers.
188function no_overlib(){return false;}
189
190/*
191 OVERLIB MAIN FUNCTION SET
192*/
193function OLmain(){
194o3_delay=0;if(parent!=self&&o3_frame==parent&&parent.OLscrollPI&&parent.over)parent.OLclearScroll();if(o3_noclose)
195OLoptMOUSEOFF(0);else if(o3_mouseoff)OLoptMOUSEOFF(1);if(o3_sticky){OLshowingsticky=1;if(OLfnRef&&parent!=self&&
196o3_frame==parent&&parent.overlib)parent.OLifRef=(OLfilterPI?OLfnRef+'o3_filter=0;':'')+OLfnRef+'cClick();';}OLdoLyr();
197OLallowmove=0;if(o3_timeout>0){if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=setTimeout("cClick()",o3_timeout);}
198OLchkRef();OLdisp(o3_status);if(OLdraggablePI)OLcheckDrag();if(o3_status!="")return true;else if(!(OLop7&&event&&
199event.type=='mouseover'))return false;
200}
201function OLchkRef(){
202if(o3_ref){OLrefXY=OLgetRefXY(o3_ref);if(OLrefXY[0]==null&&OLcrossframePI)OLchkIfRef();
203if(OLrefXY[0]==null){o3_ref="";o3_midx=0;o3_midy=0;}}
204}
205
206// Loads o3_ variables
207function OLload(c){var i,m=c.split(',');for(i=0;i<m.length;i++)eval('o3_'+m[i]+'=ol_'+m[i]);}
208
209// Chooses LGF 
210function OLdoLGF(){
211return (o3_background!=''||o3_fullhtml)?OLcontentBackground(o3_text,o3_background,o3_fullhtml):(o3_cap=="")?
212OLcontentSimple(o3_text):(o3_sticky)?OLcontentCaption(o3_text,o3_cap,o3_close):OLcontentCaption(o3_text,o3_cap,'');
213}
214
215// Makes Layer
216function OLmkLyr(id,f,z){
217id=(id||'overDiv');f=(f||o3_frame);z=(z||1000);var fd=f.document,d=OLgetRefById(id,fd);if(!d){if(OLns4)d=fd.layers[id]=
218new Layer(1024,f);else if(OLie4&&!OLop7){fd.body.insertAdjacentHTML('AfterBegin','<div id="'+id+'"></div>');d=fd.all[id];}
219else{d=fd.createElement('div');if(d){d.id=id;fd.body.appendChild(d);}}if(!d)return null;if(OLns4)d.zIndex=z;else{var o=
220d.style;o.position='absolute';o.visibility='hidden';o.zIndex=z;}}return d;
221}
222
223// Creates and writes layer content
224function OLdoLyr(){
225if(o3_sticky&&OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}if(o3_background==''&&!o3_fullhtml){
226if(o3_fgbackground!='')o3_fgbackground=' background="'+o3_fgbackground+'"';
227if(o3_bgbackground!='')o3_bgbackground=' background="'+o3_bgbackground+'"';
228if(o3_cgbackground!='')o3_cgbackground=' background="'+o3_cgbackground+'"';
229if(o3_fgcolor!='')o3_fgcolor=' bgcolor="'+o3_fgcolor+'"';if(o3_bgcolor!='')o3_bgcolor=' bgcolor="'+o3_bgcolor+'"';
230if(o3_cgcolor!='')o3_cgcolor=' bgcolor="'+o3_cgcolor+'"';if(o3_height>0)o3_height=(OLns4)?' height="'+o3_height+'"':
231' style="height:'+o3_height+'px;"';else o3_height='';}if(!OLns4)OLrepositionTo(over,(OLns6?20:0),0);var lyrHtml=OLdoLGF();
232if(o3_wrap&&!o3_fullhtml){OLlayerWrite(lyrHtml);o3_width=(OLns4?over.clip.width:over.offsetWidth);if(OLie4&&!OLop95){
233var w=OLfd().clientWidth;if(o3_width>=w){if(OLop7){if(OLovertwoPI&&over==over2){var z=over2.style.zIndex;
234o3_frame.document.body.removeChild(over);over2=OLmkLyr('overDiv2',o3_frame,z);over=over2;}else{
235o3_frame.document.body.removeChild(over);over=OLmkLyr();}}o3_width=w-20;}}
236if(o3_wrapmax<1&&o3_frame.innerWidth)o3_wrapmax=o3_frame.innerWidth-40;
237if(o3_wrapmax>0&&o3_width>o3_wrapmax)o3_width=o3_wrapmax;o3_wrap=0;lyrHtml=OLdoLGF();}OLlayerWrite(lyrHtml);
238o3_width=(OLns4?over.clip.width:over.offsetWidth);if(OLbubblePI)OLgenerateBubble(lyrHtml);
239}
240
241/*
242 LAYER GENERATION FUNCTIONS
243*/
244// Makes simple table without caption
245function OLcontentSimple(txt){
246var t=OLbgLGF()+OLfgLGF(txt)+OLbaseLGF();
246OLsetBackground('');return t;
247}
248
249// Makes table with caption and optional close link
250function OLcontentCaption(txt,title,close){
251var closing=(OLprintPI?OLprintCapLGF():''),closeevent='onmouseover',caption,t,cC='javascript:return '+OLfnRef
252+(OLovertwoPI&&over==over2?'cClick2();':'cClick();');if(o3_closeclick)closeevent=(o3_closetitle?'title="'
253+o3_closetitle+'" ':'')+'onclick';if(o3_capicon!=''&&o3_capicon.indexOf('<img')!=0)o3_capicon='<img src="'+o3_capicon
254+'" /> ';if(close){closing+='<td align="right"><a href="'+cC+'" '+closeevent+'="'+cC+'"'+(o3_closefontclass?' class="'
255+o3_closefontclass+'">':(OLns4?'><':'')+OLlgfUtil(0,1,'','a',o3_closecolor,o3_closefont,o3_closesize))+close+
256(o3_closefontclass?'':(OLns4?OLlgfUtil(1,1,'','a'):''))+'</a></td>';}caption='<table id="overCap'
257+(OLovertwoPI&&over==over2?'2':'')+'"'+OLwd(0)+' border="0" cellpadding="'+o3_captionpadding+'" cellspacing="0"'
258+(o3_cgclass?' class="'+o3_cgclass+'"':o3_cgcolor+o3_cgbackground)+'><tr><td'+OLwd(0)+(o3_cgclass?' class="'
259+o3_cgclass+'">':'>')+(o3_captionfontclass?'<div'+OLhL(1)+' class="'+o3_captionfontclass+'">':OLlgfUtil(0,1,'','div',
260o3_capcolor,o3_captionfont,o3_captionsize))+o3_capicon+title+OLlgfUtil(1,1,'','div')+'</td>'+closing+'</tr></table>';
261t=OLbgLGF()+(o3_capbelow?OLfgLGF(txt)+caption:caption+OLfgLGF(txt))+OLbaseLGF();OLsetBackground('');return t;
262}
263
264// For BACKGROUND and FULLHTML commands
265function OLcontentBackground(txt,image,hasfullhtml){
266var t;if(hasfullhtml){t=txt;}else{t='<table'+OLwd(1)+' border="0" cellpadding="0" '+'cellspacing="0" '+'height="'
267+o3_height+'"><tr><td colspan="3" height="'+o3_padyt+'"></td></tr><tr><td width="'+o3_padxl+'"></td><td valign="top"'
268+OLwd(2)+'>'+OLlgfUtil(0,0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+txt+OLlgfUtil(1,0,'','div')
269+'</td><td width="'+o3_padxr+'"></td></tr><tr><td colspan="3" height="'+o3_padyb+'"></td></tr></table>';}
270OLsetBackground(image);return t;
271}
272
273// LGF utilities
274function OLbgLGF(){
275return '<table'+OLwd(1)+o3_height+' border="0" cellpadding="'+o3_border+'" cellspacing="0"'+(o3_bgclass?' class="'
276+o3_bgclass+'"':o3_bgcolor+o3_bgbackground)+'><tr><td>';
277}
278function OLfgLGF(t){
279return '<table'+OLwd(0)+o3_height+' border="0" cellpadding="'+o3_textpadding+'" cellspacing="0"'+(o3_fgclass?' class="'
280+o3_fgclass+'"':o3_fgcolor+o3_fgbackground)+'><tr><td valign="top"'+(o3_fgclass?' class="'+o3_fgclass+'"':'')+'>'
281+OLlgfUtil(0,0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+t+(OLprintPI?OLprintFgLGF():'')
282+OLlgfUtil(1,0,'','div')+'</td></tr></table>';
283}
284function OLlgfUtil(end,stg,tfc,ele,col,fac,siz){
285if(end)return('</'+(OLns4?'font'+(stg?'></strong':''):ele)+'>');else return(tfc?'<div'+OLhL(1)+' class="'+tfc+'">':
286((ele=='a'?'':'<')+(OLns4?(stg?'strong><':'')+'font color="'+col+'" face="'+OLquoteMultiNameFonts(fac)+'" size="'
287+siz:(ele=='a'?'':ele)+' style="'+((ele=='div')?OLhL(0):'')+'color:'+col+(stg?';font-weight:bold':'')+';font-family:'
288+OLquoteMultiNameFonts(fac)+';font-size:'+siz+';'+(ele=='span'?'text-decoration:underline;':''))+'">'));
289}
290function OLquoteMultiNameFonts(f){
291var i,v,pM=f.split(',');for(i=0;i<pM.length;i++){v=pM[i];v=v.replace(/^\s+/,'').replace(/\s+$/,'');
292if(/\s/.test(v) && !/['"]/.test(v)){v="\'"+v+"\'";pM[i]=v;}}return pM.join();
293}
294function OLbaseLGF(){
295return ((o3_base>0&&!o3_wrap)?('<table width="100%" border="0" cellpadding="0" cellspacing="0"'+(o3_bgclass?' class="'
296+o3_bgclass+'"':'')+'><tr><td height="'+o3_base+'"></td></tr></table>'):'')+'</td></tr></table>';
297}
298function OLwd(a){return(o3_wrap?'':' width="'+(!a?'100%':(a==1?o3_width:(o3_width-o3_padxl-o3_padxr)))+'"');}
299function OLhL(s){if(!OLie5)return '';return(s?' style="overflow:auto;"':'overflow:auto;');}
300
301// Loads image into the div.
302function OLsetBackground(i){
303if(i==''){if(OLns4)over.background.src=null;else{if(OLns6)over.style.width='';over.style.backgroundImage='none';}}
304else{if(OLns4)over.background.src=i;else{if(OLns6)over.style.width=o3_width+'px';over.style.backgroundImage='url('+i+')';}}
305}
306
307/*
308 HANDLING FUNCTIONS
309*/
310// Displays layer
311function OLdisp(s){
312if(OLmodalPI&&!o3_modalscroll)OLchkModal();if(!OLallowmove){if(OLshadowPI)OLdispShadow();if(OLiframePI)OLdispIfs();
313OLplaceLayer();if(OLmodalPI&&o3_modalscroll)OLchkModal();if(OLndt)OLshowObject(over);else OLshowid=
314setTimeout("OLshowObject(over)",1);OLallowmove=(o3_sticky||o3_nofollow)?0:1;}OLndt=0;if(s!="")self.status=s;
315}
316
317// Decides placement of layer.
318function OLplaceLayer(){
319var snp,X,Y,pgLeft,pgTop,pWd=o3_width,pHt,iWd=100,iHt=100,SB=0,LM=0,CX=0,TM=0,BM=0,CY=0,o=OLfd(),
320nsb=(OLgek>=20010505&&!o3_frame.scrollbars.visible)?1:0;
321if(!OLkht&&!OLop95&&o&&o.clientWidth)iWd=o.clientWidth;
322else if(o3_frame.innerWidth){SB=Math.ceil(1.4*(o3_frame.outerWidth-o3_frame.innerWidth));
323if(SB>20)SB=20;iWd=o3_frame.innerWidth;}
324pgLeft=(OLie4&&!OLop95)?o.scrollLeft:o3_frame.pageXOffset;
325if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow)SB=CX=5;else
326if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){SB+=((o3_shadowx>0)?o3_shadowx:0);
327LM=((o3_shadowx<0)?Math.abs(o3_shadowx):0);CX=Math.abs(o3_shadowx);}
328if(o3_ref!=""||o3_fixx> -1||o3_relx!=null||o3_midx!=null){
329if(o3_ref!=""){X=OLrefXY[0];if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow){
330if(o3_refp=='UR'||o3_refp=='LR')X-=5;}
331else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){
332if(o3_shadowx<0&&(o3_refp=='UL'||o3_refp=='LL'))X-=o3_shadowx;else
333if(o3_shadowx>0&&(o3_refp=='UR'||o3_refp=='LR'))X-=o3_shadowx;}
334}else{if(o3_midx!=null){
335X=parseInt(pgLeft+((iWd-pWd-SB-LM)/2)+o3_midx);
336}else{if(o3_relx!=null){
337if(o3_relx>=0)X=pgLeft+o3_relx+LM;else X=pgLeft+o3_relx+iWd-pWd-SB;
338}else{X=o3_fixx+LM;}}}
339}else{
340if(o3_hauto){
341if(o3_hpos==LEFT&&OLx-pgLeft+OLifX<iWd/2&&OLx-pWd-o3_offsetx+OLifX<pgLeft+LM)o3_hpos=RIGHT;else
342if(o3_hpos==RIGHT&&OLx-pgLeft+OLifX>iWd/2&&OLx+pWd+o3_offsetx+OLifX>pgLeft+iWd-SB)o3_hpos=LEFT;}
343X=(o3_hpos==CENTER)?parseInt(OLx-((pWd+CX)/2)+o3_offsetx):
344(o3_hpos==LEFT)?OLx-o3_offsetx-pWd:OLx+o3_offsetx;
345if(o3_snapx>1){
346snp=X % o3_snapx;
347if(o3_hpos==LEFT){X=X-(o3_snapx+snp);}else{X=X+(o3_snapx-snp);}}X+=OLifX;}
348if(!o3_nojustx&&X+pWd>pgLeft+iWd-SB)
349X=iWd+pgLeft-pWd-SB;if(!o3_nojustx&&X-LM<pgLeft)X=pgLeft+LM;
350pgTop=OLie4&&!OLop95?o.scrollTop:o3_frame.pageYOffset;
351if(!OLkht&&!OLop95&&!nsb&&o&&o.clientHeight)iHt=o.clientHeight;
352else if(o3_frame.innerHeight)iHt=o3_frame.innerHeight;
353if(OLbubblePI&&o3_bubble)pHt=OLbubbleHt;else pHt=OLns4?over.clip.height:over.offsetHeight;
354if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){TM=(o3_shadowy<0)?Math.abs(o3_shadowy):0;
355if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow)BM=CY=5;else
356BM=(o3_shadowy>0)?o3_shadowy:0;CY=Math.abs(o3_shadowy);}
357if(o3_ref!=""||o3_fixy> -1||o3_rely!=null||o3_midy!=null){
358if(o3_ref!=""){Y=OLrefXY[1];if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow){
359if(o3_refp=='LL'||o3_refp=='LR')Y-=5;}else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){
360if(o3_shadowy<0&&(o3_refp=='UL'||o3_refp=='UR'))Y-=o3_shadowy;else
361if(o3_shadowy>0&&(o3_refp=='LL'||o3_refp=='LR'))Y-=o3_shadowy;}
362}else{if(o3_midy!=null){
363Y=parseInt(pgTop+((iHt-pHt-CY)/2)+o3_midy);
364}else{if(o3_rely!=null){
365if(o3_rely>=0)Y=pgTop+o3_rely+TM;else Y=pgTop+o3_rely+iHt-pHt-BM;}else{
366Y=o3_fixy+TM;}}}
367}else{
368if(o3_vauto){
369if(o3_vpos==ABOVE&&OLy-pgTop+OLifY<iHt/2&&OLy-pHt-o3_offsety+OLifY<pgTop)o3_vpos=BELOW;else
370if(o3_vpos==BELOW&&OLy-pgTop+OLifY>iHt/2&&OLy+pHt+o3_offsety+((OLns4||OLkht)?17:0)+OLifY>pgTop+iHt-BM)
371o3_vpos=ABOVE;}Y=(o3_vpos==VCENTER)?parseInt(OLy-((pHt+CY)/2)+o3_offsety):
372(o3_vpos==ABOVE)?OLy-(pHt+o3_offsety+BM):OLy+o3_offsety+TM;
373if(o3_snapy>1){
374snp=Y % o3_snapy;
375if(pHt>0&&o3_vpos==ABOVE){Y=Y-(o3_snapy+snp);}else{Y=Y+(o3_snapy-snp);}}Y+=OLifY;}
376if(!o3_nojusty&&Y+pHt+BM>pgTop+iHt)Y=pgTop+iHt-pHt-BM;if(!o3_nojusty&&Y-TM<pgTop)Y=pgTop+TM;
377OLrepositionTo(over,X,Y);
378if(OLshadowPI)OLrepositionShadow(X,Y);if(OLiframePI)OLrepositionIfs(X,Y);
379if(OLns6&&o3_frame.innerHeight){iHt=o3_frame.innerHeight;OLrepositionTo(over,X,Y);}
380if(OLscrollPI)OLchkScroll(X-pgLeft,Y-pgTop);
381}
382
383// Chooses body or documentElement
384function OLfd(f){
385var fd=((f)?f:o3_frame).document,fdc=fd.compatMode,fdd=fd.documentElement;
386return (!OLop7&&fdc&&fdc!='BackCompat'&&fdd&&fdd.clientWidth)?fd.documentElement:fd.body;
387}
388
389// Gets location of REFerence object
390function OLgetRefXY(r,d){
391var o=OLgetRef(r,d),ob=o,rXY=[o3_refx,o3_refy],of;if(!o)return [null,null];if(OLns4){
392if(typeof o.length!='undefined'&&o.length>1){ob=o[0];rXY[0]+=o[0].x+o[1].pageX;rXY[1]+=o[0].y+o[1].pageY;}else{
393if((o.toString().indexOf('Image')!= -1)||(o.toString().indexOf('Anchor')!= -1)){rXY[0]+=o.x;rXY[1]+=o.y;}
394else{rXY[0]+=o.pageX;rXY[1]+=o.pageY;}}}else{rXY[0]+=OLpageLoc(o,'Left');rXY[1]+=OLpageLoc(o,'Top');}
395of=OLgetRefOffsets(ob);rXY[0]+=of[0];rXY[1]+=of[1];return rXY;
396}
397
398// Seeks REFerence by id
399function OLgetRefById(l,d){
400l=(l||'overDiv');d=(d||o3_frame.document);var j,r;if(d.getElementById)return d.getElementById(l);
401if(OLie4&&d.all)return d.all[l];if(d.layers&&d.layers.length>0){if(d.layers[l])return d.layers[l];
402for(j=0;j<d.layers.length;j++){r=OLgetRefById(l,d.layers[j].document);if(r)return r;}}return null;
403}
404
405// Seeks REFerence by name
406function OLgetRefByName(l,d){
407d=(d||o3_frame.document);var j,r,v=OLie4?d.all.tags('iframe'):OLns6?d.getElementsByTagName('iframe'):null;
408if(typeof d.images!='undefined'&&d.images[l])return d.images[l];
409if(typeof d.anchors!='undefined'&&d.anchors[l])return d.anchors[l];
410if(v)for(j=0;j<v.length;j++)if(v[j].name==l)return v[j];if(d.layers&&d.layers.length>0)for(j=0;j<d.layers.length;j++){
411r=OLgetRefByName(l,d.layers[j].document);if(r&&r.length>0)return r;else if(r)return [r,d.layers[j]];}return null;
412}
413
414// Gets layer vs REFerence offsets
415function OLgetRefOffsets(o){
416var c=o3_refc.toUpperCase(),p=o3_refp.toUpperCase(),W=0,H=0,pW=0,pH=0,of=[0,0];pW=(OLbubblePI&&o3_bubble)?
417o3_width:OLns4?over.clip.width:over.offsetWidth;pH=(OLbubblePI&&o3_bubble)?OLbubbleHt:OLns4?
418over.clip.height:over.offsetHeight;if((!OLop7)&&o.toString().indexOf('Image')!= -1){W=o.width;H=o.height;}
419else if((!OLop7)&&o.toString().indexOf('Anchor')!= -1){c=o3_refc='UL';}else{W=(OLns4)?o.clip.width:o.offsetWidth;
420H=(OLns4)?o.clip.height:o.offsetHeight;}if((OLns4||(OLns6&&OLgek))&&o.border){W+=2*parseInt(o.border);
421H+=2*parseInt(o.border);}if(c=='UL'){of=(p=='UR')?[-pW,0]:(p=='LL')?[0,-pH]:(p=='LR')?[-pW,-pH]:[0,0];}else if(c=='UR'){
422of=(p=='UR')?[W-pW,0]:(p=='LL')?[W,-pH]:(p=='LR')?[W-pW,-pH]:[W,0];}else if(c=='LL'){of=(p=='UR')?[-pW,H]:(p=='LL')?[0,H-pH]:
423(p=='LR')?[-pW,H-pH]:[0,H];}else if(c=='LR'){of=(p=='UR')?[W-pW,H]:(p=='LL')?[W,H-pH]:(p=='LR')?[W-pW,H-pH]:[W,H];}return of;
424}
425
426// Gets x or y location of object
427function OLpageLoc(o,t){
428var l=0,s=o;while(o.offsetParent&&o.offsetParent.tagName.toLowerCase()!='html'){l+=o['offset'+t];o=o.offsetParent;}
429l+=o['offset'+t];
429if(!OLop7)while(s=s.parentNode){if((s['scroll'+t]>0)&&s.tagName.toLowerCase()=='div')l-=s['scroll'+t];}
430return l;
431}
432
433// Moves layer
434function OLmouseMove(e){
435var e=(e||event);OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);if((OLallowmove&&
436over)&&(o3_frame==self||over==OLgetRefById()||(OLovertwoPI&&over2==over&&over==OLgetRefById('overDiv2')))){OLplaceLayer();
437if(OLhidePI)OLhideUtil(0,1,1,0,0,0);}
438}
439
440// Capture mouse and chain other scripts.
441function OLmh(){
442var fN,f,j,k,s,mh=OLmouseMove,w=(OLns4&&window.onmousemove),re=/function[ ]*(\w*)\(/;OLdw=document;if(document.onmousemove||
443w){if(w)OLdw=window;f=OLdw.onmousemove.toString();fN=f.match(re);if(!fN||fN[1]=='anonymous'||fN[1]=='OLmouseMove'){OLchkMh=0;
444return;}if(fN[1])s=fN[1]+'(e)';else{j=f.indexOf('{');k=f.lastIndexOf('}')+1;s=f.substring(j,k);}s+=';OLmouseMove(e);';
445mh=new Function('e',s);}OLdw.onmousemove=mh;if(OLns4)OLdw.captureEvents(Event.MOUSEMOVE);
446}
447
448/*
449 PARSING
450*/
451function OLparseTokens(pf,ar){
452var i,v,md= -1,par=(pf!='ol_'),p=OLpar,q=OLparQuo,t=OLtoggle;OLudf=(par&&!ar.length?1:0);
453for(i=0;i<ar.length;i++){if(md<0){if(typeof ar[i]=='number'){OLudf=(par?1:0);i--;}
454else{switch(pf){case 'ol_':ol_text=ar[i];break;default:o3_text=ar[i];}}md=0;}else{
455if(ar[i]==INARRAY){OLudf=0;eval(pf+'text=ol_texts['+ar[(++i)]+']');continue;}
456if(ar[i]==CAPARRAY){eval(pf+'cap=ol_caps['+ar[(++i)]+']');continue;}
457if(ar[i]==CAPTION){q(ar[++i],pf+'cap');continue;}
458if(Math.abs(ar[i])==STICKY){t(ar[i],pf+'sticky');continue;}
459if(Math.abs(ar[i])==NOFOLLOW){t(ar[i],pf+'nofollow');continue;}
460if(ar[i]==BACKGROUND){q(ar[++i],pf+'background');continue;}
461if(Math.abs(ar[i])==NOCLOSE){t(ar[i],pf+'noclose');continue;}
462if(Math.abs(ar[i])==MOUSEOFF){t(ar[i],pf+'mouseoff');continue;}
463if(ar[i]==OFFDELAY){p(ar[++i],pf+'offdelay');continue;}
464if(ar[i]==RIGHT||ar[i]==LEFT||ar[i]==CENTER){p(ar[i],pf+'hpos');continue;}
465if(ar[i]==OFFSETX){p(ar[++i],pf+'offsetx');continue;}
466if(ar[i]==OFFSETY){p(ar[++i],pf+'offsety');continue;}
467if(ar[i]==FGCOLOR){q(ar[++i],pf+'fgcolor');continue;}
468if(ar[i]==BGCOLOR){q(ar[++i],pf+'bgcolor');continue;}
469if(ar[i]==CGCOLOR){q(ar[++i],pf+'cgcolor');continue;}
470if(ar[i]==TEXTCOLOR){q(ar[++i],pf+'textcolor');continue;}
471if(ar[i]==CAPCOLOR){q(ar[++i],pf+'capcolor');continue;}
472if(ar[i]==CLOSECOLOR){q(ar[++i],pf+'closecolor');continue;}
473if(ar[i]==WIDTH){p(ar[++i],pf+'width');continue;}
474if(Math.abs(ar[i])==WRAP){t(ar[i],pf+'wrap');continue;}
475if(ar[i]==WRAPMAX){p(ar[++i],pf+'wrapmax');continue;}
476if(ar[i]==HEIGHT){p(ar[++i],pf+'height');continue;}
477if(ar[i]==BORDER){p(ar[++i],pf+'border');continue;}
478if(ar[i]==BASE){p(ar[++i],pf+'base');continue;}
479if(ar[i]==STATUS){q(ar[++i],pf+'status');continue;}
480if(Math.abs(ar[i])==AUTOSTATUS){v=pf+'autostatus';
481eval(v+'=('+ar[i]+'<0)?('+v+'==2?2:0):('+v+'==1?0:1)');continue;}
482if(Math.abs(ar[i])==AUTOSTATUSCAP){v=pf+'autostatus';
483eval(v+'=('+ar[i]+'<0)?('+v+'==1?1:0):('+v+'==2?0:2)');continue;}
484if(ar[i]==CLOSETEXT){q(ar[++i],pf+'close');continue;}
485if(ar[i]==SNAPX){p(ar[++i],pf+'snapx');continue;}
486if(ar[i]==SNAPY){p(ar[++i],pf+'snapy');continue;}
487if(ar[i]==FIXX){p(ar[++i],pf+'fixx');continue;}
488if(ar[i]==FIXY){p(ar[++i],pf+'fixy');continue;}
489if(ar[i]==RELX){p(ar[++i],pf+'relx');continue;}
490if(ar[i]==RELY){p(ar[++i],pf+'rely');continue;}
491if(ar[i]==MIDX){p(ar[++i],pf+'midx');continue;}
492if(ar[i]==MIDY){p(ar[++i],pf+'midy');continue;}
493if(ar[i]==REF){q(ar[++i],pf+'ref');continue;}
494if(ar[i]==REFC){q(ar[++i],pf+'refc');continue;}
495if(ar[i]==REFP){q(ar[++i],pf+'refp');continue;}
496if(ar[i]==REFX){p(ar[++i],pf+'refx');continue;}
497if(ar[i]==REFY){p(ar[++i],pf+'refy');continue;}
498if(ar[i]==FGBACKGROUND){q(ar[++i],pf+'fgbackground');continue;}
499if(ar[i]==BGBACKGROUND){q(ar[++i],pf+'bgbackground');continue;}
500if(ar[i]==CGBACKGROUND){q(ar[++i],pf+'cgbackground');continue;}
501if(ar[i]==PADX){p(ar[++i],pf+'padxl');p(ar[++i],pf+'padxr');continue;}
502if(ar[i]==PADY){p(ar[++i],pf+'padyt');p(ar[++i],pf+'padyb');continue;}
503if(Math.abs(ar[i])==FULLHTML){t(ar[i],pf+'fullhtml');continue;}
504if(ar[i]==BELOW||ar[i]==ABOVE||ar[i]==VCENTER){p(ar[i],pf+'vpos');continue;}
505if(ar[i]==CAPICON){q(ar[++i],pf+'capicon');continue;}
506if(ar[i]==TEXTFONT){q(ar[++i],pf+'textfont');continue;}
507if(ar[i]==CAPTIONFONT){q(ar[++i],pf+'captionfont');continue;}
508if(ar[i]==CLOSEFONT){q(ar[++i],pf+'closefont');continue;}
509if(ar[i]==TEXTSIZE){q(ar[++i],pf+'textsize');continue;}
510if(ar[i]==CAPTIONSIZE){q(ar[++i],pf+'captionsize');continue;}
511if(ar[i]==CLOSESIZE){q(ar[++i],pf+'closesize');continue;}
512if(ar[i]==TIMEOUT){p(ar[++i],pf+'timeout');continue;}
513if(ar[i]==DELAY){p(ar[++i],pf+'delay');continue;}
514if(Math.abs(ar[i])==HAUTO){t(ar[i],pf+'hauto');continue;}
515if(Math.abs(ar[i])==VAUTO){t(ar[i],pf+'vauto');continue;}
516if(Math.abs(ar[i])==NOJUSTX){t(ar[i],pf+'nojustx');continue;}
517if(Math.abs(ar[i])==NOJUSTY){t(ar[i],pf+'nojusty');continue;}
518if(Math.abs(ar[i])==CLOSECLICK){t(ar[i],pf+'closeclick');continue;}
519if(ar[i]==CLOSETITLE){q(ar[++i],pf+'closetitle');continue;}
520if(ar[i]==FGCLASS){q(ar[++i],pf+'fgclass');continue;}
521if(ar[i]==BGCLASS){q(ar[++i],pf+'bgclass');continue;}
522if(ar[i]==CGCLASS){q(ar[++i],pf+'cgclass');continue;}
523if(ar[i]==TEXTPADDING){p(ar[++i],pf+'textpadding');continue;}
524if(ar[i]==TEXTFONTCLASS){q(ar[++i],pf+'textfontclass');continue;}
525if(ar[i]==CAPTIONPADDING){p(ar[++i],pf+'captionpadding');continue;}
526if(ar[i]==CAPTIONFONTCLASS){q(ar[++i],pf+'captionfontclass');continue;}
527if(ar[i]==CLOSEFONTCLASS){q(ar[++i],pf+'closefontclass');continue;}
528if(Math.abs(ar[i])==CAPBELOW){t(ar[i],pf+'capbelow');continue;}
529if(ar[i]==LABEL){q(ar[++i],pf+'label');continue;}
530if(Math.abs(ar[i])==DECODE){t(ar[i],pf+'decode');continue;}
531if(ar[i]==DONOTHING){continue;}
532i=OLparseCmdLine(pf,i,ar);}}
533if((OLfunctionPI)&&OLudf&&o3_function)o3_text=o3_function();
534if(pf=='o3_')OLfontSize();
535}
536function OLpar(a,v){eval(v+'='+a);}
537function OLparQuo(a,v){eval(v+"='"+OLescSglQt(a)+"'");}
538function OLescSglQt(s){return s.toString().replace(/\\/g,"\\\\").replace(/'/g,"\\'");}
539function OLtoggle(a,v){eval(v+'=('+v+'==0&&'+a+'>=0)?1:0');}
540function OLhasDims(s){return /[%\-a-z]+$/.test(s);}
541function OLfontSize(){
542var i;if(OLhasDims(o3_textsize)){if(OLns4)o3_textsize="2";}else
543if(!OLns4){i=parseInt(o3_textsize);o3_textsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}
544if(OLhasDims(o3_captionsize)){if(OLns4)o3_captionsize="2";}else
545if(!OLns4){i=parseInt(o3_captionsize);o3_captionsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}
546if(OLhasDims(o3_closesize)){if(OLns4)o3_closesize="2";}else
547if(!OLns4){i=parseInt(o3_closesize);o3_closesize=(i>0&&i<8)?OLpct[i]:OLpct[0];}
548if(OLprintPI)OLprintDims();
549}
550function OLdecode(){
551var re=/%[0-9A-Fa-f]{2,}/,t=o3_text,c=o3_cap,u=unescape,d=!OLns4&&(!OLgek||OLgek>=20020826)&&typeof decodeURIComponent?
552decodeURIComponent:u;if(typeof(window.TypeError)=='function'){if(re.test(t)){eval(new Array('try{','o3_text=d(t);',
553'}catch(e){','o3_text=u(t);','}').join('\n'))};if(c&&re.test(c)){eval(new Array('try{','o3_cap=d(c);','}catch(e){',
554'o3_cap=u(c);','}').join('\n'))}}else{if(re.test(t))o3_text=u(t);if(c&&re.test(c))o3_cap=u(c);}
555}
556
557/*
558 LAYER FUNCTIONS
559*/
560// Writes to layer
561function OLlayerWrite(t){
562t+="\n";if(OLns4){over.document.write(t);over.document.close();}else if(typeof over.innerHTML!='undefined'){
563if(OLieM)over.innerHTML='';over.innerHTML=t;}else{var range=o3_frame.document.createRange();range.setStartAfter(over);
564var domfrag=range.createContextualFragment(t);while(over.hasChildNodes()){over.removeChild(over.lastChild);}
565over.appendChild(domfrag);}if(OLovertwoPI&&over==over2)OLover2HTML=t;else OLoverHTML=t;
566if(OLprintPI)over.print=o3_print?t:null;
567}
568
569// Makes object visible
570function OLshowObject(o){
571OLshowid=0;o=(OLns4)?o:o.style;if(((OLfilterPI)&&!OLchkFilter(o))||!OLfilterPI)o.visibility="visible";
572if(OLshadowPI)OLshowShadow();if(OLiframePI)OLshowIfs();if(OLhidePI)OLhideUtil(1,1,0);
573}
574
575// Hides object
576function OLhideObject(o){
577if(OLshowid>0){clearTimeout(OLshowid);OLshowid=0;}if(OLtimerid>0)clearTimeout(OLtimerid);
578if(OLdelayid>0)clearTimeout(OLdelayid);OLtimerid=0;OLdelayid=0;self.status="";o3_label=ol_label;
579if(o3_frame!=self)o=OLgetRefById();if(o){if(o.onmouseover)o.onmouseover=null;if(OLscrollPI&&o==over)OLclearScroll();
580if(OLdraggablePI)OLclearDrag();if(OLfilterPI)OLcleanupFilter(o);if(OLshadowPI)OLhideShadow();var os=(OLns4)?o:o.style;
581if(((OLfilterPI)&&!OLchkFadeOut(os))||!OLfilterPI){os.visibility="hidden";if(!OLie55||(typeof ggOnChange=='undefined'&&
582(!OLfilterPI||!o3_filter||o3_fadeout<0)))o.innerHTML='';}if(OLhidePI&&o==over)OLhideUtil(0,0,1);if(OLiframePI)OLhideIfs(o);}
583}
584
585// Moves layer
586function OLrepositionTo(o,xL,yL){
587o=(OLns4)?o:o.style;o.left=(OLns4?xL:xL+'px');o.top=(OLns4?yL:yL+'px');
588}
589
590// Handle NOCLOSE-MOUSEOFF
591function OLoptMOUSEOFF(c){
592if(!c)o3_close="";over.onmouseover=function(){OLhover=1;if(OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}}
593over.onmouseout=function(){if(OLhover){OLcC=(OLovertwoPI&&over2&&over==over2?cClick2:cClick);if(OLtimerid>0)
594clearTimeout(OLtimerid);OLtimerid=setTimeout("OLcC()",(o3_offdelay<1)?1:o3_offdelay);}}
595}
596function OLcursorOff(){
597var o=(OLns4?over:over.style),pHt=OLns4?over.clip.height:over.offsetHeight,left=parseInt(o.left),top=parseInt(o.top),
598right=left+o3_width,bottom=top+((OLbubblePI&&o3_bubble)?OLbubbleHt:pHt);
599if(OLx<left||OLx>right||OLy<top||OLy>bottom)return true;return false;
600}
601
602/*
603 REGISTRATION
604*/
605function OLsetRunTimeVar(){
606if(OLrunTime.length)for(var k=0;k<OLrunTime.length;k++)OLrunTime[k]();
607}
608function OLparseCmdLine(pf,i,ar){
609if(OLcmdLine.length){for(var k=0;k<OLcmdLine.length;k++){var j=OLcmdLine[k](pf,i,ar);if(j>-1){i=j;break;}}}return i;
610}
611function OLregCmds(c){
612if(typeof c!='string')return;var pM=c.split(',');pMtr=pMtr.concat(pM);
613for(var i=0;i<pM.length;i++)eval(pM[i].toUpperCase()+'='+(pmCnt++));
614}
615function OLregRunTimeFunc(f){
616if(typeof f=='object')OLrunTime=OLrunTime.concat(f);else OLrunTime[OLrunTime.length++]=f;
617}
618function OLregCmdLineFunc(f){
619if(typeof f=='object')OLcmdLine=OLcmdLine.concat(f);else OLcmdLine[OLcmdLine.length++]=f;
620}
621
622OLloaded=1;

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.