include overlib in selfservice
authorjeff <jeff>
Tue, 26 May 2009 12:32:12 +0000 (12:32 +0000)
committerjeff <jeff>
Tue, 26 May 2009 12:32:12 +0000 (12:32 +0000)
fs_selfservice/FS-SelfService/cgi/iframecontentmws.js [new file with mode: 0644]
fs_selfservice/FS-SelfService/cgi/overlibmws.js [new file with mode: 0644]
fs_selfservice/FS-SelfService/cgi/overlibmws_crossframe.js [new file with mode: 0644]
fs_selfservice/FS-SelfService/cgi/overlibmws_draggable.js [new file with mode: 0644]
fs_selfservice/FS-SelfService/cgi/overlibmws_iframe.js [new file with mode: 0644]

diff --git a/fs_selfservice/FS-SelfService/cgi/iframecontentmws.js b/fs_selfservice/FS-SelfService/cgi/iframecontentmws.js
new file mode 100644 (file)
index 0000000..f2a91d2
--- /dev/null
@@ -0,0 +1,59 @@
+/*\r
+ iframecontentmws.js - Foteos Macrides (author and copyright holder)\r
+   Initial: October 10, 2004 - Last Revised: January 26, 2008\r
+ Scripts for using HTML documents as iframe content in overlibmws popups.\r
+\r
+ See http://www.macridesweb.com/oltest/IFRAME.html\r
+ and http://www.macridesweb.com/oltest/AJAX.html#ajaxex3\r
+ for more information.\r
+*/\r
+\r
+/*\r
+ Use as lead argument in overlib or overlb2 calls.  Include WRAP and\r
+ TEXTPADDING,0 in the call to ensure that the width arg is respected (unless\r
+ the CAPTION plus CLOSETEXT widths add up to more than the width arg, in which\r
+ case you should increase the width arg).  The name arg should be a unique\r
+ string for each popup with iframe content in the document.  The frameborder\r
+ arg should be 1 (browser default if omitted) or 0.  The scrolling arg should\r
+ be 'auto' (default if omitted), 'yes' or 'no'.\r
+*/\r
+function OLiframeContent(src, width, height, name, frameborder, scrolling) {\r
\r
+ /* stupid safari iframe location caching... */\r
+ var d = new Date();\r
+ var unique = d.getTime() + '' + Math.floor(1000 * Math.random());\r
+ name = name + '' + unique;\r
+\r
+ return ('<iframe src="'+src+'" width="'+width+'" height="'+height+'"'\r
+ +(name!=null?' name="'+name+'" id="'+name+'"':'')\r
+ +(frameborder!=null?' frameborder="'+frameborder+'"':'')\r
+ +' scrolling="'+(scrolling!=null?scrolling:'auto')\r
+ +'"><div>[iframe not supported]</div></iframe>');\r
+}\r
+\r
+/*\r
+ Swap the src if we are iframe content.  The name arg should be the same\r
+ string as in the OLiframeContent function for the popup.  The src arg is\r
+ a partial, relative, or complete URL for the document to be swapped in.\r
+*/\r
+function OLswapIframeSrc(name, src){\r
+ if(parent==self){\r
+  alert(src+'\n\n is only for iframe content');\r
+  return;\r
+ }\r
+ var o=parent.OLgetRef(name);\r
+ if(o)o.src=src;\r
+ else alert(src+'\n\n is not available');\r
+}\r
+\r
+/*\r
+ Emulate the Back button if we are iframe content.  Use only in documents\r
+ which are swapped in by using the OLswapIframeSrc function.\r
+*/\r
+function OLiframeBack(){\r
+ if(parent==self){\r
+  alert('This feature is only for iframe content');\r
+  return;\r
+ }\r
+ history.back();\r
+}\r
diff --git a/fs_selfservice/FS-SelfService/cgi/overlibmws.js b/fs_selfservice/FS-SelfService/cgi/overlibmws.js
new file mode 100644 (file)
index 0000000..df2bd1d
--- /dev/null
@@ -0,0 +1,620 @@
+/*\r
+ Do not remove or change this notice.\r
+ overlibmws.js core module - Copyright Foteos Macrides 2002-2008. All rights reserved.\r
+   Initial: August 18, 2002 - Last Revised: March 22, 2008\r
+ This module is subject to the same terms of usage as for Erik Bosrup's overLIB,\r
+ though only a minority of the code and API now correspond with Erik's version.\r
+ See the overlibmws Change History and Command Reference via:\r
+\r
+       http://www.macridesweb.com/oltest/\r
+\r
+ Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
+ Give credit on sites that use overlibmws and submit changes so others can use them as well.\r
+ You can get Erik's version via: http://www.bosrup.com/web/overlib/\r
+*/\r
+\r
+// PRE-INIT -- Ignore these lines, configuration is below.\r
+var OLloaded=0,OLbubblePI=0,OLcrossframePI=0,OLdebugPI=0,OLdraggablePI=0,OLexclusivePI=0,OLfilterPI=0,\r
+OLfunctionPI=0,OLhidePI=0,OLiframePI=0,OLmodalPI=0,OLovertwoPI=0,OLscrollPI=0,OLshadowPI=0,OLprintPI=0,\r
+pmCnt=1,pMtr=new Array(),OLcmdLine=new Array(),OLrunTime=new Array(),OLv,OLudf,OLrefXY,\r
+OLpct=new Array("83%","67%","83%","100%","117%","150%","200%","267%");if(typeof OLgateOK=='undefined')var OLgateOK=1;\r
+var OLp1or2c='inarray,caparray,caption,closetext,right,left,center,autostatuscap,padx,pady,below,above,vcenter,donothing',\r
+OLp1or2co='nofollow,background,offsetx,offsety,fgcolor,bgcolor,cgcolor,textcolor,capcolor,width,wrap,wrapmax,height,border,'\r
++'base,status,autostatus,snapx,snapy,fixx,fixy,relx,rely,midx,midy,ref,refc,refp,refx,refy,fgbackground,bgbackground,'\r
++'cgbackground,fullhtml,capicon,textfont,captionfont,textsize,captionsize,timeout,delay,hauto,vauto,nojustx,nojusty,fgclass,'\r
++'bgclass,cgclass,capbelow,textpadding,textfontclass,captionpadding,captionfontclass,sticky,noclose,mouseoff,offdelay,'\r
++'closecolor,closefont,closesize,closeclick,closetitle,closefontclass,decode',OLp1or2o='text,cap,close,hpos,vpos,padxl,'\r
++'padxr,padyt,padyb',OLp1co='label',OLp1or2=OLp1or2co+','+OLp1or2o,OLp1=OLp1co+','+'frame';\r
+OLregCmds(OLp1or2c+','+OLp1or2co+','+OLp1co);\r
+function OLud(v){return eval('typeof ol_'+v+'=="undefined"')?1:0;}\r
+\r
+// DEFAULT CONFIGURATION -- See overlibConfig.txt for descriptions\r
+if(OLud('fgcolor'))var ol_fgcolor="#ccccff";\r
+if(OLud('bgcolor'))var ol_bgcolor="#333399";\r
+if(OLud('cgcolor'))var ol_cgcolor="#333399";\r
+if(OLud('textcolor'))var ol_textcolor="#000000";\r
+if(OLud('capcolor'))var ol_capcolor="#ffffff";\r
+if(OLud('closecolor'))var ol_closecolor="#eeeeff";\r
+if(OLud('textfont'))var ol_textfont="Verdana,Arial,Helvetica";\r
+if(OLud('captionfont'))var ol_captionfont="Verdana,Arial,Helvetica";\r
+if(OLud('closefont'))var ol_closefont="Verdana,Arial,Helvetica";\r
+if(OLud('textsize'))var ol_textsize=1;\r
+if(OLud('captionsize'))var ol_captionsize=1;\r
+if(OLud('closesize'))var ol_closesize=1;\r
+if(OLud('fgclass'))var ol_fgclass="";\r
+if(OLud('bgclass'))var ol_bgclass="";\r
+if(OLud('cgclass'))var ol_cgclass="";\r
+if(OLud('textpadding'))var ol_textpadding=2;\r
+if(OLud('textfontclass'))var ol_textfontclass="";\r
+if(OLud('captionpadding'))var ol_captionpadding=2;\r
+if(OLud('captionfontclass'))var ol_captionfontclass="";\r
+if(OLud('closefontclass'))var ol_closefontclass="";\r
+if(OLud('close'))var ol_close="Close";\r
+if(OLud('closeclick'))var ol_closeclick=0;\r
+if(OLud('closetitle'))var ol_closetitle="Click to Close";\r
+if(OLud('text'))var ol_text="Default Text";\r
+if(OLud('cap'))var ol_cap="";\r
+if(OLud('capbelow'))var ol_capbelow=0;\r
+if(OLud('background'))var ol_background="";\r
+if(OLud('width'))var ol_width=200;\r
+if(OLud('wrap'))var ol_wrap=0;\r
+if(OLud('wrapmax'))var ol_wrapmax=0;\r
+if(OLud('height'))var ol_height= -1;\r
+if(OLud('border'))var ol_border=1;\r
+if(OLud('base'))var ol_base=0;\r
+if(OLud('offsetx'))var ol_offsetx=10;\r
+if(OLud('offsety'))var ol_offsety=10;\r
+if(OLud('sticky'))var ol_sticky=0;\r
+if(OLud('nofollow'))var ol_nofollow=0;\r
+if(OLud('noclose'))var ol_noclose=0;\r
+if(OLud('mouseoff'))var ol_mouseoff=0;\r
+if(OLud('offdelay'))var ol_offdelay=300;\r
+if(OLud('hpos'))var ol_hpos=RIGHT;\r
+if(OLud('vpos'))var ol_vpos=BELOW;\r
+if(OLud('status'))var ol_status="";\r
+if(OLud('autostatus'))var ol_autostatus=0;\r
+if(OLud('snapx'))var ol_snapx=0;\r
+if(OLud('snapy'))var ol_snapy=0;\r
+if(OLud('fixx'))var ol_fixx= -1;\r
+if(OLud('fixy'))var ol_fixy= -1;\r
+if(OLud('relx'))var ol_relx=null;\r
+if(OLud('rely'))var ol_rely=null;\r
+if(OLud('midx'))var ol_midx=null;\r
+if(OLud('midy'))var ol_midy=null;\r
+if(OLud('ref'))var ol_ref="";\r
+if(OLud('refc'))var ol_refc='UL';\r
+if(OLud('refp'))var ol_refp='UL';\r
+if(OLud('refx'))var ol_refx=0;\r
+if(OLud('refy'))var ol_refy=0;\r
+if(OLud('fgbackground'))var ol_fgbackground="";\r
+if(OLud('bgbackground'))var ol_bgbackground="";\r
+if(OLud('cgbackground'))var ol_cgbackground="";\r
+if(OLud('padxl'))var ol_padxl=1;\r
+if(OLud('padxr'))var ol_padxr=1;\r
+if(OLud('padyt'))var ol_padyt=1;\r
+if(OLud('padyb'))var ol_padyb=1;\r
+if(OLud('fullhtml'))var ol_fullhtml=0;\r
+if(OLud('capicon'))var ol_capicon="";\r
+if(OLud('frame'))var ol_frame=self;\r
+if(OLud('timeout'))var ol_timeout=0;\r
+if(OLud('delay'))var ol_delay=0;\r
+if(OLud('hauto'))var ol_hauto=0;\r
+if(OLud('vauto'))var ol_vauto=0;\r
+if(OLud('nojustx'))var ol_nojustx=0;\r
+if(OLud('nojusty'))var ol_nojusty=0;\r
+if(OLud('label'))var ol_label="";\r
+if(OLud('decode'))var ol_decode=0;\r
+// ARRAY CONFIGURATION - See overlibConfig.txt for descriptions.\r
+if(OLud('texts'))var ol_texts=new Array("Text 0","Text 1");\r
+if(OLud('caps'))var ol_caps=new Array("Caption 0","Caption 1");\r
+// END CONFIGURATION -- Don't change anything below, all configuration is above.\r
+\r
+// INIT -- Runtime variables.\r
+var o3_text="",o3_cap="",o3_sticky=0,o3_nofollow=0,o3_background="",o3_noclose=0,o3_mouseoff=0,o3_offdelay=300,o3_hpos=RIGHT,\r
+o3_offsetx=10,o3_offsety=10,o3_fgcolor="",o3_bgcolor="",o3_cgcolor="",o3_textcolor="",o3_capcolor="",o3_closecolor="",\r
+o3_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,\r
+o3_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,\r
+o3_refy=0,o3_fgbackground="",o3_bgbackground="",o3_cgbackground="",o3_padxl=0,o3_padxr=0,o3_padyt=0,o3_padyb=0,o3_fullhtml=0,\r
+o3_vpos=BELOW,o3_capicon="",o3_textfont="Verdana,Arial,Helvetica",o3_captionfont="",o3_closefont="",o3_textsize=1,OLcC=null,\r
+o3_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,\r
+o3_close="",o3_closeclick=0,o3_closetitle="",o3_fgclass="",o3_bgclass="",o3_cgclass="",o3_textpadding=2,o3_textfontclass="",\r
+o3_captionpadding=2,o3_captionfontclass="",o3_closefontclass="",o3_capbelow=0,o3_label="",o3_decode=0,\r
+CSSOFF=DONOTHING,CSSCLASS=DONOTHING,over=null,OLdelayid=0,OLtimerid=0,OLshowid=0,OLndt=0,OLfnRef="",OLhover=0,OLx=0,OLy=0,\r
+OLshowingsticky=0,OLallowmove=0,OLoverHTML="",OLover2HTML="",OLifRef="",OLo2Ref="",OLifX=0,OLifY=0,\r
+OLua=(OLv=navigator.userAgent)?OLv.toLowerCase():'',\r
+OLns4=(navigator.appName=='Netscape'&&parseInt(navigator.appVersion)==4)?1:0,\r
+OLns6=(document.getElementById)?1:0,\r
+OLie4=(document.all)?1:0,\r
+OLgek=(OLv=OLua.match(/gecko\/(\d{8})/i))?parseInt(OLv[1]):0,\r
+OLmac=(OLua.indexOf('mac')>=0)?1:0,\r
+OLsaf=(OLua.indexOf('safari')>=0)?1:0,\r
+OLkon=(OLua.indexOf('konqueror')>=0)?1:0,\r
+OLkht=(OLsaf||OLkon)?1:0,\r
+OLopr=(OLua.indexOf('opera')>=0)?1:0,\r
+OLop7=(OLopr&&document.createTextNode)?1:0;\r
+if(OLopr){OLns4=OLns6=OLgek=0;OLie4=(OLop7)?1:0;}\r
+var OLieM=((OLie4&&OLmac)&&!(OLkht||OLopr))?1:0,\r
+OLie5=0,OLie55=0;OLie7=0;if(OLie4&&!OLop7){\r
+if((OLv=OLua.match(/msie (\d\.\d+)\.*/i))&&(OLv=parseFloat(OLv[1]))>=5.0){\r
+OLie5=1;OLns6=0;if(OLv>=5.5)OLie55=1;if(OLv>=7.0)OLie7=1;}if(OLns6)OLie4=0;}\r
+if(OLns4)window.onresize=function(){location.reload();};var OLchkMh=1,OLdw;\r
+if(OLns4||OLie4||OLns6){OLmh();if(window.addEventListener)window.addEventListener("unload",\r
+OLulCl,false);}else{overlib=nd=cClick=OLpageDefaults=no_overlib;}\r
+function OLulCl(){if(over)cClick();window.removeEventListener("unload",OLulCl,false);}\r
+\r
+/*\r
+ PUBLIC FUNCTIONS\r
+*/\r
+// Loads defaults then args into runtime variables.\r
+function overlib(){\r
+if(!(OLloaded&&OLgateOK))return;if((OLexclusivePI)&&OLisExclusive(arguments))return true;if(OLchkMh)OLmh();\r
+if(OLndt&&!OLtimerid)OLndt=0;if(over)cClick();if(parent!=self){if(parent.OLo2Ref){parent.OLeval(parent.OLo2Ref);\r
+parent.OLo2Ref="";}if(parent.OLifRef){parent.OLeval(parent.OLifRef);parent.OLifRef="";}}if(OLo2Ref){eval(OLo2Ref);\r
+OLo2Ref="";}if(OLifRef){eval(OLifRef);OLifRef="";}OLload(OLp1or2);OLload(OLp1);OLfnRef="";OLifX=0;OLifY=0;OLhover=0;\r
+OLsetRunTimeVar();OLparseTokens('o3_',arguments);if(!(over=OLmkLyr()))return false;if(o3_decode)OLdecode();if(OLprintPI)\r
+OLchkPrint();if(OLbubblePI)OLchkForBubbleEffect();if(OLdebugPI)OLsetDebugCanShow();if(OLshadowPI)OLinitShadow();\r
+if(OLiframePI)OLinitIfs();if(OLfilterPI)OLinitFilterLyr();if(OLexclusivePI&&o3_exclusive&&o3_exclusivestatus!="")\r
+o3_status=o3_exclusivestatus;else if(o3_autostatus==2&&o3_cap!="")o3_status=o3_cap;else if(o3_autostatus==1&&o3_text!="")\r
+o3_status=o3_text;if(!o3_delay){return OLmain();}else{OLdelayid=setTimeout("OLmain()",o3_delay);if(o3_status!=""){\r
+self.status=o3_status;return true;}else if(!(OLop7&&event&&event.type=='mouseover'))return false;}\r
+}\r
+function OLeval(s){eval(s);}\r
+\r
+// Clears popups if appropriate\r
+function nd(time){\r
+if(OLloaded&&OLgateOK){if(!((OLexclusivePI)&&OLisExclusive())){if(time&&over&&!o3_delay){\r
+if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=(OLhover&&o3_frame==self&&!OLcursorOff())?0:\r
+setTimeout("cClick()",(o3_timeout=OLndt=time));}else{if(!OLshowingsticky){OLallowmove=0;\r
+if(over)OLhideObject(over);}}}}return false;\r
+}\r
+\r
+// Close function for stickies\r
+function cClick(){\r
+if(OLloaded&&OLgateOK){OLhover=0;if(over){if(OLo2Ref){eval(OLo2Ref);OLo2Ref="";}if(OLovertwoPI&&over==over2)cClick2();\r
+OLhideObject(over);OLshowingsticky=0;OLallowmove=0;}if(OLmodalPI)OLclearModal();}return false;\r
+}\r
+\r
+// Sets page-specific defaults.\r
+function OLpageDefaults(){\r
+OLparseTokens('ol_',arguments);\r
+}\r
+\r
+// Gets object referenced by its id or name\r
+function OLgetRef(l,d){var r=OLgetRefById(l,d);return (r)?r:OLgetRefByName(l,d);}\r
+\r
+// For unsupported browsers.\r
+function no_overlib(){return false;}\r
+\r
+/*\r
+ OVERLIB MAIN FUNCTION SET\r
+*/\r
+function OLmain(){\r
+o3_delay=0;if(parent!=self&&o3_frame==parent&&parent.OLscrollPI&&parent.over)parent.OLclearScroll();if(o3_frame==self){\r
+if(o3_noclose)OLoptMOUSEOFF(0);else if(o3_mouseoff)OLoptMOUSEOFF(1);}if(o3_sticky){OLshowingsticky=1;if(OLfnRef&&\r
+parent!=self&&o3_frame==parent&&parent.overlib){parent.OLifRef=OLfnRef+'cClick()';}}OLdoLyr();OLallowmove=0;if(o3_timeout>0){\r
+if(OLtimerid>0)clearTimeout(OLtimerid);OLtimerid=setTimeout("cClick()",o3_timeout);}OLchkRef();OLdisp(o3_status);\r
+if(OLdraggablePI)OLcheckDrag();if(o3_status!="")return true;else if(!(OLop7&&event&&event.type=='mouseover'))return false;\r
+}\r
+function OLchkRef(){\r
+if(o3_ref){OLrefXY=OLgetRefXY(o3_ref);if(OLrefXY[0]==null&&OLcrossframePI)OLchkIfRef();\r
+if(OLrefXY[0]==null){o3_ref="";o3_midx=0;o3_midy=0;}}\r
+}\r
+\r
+// Loads o3_ variables\r
+function OLload(c){var i,m=c.split(',');for(i=0;i<m.length;i++)eval('o3_'+m[i]+'=ol_'+m[i]);}\r
+\r
+// Chooses LGF \r
+function OLdoLGF(){\r
+return (o3_background!=''||o3_fullhtml)?OLcontentBackground(o3_text,o3_background,o3_fullhtml):(o3_cap=="")?\r
+OLcontentSimple(o3_text):(o3_sticky)?OLcontentCaption(o3_text,o3_cap,o3_close):OLcontentCaption(o3_text,o3_cap,'');\r
+}\r
+\r
+// Makes Layer\r
+function OLmkLyr(id,f,z){\r
+id=(id||'overDiv');f=(f||o3_frame);z=(z||1000);var fd=f.document,d=OLgetRefById(id,fd);\r
+if(!d){if(OLns4)d=fd.layers[id]=new Layer(1024,f);else if(OLie4&&!OLop7){\r
+fd.body.insertAdjacentHTML('AfterBegin','<div id="'+id+'"></div>');d=fd.all[id];}else{d=fd.createElement('div');\r
+if(d){d.id=id;fd.body.appendChild(d);}}if(!d)return null;if(OLns4)d.zIndex=z;else{var o=d.style;o.position='absolute';\r
+o.visibility='hidden';o.zIndex=z;}}return d;\r
+}\r
+\r
+// Creates and writes layer content\r
+function OLdoLyr(){\r
+if(o3_sticky&&OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}if(o3_background==''&&!o3_fullhtml){\r
+if(o3_fgbackground!='')o3_fgbackground=' background="'+o3_fgbackground+'"';\r
+if(o3_bgbackground!='')o3_bgbackground=' background="'+o3_bgbackground+'"';\r
+if(o3_cgbackground!='')o3_cgbackground=' background="'+o3_cgbackground+'"';\r
+if(o3_fgcolor!='')o3_fgcolor=' bgcolor="'+o3_fgcolor+'"';if(o3_bgcolor!='')o3_bgcolor=' bgcolor="'+o3_bgcolor+'"';\r
+if(o3_cgcolor!='')o3_cgcolor=' bgcolor="'+o3_cgcolor+'"';if(o3_height>0)o3_height=' height="'+o3_height+'"';\r
+else o3_height='';}if(!OLns4)OLrepositionTo(over,(OLns6?20:0),0);var lyrHtml=OLdoLGF();\r
+if(o3_wrap&&!o3_fullhtml){OLlayerWrite(lyrHtml);o3_width=(OLns4?over.clip.width:over.offsetWidth);if(OLie4){\r
+var w=OLfd().clientWidth;if(o3_width>=w){if(OLop7){if(OLovertwoPI&&over==over2){var z=over2.style.zIndex;\r
+o3_frame.document.body.removeChild(over);over2=OLmkLyr('overDiv2',o3_frame,z);over=over2;}else{\r
+o3_frame.document.body.removeChild(over);over=OLmkLyr();}}o3_width=w-20;}}\r
+if(o3_wrapmax<1&&o3_frame.innerWidth)o3_wrapmax=o3_frame.innerWidth-40;\r
+if(o3_wrapmax>0&&o3_width>o3_wrapmax)o3_width=o3_wrapmax;o3_wrap=0;lyrHtml=OLdoLGF();}OLlayerWrite(lyrHtml);\r
+o3_width=(OLns4?over.clip.width:over.offsetWidth);if(OLbubblePI)OLgenerateBubble(lyrHtml);\r
+}\r
+\r
+/*\r
+ LAYER GENERATION FUNCTIONS\r
+*/\r
+// Makes simple table without caption\r
+function OLcontentSimple(txt){\r
+var t=OLbgLGF()+OLfgLGF(txt)+OLbaseLGF();OLsetBackground('');return t;\r
+}\r
+\r
+// Makes table with caption and optional close link\r
+function OLcontentCaption(txt,title,close){\r
+var closing=(OLprintPI?OLprintCapLGF():''),closeevent='onmouseover',caption,t,cC='javascript:return '+OLfnRef\r
++(OLovertwoPI&&over==over2?'cClick2();':'cClick();');if(o3_closeclick)closeevent=(o3_closetitle?'title="'\r
++o3_closetitle+'" ':'')+'onclick';if(o3_capicon!=''&&o3_capicon.indexOf('<img')!=0)o3_capicon='<img src="'+o3_capicon\r
++'" /> ';if(close){closing+='<td align="right"><a href="'+cC+'" '+closeevent+'="'+cC+'"'+(o3_closefontclass?' class="'\r
++o3_closefontclass+'">':(OLns4?'><':'')+OLlgfUtil(0,1,'','a',o3_closecolor,o3_closefont,o3_closesize))+close+\r
+(o3_closefontclass?'':(OLns4?OLlgfUtil(1,1,'','a'):''))+'</a></td>';}caption='<table id="overCap'\r
++(OLovertwoPI&&over==over2?'2':'')+'"'+OLwd(0)+' border="0" cellpadding="'+o3_captionpadding+'" cellspacing="0"'\r
++(o3_cgclass?' class="'+o3_cgclass+'"':o3_cgcolor+o3_cgbackground)+'><tr><td'+OLwd(0)+(o3_cgclass?' class="'\r
++o3_cgclass+'">':'>')+(o3_captionfontclass?'<div'+OLhL(1)+' class="'+o3_captionfontclass+'">':OLlgfUtil(0,1,'','div',\r
+o3_capcolor,o3_captionfont,o3_captionsize))+o3_capicon+title+OLlgfUtil(1,1,'','div')+'</td>'+closing+'</tr></table>';\r
+t=OLbgLGF()+(o3_capbelow?OLfgLGF(txt)+caption:caption+OLfgLGF(txt))+OLbaseLGF();OLsetBackground('');return t;\r
+}\r
+\r
+// For BACKGROUND and FULLHTML commands\r
+function OLcontentBackground(txt,image,hasfullhtml){\r
+var t;if(hasfullhtml){t=txt;}else{t='<table'+OLwd(1)+' border="0" cellpadding="0" '+'cellspacing="0" '+'height="'\r
++o3_height+'"><tr><td colspan="3" height="'+o3_padyt+'"></td></tr><tr><td width="'+o3_padxl+'"></td><td valign="top"'\r
++OLwd(2)+'>'+OLlgfUtil(0,0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+txt+OLlgfUtil(1,0,'','div')\r
++'</td><td width="'+o3_padxr+'"></td></tr><tr><td colspan="3" height="'+o3_padyb+'"></td></tr></table>';}\r
+OLsetBackground(image);return t;\r
+}\r
+\r
+// LGF utilities\r
+function OLbgLGF(){\r
+return '<table'+OLwd(1)+o3_height+' border="0" cellpadding="'+o3_border+'" cellspacing="0"'+(o3_bgclass?' class="'\r
++o3_bgclass+'"':o3_bgcolor+o3_bgbackground)+'><tr><td>';\r
+}\r
+function OLfgLGF(t){\r
+return '<table'+OLwd(0)+o3_height+' border="0" cellpadding="'+o3_textpadding+'" cellspacing="0"'+(o3_fgclass?' class="'\r
++o3_fgclass+'"':o3_fgcolor+o3_fgbackground)+'><tr><td valign="top"'+(o3_fgclass?' class="'+o3_fgclass+'"':'')+'>'\r
++OLlgfUtil(0,0,o3_textfontclass,'div',o3_textcolor,o3_textfont,o3_textsize)+t+(OLprintPI?OLprintFgLGF():'')\r
++OLlgfUtil(1,0,'','div')+'</td></tr></table>';\r
+}\r
+function OLlgfUtil(end,stg,tfc,ele,col,fac,siz){\r
+if(end)return('</'+(OLns4?'font'+(stg?'></strong':''):ele)+'>');else return(tfc?'<div'+OLhL(1)+' class="'+tfc+'">':\r
+((ele=='a'?'':'<')+(OLns4?(stg?'strong><':'')+'font color="'+col+'" face="'+OLquoteMultiNameFonts(fac)+'" size="'\r
++siz:(ele=='a'?'':ele)+' style="'+((ele=='div')?OLhL(0):'')+'color:'+col+(stg?';font-weight:bold':'')+';font-family:'\r
++OLquoteMultiNameFonts(fac)+';font-size:'+siz+';'+(ele=='span'?'text-decoration:underline;':''))+'">'));\r
+}\r
+function OLquoteMultiNameFonts(f){\r
+var i,v,pM=f.split(',');for(i=0;i<pM.length;i++){v=pM[i];v=v.replace(/^\s+/,'').replace(/\s+$/,'');\r
+if(/\s/.test(v) && !/['"]/.test(v)){v="\'"+v+"\'";pM[i]=v;}}return pM.join();\r
+}\r
+function OLbaseLGF(){\r
+return ((o3_base>0&&!o3_wrap)?('<table width="100%" border="0" cellpadding="0" cellspacing="0"'+(o3_bgclass?' class="'\r
++o3_bgclass+'"':'')+'><tr><td height="'+o3_base+'"></td></tr></table>'):'')+'</td></tr></table>';\r
+}\r
+function OLwd(a){return(o3_wrap?'':' width="'+(!a?'100%':(a==1?o3_width:(o3_width-o3_padxl-o3_padxr)))+'"');}\r
+function OLhL(s){return(s?' style="width:100%;"':'width:100%;');}\r
+\r
+// Loads image into the div.\r
+function OLsetBackground(i){\r
+if(i==''){if(OLns4)over.background.src=null;else{if(OLns6)over.style.width='';over.style.backgroundImage='none';}}\r
+else{if(OLns4)over.background.src=i;else{if(OLns6)over.style.width=o3_width+'px';over.style.backgroundImage='url('+i+')';}}\r
+}\r
+\r
+/*\r
+ HANDLING FUNCTIONS\r
+*/\r
+// Displays layer\r
+function OLdisp(s){\r
+if(OLmodalPI&&!o3_modalscroll)OLchkModal();if(!OLallowmove){if(OLshadowPI)OLdispShadow();if(OLiframePI)OLdispIfs();\r
+OLplaceLayer();if(OLmodalPI&&o3_modalscroll)OLchkModal();if(OLndt)OLshowObject(over);\r
+else OLshowid=setTimeout("OLshowObject(over)",1);OLallowmove=(o3_sticky||o3_nofollow)?0:1;}OLndt=0;if(s!="")self.status=s;\r
+}\r
+\r
+// Decides placement of layer.\r
+function OLplaceLayer(){\r
+var 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(),\r
+nsb=(OLgek>=20010505&&!o3_frame.scrollbars.visible)?1:0;\r
+if(!OLkht&&o&&o.clientWidth)iWd=o.clientWidth;\r
+else if(o3_frame.innerWidth){SB=Math.ceil(1.4*(o3_frame.outerWidth-o3_frame.innerWidth));\r
+if(SB>20)SB=20;iWd=o3_frame.innerWidth;}\r
+pgLeft=(OLie4)?o.scrollLeft:o3_frame.pageXOffset;\r
+if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow)SB=CX=5;else\r
+if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){SB+=((o3_shadowx>0)?o3_shadowx:0);\r
+LM=((o3_shadowx<0)?Math.abs(o3_shadowx):0);CX=Math.abs(o3_shadowx);}\r
+if(o3_ref!=""||o3_fixx> -1||o3_relx!=null||o3_midx!=null){\r
+if(o3_ref!=""){X=OLrefXY[0];if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow){\r
+if(o3_refp=='UR'||o3_refp=='LR')X-=5;}\r
+else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowx){\r
+if(o3_shadowx<0&&(o3_refp=='UL'||o3_refp=='LL'))X-=o3_shadowx;else\r
+if(o3_shadowx>0&&(o3_refp=='UR'||o3_refp=='LR'))X-=o3_shadowx;}\r
+}else{if(o3_midx!=null){\r
+X=parseInt(pgLeft+((iWd-pWd-SB-LM)/2)+o3_midx);\r
+}else{if(o3_relx!=null){\r
+if(o3_relx>=0)X=pgLeft+o3_relx+LM;else X=pgLeft+o3_relx+iWd-pWd-SB;\r
+}else{X=o3_fixx+LM;}}}\r
+}else{\r
+if(o3_hauto){\r
+if(o3_hpos==LEFT&&OLx-pgLeft+OLifX<iWd/2&&OLx-pWd-o3_offsetx+OLifX<pgLeft+LM)o3_hpos=RIGHT;else\r
+if(o3_hpos==RIGHT&&OLx-pgLeft+OLifX>iWd/2&&OLx+pWd+o3_offsetx+OLifX>pgLeft+iWd-SB)o3_hpos=LEFT;}\r
+X=(o3_hpos==CENTER)?parseInt(OLx-((pWd+CX)/2)+o3_offsetx):\r
+(o3_hpos==LEFT)?OLx-o3_offsetx-pWd:OLx+o3_offsetx;\r
+if(o3_snapx>1){\r
+snp=X % o3_snapx;\r
+if(o3_hpos==LEFT){X=X-(o3_snapx+snp);}else{X=X+(o3_snapx-snp);}}X+=OLifX;}\r
+if(!o3_nojustx&&X+pWd>pgLeft+iWd-SB)\r
+X=iWd+pgLeft-pWd-SB;if(!o3_nojustx&&X-LM<pgLeft)X=pgLeft+LM;\r
+pgTop=OLie4?o.scrollTop:o3_frame.pageYOffset;\r
+if(!OLkht&&!nsb&&o&&o.clientHeight)iHt=o.clientHeight;\r
+else if(o3_frame.innerHeight)iHt=o3_frame.innerHeight;\r
+if(OLbubblePI&&o3_bubble)pHt=OLbubbleHt;else pHt=OLns4?over.clip.height:over.offsetHeight;\r
+if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){TM=(o3_shadowy<0)?Math.abs(o3_shadowy):0;\r
+if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow)BM=CY=5;else\r
+BM=(o3_shadowy>0)?o3_shadowy:0;CY=Math.abs(o3_shadowy);}\r
+if(o3_ref!=""||o3_fixy> -1||o3_rely!=null||o3_midy!=null){\r
+if(o3_ref!=""){Y=OLrefXY[1];if(OLie55&&OLfilterPI&&o3_filter&&o3_filtershadow){\r
+if(o3_refp=='LL'||o3_refp=='LR')Y-=5;}else if((OLshadowPI)&&bkdrop&&o3_shadow&&o3_shadowy){\r
+if(o3_shadowy<0&&(o3_refp=='UL'||o3_refp=='UR'))Y-=o3_shadowy;else\r
+if(o3_shadowy>0&&(o3_refp=='LL'||o3_refp=='LR'))Y-=o3_shadowy;}\r
+}else{if(o3_midy!=null){\r
+Y=parseInt(pgTop+((iHt-pHt-CY)/2)+o3_midy);\r
+}else{if(o3_rely!=null){\r
+if(o3_rely>=0)Y=pgTop+o3_rely+TM;else Y=pgTop+o3_rely+iHt-pHt-BM;}else{\r
+Y=o3_fixy+TM;}}}\r
+}else{\r
+if(o3_vauto){\r
+if(o3_vpos==ABOVE&&OLy-pgTop+OLifY<iHt/2&&OLy-pHt-o3_offsety+OLifY<pgTop)o3_vpos=BELOW;else\r
+if(o3_vpos==BELOW&&OLy-pgTop+OLifY>iHt/2&&OLy+pHt+o3_offsety+((OLns4||OLkht)?17:0)+OLifY>pgTop+iHt-BM)\r
+o3_vpos=ABOVE;}Y=(o3_vpos==VCENTER)?parseInt(OLy-((pHt+CY)/2)+o3_offsety):\r
+(o3_vpos==ABOVE)?OLy-(pHt+o3_offsety+BM):OLy+o3_offsety+TM;\r
+if(o3_snapy>1){\r
+snp=Y % o3_snapy;\r
+if(pHt>0&&o3_vpos==ABOVE){Y=Y-(o3_snapy+snp);}else{Y=Y+(o3_snapy-snp);}}Y+=OLifY;}\r
+if(!o3_nojusty&&Y+pHt+BM>pgTop+iHt)Y=pgTop+iHt-pHt-BM;if(!o3_nojusty&&Y-TM<pgTop)Y=pgTop+TM;\r
+OLrepositionTo(over,X,Y);\r
+if(OLshadowPI)OLrepositionShadow(X,Y);if(OLiframePI)OLrepositionIfs(X,Y);\r
+if(OLns6&&o3_frame.innerHeight){iHt=o3_frame.innerHeight;OLrepositionTo(over,X,Y);}\r
+if(OLscrollPI)OLchkScroll(X-pgLeft,Y-pgTop);\r
+}\r
+\r
+// Chooses body or documentElement\r
+function OLfd(f){\r
+var fd=((f)?f:o3_frame).document,fdc=fd.compatMode,fdd=fd.documentElement;\r
+return (!OLop7&&fdc&&fdc!='BackCompat'&&fdd&&fdd.clientWidth)?fd.documentElement:fd.body;\r
+}\r
+\r
+// Gets location of REFerence object\r
+function OLgetRefXY(r,d){\r
+var o=OLgetRef(r,d),ob=o,rXY=[o3_refx,o3_refy],of;if(!o)return [null,null];if(OLns4){\r
+if(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{\r
+if((o.toString().indexOf('Image')!= -1)||(o.toString().indexOf('Anchor')!= -1)){rXY[0]+=o.x;rXY[1]+=o.y;}\r
+else{rXY[0]+=o.pageX;rXY[1]+=o.pageY;}}}else{rXY[0]+=OLpageLoc(o,'Left');rXY[1]+=OLpageLoc(o,'Top');}\r
+of=OLgetRefOffsets(ob);rXY[0]+=of[0];rXY[1]+=of[1];return rXY;\r
+}\r
+\r
+// Seeks REFerence by id\r
+function OLgetRefById(l,d){\r
+l=(l||'overDiv');d=(d||o3_frame.document);var j,r;if(d.getElementById)return d.getElementById(l);\r
+if(OLie4&&d.all)return d.all[l];if(d.layers&&d.layers.length>0){if(d.layers[l])return d.layers[l];\r
+for(j=0;j<d.layers.length;j++){r=OLgetRefById(l,d.layers[j].document);if(r)return r;}}return null;\r
+}\r
+\r
+// Seeks REFerence by name\r
+function OLgetRefByName(l,d){\r
+d=(d||o3_frame.document);var j,r,v=OLie4?d.all.tags('iframe'):OLns6?d.getElementsByTagName('iframe'):null;\r
+if(typeof d.images!='undefined'&&d.images[l])return d.images[l];\r
+if(typeof d.anchors!='undefined'&&d.anchors[l])return d.anchors[l];\r
+if(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++){\r
+r=OLgetRefByName(l,d.layers[j].document);if(r&&r.length>0)return r;else if(r)return [r,d.layers[j]];}return null;\r
+}\r
+\r
+// Gets layer vs REFerence offsets\r
+function OLgetRefOffsets(o){\r
+var c=o3_refc.toUpperCase(),p=o3_refp.toUpperCase(),W=0,H=0,pW=0,pH=0,of=[0,0];pW=(OLbubblePI&&o3_bubble)?\r
+o3_width:OLns4?over.clip.width:over.offsetWidth;pH=(OLbubblePI&&o3_bubble)?OLbubbleHt:OLns4?\r
+over.clip.height:over.offsetHeight;if((!OLop7)&&o.toString().indexOf('Image')!= -1){W=o.width;H=o.height;}\r
+else if((!OLop7)&&o.toString().indexOf('Anchor')!= -1){c=o3_refc='UL';}else{W=(OLns4)?o.clip.width:o.offsetWidth;\r
+H=(OLns4)?o.clip.height:o.offsetHeight;}if((OLns4||(OLns6&&OLgek))&&o.border){W+=2*parseInt(o.border);\r
+H+=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'){\r
+of=(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]:\r
+(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;\r
+}\r
+\r
+// Gets x or y location of object\r
+function OLpageLoc(o,t){\r
+var l=0,s=o;while(o.offsetParent&&o.offsetParent.tagName.toLowerCase()!='html'){l+=o['offset'+t];o=o.offsetParent;}\r
+l+=o['offset'+t];while(s=s.parentNode){if((s['scroll'+t]>0)&&s.tagName.toLowerCase()=='div')l-=s['scroll'+t];}return l;\r
+}\r
+\r
+// Moves layer\r
+function OLmouseMove(e){\r
+var e=(e||event);OLcC=(OLovertwoPI&&over2&&over==over2?cClick2:cClick);OLx=(e.pageX||e.clientX+OLfd().scrollLeft);\r
+OLy=(e.pageY||e.clientY+OLfd().scrollTop);if((OLallowmove&&over)&&(o3_frame==self||over==OLgetRefById()||(OLovertwoPI&&\r
+over2==over&&over==OLgetRefById('overDiv2')))){OLplaceLayer();if(OLhidePI)OLhideUtil(0,1,1,0,0,0);}if(OLhover&&over&&\r
+o3_frame==self&&OLcursorOff())if(o3_offdelay<1)OLcC();else{if(OLtimerid>0)clearTimeout(OLtimerid);\r
+OLtimerid=setTimeout("OLcC()",o3_offdelay);}\r
+}\r
+\r
+// Capture mouse and chain other scripts.\r
+function OLmh(){\r
+var fN,f,j,k,s,mh=OLmouseMove,w=(OLns4&&window.onmousemove),re=/function[ ]*(\w*)\(/;OLdw=document;if(document.onmousemove||\r
+w){if(w)OLdw=window;f=OLdw.onmousemove.toString();fN=f.match(re);if(!fN||fN[1]=='anonymous'||fN[1]=='OLmouseMove'){OLchkMh=0;\r
+return;}if(fN[1])s=fN[1]+'(e)';else{j=f.indexOf('{');k=f.lastIndexOf('}')+1;s=f.substring(j,k);}s+=';OLmouseMove(e);';\r
+mh=new Function('e',s);}OLdw.onmousemove=mh;if(OLns4)OLdw.captureEvents(Event.MOUSEMOVE);\r
+}\r
+\r
+/*\r
+ PARSING\r
+*/\r
+function OLparseTokens(pf,ar){\r
+var i,v,md= -1,par=(pf!='ol_'),p=OLpar,q=OLparQuo,t=OLtoggle;OLudf=(par&&!ar.length?1:0);\r
+for(i=0;i<ar.length;i++){if(md<0){if(typeof ar[i]=='number'){OLudf=(par?1:0);i--;}\r
+else{switch(pf){case 'ol_':ol_text=ar[i];break;default:o3_text=ar[i];}}md=0;}else{\r
+if(ar[i]==INARRAY){OLudf=0;eval(pf+'text=ol_texts['+ar[++i]+']');continue;}\r
+if(ar[i]==CAPARRAY){eval(pf+'cap=ol_caps['+ar[++i]+']');continue;}\r
+if(ar[i]==CAPTION){q(ar[++i],pf+'cap');continue;}\r
+if(Math.abs(ar[i])==STICKY){t(ar[i],pf+'sticky');continue;}\r
+if(Math.abs(ar[i])==NOFOLLOW){t(ar[i],pf+'nofollow');continue;}\r
+if(ar[i]==BACKGROUND){q(ar[++i],pf+'background');continue;}\r
+if(Math.abs(ar[i])==NOCLOSE){t(ar[i],pf+'noclose');continue;}\r
+if(Math.abs(ar[i])==MOUSEOFF){t(ar[i],pf+'mouseoff');continue;}\r
+if(ar[i]==OFFDELAY){p(ar[++i],pf+'offdelay');continue;}\r
+if(ar[i]==RIGHT||ar[i]==LEFT||ar[i]==CENTER){p(ar[i],pf+'hpos');continue;}\r
+if(ar[i]==OFFSETX){p(ar[++i],pf+'offsetx');continue;}\r
+if(ar[i]==OFFSETY){p(ar[++i],pf+'offsety');continue;}\r
+if(ar[i]==FGCOLOR){q(ar[++i],pf+'fgcolor');continue;}\r
+if(ar[i]==BGCOLOR){q(ar[++i],pf+'bgcolor');continue;}\r
+if(ar[i]==CGCOLOR){q(ar[++i],pf+'cgcolor');continue;}\r
+if(ar[i]==TEXTCOLOR){q(ar[++i],pf+'textcolor');continue;}\r
+if(ar[i]==CAPCOLOR){q(ar[++i],pf+'capcolor');continue;}\r
+if(ar[i]==CLOSECOLOR){q(ar[++i],pf+'closecolor');continue;}\r
+if(ar[i]==WIDTH){p(ar[++i],pf+'width');continue;}\r
+if(Math.abs(ar[i])==WRAP){t(ar[i],pf+'wrap');continue;}\r
+if(ar[i]==WRAPMAX){p(ar[++i],pf+'wrapmax');continue;}\r
+if(ar[i]==HEIGHT){p(ar[++i],pf+'height');continue;}\r
+if(ar[i]==BORDER){p(ar[++i],pf+'border');continue;}\r
+if(ar[i]==BASE){p(ar[++i],pf+'base');continue;}\r
+if(ar[i]==STATUS){q(ar[++i],pf+'status');continue;}\r
+if(Math.abs(ar[i])==AUTOSTATUS){v=pf+'autostatus';\r
+eval(v+'=('+ar[i]+'<0)?('+v+'==2?2:0):('+v+'==1?0:1)');continue;}\r
+if(Math.abs(ar[i])==AUTOSTATUSCAP){v=pf+'autostatus';\r
+eval(v+'=('+ar[i]+'<0)?('+v+'==1?1:0):('+v+'==2?0:2)');continue;}\r
+if(ar[i]==CLOSETEXT){q(ar[++i],pf+'close');continue;}\r
+if(ar[i]==SNAPX){p(ar[++i],pf+'snapx');continue;}\r
+if(ar[i]==SNAPY){p(ar[++i],pf+'snapy');continue;}\r
+if(ar[i]==FIXX){p(ar[++i],pf+'fixx');continue;}\r
+if(ar[i]==FIXY){p(ar[++i],pf+'fixy');continue;}\r
+if(ar[i]==RELX){p(ar[++i],pf+'relx');continue;}\r
+if(ar[i]==RELY){p(ar[++i],pf+'rely');continue;}\r
+if(ar[i]==MIDX){p(ar[++i],pf+'midx');continue;}\r
+if(ar[i]==MIDY){p(ar[++i],pf+'midy');continue;}\r
+if(ar[i]==REF){q(ar[++i],pf+'ref');continue;}\r
+if(ar[i]==REFC){q(ar[++i],pf+'refc');continue;}\r
+if(ar[i]==REFP){q(ar[++i],pf+'refp');continue;}\r
+if(ar[i]==REFX){p(ar[++i],pf+'refx');continue;}\r
+if(ar[i]==REFY){p(ar[++i],pf+'refy');continue;}\r
+if(ar[i]==FGBACKGROUND){q(ar[++i],pf+'fgbackground');continue;}\r
+if(ar[i]==BGBACKGROUND){q(ar[++i],pf+'bgbackground');continue;}\r
+if(ar[i]==CGBACKGROUND){q(ar[++i],pf+'cgbackground');continue;}\r
+if(ar[i]==PADX){p(ar[++i],pf+'padxl');p(ar[++i],pf+'padxr');continue;}\r
+if(ar[i]==PADY){p(ar[++i],pf+'padyt');p(ar[++i],pf+'padyb');continue;}\r
+if(Math.abs(ar[i])==FULLHTML){t(ar[i],pf+'fullhtml');continue;}\r
+if(ar[i]==BELOW||ar[i]==ABOVE||ar[i]==VCENTER){p(ar[i],pf+'vpos');continue;}\r
+if(ar[i]==CAPICON){q(ar[++i],pf+'capicon');continue;}\r
+if(ar[i]==TEXTFONT){q(ar[++i],pf+'textfont');continue;}\r
+if(ar[i]==CAPTIONFONT){q(ar[++i],pf+'captionfont');continue;}\r
+if(ar[i]==CLOSEFONT){q(ar[++i],pf+'closefont');continue;}\r
+if(ar[i]==TEXTSIZE){q(ar[++i],pf+'textsize');continue;}\r
+if(ar[i]==CAPTIONSIZE){q(ar[++i],pf+'captionsize');continue;}\r
+if(ar[i]==CLOSESIZE){q(ar[++i],pf+'closesize');continue;}\r
+if(ar[i]==TIMEOUT){p(ar[++i],pf+'timeout');continue;}\r
+if(ar[i]==DELAY){p(ar[++i],pf+'delay');continue;}\r
+if(Math.abs(ar[i])==HAUTO){t(ar[i],pf+'hauto');continue;}\r
+if(Math.abs(ar[i])==VAUTO){t(ar[i],pf+'vauto');continue;}\r
+if(Math.abs(ar[i])==NOJUSTX){t(ar[i],pf+'nojustx');continue;}\r
+if(Math.abs(ar[i])==NOJUSTY){t(ar[i],pf+'nojusty');continue;}\r
+if(Math.abs(ar[i])==CLOSECLICK){t(ar[i],pf+'closeclick');continue;}\r
+if(ar[i]==CLOSETITLE){q(ar[++i],pf+'closetitle');continue;}\r
+if(ar[i]==FGCLASS){q(ar[++i],pf+'fgclass');continue;}\r
+if(ar[i]==BGCLASS){q(ar[++i],pf+'bgclass');continue;}\r
+if(ar[i]==CGCLASS){q(ar[++i],pf+'cgclass');continue;}\r
+if(ar[i]==TEXTPADDING){p(ar[++i],pf+'textpadding');continue;}\r
+if(ar[i]==TEXTFONTCLASS){q(ar[++i],pf+'textfontclass');continue;}\r
+if(ar[i]==CAPTIONPADDING){p(ar[++i],pf+'captionpadding');continue;}\r
+if(ar[i]==CAPTIONFONTCLASS){q(ar[++i],pf+'captionfontclass');continue;}\r
+if(ar[i]==CLOSEFONTCLASS){q(ar[++i],pf+'closefontclass');continue;}\r
+if(Math.abs(ar[i])==CAPBELOW){t(ar[i],pf+'capbelow');continue;}\r
+if(ar[i]==LABEL){q(ar[++i],pf+'label');continue;}\r
+if(Math.abs(ar[i])==DECODE){t(ar[i],pf+'decode');continue;}\r
+if(ar[i]==DONOTHING){continue;}\r
+i=OLparseCmdLine(pf,i,ar);}}\r
+if((OLfunctionPI)&&OLudf&&o3_function)o3_text=o3_function();\r
+if(pf=='o3_')OLfontSize();\r
+}\r
+function OLpar(a,v){eval(v+'='+a);}\r
+function OLparQuo(a,v){eval(v+"='"+OLescSglQt(a)+"'");}\r
+function OLescSglQt(s){return s.toString().replace(/\\/g,"\\\\").replace(/'/g,"\\'");}\r
+function OLtoggle(a,v){eval(v+'=('+v+'==0&&'+a+'>=0)?1:0');}\r
+function OLhasDims(s){return /[%\-a-z]+$/.test(s);}\r
+function OLfontSize(){\r
+var i;if(OLhasDims(o3_textsize)){if(OLns4)o3_textsize="2";}else\r
+if(!OLns4){i=parseInt(o3_textsize);o3_textsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}\r
+if(OLhasDims(o3_captionsize)){if(OLns4)o3_captionsize="2";}else\r
+if(!OLns4){i=parseInt(o3_captionsize);o3_captionsize=(i>0&&i<8)?OLpct[i]:OLpct[0];}\r
+if(OLhasDims(o3_closesize)){if(OLns4)o3_closesize="2";}else\r
+if(!OLns4){i=parseInt(o3_closesize);o3_closesize=(i>0&&i<8)?OLpct[i]:OLpct[0];}\r
+if(OLprintPI)OLprintDims();\r
+}\r
+function OLdecode(){\r
+var re=/%[0-9A-Fa-f]{2,}/,t=o3_text,c=o3_cap,u=unescape,d=!OLns4&&(!OLgek||OLgek>=20020826)&&typeof decodeURIComponent?\r
+decodeURIComponent:u;if(typeof(window.TypeError)=='function'){if(re.test(t)){eval(new Array('try{','o3_text=d(t);',\r
+'}catch(e){','o3_text=u(t);','}').join('\n'))};if(c&&re.test(c)){eval(new Array('try{','o3_cap=d(c);','}catch(e){',\r
+'o3_cap=u(c);','}').join('\n'))}}else{if(re.test(t))o3_text=u(t);if(c&&re.test(c))o3_cap=u(c);}\r
+}\r
+\r
+/*\r
+ LAYER FUNCTIONS\r
+*/\r
+// Writes to layer\r
+function OLlayerWrite(t){\r
+t+="\n";if(OLns4){over.document.write(t);over.document.close();}else if(typeof over.innerHTML!='undefined'){\r
+if(OLieM)over.innerHTML='';over.innerHTML=t;}else{var range=o3_frame.document.createRange();range.setStartAfter(over);\r
+var domfrag=range.createContextualFragment(t);while(over.hasChildNodes()){over.removeChild(over.lastChild);}\r
+over.appendChild(domfrag);}if(OLovertwoPI&&over==over2)OLover2HTML=t;else OLoverHTML=t;\r
+if(OLprintPI)over.print=o3_print?t:null;\r
+}\r
+\r
+// Makes object visible\r
+function OLshowObject(o){\r
+OLshowid=0;o=(OLns4)?o:o.style;if(((OLfilterPI)&&!OLchkFilter(o))||!OLfilterPI)o.visibility="visible";\r
+if(OLshadowPI)OLshowShadow();if(OLiframePI)OLshowIfs();if(OLhidePI)OLhideUtil(1,1,0);\r
+}\r
+\r
+// Hides object\r
+function OLhideObject(o){\r
+if(OLshowid>0){clearTimeout(OLshowid);OLshowid=0;}if(OLtimerid>0)clearTimeout(OLtimerid);\r
+if(OLdelayid>0)clearTimeout(OLdelayid);OLtimerid=0;OLdelayid=0;self.status="";o3_label=ol_label;\r
+if(o3_frame!=self)o=OLgetRefById();if(o){if(o.onmouseover)o.onmouseover=null;if(OLscrollPI&&o==over)OLclearScroll();\r
+if(OLdraggablePI)OLclearDrag();if(OLfilterPI)OLcleanupFilter(o);if(OLshadowPI)OLhideShadow();var os=(OLns4)?o:o.style;\r
+if(((OLfilterPI)&&!OLchkFadeOut(os))||!OLfilterPI){os.visibility="hidden";if(!OLie55||!OLfilterPI||!o3_filter||\r
+o3_fadeout<0)o.innerHTML='';}if(OLhidePI&&o==over)OLhideUtil(0,0,1);if(OLiframePI)OLhideIfs(o);}\r
+}\r
+\r
+// Moves layer\r
+function OLrepositionTo(o,xL,yL){\r
+o=(OLns4)?o:o.style;o.left=(OLns4?xL:xL+'px');o.top=(OLns4?yL:yL+'px');\r
+}\r
+\r
+// Handle NOCLOSE-MOUSEOFF\r
+function OLoptMOUSEOFF(c){\r
+if(!c)o3_close="";\r
+over.onmouseover=function(){OLhover=1;if(OLtimerid>0){clearTimeout(OLtimerid);OLtimerid=0;}}\r
+}\r
+function OLcursorOff(){\r
+var o=(OLns4?over:over.style),pHt=OLns4?over.clip.height:over.offsetHeight,left=parseInt(o.left),top=parseInt(o.top),\r
+right=left+o3_width,bottom=top+((OLbubblePI&&o3_bubble)?OLbubbleHt:pHt);\r
+if(OLx<left||OLx>right||OLy<top||OLy>bottom)return true;return false;\r
+}\r
+\r
+/*\r
+ REGISTRATION\r
+*/\r
+function OLsetRunTimeVar(){\r
+if(OLrunTime.length)for(var k=0;k<OLrunTime.length;k++)OLrunTime[k]();\r
+}\r
+function OLparseCmdLine(pf,i,ar){\r
+if(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;\r
+}\r
+function OLregCmds(c){\r
+if(typeof c!='string')return;var pM=c.split(',');pMtr=pMtr.concat(pM);\r
+for(var i=0;i<pM.length;i++)eval(pM[i].toUpperCase()+'='+pmCnt++);\r
+}\r
+function OLregRunTimeFunc(f){\r
+if(typeof f=='object')OLrunTime=OLrunTime.concat(f);else OLrunTime[OLrunTime.length++]=f;\r
+}\r
+function OLregCmdLineFunc(f){\r
+if(typeof f=='object')OLcmdLine=OLcmdLine.concat(f);else OLcmdLine[OLcmdLine.length++]=f;\r
+}\r
+\r
+OLloaded=1;\r
diff --git a/fs_selfservice/FS-SelfService/cgi/overlibmws_crossframe.js b/fs_selfservice/FS-SelfService/cgi/overlibmws_crossframe.js
new file mode 100644 (file)
index 0000000..dd64223
--- /dev/null
@@ -0,0 +1,53 @@
+/*\r
+ overlibmws_crossframe.js plug-in module - Copyright Foteos Macrides 2003-2008. All rights reserved.\r
+   For support of FRAME.\r
+   Initial: August 3, 2003 - Last Revised: January 16, 2008\r
+ See the Change History and Command Reference for overlibmws via:\r
+\r
+       http://www.macridesweb.com/oltest/\r
+\r
+ Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
+*/\r
+\r
+OLloaded=0;\r
+OLregCmds('frame');\r
+\r
+function OLparseCrossframe(pf,i,ar){\r
+var k=i,v;\r
+if(k<ar.length){\r
+if(ar[k]==FRAME){v=ar[++k];if(pf=='ol_')ol_frame=v;else OLoptFRAME(v);return k;}}\r
+return -1;\r
+}\r
+\r
+function OLgetFrameRef(thisFrame,ofrm){\r
+var i,v,retVal='';for(i=0;i<thisFrame.length;i++){if((((thisFrame[i].length>0)))&&(((OLns4))||\r
+((OLie4)&&(v=thisFrame[i].document.all.tags('iframe'))!=null&&v.length==0)||\r
+((OLns6)&&(v=thisFrame[i].document.getElementsByTagName('iframe'))!=null&&v.length==0))){\r
+retVal=OLgetFrameRef(thisFrame[i],ofrm);if(retVal=='')continue;}\r
+else if(thisFrame[i]!=ofrm)continue;retVal='['+i+']'+retVal;break;}\r
+return retVal;\r
+}\r
+\r
+function OLoptFRAME(frm){\r
+o3_frame=OLmkLyr('overDiv',frm)?frm:self;if(o3_frame!=self){var l,tFrm=OLgetFrameRef(top.frames,o3_frame),\r
+sFrm=OLgetFrameRef(top.frames,ol_frame);if(sFrm.length==tFrm.length) {l=tFrm.lastIndexOf('[');if(l){\r
+while(sFrm.substring(0,l)!=tFrm.substring(0,l))l=tFrm.lastIndexOf('[',l-1);tFrm=tFrm.substr(l);sFrm=sFrm.substr(l);}}\r
+var i,k,cnt=0,p='',str=tFrm;while((k=str.lastIndexOf('['))!= -1){cnt++;str=str.substring(0,k);}\r
+for(i=0;i<cnt;i++)p=p+'parent.';OLfnRef=p+'frames'+sFrm+'.';var n=window.name,o;\r
+if((n&&parent!=self&&o3_frame==parent)&&(o=OLgetRef(n,parent.document))){if(OLie4&&!OLop7){\r
+OLx=event.clientX+OLfd().scrollLeft;OLy=event.clientY+OLfd().scrollTop;}\r
+OLifX=OLpageLoc(o,'Left')-(OLie4&&!OLop7?OLfd().scrollLeft:self.pageXOffset);\r
+OLifY=OLpageLoc(o,'Top')-(OLie4&&!OLop7?OLfd().scrollTop:self.pageYOffset);}}\r
+}\r
+\r
+function OLchkIfRef(){\r
+var n=(parent!=self&&o3_frame==parent)?window.name:'',o=n?OLgetRef(n):null;\r
+if(o){var oR=OLgetRef(o3_ref,document);if(oR){OLrefXY=OLgetRefXY(o3_ref,document);\r
+OLrefXY[0]+=(OLpageLoc(o,'Left')-(OLie4&&!OLop7?OLfd(self).scrollLeft:self.pageXOffset));\r
+OLrefXY[1]+=(OLpageLoc(o,'Top')-(OLie4&&!OLop7?OLfd(self).scrollTop:self.pageYOffset));}}\r
+}\r
+\r
+OLregCmdLineFunc(OLparseCrossframe);\r
+\r
+OLcrossframePI=1;\r
+OLloaded=1;\r
diff --git a/fs_selfservice/FS-SelfService/cgi/overlibmws_draggable.js b/fs_selfservice/FS-SelfService/cgi/overlibmws_draggable.js
new file mode 100644 (file)
index 0000000..1bf0ecf
--- /dev/null
@@ -0,0 +1,85 @@
+/*\r
+ overlibmws_draggable.js plug-in module - Copyright Foteos Macrides 2002-2008. All rights reserved.\r
+   For support of the DRAGGABLE feature.\r
+   Initial: August 24, 2002 - Last Revised: January 26, 2008\r
+ See the Change History and Command Reference for overlibmws via:\r
+\r
+       http://www.macridesweb.com/oltest/\r
+\r
+ Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
+*/\r
+\r
+OLloaded=0;\r
+var OLdraggableCmds='draggable,dragcap,dragid';\r
+OLregCmds(OLdraggableCmds);\r
+\r
+// DEFAULT CONFIGURATION\r
+if(OLud('draggable'))var ol_draggable=0;\r
+if(OLud('dragcap'))var ol_dragcap=0;\r
+if(OLud('dragid'))var ol_dragid='';\r
+// END CONFIGURATION\r
+\r
+var o3_draggable=0,o3_dragcap=0,o3_dragid='',o3_dragging=0,OLdrg=null,OLmMv,\r
+OLcX,OLcY,OLcbX,OLcbY;function OLloadDraggable(){OLload(OLdraggableCmds);}\r
+function OLparseDraggable(pf,i,ar){var t=OLtoggle,k=i;if(k<ar.length){\r
+if(Math.abs(ar[k])==DRAGGABLE){t(ar[k],pf+'draggable');return k;}\r
+if(Math.abs(ar[k])==DRAGCAP){t(ar[k],pf+'dragcap');return k;}\r
+if(ar[k]==DRAGID){OLparQuo(ar[++k],pf+'dragid');return k;}}return -1;\r
+}\r
+\r
+function OLcheckDrag(){\r
+if(o3_draggable){if(o3_sticky&&(o3_frame==self))OLinitDrag();else o3_draggable=0;}\r
+}\r
+function OLinitDrag(){\r
+OLmMv=OLdw.onmousemove;o3_dragging=0;\r
+if(OLns4){document.captureEvents(Event.MOUSEDOWN|Event.CLICK);\r
+document.onmousedown=OLgrabEl;document.onclick=function(e){return routeEvent(e);}}\r
+else{var dvido=(o3_dragid)?OLgetRef(o3_dragid):null,capid=(OLovertwoPI&&over==over2?\r
+'overCap2':'overCap');if(dvido)dvido.onscroll=function(){OLdw.onmousemove=OLmMv;\r
+OLinitDrag();};OLdrg=(o3_cap&&o3_dragcap)?OLgetRef(capid):over;\r
+if(!OLdrg||!OLdrg.style)OLdrg=over;OLdrg.onmousedown=OLgrabEl;OLsetDrgCur(1);}\r
+}\r
+function OLsetDrgCur(d){if(!OLns4&&OLdrg)OLdrg.style.cursor=(d?'move':'auto');}\r
+\r
+function OLgrabEl(e){\r
+var e=(e||event);\r
+var cKy=(OLns4?e.modifiers&Event.ALT_MASK:(e.altKey||(OLop7&&e.ctrlKey)));o3_dragging=1;\r
+if(cKy){OLsetDrgCur(0);document.onmouseup=function(){OLsetDrgCur(1);o3_dragging=0;}\r
+return(OLns4?routeEvent(e):true);}\r
+OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);\r
+if(OLie4)over.onselectstart=function(){return false;}\r
+if(OLns4){OLcX=OLx;OLcY=OLy;document.captureEvents(Event.MOUSEUP)}else{\r
+OLcX=OLx-(OLns4?over.left:parseInt(over.style.left));\r
+OLcY=OLy-(OLns4?over.top:parseInt(over.style.top));\r
+if((OLshadowPI)&&bkdrop&&o3_shadow){OLcbX=OLx-(parseInt(bkdrop.style.left));\r
+OLcbY=OLy-(parseInt(bkdrop.style.top));}}OLdw.onmousemove=OLmoveEl;\r
+document.onmouseup=function(){\r
+if(OLie4)over.onselectstart=null;o3_dragging=0;OLdw.onmousemove=OLmMv;}\r
+return(OLns4?routeEvent(e):false);\r
+}\r
+\r
+function OLmoveEl(e){\r
+var e=(e||event);\r
+OLx=(e.pageX||e.clientX+OLfd().scrollLeft);OLy=(e.pageY||e.clientY+OLfd().scrollTop);\r
+if(o3_dragging){if(OLns4){over.moveBy(OLx-OLcX,OLy-OLcY);\r
+if(OLshadowPI&&bkdrop&&o3_shadow)bkdrop.moveBy(OLx-OLcX,OLy-OLcY);}\r
+else{OLrepositionTo(over,OLx-OLcX,OLy-OLcY);\r
+if((OLiframePI)&&OLie55&&OLifsP1)OLrepositionTo(OLifsP1,OLx-OLcX,OLy-OLcY);\r
+if((OLshadowPI)&&bkdrop&&o3_shadow){OLrepositionTo(bkdrop,OLx-OLcbX,OLy-OLcbY);\r
+if((OLiframePI)&&OLie55&&OLifsSh)OLrepositionTo(OLifsSh,OLx-OLcbX,OLy-OLcbY);}}\r
+if(OLhidePI)OLhideUtil(0,1,1,0,0,0);}if(OLns4){OLcX=OLx;OLcY=OLy;}\r
+return false;\r
+}\r
+\r
+function OLclearDrag(){\r
+if(OLns4){document.releaseEvents(Event.MOUSEDOWN|Event.MOUSEUP|Event.CLICK);\r
+document.onmousedown=document.onclick=null;}else{\r
+if(OLdrg)OLdrg.onmousedown=null;over.onmousedown=null;OLsetDrgCur(0);}\r
+document.onmouseup=null;o3_dragging=0;\r
+}\r
+\r
+OLregRunTimeFunc(OLloadDraggable);\r
+OLregCmdLineFunc(OLparseDraggable);\r
+\r
+OLdraggablePI=1;\r
+OLloaded=1;\r
diff --git a/fs_selfservice/FS-SelfService/cgi/overlibmws_iframe.js b/fs_selfservice/FS-SelfService/cgi/overlibmws_iframe.js
new file mode 100644 (file)
index 0000000..4c937d3
--- /dev/null
@@ -0,0 +1,93 @@
+/*\r
+ overlibmws_iframe.js plug-in module - Copyright Foteos Macrides 2003-2008. All rights reserved.\r
+   Masks system controls to prevent obscuring of popops for IE v5.5 or higher.\r
+   Initial: October 19, 2003 - Last Revised: January 26, 2008\r
+ See the Change History and Command Reference for overlibmws via:\r
+\r
+       http://www.macridesweb.com/oltest/\r
+\r
+ Published under an open source license: http://www.macridesweb.com/oltest/license.html\r
+*/\r
+\r
+OLloaded=0;\r
+\r
+var OLifsP1=null,OLifsSh=null,OLifsP2=null;\r
+\r
+// IFRAME SHIM SUPPORT FUNCTIONS\r
+function OLinitIfs(){\r
+if(!OLie55)return;\r
+if((OLovertwoPI)&&over2&&over==over2){\r
+var o=o3_frame.document.all['overIframeOvertwo'];\r
+if(!o||OLifsP2!=o){OLifsP2=null;OLgetIfsP2Ref();}return;}\r
+o=o3_frame.document.all['overIframe'];\r
+if(!o||OLifsP1!=o){OLifsP1=null;OLgetIfsRef();}\r
+if((OLshadowPI)&&o3_shadow){o=o3_frame.document.all['overIframeShadow'];\r
+if(!o||OLifsSh!=o){OLifsSh=null;OLgetIfsShRef();}}\r
+}\r
+\r
+function OLsetIfsRef(o,i,z){\r
+o.id=i;o.src='javascript:false;';o.scrolling='no';var os=o.style;os.position='absolute';\r
+os.top='0px';os.left='0px';os.width='1px';os.height='1px';os.visibility='hidden';\r
+os.zIndex=over.style.zIndex-z;os.filter='Alpha(style=0,opacity=0)';\r
+}\r
+\r
+function OLgetIfsRef(){\r
+if(OLifsP1||!OLie55)return;\r
+OLifsP1=o3_frame.document.createElement('iframe');\r
+OLsetIfsRef(OLifsP1,'overIframe',2);\r
+o3_frame.document.body.appendChild(OLifsP1);\r
+}\r
+\r
+function OLgetIfsShRef(){\r
+if(OLifsSh||!OLie55)return;\r
+OLifsSh=o3_frame.document.createElement('iframe');\r
+OLsetIfsRef(OLifsSh,'overIframeShadow',3);\r
+o3_frame.document.body.appendChild(OLifsSh);\r
+}\r
+\r
+function OLgetIfsP2Ref(){\r
+if(OLifsP2||!OLie55)return;\r
+OLifsP2=o3_frame.document.createElement('iframe');\r
+OLsetIfsRef(OLifsP2,'overIframeOvertwo',1);\r
+o3_frame.document.body.appendChild(OLifsP2);\r
+}\r
+\r
+function OLsetDispIfs(o,w,h){\r
+var os=o.style;\r
+os.width=w+'px';os.height=h+'px';os.clip='rect(0px '+w+'px '+h+'px 0px)';\r
+o.filters.alpha.enabled=true;\r
+}\r
+\r
+function OLdispIfs(){\r
+if(!OLie55)return;\r
+var wd=over.offsetWidth,ht=over.offsetHeight;\r
+if(OLfilterPI&&o3_filter&&o3_filtershadow){wd+=5;ht+=5;}\r
+if((OLovertwoPI)&&over2&&over==over2){\r
+if(!OLifsP2)return;\r
+OLsetDispIfs(OLifsP2,wd,ht);return;}\r
+if(!OLifsP1)return;\r
+OLsetDispIfs(OLifsP1,wd,ht);\r
+if((!OLshadowPI)||!o3_shadow||!OLifsSh)return;\r
+OLsetDispIfs(OLifsSh,wd,ht);\r
+}\r
+\r
+function OLshowIfs(){\r
+if(OLifsP1){OLifsP1.style.visibility="visible";\r
+if((OLshadowPI)&&o3_shadow&&OLifsSh)OLifsSh.style.visibility="visible";}\r
+}\r
+\r
+function OLhideIfs(o){\r
+if(!OLie55||o!=over)return;\r
+if(OLifsP1)OLifsP1.style.visibility="hidden";\r
+if((OLshadowPI)&&o3_shadow&&OLifsSh)OLifsSh.style.visibility="hidden";\r
+}\r
+\r
+function OLrepositionIfs(X,Y){\r
+if(OLie55){if((OLovertwoPI)&&over2&&over==over2){\r
+if(OLifsP2)OLrepositionTo(OLifsP2,X,Y);}\r
+else{if(OLifsP1){OLrepositionTo(OLifsP1,X,Y);if((OLshadowPI)&&o3_shadow&&OLifsSh)\r
+OLrepositionTo(OLifsSh,X+o3_shadowx,Y+o3_shadowy);}}}\r
+}\r
+\r
+OLiframePI=1;\r
+OLloaded=1;\r