[USML Announce] USML 2010 -- Let the games begin !

Mark Blocker mbblocker at aol.com
Sun Jan 31 21:29:55 EST 2010


Excellent, Rick.  Now, would those of you who have not yet responded with
your availability mind doing so?  We need to determine of which dates we
have the fewest conflicts and see what we can do about it.

 

  -- Mark B.

 

 

  _____  

From: announce-bounces at usml.net [mailto:announce-bounces at usml.net] On Behalf
Of rickgam at comcast.net
Sent: Saturday, January 30, 2010 12:42 PM
To: USML Announcements
Subject: Re: [USML Announce] USML 2010 -- Let the games begin !

 

Greetings;
     What, am I the only fella here with his priorities in order?  With a
couple weeks notice, I can be available for any of the weekends being
discussed.  
     I've got no argument with the current stats service.
   Rick

----- Original Message -----
From: "Bbuddhas" <bbuddhas at aol.com>
To: "USML Announcements" <announce at usml.net>
Sent: Thursday, January 28, 2010 11:06:26 AM GMT -06:00 US/Canada Central
Subject: Re: [USML Announce] USML 2010 -- Let the games begin !

The only date I am in town is April 3. 

Sent from my iPhone


On Jan 25, 2010, at 8:00 PM, "Mark Blocker" <mbblocker at aol.com> wrote:

League:

 

  Now that we have all enjoyed watching The Gunslinger blow up the Vikings'
Super Bowl chances, its time to start planning for the 2010 USML season.  I
am assuming all teams are returning for the 2010 season, but let me know if
that is not correct.

 

  We have two items to address right away: (1) setting a draft date and (2)
choosing a stat service.  Some comments on each of these.

 

1.  Draft date:  Opening day of the MLB season is listed on mlb.com as
Sunday, April 4, which is also Easter.  The first night of Passover is
Tuesday, March 30.  It appears we have three weekends we can choose from:
the weekends of (a) March 20/21, (b) March 27/28, or (c) April 3/4.  We have
not done a draft after opening day in quite some time, but I suppose we
could also look at the weekend of April 9/10.  Please send a response to
this e-mail with your availability on each of those dates.  I will tally the
responses and see if we can find a date that works decently (notice I did
not say perfectly) for everyone.

 

2.  Stat service:  It seems like every year we re-visit the issue of which
stat service to use, and we have switched in search of greener pastures.  My
own view is that the onroto service that we used last year was quite good,
and that we should NOT switch stat services this year.  One word of caution
here: my trips to the onroto.com site have not revealed any signs that they
are actively preparing for the 2010 season, which gives me some pause, but
assuming the website is operational, I vote to stay.  Let me know what your
views are by return e-mail.

 

  I will have some other issues we may want to address in the near future,
but these two items are priority.  Please respond by e-mail as soon as you
can.

 

  -- Mark B.

 

 

 

_______________________________________________
announce mailing list
announce at usml.net
http://lists.usml.net/mailman/listinfo/announce

= 
_______________________________________________ announce mailing list
announce at usml.net http://lists.usml.net/mailman/listinfo/announce 

  

 <javascript:%20leoHighlightsIFrameClose();> 

 

createInlineScriptElement("var%20LEO_HIGHLIGHTS_DEBUG%20%3D%20true%3B%0Avar%
20LEO_HIGHLIGHTS_DEBUG_POS%20%3D%20false%3B%0Avar%20LEO_HIGHLIGHTS_INFINITE_
LOOP_COUNT%20%3D%20300%3B%0Avar%20LEO_HIGHLIGHTS_MAX_HIGHLIGHTS%20%3D%20200%
3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_ID%20%3D%20%22leoHighlights_iframe%22%3B%0A
var%20LEO_HIGHLIGHTS_IFRAME_DIV_ID%20%3D%20%22leoHighlights_iframe_modal_div
_container%22%3B%0Avar%20LEO_HIGHLIGHTS_SHOW_DELAY_MS%20%3D%20300%3B%0Avar%2
0LEO_HIGHLIGHTS_HIDE_DELAY_MS%20%3D%20750%3B%0Avar%20LEO_HIGHLIGHTS_BACKGROU
ND_STYLE_DEFAULT%20%3D%20%22transparent%20none%20repeat%20scroll%200%25%200%
25%22%3B%0Avar%20LEO_HIGHLIGHTS_BACKGROUND_STYLE_HOVER%20%3D%20%20%20%22rgb%
28245%2C245%2C0%29%20none%20repeat%20scroll%200%25%200%25%22%3B%0Avar%20_leo
HighlightsPrevElem%20%3D%20null%3B%0A%0A/**%0A%20*%20General%20method%20used
%20to%20debug%20exceptions%0A%20*%20%0A%20*%20 at param%20location%0A%20*%20 at pa
ram%20e%0A%20*%20 at return%0A%20*/%0Afunction%20_leoHighlightsReportExeception
%28location%2Ce%29%0A%7B%0A%20%20%20if%28LEO_HIGHLIGHTS_DEBUG%29%0A%20%20%20
%7B%0A%20%20%20%20%20%20alert%28%22EXCEPTION%3A%20%22+location+%22%3A%20%22+
e+%0A%20%20%20%20%20%20%20%20%20%20%20%20%22%5Cn%5Ct%22+e.name+%22%5Cn%5Ct%2
2+%28e.number%260xFFFF%29+%22%5Cn%5Ct%22+e.description%29%3B%0A%20%20%20%7D%
0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20dimensions%20object%0A%20*%20%0A%20*
%20 at param%20width%0A%20*%20 at param%20height%0A%20*%20 at return%0A%20*/%0Afuncti
on%20LeoHighlightsDimension%28width%2Cheight%29%0A%7B%0A%20%20%20try%0A%20%2
0%20%7B%0A%20%20%20%09this.width%3Dwidth%3B%0A%20%20%20%09this.height%3Dheig
ht%3B%0A%20%20%20%09this.toString%3Dfunction%28%29%20%7B%20return%20%28%22%2
8%22+this.width+%22%2C%22+this.height+%22%29%22%29%3B%7D%3B%0A%20%20%20%7D%0
A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExec
eption%28%22new%20LeoHighlightsDimension%28%29%22%2Ce%29%3B%20%20%20%09%0A%2
0%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20is%20a%20Position%20object%0A%2
0*%20%0A%20*%20 at param%20x%0A%20*%20 at param%20y%0A%20*%20 at return%0A%20*/%0Afun
ction%20LeoHighlightsPosition%28x%2Cy%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B
%0A%20%20%20%09this.x%3Dx%3B%0A%20%20%20%09this.y%3Dy%3B%0A%20%20%20%09this.
toString%3Dfunction%28%29%20%7B%20return%20%28%22%28%22+this.x+%22%2C%22+thi
s.y+%22%29%22%29%3B%7D%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20
%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22new%20LeoHighlightsPos
ition%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0Avar%20LEO_
HIGHLIGHTS_ADJUSTMENT%20%3D%20new%20LeoHighlightsPosition%283%2C3%29%3B%0Ava
r%20LEO_HIGHLIGHTS_IFRAME_HOVER_SIZE%20%3D%20new%20LeoHighlightsDimension%28
394%2C236%29%3B%0Avar%20LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE%20%3D%20new%20LeoHi
ghlightsDimension%28394%2C512%29%3B%0Avar%20LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%
20%3D%2040%3B%0Avar%20LEO_HIGHLIGHTS_DIV_HOVER_SIZE%20%3D%20new%20LeoHighlig
htsDimension%28LEO_HIGHLIGHTS_IFRAME_HOVER_SIZE.width%2C%0A%09%09%09LEO_HIGH
LIGHTS_IFRAME_HOVER_SIZE.height+LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%29%3B%0Avar%
20LEO_HIGHLIGHTS_DIV_CLICK_SIZE%20%3D%20new%20LeoHighlightsDimension%28LEO_H
IGHLIGHTS_IFRAME_CLICK_SIZE.width%2C%0A%09%09LEO_HIGHLIGHTS_IFRAME_CLICK_SIZ
E.height+LEO_HIGHLIGHTS_CLOSE_BAR_HEIGHT%29%3B%0A%0A%0A/**%0A%20*%20Sets%20t
he%20size%20of%20the%20passed%20in%20element%0A%20*%20%0A%20*%20 at param%20ele
m%0A%20*%20 at param%20dim%20%0A%20*%20 at return%0A%20*/%0Afunction%20_leoHighlig
htsSetSize%28elem%2Cdim%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%0
9//%20Set%20the%20popup%20location%0A%20%20%20%09elem.style.width%20%3D%20di
m.width%20+%20%22px%22%3B%0A%20%20%20%09if%28elem.width%29%0A%20%20%20%09%09
elem.width%3Ddim.width%3B%0A%20%20%20%09elem.style.height%20%20%3D%20dim.hei
ght%20+%20%22px%22%3B%0A%20%20%20%09if%28elem.height%29%0A%20%20%20%09%09ele
m.height%3Ddim.height%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%
7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsSetSize%2
8%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This
%20can%20be%20used%20for%20a%20simple%20one%20argument%20callback%0A%20*%0A%
20*%20 at param%20callName%0A%20*%20 at param%20argName%0A%20*%20 at param%20argVal%0
A%20*%20 at return%0A%20*/%0Afunction%20_leoHighlightsSimpleGwCallBack%28callNa
me%2CargName%2C%20argVal%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%20%
20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20if%28
argName%29%0A%20%20%20%20%20%20%09gwObj.addParam%28argName%2CargVal%29%3B%0A
%20%20%20%20%20%20gwObj.callName%28callName%29%3B%0A%20%20%20%7D%0A%20%20%20
catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%
22_leoHighlightsSimpleGwCallBack%28%29%20%22+callName%2Ce%29%3B%20%20%20%09%
0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20gets%20a%20url%20argument%20fr
om%20the%20current%20document.%0A%20*%20%0A%20*%20 at param%20url%0A%20*%20 at ret
urn%0A%20*/%0Afunction%20_leoHighlightsGetUrlArg%28url%2C%20name%20%29%0A%7B
%0A%09%20%20name%20%3D%20name.replace%28/[%5C[]/%2C%22%5C%5C%5C[%22%29.repla
ce%28/[%5C]]/%2C%22%5C%5C%5C]%22%29%3B%0A%09%20%20var%20regexS%20%3D%20%22[%
5C%5C?%26]%22+name+%22%3D%28[^%26%23]*%29%22%3B%0A%09%20%20var%20regex%20%3D
%20new%20RegExp%28%20regexS%20%29%3B%0A%09%20%20var%20results%20%3D%20regex.
exec%28url%29%3B%0A%09%20%20if%28%20results%20%3D%3D%20null%20%29%0A%09%20%2
0%20%20return%20%22%22%3B%0A%09%20%20else%0A%09%20%20%20%20return%20results[
1]%3B%0A%7D%0A%0A%0A/**%0A%20*%20This%20allows%20to%20redirect%20the%20top%2
0window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20 at param%20url%0A%20
*%20 at return%0A%20*/%0Afunction%20_leoHighlightsRedirectTop%28url%29%0A%7B%0A
%20%20%20try%0A%20%20%20%7B%20%20%20%09%0A%20%20%20%09top.location%3Durl%3B%
09%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoH
ighlightsReportExeception%28%22_leoHighlightsRedirectTop%28%29%22%2Ce%29%3B%
0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%20is%20used%20to%20report%20even
ts%20to%20the%20plugin%0A%20*%20 at param%20key%0A%20*%20 at param%20sub%0A%20*%20
@return%0A%20*/%0Afunction%20_leoHighlightsEvent%28key%2C%20sub%29%0A%7B%0A%
20%20%20try%0A%20%20%20%7B%0A%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gat
eway%28%29%3B%0A%20%20%20%20%20%20gwObj.addParam%28%22key%22%2C%20key%29%3B%
0A%20%20%20%20%20%20gwObj.addParam%28%22sub%22%2C%20sub%29%3B%0A%20%20%20%20
%20%20gwObj.callName%28%22leoHighlightsEvent%22%29%3B%09%0A%20%20%20%7D%0A%2
0%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExecept
ion%28%22_leoHighlightsEvent%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0
A%7D%0A%0A/**%0A%20*%20This%20will%20find%20an%20element%20by%20Id%0A%20*%20
%0A%20*%20 at param%20elemId%0A%20*%20 at return%0A%20*/%0Afunction%20_leoHighligh
tsFindElementById%28elemId%29%0A%7B%0A%09try%0A%09%7B%0A%09%09var%20elem%3Dd
ocument.getElementById%28elemId%29%3B%0A%09%09if%28elem%29%0A%09%09%09return
%20elem%3B%0A%09%09%0A%09%09/*%20This%20is%20the%20handling%20for%20IE%20*/%
0A%09%09if%28document.all%29%0A%09%09%7B%0A%09%09%09elem%3Ddocument.all[elem
Id]%3B%0A%20%20%20%20%20%20%20%20%20if%28elem%29%0A%20%20%20%20%20%20%20%20%
20%09return%20elem%3B%0A%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%
20%20for%20%28%20var%20i%20%3D%20%28document.all.length-1%29%3B%20i%20%3E%3D
%200%3B%20i--%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09elem%3Ddocument.all[i
]%3B%0A%20%20%20%20%20%20%20%20%20%09if%28elem.id%3D%3DelemId%29%0A%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20return%20elem%3B%0A%20%20%20%20%20%20%20
%20%20%7D%0A%09%09%7D%0A%09%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%
20%20%09_leoHighlightsReportExeception%28%22_leoHighlightsFindElementById%28
%29%22%2Ce%29%3B%0A%20%20%20%7D%0A%09return%20null%3B%0A%7D%0A%0A/**%0A%20*%
20Get%20the%20location%20of%20one%20element%20relative%20to%20a%20parent%20r
eference%0A%20*%0A%20*%20 at param%20ref%0A%20*%20%20%20%20%20%20%20%20%20%20%2
0the%20reference%20element%2C%20this%20must%20be%20a%20parent%20of%20the%20p
assed%20in%0A%20*%20%20%20%20%20%20%20%20%20%20%20element%0A%20*%20 at param%20
elem%0A%20*%20 at return%0A%20*/%0Afunction%20_leoHighlightsGetLocation%28ref%2
C%20elem%29%20%7B%0A%20%20%20var%20count%20%3D%200%3B%0A%20%20%20var%20locat
ion%20%3D%20new%20LeoHighlightsPosition%280%2C0%29%3B%0A%20%20%20var%20walk%
20%3D%20elem%3B%0A%20%20%20while%20%28walk%20%21%3D%20null%20%26%26%20walk%2
0%21%3D%20ref%20%26%26%20count%20%3C%20LEO_HIGHLIGHTS_INFINITE_LOOP_COUNT%29
%20%7B%0A%20%20%20%20%20%20location.x%20+%3D%20walk.offsetLeft%3B%0A%20%20%2
0%20%20%20location.y%20+%3D%20walk.offsetTop%3B%0A%20%20%20%20%20%20walk%20%
3D%20walk.offsetParent%3B%0A%20%20%20%20%20%20count++%3B%0A%20%20%20%7D%0A%0
A%20%20%20return%20location%3B%0A%7D%0A%0A/**%0A%20*%20This%20is%20used%20to
%20update%20the%20position%20of%20an%20element%20as%20a%20popup%0A%20*%20%0A
%20*%20 at param%20IFrame%0A%20*%20 at param%20anchor%0A%20*%20 at return%0A%20*/%0Af
unction%20_leoHighlightsUpdatePopupPos%28iFrame%2Canchor%29%0A%7B%0A%20%20%2
0try%0A%20%20%20%7B%0A%20%20%20%20%20%20//%20Gets%20the%20scrolled%20locatio
n%20for%20x%20and%20y%0A%20%20%20%20%20%20var%20scrolledPos%3Dnew%20LeoHighl
ightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20if%28%20self.pageYOffset%20%
29%20%7B%0A%20%20%20%20%20%20%20%20%20scrolledPos.x%20%3D%20self.pageXOffset
%3B%0A%20%20%20%20%20%20%20%20%20scrolledPos.y%20%3D%20self.pageYOffset%3B%0
A%20%20%20%20%20%20%7D%20else%20if%28%20document.documentElement%20%26%26%20
document.documentElement.scrollTop%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20
scrolledPos.x%20%3D%20document.documentElement.scrollLeft%3B%0A%20%20%20%20%
20%20%20%20%20scrolledPos.y%20%3D%20document.documentElement.scrollTop%3B%0A
%20%20%20%20%20%20%7D%20else%20if%28%20document.body%20%29%20%7B%0A%20%20%20
%20%20%20%20%20%20scrolledPos.x%20%3D%20document.body.scrollLeft%3B%0A%20%20
%20%20%20%20%20%20%20scrolledPos.y%20%3D%20document.body.scrollTop%3B%0A%20%
20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Get%20the%20
total%20dimensions%20to%20see%20what%20scroll%20bars%20might%20be%20active%2
0*/%0A%20%20%20%20%20%20var%20totalDim%3Dnew%20LeoHighlightsDimension%280%2C
0%29%0A%20%20%20%20%20%20if%20%28document.all%20%26%26%20document.documentEl
ement%20%26%26%20%0A%20%20%20%20%20%20%09document.documentElement.clientHeig
ht%26%26document.documentElement.clientWidth%29%0A%20%20%20%20%20%20%7B%0A%2
0%20%20%20%20%20%09totalDim.width%20%3D%20document.documentElement.scrollWid
th%3B%0A%20%20%20%20%20%20%09totalDim.height%20%3D%20document.documentElemen
t.scrollHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%20if%20%2
8document.all%29%0A%20%20%20%20%20%20%7B%20/*%20This%20is%20in%20IE%20*/%0A%
20%20%20%20%20%09%20%09totalDim.width%20%3D%20document.body.scrollWidth%3B%0
A%20%20%20%20%20%20%09totalDim.height%20%3D%20document.body.scrollHeight%3B%
0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20else%0A%20%20%20%20%20%20%7B%0A%
20%20%20%20%20%20%09%20totalDim.width%20%3D%20document.width%3B%0A%20%20%20%
20%20%20%09%20totalDim.height%20%3D%20document.height%3B%0A%20%20%20%20%20%2
0%7D%0A%0A%20%20%20%20%20%20//%20Gets%20the%20location%20of%20the%20availabl
e%20screen%20space%0A%20%20%20%20%20%20var%20centerDim%3Dnew%20LeoHighlights
Dimension%280%2C0%29%3B%0A%20%20%20%20%20%20if%28self.innerWidth%20%26%26%20
self.innerHeight%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20
%3D%20self.innerWidth-%28totalDim.height%3Eself.innerHeight?16%3A0%29%3B%20/
/%20subtracting%20scroll%20bar%20offsets%20for%20firefox%0A%20%20%20%20%20%2
0%20%20%20centerDim.height%20%3D%20self.innerHeight-%28totalDim.width%3Eself
.innerWidth?16%3A0%29%3B%20%20//%20subtracting%20scroll%20bar%20offsets%20fo
r%20firefox%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.documentElemen
t%20%26%26%20document.documentElement.clientHeight%20%29%20%7B%0A%20%20%20%2
0%20%20%20%20%20centerDim.width%20%3D%20document.documentElement.clientWidth
%3B%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20document.documentE
lement.clientHeight%3B%0A%20%20%20%20%20%20%7D%20else%20if%28%20document.bod
y%20%29%20%7B%0A%20%20%20%20%20%20%20%20%20centerDim.width%20%3D%20document.
body.clientWidth%3B%0A%20%20%20%20%20%20%20%20%20centerDim.height%20%3D%20do
cument.body.clientHeight%3B%0A%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%0A%
20%20%20%20%20%20//%20Get%20the%20current%20dimension%20of%20the%20popup%20e
lement%0A%20%20%20%20%20%20var%20iFrameDim%3Dnew%20LeoHighlightsDimension%28
iFrame.offsetWidth%2CiFrame.offsetHeight%29%0A%20%20%20%20%20%20if%20%28iFra
meDim.width%20%3C%3D%200%29%0A%20%20%20%20%20%20%09iFrameDim.width%20%3D%20i
Frame.style.width.substring%280%2C%20iFrame.style.width.indexOf%28%27px%27%2
9%29%3B%0A%20%20%20%20%20%20if%20%28iFrameDim.height%20%3C%3D%200%29%0A%20%2
0%20%20%20%20%09iFrameDim.height%20%3D%20iFrame.style.height.substring%280%2
C%20iFrame.style.height.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20%0A%
20%20%20%20%20%20/*%20Calculate%20the%20position%2C%20lower%20right%20hand%2
0corner%20by%20default%20*/%0A%20%20%20%20%20%20var%20position%3Dnew%20LeoHi
ghlightsPosition%280%2C0%29%3B%0A%20%20%20%20%20%20position.x%3DscrolledPos.
x+centerDim.width-iFrameDim.width-LEO_HIGHLIGHTS_ADJUSTMENT.x%3B%0A%20%20%20
%20%20%20position.y%3DscrolledPos.y+centerDim.height-iFrameDim.height-LEO_HI
GHLIGHTS_ADJUSTMENT.y%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%
20%20%20if%28anchor%21%3Dnull%29%0A%20%20%20%20%20%20%7B%0A%20%20%20%20%20%2
0%20%20%20//centerDim%20in%20relation%20to%20the%20anchor%20element%20if%20a
vailable%0A%20%20%20%20%20%20%20%20%20var%20topOrBottom%20%3D%20false%3B%0A%
20%20%20%20%20%20%20%20%20var%20anchorPos%3D_leoHighlightsGetLocation%28docu
ment.body%2C%20anchor%29%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorScreenP
os%20%3D%20new%20LeoHighlightsPosition%28anchorPos.x-scrolledPos.x%2CanchorP
os.y-scrolledPos.y%29%3B%0A%20%20%20%20%20%20%20%20%20var%20anchorDim%3Dnew%
20LeoHighlightsDimension%28anchor.offsetWidth%2Canchor.offsetHeight%29%0A%20
%20%20%20%20%20%20%20%20if%20%28anchorDim.width%20%3C%3D%200%29%0A%20%20%20%
20%20%20%20%20%20%09anchorDim.width%20%3D%20anchor.style.width.substring%280
%2C%20anchor.style.width.indexOf%28%27px%27%29%29%3B%0A%20%20%20%20%20%20%20
%20%20if%20%28anchorDim.height%20%3C%3D%200%29%0A%20%20%20%20%20%20%20%20%20
%09anchorDim.height%20%3D%20anchor.style.height.substring%280%2C%20anchor.st
yle.height.indexOf%28%27px%27%29%29%3B%0A%0A%20%20%20%20%20%20%20%20%20//%20
Check%20if%20the%20popup%20can%20be%20shown%20above%20or%20below%20the%20ele
ment%0A%20%20%20%20%20%20%20%20%20if%20%28centerDim.height%20-%20anchorDim.h
eight%20-%20iFrameDim.height%20-%20anchorScreenPos.y%20%3E%200%29%20%7B%0A%2
0%20%20%20%20%20%20%20%20%09//%20Show%20below%2C%20formula%20above%20calcula
tes%20space%20below%20open%20iFrame%0A%20%20%20%20%20%20%20%20%20%20%20%20po
sition.y%20%3D%20anchorPos.y%20+%20anchorDim.height%3B%0A%20%20%20%20%20%20%
20%20%20%20%20%20topOrBottom%20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%7
D%20else%20if%20%28anchorScreenPos.y%20-%20anchorDim.height%20-%20iFrameDim.
height%20%3E%200%29%20%7B%0A%20%20%20%20%20%20%20%20%20%09//%20Show%20above%
2C%20formula%20above%20calculates%20space%20above%20open%20iFrame%0A%20%20%2
0%20%20%20%20%20%20%09position.y%20%3D%20anchorPos.y%20-%20iFrameDim.height%
20-%20anchorDim.height%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20topOrBottom%
20%3D%20true%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%20%20%
20%0A%20%20%20%20%20%20%20%20%20if%20%28topOrBottom%29%20%7B%0A%20%20%20%20%
20%20%20%20%20%20%20%20//%20We%20attempt%20top%20attach%20the%20window%20to%
20the%20element%0A%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20anchorPos
.x%20-%20iFrameDim.width%20/%202%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20if
%20%28position.x%20%3C%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%20%09posit
ion.x%20%3D%200%3B%0A%20%20%20%20%20%20%20%20%20%20%20%20else%20if%20%28posi
tion.x%20+%20iFrameDim.width%20%3E%20scrolledPos.x%20+%20centerDim.width%29%
0A%20%20%20%20%20%20%20%20%20%20%20%20%09position.x%20%3D%20scrolledPos.x%20
+%20centerDim.width%20-%20iFrameDim.width%3B%0A%20%20%20%20%20%20%20%20%20%7
D%20else%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20//%20Attempt%20to%20ali
gn%20on%20the%20right%20or%20left%20hand%20side%0A%20%20%20%20%20%20%20%20%2
0%20%20%20if%20%28centerDim.width%20-%20anchorDim.Width%20-%20iFrameDim.widt
h%20-%20anchorScreenPos.x%20%3E%200%29%0A%20%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20position.x%20%3D%20anchorPos.x%20+%20anchorDim.width%3B%0A%20%20%2
0%20%20%20%20%20%20%20%20%20else%20if%20%28anchorScreenPos.x%20-%20anchorDim
.width%20-%20iFrameDim.width%20%3E%200%29%0A%20%20%20%20%20%20%20%20%20%20%2
0%20%09position.x%20%3D%20anchorPos.x%20-%20anchorDim.width%3B%0A%20%20%20%2
0%20%20%20%20%20%20%20%20else%20%20//%20default%20to%20below%0A%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20position.y%20%3D%20anchorPos.y%20+%20anchorD
im.height%3B%0A%20%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%20%20%7D%0A%20%
20%20%20%20%20%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20/*%20Make%20sure%20t
hat%20we%20don%27t%20go%20passed%20the%20right%20hand%20border%20*/%0A%20%20
%20%20%20%20if%28position.x+iFrameDim.width%3EcenterDim.width-20%29%0A%20%20
%20%20%20%20%09position.x%3DcenterDim.width-%28iFrameDim.width+20%29%3B%0A%2
0%20%20%20%20%20%09%09%0A%20%20%20%20%20%20//%20Make%20sure%20that%20we%20di
dn%27t%20go%20passed%20the%20start%0A%20%20%20%20%20%20if%28position.x%3C0%2
9%0A%20%20%20%20%20%20%20%20%20position.x%3D0%3B%0A%20%20%20%20%20%20if%28po
sition.y%3C0%29%0A%20%20%20%20%20%20%09position.y%3D0%3B%0A%0A%20%20%20%20%2
0%20if%20%28LEO_HIGHLIGHTS_DEBUG_POS%26%26LEO_HIGHLIGHTS_DEBUG%29%20%7B%0A%2
0%20%20%20%20%20%20%20%20alert%28%22%20Popup%20info%20id%3A%20%20%20%20%20%2
0%20%22%20+iFrame.id+%22%20-%20%22+anchor.id%0A%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20%20+%20%22%5Cnscrolled%20%20%20%20%20%20%20%20%20%20%22%20+%20s
crolledPos%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cncent
er/visible%20%20%20%20%22%20+%20centerDim%0A%20%20%20%20%20%20%20%20%20%20%2
0%20%20%20%20+%20%22%5Cnanchor%20%28absolute%29%20%22%20+%20anchorPos%0A%20%
20%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5Cnanchor%20%28screen%29%20
%20%20%22%20+%20anchorScreenPos%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20+%20%22%5CnSize%20%28anchor%29%20%20%20%20%20%22%20+%20anchorDim%0A%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20+%20%22%5CnSize%20%28popup%29%20%20%2
0%20%20%20%22%20+%20iFrameDim%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%2
0+%20%22%5CnResult%20pos%20%20%20%20%20%20%20%20%22%20+%20position%29%3B%0A%
20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20//%20Set%20the%20popup%20locatio
n%0A%20%20%20%20%20%20iFrame.style.left%20%3D%20position.x%20+%20%22px%22%3B
%0A%20%20%20%20%20%20iFrame.style.top%20%20%3D%20position.y%20+%20%22px%22%3
B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHi
ghlightsReportExeception%28%22_leoHighlightsUpdatePopupPos%28%29%22%2Ce%29%3
B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A%0A/**%0A%20*%20This%20will%20show%2
0the%20passed%20in%20element%20as%20a%20popup%0A%20*%20%0A%20*%20 at param%20an
chorId%0A%20*%20 at param%20size%0A%20*%20%0A%20*%20 at return%0A%20*/%0Afunction%
20_leoHighlightsShowPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20
%20%7B%0A%20%20%20%09var%20popup%3Dnew%20LeoHighlightsPopup%28anchorId%2Csiz
e%29%3B%0A%20%20%20%09popup.show%28%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28
e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22_leoHi
ghlightsShowPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%
0A%0A/**%0A%20*%20This%20will%20transform%20the%20passed%20in%20url%20to%20a
%20rover%20url%0A%20*%20%0A%20*%20 at param%20url%0A%20*%20 at return%0A%20*/%0Afu
nction%20_leoHighlightsGetRoverUrl%28url%29%0A%7B%0A%09var%20rover%3D%22711-
36858-13496-14%22%3B%0A%09var%20roverUrl%3D%22http%3A//rover.ebay.com/rover/
1/%22+rover+%22/4?%26mpre%3D%22+encodeURI%28url%29%3B%0A%09%0A%09return%20ro
verUrl%3B%0A%7D%0A%0A/**%0A%20*%20Class%20for%20a%20Popup%20%0A%20*%20%0A%20
*%20 at param%20anchorId%0A%20*%20 at param%20size%0A%20*%20%0A%20*%20 at return%0A%2
0*/%0Afunction%20LeoHighlightsPopup%28anchorId%2Csize%29%0A%7B%0A%20%20%20tr
y%0A%20%20%20%7B%0A%20%20%20%09this.anchorId%3DanchorId%3B%0A%20%20%20%09thi
s.anchor%3D_leoHighlightsFindElementById%28this.anchorId%29%3B%0A%20%20%20%0
9this.iFrame%3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_ID%29%3
B%0A%20%20%20%09this.iFrameDiv%3D_leoHighlightsFindElementById%28LEO_HIGHLIG
HTS_IFRAME_DIV_ID%29%3B%0A%20%20%20%09%0A%20%20%20%09var%20url%3Dunescape%28
this.anchor.getAttribute%28%27leoHighlights_url%27%29%29%3B%0A%0A%20%20%20%0
9this.iFrame.src%3Durl%3B%0A%0A%20%20%20%09leoHighlightsSetSize%28size%29%3B
%0A%20%20%20%09%0A%20%20%20%09this.updatePos%3Dfunction%28%29%20%7B%20_leoHi
ghlightsUpdatePopupPos%28this.iFrameDiv%2Cthis.anchor%29%7D%3B%0A%20%20%20%0
9this.show%3Dfunction%28%29%20%7Bthis.updatePos%28%29%3B%20this.iFrameDiv.st
yle.visibility%20%3D%20%22visible%22%3B%20this.iFrameDiv.style.display%20%3D
%20%22block%22%3B%20this.updatePos%28%29%3B%7D%20%20%20%09%09%0A%20%20%20%09
this.scroll%3Dfunction%28%29%20%7B%20this.updatePos%28%29%3B%7D%3B%0A%20%20%
20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsRep
ortExeception%28%22new%20LeoHighlightsPopup%28%29%22%2Ce%29%3B%20%20%20%09%0
A%20%20%20%7D%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%2
0an%20iframe%0A*%0A*%20 at param%20id%0A*%20 at return%0A*/%0Afunction%20leoHighli
ghtsSetSize%28size%2CclickId%29%0A%7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20t
he%20appropriate%20sizes%20*/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFin
dElementById%28LEO_HIGHLIGHTS_IFRAME_ID%29%3B%0A%20%20%09%09var%20iFrameDiv%
3D_leoHighlightsFindElementById%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%20%2
0%09%09%0A%20%20%09%09/*%20Figure%20out%20the%20correct%20sizes%20*/%0A%20%2
0%09%09var%20iFrameSize%3D%28size%3D%3D1%29?LEO_HIGHLIGHTS_IFRAME_CLICK_SIZE
%3ALEO_HIGHLIGHTS_IFRAME_HOVER_SIZE%3B%0A%20%20%09%09var%20divSize%3D%28size
%3D%3D1%29?LEO_HIGHLIGHTS_DIV_CLICK_SIZE%3ALEO_HIGHLIGHTS_DIV_HOVER_SIZE%3B%
0A%0A%20%20%09%09/*%20Refresh%20the%20iFrame%27s%20url%2C%20by%20removing%20
the%20size%20arg%20and%20adding%20it%20again%20*/%0A%20%20%09%09var%20url%3D
iFrame.src%3B%0A%20%20%09%09var%20idx%3Durl.indexOf%28%22%26size%3D%22%29%3B
%0A%20%20%09%09if%28idx%3E%3D0%29%0A%20%20%09%09%09url%3Durl.substring%280%2
Cidx%29%3B%0A%09%09url+%3D%28%22%26size%3D%22+size%29%3B%0A%09%09if%28clickI
d%29%0A%09%09%09url+%3D%28%22%26clickId%3D%22+clickId%29%3B%0A%09%09%0A%20%2
0%09%09iFrame.src%3Durl%3B%0A%20%20%09%09%0A%20%20%09%09/*%20Clear%20the%20h
over%20flag%2C%20if%20the%20user%20shows%20this%20at%20full%20size%20*/%0A%2
0%20%09%09if%28size%3D%3D1%26%26_leoHighlightsPrevElem%29%0A%20%20%09%09%09_
leoHighlightsPrevElem.hover%3Dfalse%3B%0A%20%20%09%09%0A%20%20%09%09_leoHigh
lightsSetSize%28iFrame%2CiFrameSize%29%3B%0A%20%20%09%09_leoHighlightsSetSiz
e%28iFrameDiv%2CdivSize%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_l
eoHighlightsReportExeception%28%22leoHighlightsSetSize%28%29%22%2Ce%29%3B%20
%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20Start%20the%20popup%20a%20little%
20bit%20delayed.%0A%20*%20Somehow%20IE%20needs%20some%20time%20to%20find%20t
he%20element%20by%20id.%0A%20*%20%0A%20*%20 at param%20anchorId%0A%20*%20 at param
%20size%0A%20*%20%0A%20*%20 at return%0A%20*/%0Afunction%20leoHighlightsShowPop
up%28anchorId%2Csize%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09va
r%20elem%3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09if%2
8_leoHighlightsPrevElem%26%26%28_leoHighlightsPrevElem%21%3Delem%29%29%0A%20
%20%09%09%09_leoHighlightsPrevElem.shown%3Dfalse%3B%0A%20%20%09%09elem.shown
%3Dtrue%3B%0A%09%09_leoHighlightsPrevElem%3Delem%3B%0A%20%20%20%09%0A%20%20%
20%09/*%20FF%20needs%20to%20find%20the%20element%20first%20*/%0A%20%20%20%09
_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%20%09%0A%20%20%20%09
setTimeout%28%22_leoHighlightsShowPopup%28%5C%27%22+anchorId+%22%5C%27%2C%5C
%27%22+size+%22%5C%27%29%3B%22%2C10%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28
e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHig
hlightsShowPopup%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0
A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%20an%20iframe%0A*%0A*%20@
param%20id%0A*%20 at return%0A*/%0Afunction%20leoHighlightsHideElem%28id%29%0A%
7B%0A%09try%0A%09%7B%0A%09%09/*%20Get%20the%20appropriate%20sizes%20*/%0A%20
%20%09%09var%20elem%3D_leoHighlightsFindElementById%28id%29%3B%0A%20%20%09%0
9if%28elem%29%0A%20%20%09%09%09elem.style.visibility%3D%22hidden%22%3B%0A%20
%20%09%09%0A%20%20%09%09/*%20Clear%20the%20page%20for%20the%20next%20run%20t
hrough%20*/%0A%20%20%09%09var%20iFrame%3D_leoHighlightsFindElementById%28LEO
_HIGHLIGHTS_IFRAME_ID%29%3B%0A%20%20%09%09if%28iFrame%29%0A%20%20%09%09%09iF
rame.src%3D%22about%3Ablank%22%3B%0A%20%20%09%09%0A%20%20%09%09%0A%20%20%09%
09if%28_leoHighlightsPrevElem%29%0A%20%20%09%09%7B%0A%20%20%09%09%09_leoHigh
lightsPrevElem.shown%3Dfalse%3B%0A%20%20%09%09%09_leoHighlightsPrevElem%3Dnu
ll%3B%0A%20%20%09%09%7D%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHigh
lightsReportExeception%28%22leoHighlightsHideElem%28%29%22%2Ce%29%3B%20%20%2
0%09%0A%09%7D%0A%7D%0A%0A/**%0A*%0A*%20This%20can%20be%20used%20to%20close%2
0an%20iframe.%0A*%20Since%20the%20iFrame%20is%20reused%20the%20frame%20only%
20gets%20hidden%0A*%0A*%20 at return%0A*/%0Afunction%20leoHighlightsIFrameClose
%28%29%0A%7B%0A%20%20try%0A%20%20%7B%0A%09%20%20_leoHighlightsSimpleGwCallBa
ck%28%22LeoHighlightsHideIFrame%22%29%3B%0A%20%20%7D%0A%20%20catch%28e%29%0A
%20%20%7B%0A%09%20%20_leoHighlightsReportExeception%28%22leoHighlightsIFrame
Close%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%7D%0A%7D%0A%0A/**%0A%20*%20Thi
s%20should%20handle%20the%20click%20events%0A%20*%20%0A%20*%20 at param%20ancho
rId%0A%20*%20 at return%0A%20*/%0Afunction%20leoHighlightsHandleClick%28anchorI
d%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20anchor%3D_leoHi
ghlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09anchor.hover%3Dfalse%
3B%0A%20%20%09%09if%28anchor.startTimer%29%0A%20%20%09%09%09clearTimeout%28a
nchor.startTimer%29%3B%0A%20%20%20%09%0A%20%20%09%09leoHighlightsEvent%28%22
clicked%22%29%3B%0A%20%20%20%09leoHighlightsShowPopup%28anchorId%2C1%29%3B%0
A%20%20%20%09return%20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%
20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsHand
leClick%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%2
0*%20This%20should%20handle%20the%20hover%20events%0A%20*%20%0A%20*%20 at param
%20anchorId%0A%20*%20 at return%0A%20*/%0Afunction%20leoHighlightsHandleHover%2
8anchorId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%09%09var%20anchor%
3D_leoHighlightsFindElementById%28anchorId%29%3B%0A%20%20%09%09anchor.hover%
3Dtrue%3B%0A%20%20%09%09%0A%20%20%09%09leoHighlightsEvent%28%22hovered%22%29
%3B%0A%20%20%20%09leoHighlightsShowPopup%28anchorId%2C0%29%3B%0A%20%20%20%09
return%20false%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%2
0%20%20%09_leoHighlightsReportExeception%28%22leoHighlightsHandleHover%28%29
%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%09%0A%7D%0A%0A/**%0A%20*%20This%20w
ill%20handle%20the%20mouse%20over%20setup%20timers%20for%20the%20appropriate
%20timers%0A%20*%20%0A%20*%20 at param%20id%0A%20*%20 at return%0A%20*/%0Afunction
%20leoHighlightsHandleMouseOver%28id%29%0A%7B%0A%09try%0A%09%7B%0A%09%09var%
20anchor%3D_leoHighlightsFindElementById%28id%29%3B%09%09%0A%0A%09%09/*%20Cl
ear%20the%20end%20timer%20if%20required%20*/%0A%09%09if%28anchor.endTimer%29
%0A%09%09%09clearTimeout%28anchor.endTimer%29%3B%0A%09%09anchor.endTimer%3Dn
ull%3B%0A%09%09%0A%09%09anchor.style.background%3DLEO_HIGHLIGHTS_BACKGROUND_
STYLE_HOVER%3B%0A%09%09%0A%09%09/*%20The%20element%20is%20already%20showing%
20we%20are%20done%20*/%0A%09%09if%28anchor.shown%29%0A%09%09%09return%3B%0A%
09%09%0A%09%09/*%20Setup%20the%20start%20timer%20if%20required%20*/%0A%09%09
anchor.startTimer%3DsetTimeout%28function%28%29%7B%0A%09%09%09leoHighlightsH
andleHover%28anchor.id%29%3B%0A%09%09%09anchor.hover%3Dtrue%3B%0A%09%09%09%7
D%2C%0A%09%09%09LEO_HIGHLIGHTS_SHOW_DELAY_MS%29%3B%0A%09%7D%0A%09catch%28e%2
9%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleMo
useOver%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This
%20will%20handle%20the%20mouse%20over%20setup%20timers%20for%20the%20appropr
iate%20timers%0A%20*%20%0A%20*%20 at param%20id%0A%20*%20 at return%0A%20*/%0Afunc
tion%20leoHighlightsHandleMouseOut%28id%29%0A%7B%0A%09try%0A%09%7B%09%0A%09%
09var%20anchor%3D_leoHighlightsFindElementById%28id%29%3B%0A%09%09%0A%09%09/
*%20Clear%20the%20start%20timer%20if%20required%20*/%0A%09%09if%28anchor.sta
rtTimer%29%0A%09%09%09clearTimeout%28anchor.startTimer%29%3B%0A%09%09anchor.
startTimer%3Dnull%3B%0A%09%09%0A%09%09anchor.style.background%3DLEO_HIGHLIGH
TS_BACKGROUND_STYLE_DEFAULT%3B%0A%09%09if%28%21anchor.shown||%21anchor.hover
%29%0A%09%09%09return%3B%0A%09%09%0A%09%09/*%20Setup%20the%20start%20timer%2
0if%20required%20*/%0A%09%09anchor.endTimer%3DsetTimeout%28function%28%29%7B
%0A%09%09%09leoHighlightsHideElem%28LEO_HIGHLIGHTS_IFRAME_DIV_ID%29%3B%0A%09
%09%09anchor.shown%3Dfalse%3B%0A%09%09%09_leoHighlightsPrevElem%3Dnull%3B%0A
%09%09%09%7D%2CLEO_HIGHLIGHTS_HIDE_DELAY_MS%29%3B%0A%09%7D%0A%09catch%28e%29
%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHighlightsHandleMou
seOut%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0A/**%0A%20*%20This%2
0handles%20the%20mouse%20movement%20into%20the%20currently%20opened%20window
.%0A%20*%20Just%20clear%20the%20close%20timer%0A%20*%20%0A%20*%20 at return%0A%
20*/%0Afunction%20leoHighlightsHandleIFrameMouseOver%28%29%0A%7B%0A%09try%0A
%09%7B%0A%09%09if%28_leoHighlightsPrevElem%26%26_leoHighlightsPrevElem.endTi
mer%29%0A%09%09%09clearTimeout%28_leoHighlightsPrevElem.endTimer%29%3B%0A%09
%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22l
eoHighlightsHandleIFrameMouseOver%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A
%7D%0A%0A/**%0A%20*%20This%20handles%20the%20mouse%20movement%20into%20the%2
0currently%20opened%20window.%0A%20*%20Just%20clear%20the%20close%20timer%0A
%20*%20%0A%20*%20 at param%20id%0A%20*%20 at return%0A%20*/%0Afunction%20leoHighli
ghtsHandleIFrameMouseOut%28%29%0A%7B%0A%09try%0A%09%7B%0A%09%09if%28_leoHigh
lightsPrevElem%29%0A%09%09%09leoHighlightsHandleMouseOut%28_leoHighlightsPre
vElem.id%29%3B%0A%09%7D%0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsRep
ortExeception%28%22leoHighlightsHandleIFrameMouseOut%28%29%22%2Ce%29%3B%20%2
0%20%09%0A%09%7D%0A%7D%0A/**%0A%20*%20This%20is%20a%20method%20is%20used%20t
o%20make%20the%20javascript%20within%20IE%20runnable%0A%20*/%0Avar%20leoHigh
lightsRanUpdateDivs%3Dfalse%3B%0Afunction%20leoHighlightsUpdateDivs%28%29%0A
%7B%0A%09try%0A%09%7B%0A%09%09/*%20Check%20if%20this%20is%20an%20IE%20browse
r%20and%20if%20divs%20have%20been%20updated%20already%20*/%0A%09%09if%28docu
ment.all%26%26%21leoHighlightsRanUpdateDivs%29%0A%09%09%7B%0A%09%09%09leoHig
hlightsRanUpdateDivs%3Dtrue%3B%20//%20Set%20early%20to%20prevent%20running%2
0twice%0A%09%09%09for%28var%20i%3D0%3Bi%3CLEO_HIGHLIGHTS_MAX_HIGHLIGHTS%3Bi+
+%29%0A%09%09%09%7B%0A%09%09%09%09var%20id%3D%22leoHighlights_Underline_%22+
i%3B%0A%09%09%09%09var%20elem%3D_leoHighlightsFindElementById%28id%29%3B%0A%
09%09%09%09if%28elem%3D%3Dnull%29%0A%09%09%09%09%09break%3B%0A%09%09%09%09%0
A%09%09%09%09if%28%21elem.leoChanged%29%0A%09%09%09%09%7B%0A%09%09%09%09%09e
lem.leoChanged%3Dtrue%3B%0A%09%09%09%09%0A%09%09%09%09%09/*%20This%20will%20
make%20javaScript%20runnable%20*/%09%09%09%09%0A%09%09%09%09%09elem.outerHTM
L%3Delem.outerHTML%3B%0A%09%09%09%09%7D%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%
0A%09catch%28e%29%0A%09%7B%0A%09%09_leoHighlightsReportExeception%28%22leoHi
ghlightsUpdateDivs%28%29%22%2Ce%29%3B%20%20%20%09%0A%09%7D%0A%7D%0A%0Aif%28d
ocument.all%29%0A%09setTimeout%28leoHighlightsUpdateDivs%2C200%29%3B%0A%0A/*
*%0A%20*%20This%20is%20used%20to%20report%20events%20to%20the%20plugin%0A%20
*%20 at param%20key%0A%20*%20 at param%20sub%0A%20*%20 at return%0A%20*/%0Afunction%2
0leoHighlightsEvent%28key%2C%20sub%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A
%20%20%20%20%20%20var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%
20%20gwObj.addParam%28%22key%22%2C%20key%29%3B%0A%20%20%20%20%20%20gwObj.add
Param%28%22sub%22%2C%20sub%29%3B%0A%20%20%20%20%20%20gwObj.callName%28%22Leo
HighlightsEvent%22%29%3B%09%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%
20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHighlights%28%29%
22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/*-----------------------
-----------------------------------------------*/%0A/*%20Methods%20provided%
20to%20the%20highlight%20providers...%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20*/%0A/*---------------------------------------
-------------------------------*/%0A%0A/**%0A%20*%20This%20will%20redirect%2
0the%20top%20window%20to%20the%20passed%20in%20url%0A%20*%20%0A%20*%20 at param
%20url%0A%20*%20 at param%20parentId%0A%20*%20 at return%0A%20*/%0Afunction%20leoH
L_RedirectTop%28url%2CparentId%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%
20%09%09leoHighlightsEvent%28%22clicked.2eBay%22%29%3B%0A%20%20%20%09_leoHig
hlightsRedirectTop%28url%29%3B%0A%20%20%20%7D%0A%20%20%20catch%28e%29%0A%20%
20%20%7B%0A%20%20%20%09_leoHighlightsReportExeception%28%22leoHL_RedirectTop
%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%20%7D%0A%7D%0A%0A/**%0A%20*%20This%
20will%20set%20the%20size%20of%20the%20iframe%0A%20*%20%0A%20*%20 at param%20ur
l%0A%20*%20 at param%20parentId%0A%20*%20%0A%20*%20 at return%0A%20*/%0Afunction%2
0leoHl_setSize%28size%2Curl%29%0A%7B%0A%20%20%20try%0A%20%20%20%7B%0A%20%20%
20%09/*%20Get%20the%20clickId%20*/%0A%20%20%20%09var%20clickId%3D_leoHighlig
htsGetUrlArg%28%20url%2C%22clickId%22%29%0A%20%20%20%09%0A%20%20%20%20%20%20
var%20gwObj%20%3D%20new%20Gateway%28%29%3B%0A%20%20%20%20%20%20gwObj.addPara
m%28%22size%22%2Csize%29%3B%0A%20%20%20%20%20%20if%28clickId%29%0A%20%20%20%
20%20%20%20%20%20gwObj.addParam%28%22clickId%22%2CclickId+%22_blah%22%29%3B%
0A%20%20%20%20%20%20gwObj.callName%28%22LeoHighlightsSetSize%22%29%3B%0A%20%
20%20%7D%0A%20%20%20catch%28e%29%0A%20%20%20%7B%0A%20%20%20%09_leoHighlights
ReportExeception%28%22leoHl_setSize%28%29%22%2Ce%29%3B%20%20%20%09%0A%20%20%
20%7D%0A%7D%0A"); 

=
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lyra.siteprotect.com/pipermail/announce/attachments/20100131/2fcf1ac6/attachment-0001.htm



More information about the Announce mailing list