From: <Saved by Windows Internet Explorer 7>
Subject: University Relations - Article Index
Date: Tue, 10 Mar 2009 10:54:23 -0700
MIME-Version: 1.0
Content-Type: multipart/related;
	type="text/html";
	boundary="----=_NextPart_000_0095_01C9A16E.92C49100"
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579

This is a multi-part message in MIME format.

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/pages/publications.asp?Action=Detail&PublicationID=13962

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" =
"http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns=3D"http://www.w3.org/1999/xhtml"><HEAD><TITLE>University =
Relations - Article Index</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META=20
content=3D"wsu,wsu news,wsu newspaper,wsu today,wsu today =
online,wsutoday,wsu today news,wsu news bureau,wsu research,wsu news =
features,wsu photos,washington state university,wsu pullman,washington =
state university news,wsu vancouver,wsu tri-cities,wsu spokane,wsu =
faculty,wsu staff,wsu student news,wsu graduate student news,wsu cougar =
news,wsu cougars,wsu cougs,coug news,wsu cougs,wsu communications,wsu =
information,wsu info,wsu press,wsu press info,wsu news and =
information,wsu news and info,wsu today staff news,www.wsutoday.wsu.edu" =

name=3Dkeywords>
<META=20
content=3D"Daily news, feature articles and photos about Washington =
State University faculty, staff and graduate students from WSU Today =
Online"=20
name=3Ddescription><LINK title=3DRSS href=3D"/feed/" =
type=3Dapplication/rss+xml=20
rel=3Dalternate><LINK href=3D"http://images.wsu.edu/favicon.ico"=20
rel=3D"shortcut icon"><LINK=20
href=3D"http://designer.wsu.edu/template/css2.aspx?key=3D0ca24Yzs010" =
type=3Dtext/css=20
rel=3Dstylesheet><LINK =
href=3D"http://wsunews.wsu.edu/includes/css/xmain.css"=20
type=3Dtext/css rel=3Dstylesheet><LINK media=3Dprint=20
href=3D"http://www.wsu.edu/navigatewsu/gen2/print.css" type=3Dtext/css=20
rel=3Dstylesheet><LINK title=3Dsystem media=3Dall=20
href=3D"http://wsunews.wsu.edu/includes/css/calendar-system.css" =
type=3Dtext/css=20
rel=3Dstylesheet>
<SCRIPT src=3D"http://wsunews.wsu.edu/includes/Lightbox/js/prototype.js" =

type=3Dtext/javascript></SCRIPT>

<SCRIPT=20
src=3D"http://wsunews.wsu.edu/includes/Lightbox/js/scriptaculous.js?load=3D=
effects"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT src=3D"http://wsunews.wsu.edu/includes/Lightbox/js/lightbox.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT=20
src=3D"http://wsunews.wsu.edu/includes/scriptlib/scriptaculous.js?load=3D=
dragdrop"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT src=3D"http://wsunews.wsu.edu/includes/scriptlib/calendar.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT =
src=3D"http://wsunews.wsu.edu/includes/scriptlib/calendar-setup.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT src=3D"http://wsunews.wsu.edu/includes/scriptlib/calendar-en.js" =

type=3Dtext/javascript></SCRIPT>

<SCRIPT src=3D"http://wsunews.wsu.edu/includes/scriptlib/functions.js"=20
type=3Dtext/javascript></SCRIPT>
<LINK href=3D"http://wsunews.wsu.edu/includes/lightbox/css/lightbox.css" =

type=3Dtext/css rel=3Dstylesheet>
<META content=3D"MSHTML 6.00.6000.16809" name=3DGENERATOR></HEAD>
<BODY>
<DIV id=3Dwrapper><NOSCRIPT>
<DIV id=3Dglobalnav>
<UL>
  <LI>Washington State University</LI></UL></DIV>
<DIV id=3Dlogo><A href=3D"http://www.wsu.edu/"><IMG alt=3D"WSU Logo"=20
src=3D"http://images.wsu.edu/global/bg-logo.jpg"></A></DIV></NOSCRIPT>
<SCRIPT language=3DJavascript=20
src=3D"http://images.wsu.edu/javascripts/wsuidentifierV2.js"=20
type=3Dtext/javascript></SCRIPT>

<SCRIPT language=3Djavascript type=3Dtext/javascript>var strHeader; =
strHeader =3D getHeader();document.write(strHeader);</SCRIPT>

<DIV id=3DsiteID=20
style=3D"BACKGROUND: url(/Content/Headers/wsunewsident.jpg) repeat-x =
right top">
<DIV style=3D"Z-INDEX: 10; LEFT: 151px; POSITION: absolute; TOP: =
27px"><A=20
style=3D"CURSOR: hand; TEXT-DECORATION: none" =
href=3D"http://wsunews.wsu.edu/"><IMG=20
height=3D72 alt=3D"Click here to return to the home page of this site"=20
src=3D"http://wsunews.wsu.edu/images/site/trans.gif" width=3D460 =
border=3D0></A>=20
</DIV>
<H2>University Relations</H2>
<H1><STRONG><SPAN id=3DMastheadPageHeader>Article Index=20
</SPAN></STRONG></H1></DIV>
<FORM id=3Dform1=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
MARGIN: 0px; PADDING-TOP: 0px"=20
name=3Dform1 action=3D/pages/search.asp method=3Dpost><INPUT =
type=3Dhidden name=3DPageID>=20
<DIV id=3Dtoolbar>
<UL>
  <LI><A href=3D"http://washington-state-magazine.wsu.edu/" =
target=3D_blank>WSU=20
  Magazine</A>=20
  <LI><A href=3D"http://www.alert.wsu.edu/" target=3D_blank>WSU =
Alert</A>=20
  <LI><A href=3D"http://researchnews.wsu.edu/" target=3D_blank>WSU =
Research</A>=20
</LI></UL>
<LI style=3D"MARGIN-RIGHT: 6px"><INPUT style=3D"FONT: 9px arial; COLOR: =
#666666"=20
onclick=3D"this.value=3D''" value=3DSearch name=3DKeywords> =
</LI></DIV></FORM>
<DIV id=3Dcontent>
<DIV id=3Dnav>
<DIV id=3Dfeatured>
<UL>
  <LI><A href=3D"http://www.wsutoday.wsu.edu/" target=3D_blank>WSU =
Today</A>=20
  <LI><A href=3D"http://announcements.wsu.edu/" target=3D_blank>WSU=20
  Announcements</A>=20
  <LI><A href=3D"http://www.wsucalendar.wsu.edu/" target=3D_blank>WSU =
Event=20
  Calendar</A> </LI></UL></DIV>
<UL>
  <LI><A class=3Dnavcurrentpage id=3DNav108=20
  href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D108" =
target=3D_self>News=20
  Highlights </A>
  <LI><A id=3DNav119 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D119"=20
  target=3D_self>Awards &amp; Honors </A>
  <LI><A id=3DNav117 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D117"=20
  target=3D_self>Events &amp; Exhibits </A>
  <LI><A id=3DNav222 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D222"=20
  target=3D_self>General News </A>
  <LI><A id=3DNav118 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D118"=20
  target=3D_self>Research News </A>
  <LI><A id=3DNav84 =
href=3D"http://wsunews.wsu.edu/pages/publications.asp?PageID=3D84"=20
  target=3D_self>Article Index </A>
  <LI><A id=3DNav158 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D158"=20
  target=3D_self>News by Campus </A>
  <LI><A id=3DNav156=20
  =
href=3D"http://wsunews.wsu.edu/pages/publications.asp?Action=3DArchive&am=
p;PageID=3D156&amp;DisplayYear=3D2008&amp;CampusID=3D&amp;CollegeID=3D&am=
p;DepartmentID=3D&amp;TypeID=3D&amp;IsAlert=3Dtrue"=20
  target=3D_self>Media Advisories </A>
  <LI><A id=3DNav157 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D157"=20
  target=3D_self>Tip Sheets </A>
  <LI><A id=3DNav169 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D169"=20
  target=3D_self>Other Campus News </A>
  <LI><A id=3DNav125 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D125"=20
  target=3D_self>Multimedia Collections </A>
  <LI><A id=3DNav92=20
  =
href=3D"http://wsunews.wsu.edu/Content/Documents/pdf/hometown.pdf?PageID=3D=
92"=20
  target=3D_blank>Hometown News Release Form </A>
  <LI><A id=3DNav87 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D87"=20
  target=3D_self>Contact Us </A>
  <LI><A id=3DNav126 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D126"=20
  target=3D_self>News Release Resources </A>
  <LI><A id=3DNav123 =
href=3D"http://wsunews.wsu.edu/default.asp?PageID=3D123"=20
  target=3D_self>Tools for Reporters </A></LI></UL><IMG id=3DSpacer=20
src=3D"http://wsunews.wsu.edu/images/site/trans.gif" width=3D1> </DIV>
<DIV id=3Dmain style=3D"WIDTH: 730px">
<DIV style=3D"POSITION: relative">
<DIV class=3Dfont_sizer=20
style=3D"RIGHT: 0px; COLOR: #666666; POSITION: absolute; TOP: =
-13px">Font Size:=20
<SPAN class=3Dsmall_font><A title=3D"click for small font"=20
style=3D"COLOR: #666666; TEXT-DECORATION: none"=20
href=3D"javascript:changeFont('small_font');">A</A></SPAN> <SPAN=20
class=3Dmedium_font><A title=3D"click for medium font"=20
style=3D"COLOR: #666666; TEXT-DECORATION: none"=20
href=3D"javascript:changeFont('medium_font');">A</A></SPAN> <SPAN=20
class=3Dlarge_font><A title=3D"click for large font"=20
style=3D"COLOR: #666666; TEXT-DECORATION: none"=20
href=3D"javascript:changeFont('large_font');">A</A></SPAN> <SPAN=20
class=3Dx_large_font><A title=3D"click for x-large font"=20
style=3D"COLOR: #666666; TEXT-DECORATION: none"=20
href=3D"javascript:changeFont('x_large_font');">A</A></SPAN> <SPAN=20
class=3Dxx_large_font><A title=3D"click for xx-large font"=20
style=3D"COLOR: #666666; TEXT-DECORATION: none"=20
href=3D"javascript:changeFont('xx_large_font');">A</A></SPAN> </DIV>
<DIV class=3DPublicationType>
<H3 style=3D"MARGIN-BOTTOM: 8px; BORDER-BOTTOM: #9e1b34 1px solid">News=20
Highlights</H3></DIV>
<DIV class=3DPublication>
<DIV class=3DPublicationTitle>
<H4 style=3D"CURSOR: pointer"=20
onclick=3D"location.href=3D('http://www.google.com/cse?cx=3D0136448905993=
24097824%3Akbqgwamjoxq&amp;cof=3DFORID%3A11&amp;sa=3DSearch&amp;fp=3Dtrue=
&amp;q=3Dschmitter-edgecombe+2009&amp;ad=3Dw9&amp;num=3D10&amp;rurl=3Dhtt=
p%3A%2F%2Fsearch.wsu.edu%2FDefault.aspx%3Fcx%3D013644890599324097824%253A=
kbqgwamjoxq%26cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitte=
r-edgecombe%2B2009');"></H4>
<H3 style=3D"CURSOR: pointer"=20
onclick=3D"location.href=3D('http://www.google.com/cse?cx=3D0136448905993=
24097824%3Akbqgwamjoxq&amp;cof=3DFORID%3A11&amp;sa=3DSearch&amp;fp=3Dtrue=
&amp;q=3Dschmitter-edgecombe+2009&amp;ad=3Dw9&amp;num=3D10&amp;rurl=3Dhtt=
p%3A%2F%2Fsearch.wsu.edu%2FDefault.aspx%3Fcx%3D013644890599324097824%253A=
kbqgwamjoxq%26cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitte=
r-edgecombe%2B2009');">Better=20
Tests Needed to Pinpoint Memory Problems, Study Shows </H3></DIV>
<DIV class=3DPublicationDate><B style=3D"FONT-SIZE: 9px">Tuesday, Mar. =
3,=20
2009</B><BR><BR></DIV></DIV></DIV>
<DIV class=3DPublicationText id=3DPublicationText=20
style=3D"PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px">
<DIV style=3D"FONT-WEIGHT: bold; FONT-SIZE: 10px">Contact:<BR>Maureen=20
Schmitter-Edgecombe, Department of Psychology, 509/335-0170,=20
schmitter-e@wsu.edu<BR>Cherie Winner, WSU news service, 509/335-4846,=20
cwinner@wsu.edu</DIV><BR><BR>
<P>PULLMAN, Wash. =96 There=92s a lot more to memory than the ability to =
remember a=20
story, who the President is, or what you ate for lunch. </P>
<P>Do you recall who told you the story? How about whether you heard it =
before=20
or after the President=92s inauguration? Do you remember that you =
planned to meet=20
a friend for lunch tomorrow? </P>
<P>According to new research by scientists at Washington State =
University (WSU),=20
aspects of memory that record the source of information and the relative =
timing=20
of events are at least as important to our everyday functioning as the =
ability=20
to recall specific content.</P>
<P>=93These other aspects of memory may actually have greater =
contributions to=20
what people are reporting in their everyday lives as causing =
problems,=94 said=20
Maureen Schmitter-Edgecombe, a WSU psychologist and leader of the =
study.</P>
<P>She and co-authors Ellen Woo of WSU (now at and the University of =
California,=20
Los Angeles) and David R. Greeley of WSU Spokane and Northwest =
Neurological,=20
PPLC found that some volunteers with good content memory had trouble =
with=20
non-content aspects of memory, and that such problems affected the =
volunteers=92=20
ability to perform complex activities like prepare a meal for six or =
manage=20
finances. They concluded that tests used to diagnose dementia should be =
expanded=20
to include non-content memory processes.</P>
<P>The study appears in the March issue of the journal Neuropsychology. =
</P>
<P>Currently, clinical evaluations of people with memory problems =
concentrate on=20
content memory, said Schmitter-Edgecombe. =93So we read them a list of =
words, or=20
we ask them questions about what they had for breakfast and see if they =
can=20
remember that information. But that=92s really only one part of memory =
in our=20
everyday lives.=94</P>
<P>She said there has been little research on non-content aspects of =
memory,=20
especially in the context of dementia and mild cognitive impairment =
(MCI). MCI=20
is a diagnosis based on poor performance in tests of memory and routine=20
thinking. It is often, but not always, an early sign of developing =
Alzheimer=92s=20
disease.</P>
<P>Eighty-four people age 50 or older participated in the study. Half =
had been=20
diagnosed with MCI and half had normal cognitive function. Among those =
with MCI,=20
some had loss of content memory and some did not. The volunteers took a =
variety=20
of tests that included word and shape recognition, recalling whether a =
test item=20
was presented as a word or a picture, and a connect-the-dots puzzle in =
which=20
numbers alternated with letters. At the end of an hour-long series of =
eight=20
different tasks, they were asked to tell in what order the tasks had =
been=20
done.</P>
<P>The researchers also explored whether specific kinds of memory loss =
were=20
related to a volunteer=92s ability to perform tasks such as telephone =
use, food=20
preparation, social functioning and medication management. </P>
<P>They found that problems with non-content memory can hamper the =
ability to=20
function even in people whose content memory is just fine. </P>
<P>=93We=92ve got this group [of volunteers] who=92s not having content =
memory=20
problems, but yet they=92re reporting, or their significant others are =
reporting,=20
just as many difficulties in their everyday lives,=94 said=20
Schmitter-Edgecombe.</P>
<P>She said content and non-content memory processes are handled by =
different=20
parts of the brain, making it possible for problems to occur in one but =
not the=20
other. One current hypothesis of aging suggests that the frontal lobe, =
where=20
non-content aspects of memory reside, is the first area in the brain to =
suffer=20
age-related deterioration. In prior experiments Schmitter-Edgecombe and =
her=20
colleagues found that temporal order memory shows significant =
age-related=20
changes well before=97sometimes years before=97noticeable loss of =
content memory.=20
</P>
<P>Schmitter-Edgecombe said physicians and therapists must take into =
account the=20
ways that different types of memory loss affect people in their everyday =
lives.=20
</P>
<P>=93Until we really understand that link, it=92s going to be hard to =
develop the=20
best compensatory strategies to help people get around those =
difficulties,=94 she=20
said. </P>
<P>The paper: =93Characterizing multiple memory deficits and their =
relation to=20
everyday functioning in individuals with mild cognitive impairment,=94=20
Neuropsychology, volume 23, issue 3.</P>
<P>To learn more about research on memory at WSU, see <A=20
href=3D"http://wsm.wsu.edu/2009/Spring/remember.php">http://wsm.wsu.edu/2=
009/Spring/remember.php</A>.</P>
<P>Keywords: Alzheimer's, memory, memory loss, dementia, diagnosing=20
dementia</P><BR><BR clear=3Dall>
<TABLE style=3D"BORDER-TOP: #9e1b34 1px solid; MARGIN-TOP: 8px; =
FONT-SIZE: 10px"=20
width=3D"100%">
  <TBODY>
  <TR>
    <TD><A href=3D"javascript:history.go(-1)"><IMG=20
      alt=3D"return to the previous page"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_goback.gif" =
border=3D0></A></TD>
    <TD><A href=3D"javascript:history.go(-1)">back</A></TD>
    <TD><A=20
      =
href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fwww%2Egoo=
gle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%26cof%3DFORI=
D%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe%2B2009%26a=
d%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Eedu%252FDefa=
ult%2Easpx%253Fcx%253D013644890599324097824%25253Akbqgwamjoxq%2526cof%253=
DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dschmitter%2De=
dgecombe%252B2009&amp;title=3DBetter Tests Needed to Pinpoint Memory =
Problems, Study Shows  =
&amp;bodytext=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+There's+a+lot+more=
+to+memory+than+the+ability+to+remember+a+story%2C+who+the+President+is%2=
C+or+what+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+who+told+you+the=
+story%3F+How+about+whether+you+heard+it+before+or+after+the+President's+=
inauguration%3F+Do+you+remember+that+you+planned+to+meet+a+friend+for+lun=
ch+tomorrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+scientists+at+Was=
hington+State+University+%28WSU%29%2C+aspects+of+memory+that+record+the+s=
ource+of+information+and+%2E%2E%2E" target=3D_blank><IMG=20
      alt=3D"submit this page to digg.com"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_digg.gif" =
border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://digg.com/submit?phase=3D2&amp;url=3Dhttp%3A%2F%2Fwww%2Egoo=
gle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%26cof%3DFORI=
D%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe%2B2009%26a=
d%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Eedu%252FDefa=
ult%2Easpx%253Fcx%253D013644890599324097824%25253Akbqgwamjoxq%2526cof%253=
DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dschmitter%2De=
dgecombe%252B2009&amp;title=3DBetter Tests Needed to Pinpoint Memory =
Problems, Study Shows  =
&amp;bodytext=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+There's+a+lot+more=
+to+memory+than+the+ability+to+remember+a+story%2C+who+the+President+is%2=
C+or+what+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+who+told+you+the=
+story%3F+How+about+whether+you+heard+it+before+or+after+the+President's+=
inauguration%3F+Do+you+remember+that+you+planned+to+meet+a+friend+for+lun=
ch+tomorrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+scientists+at+Was=
hington+State+University+%28WSU%29%2C+aspects+of+memory+that+record+the+s=
ource+of+information+and+%2E%2E%2E" target=3D_blank>digg</A></TD>
    <TD><A=20
      =
href=3D"http://del.icio.us/post?v=3D4;url=3Dhttp%3A%2F%2Fwww%2Egoogle%2Ec=
om%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%26cof%3DFORID%253A1=
1%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe%2B2009%26ad%3Dw9%=
26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Eedu%252FDefault%2Ea=
spx%253Fcx%253D013644890599324097824%25253Akbqgwamjoxq%2526cof%253DFORID%=
25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dschmitter%2Dedgecomb=
e%252B2009;title=3DBetter Tests Needed to Pinpoint Memory Problems, =
Study Shows  =
;notes=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+There's+a+lot+more+to+mem=
ory+than+the+ability+to+remember+a+story%2C+who+the+President+is%2C+or+wh=
at+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+who+told+you+the+story%=
3F+How+about+whether+you+heard+it+before+or+after+the+President's+inaugur=
ation%3F+Do+you+remember+that+you+planned+to+meet+a+friend+for+lunch+tomo=
rrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+scientists+at+Washington=
+State+University+%28WSU%29%2C+aspects+of+memory+that+record+the+source+o=
f+information+and+%2E%2E%2E"><IMG alt=3D"submit this page to =
del.icio.us"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_delicious.gif"=20
    border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://del.icio.us/post?v=3D4;url=3Dhttp%3A%2F%2Fwww%2Egoogle%2Ec=
om%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%26cof%3DFORID%253A1=
1%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe%2B2009%26ad%3Dw9%=
26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Eedu%252FDefault%2Ea=
spx%253Fcx%253D013644890599324097824%25253Akbqgwamjoxq%2526cof%253DFORID%=
25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dschmitter%2Dedgecomb=
e%252B2009;title=3DBetter Tests Needed to Pinpoint Memory Problems, =
Study Shows  =
;notes=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+There's+a+lot+more+to+mem=
ory+than+the+ability+to+remember+a+story%2C+who+the+President+is%2C+or+wh=
at+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+who+told+you+the+story%=
3F+How+about+whether+you+heard+it+before+or+after+the+President's+inaugur=
ation%3F+Do+you+remember+that+you+planned+to+meet+a+friend+for+lunch+tomo=
rrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+scientists+at+Washington=
+State+University+%28WSU%29%2C+aspects+of+memory+that+record+the+source+o=
f+information+and+%2E%2E%2E">del.icio.us</A></TD>
    <TD><A=20
      =
href=3D"http://www.google.com/bookmarks/mark?op=3Dadd&amp;title=3DBetter =
Tests Needed to Pinpoint Memory Problems, Study Shows  =
&amp;labels=3D&amp;annotation=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+Th=
ere's+a+lot+more+to+memory+than+the+ability+to+remember+a+story%2C+who+th=
e+President+is%2C+or+what+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+=
who+told+you+the+story%3F+How+about+whether+you+heard+it+before+or+after+=
the+President's+inauguration%3F+Do+you+remember+that+you+planned+to+meet+=
a+friend+for+lunch+tomorrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+s=
cientists+at+Washington+State+University+%28WSU%29%2C+aspects+of+memory+t=
hat+record+the+source+of+information+and+%2E%2E%2E&amp;bkmk=3Dhttp%3A%2F%=
2Fwww%2Egoogle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%2=
6cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe=
%2B2009%26ad%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Ee=
du%252FDefault%2Easpx%253Fcx%253D013644890599324097824%25253Akbqgwamjoxq%=
2526cof%253DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dsc=
hmitter%2Dedgecombe%252B2009"=20
      target=3D_blank><IMG alt=3D"bookmark this page at google.com"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_google.gif" =
border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://www.google.com/bookmarks/mark?op=3Dadd&amp;title=3DBetter =
Tests Needed to Pinpoint Memory Problems, Study Shows  =
&amp;labels=3D&amp;annotation=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+Th=
ere's+a+lot+more+to+memory+than+the+ability+to+remember+a+story%2C+who+th=
e+President+is%2C+or+what+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+=
who+told+you+the+story%3F+How+about+whether+you+heard+it+before+or+after+=
the+President's+inauguration%3F+Do+you+remember+that+you+planned+to+meet+=
a+friend+for+lunch+tomorrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+s=
cientists+at+Washington+State+University+%28WSU%29%2C+aspects+of+memory+t=
hat+record+the+source+of+information+and+%2E%2E%2E&amp;bkmk=3Dhttp%3A%2F%=
2Fwww%2Egoogle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%2=
6cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe=
%2B2009%26ad%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Ee=
du%252FDefault%2Easpx%253Fcx%253D013644890599324097824%25253Akbqgwamjoxq%=
2526cof%253DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dsc=
hmitter%2Dedgecombe%252B2009"=20
      target=3D_blank>google</A></TD>
    <TD><A=20
      =
href=3D"http://www.newsvine.com/_wine/save?ver=3D2&amp;popoff=3D1&amp;u=3D=
http%3A%2F%2Fwww%2Egoogle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akb=
qgwamjoxq%26cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%=
2Dedgecombe%2B2009%26ad%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearc=
h%2Ewsu%2Eedu%252FDefault%2Easpx%253Fcx%253D013644890599324097824%25253Ak=
bqgwamjoxq%2526cof%253DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2=
526q%253Dschmitter%2Dedgecombe%252B2009&amp;h=3DBetter Tests Needed to =
Pinpoint Memory Problems, Study Shows  =
&amp;s=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+There's+a+lot+more+to+mem=
ory+than+the+ability+to+remember+a+story%2C+who+the+President+is%2C+or+wh=
at+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+who+told+you+the+story%=
3F+How+about+whether+you+heard+it+before+or+after+the+President's+inaugur=
ation%3F+Do+you+remember+that+you+planned+to+meet+a+friend+for+lunch+tomo=
rrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+scientists+at+Washington=
+State+University+%28WSU%29%2C+aspects+of+memory+that+record+the+source+o=
f+information+and+%2E%2E%2E" target=3D_blank><IMG=20
      alt=3D"submit this page to newsvine.com"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_newsvine.gif"=20
border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://www.newsvine.com/_wine/save?ver=3D2&amp;popoff=3D1&amp;u=3D=
http%3A%2F%2Fwww%2Egoogle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akb=
qgwamjoxq%26cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%=
2Dedgecombe%2B2009%26ad%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearc=
h%2Ewsu%2Eedu%252FDefault%2Easpx%253Fcx%253D013644890599324097824%25253Ak=
bqgwamjoxq%2526cof%253DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2=
526q%253Dschmitter%2Dedgecombe%252B2009&amp;h=3DBetter Tests Needed to =
Pinpoint Memory Problems, Study Shows  =
&amp;s=3D%0D%0A%0D%0APULLMAN%2C+Wash%2E+%20-%20+There's+a+lot+more+to+mem=
ory+than+the+ability+to+remember+a+story%2C+who+the+President+is%2C+or+wh=
at+you+ate+for+lunch%2E+%0D%0A%0D%0ADo+you+recall+who+told+you+the+story%=
3F+How+about+whether+you+heard+it+before+or+after+the+President's+inaugur=
ation%3F+Do+you+remember+that+you+planned+to+meet+a+friend+for+lunch+tomo=
rrow%3F+%0D%0A%0D%0AAccording+to+new+research+by+scientists+at+Washington=
+State+University+%28WSU%29%2C+aspects+of+memory+that+record+the+source+o=
f+information+and+%2E%2E%2E"=20
      target=3D_blank>newsvine</A></TD>
    <TD><A=20
      =
href=3D"http://reddit.com/submit?url=3Dhttp%3A%2F%2Fwww%2Egoogle%2Ecom%2F=
cse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%26cof%3DFORID%253A11%26s=
a%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe%2B2009%26ad%3Dw9%26num=
%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Eedu%252FDefault%2Easpx%2=
53Fcx%253D013644890599324097824%25253Akbqgwamjoxq%2526cof%253DFORID%25253=
A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dschmitter%2Dedgecombe%252=
B2009&amp;title=3DBetter Tests Needed to Pinpoint Memory Problems, Study =
Shows"=20
      target=3D_blank><IMG alt=3D"submit this page to reddit.com"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_reddit.gif" =
border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://reddit.com/submit?url=3Dhttp%3A%2F%2Fwww%2Egoogle%2Ecom%2F=
cse%3Fcx%3D013644890599324097824%253Akbqgwamjoxq%26cof%3DFORID%253A11%26s=
a%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgecombe%2B2009%26ad%3Dw9%26num=
%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%2Eedu%252FDefault%2Easpx%2=
53Fcx%253D013644890599324097824%25253Akbqgwamjoxq%2526cof%253DFORID%25253=
A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253Dschmitter%2Dedgecombe%252=
B2009&amp;title=3DBetter Tests Needed to Pinpoint Memory Problems, Study =
Shows"=20
      target=3D_blank>reddit</A></TD>
    <TD><A=20
      =
href=3D"http://myweb2.search.yahoo.com/myresults/bookmarklet?u=3Dhttp%3A%=
2F%2Fwww%2Egoogle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjox=
q%26cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgeco=
mbe%2B2009%26ad%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%=
2Eedu%252FDefault%2Easpx%253Fcx%253D013644890599324097824%25253Akbqgwamjo=
xq%2526cof%253DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253=
Dschmitter%2Dedgecombe%252B2009&amp;t=3DBetter Tests Needed to Pinpoint =
Memory Problems, Study Shows  &amp;popup=3Dfalse"=20
      target=3D_blank><IMG alt=3D"bookmark this page at yahoo.com"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_yahoo.gif" =
border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://myweb2.search.yahoo.com/myresults/bookmarklet?u=3Dhttp%3A%=
2F%2Fwww%2Egoogle%2Ecom%2Fcse%3Fcx%3D013644890599324097824%253Akbqgwamjox=
q%26cof%3DFORID%253A11%26sa%3DSearch%26fp%3Dtrue%26q%3Dschmitter%2Dedgeco=
mbe%2B2009%26ad%3Dw9%26num%3D10%26rurl%3Dhttp%253A%252F%252Fsearch%2Ewsu%=
2Eedu%252FDefault%2Easpx%253Fcx%253D013644890599324097824%25253Akbqgwamjo=
xq%2526cof%253DFORID%25253A11%2526sa%253DSearch%2526fp%253Dtrue%2526q%253=
Dschmitter%2Dedgecombe%252B2009&amp;t=3DBetter Tests Needed to Pinpoint =
Memory Problems, Study Shows  &amp;popup=3Dfalse"=20
      target=3D_blank>yahoo!</A></TD>
    <TD><A=20
      =
href=3D"http://wsunews.wsu.edu/pages/publications.asp?Action=3DRelease&am=
p;PublicationID=3D13962"=20
      target=3D_blank><IMG alt=3D"View Press Release"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_release.jpg" =
border=3D0></A></TD>
    <TD><A=20
      =
href=3D"http://wsunews.wsu.edu/pages/publications.asp?Action=3DRelease&am=
p;PublicationID=3D13962"=20
      target=3D_blank>Release</A></TD>
    <TD><A=20
      href=3D"mailto:?subject=3D[WSU Today: Better Tests Needed to =
Pinpoint Memory Problems, Study Shows  ]&amp;body=3DRead more at: =
http%3A%2F%2Fwsunews%2Ewsu%2Eedu%2Fpages%2Fpublications%2Easp%3FAction%3D=
Detail%26PublicationID%3D13962"><IMG=20
      alt=3D"email this page to a friend"=20
      src=3D"http://wsunews.wsu.edu/images/site/icon_sendmail.gif"=20
border=3D0></A></TD>
    <TD><A=20
      href=3D"mailto:?subject=3D[WSU Today: Better Tests Needed to =
Pinpoint Memory Problems, Study Shows  ]&amp;body=3DRead more at: =
http%3A%2F%2Fwsunews%2Ewsu%2Eedu%2Fpages%2Fpublications%2Easp%3FAction%3D=
Detail%26PublicationID%3D13962">email</A></TD></TR></TBODY></TABLE><BR><B=
R></DIV></DIV>
<DIV id=3Dlocalfooter>
<DIV>WSU News Service, Washington State University, PO Box =
641040,&nbsp;Pullman=20
WA 99164-1040 | (509) 335-3581 | <A=20
href=3D"mailto:wsunews@wsu.edu">wsunews@wsu.edu</A> or <A=20
href=3D"mailto:bcampbell@wsu.edu">bcampbell@wsu.edu</A>=20
</DIV></DIV></DIV><NOSCRIPT>
<DIV id=3Dwsufooter>Copyright =A92009 Board of Regents, <A=20
href=3D"http://www.wsu.edu/">Washington State University</A> | <A=20
href=3D"http://www.wsu.edu/accessibility/">Accesibility</A> | <A=20
href=3D"http://www.wsu.edu/Policies.html">Policies</A> | <A=20
href=3D"http://www.wsu.edu/Copyright.html">Copyright</A> =
</DIV></NOSCRIPT>
<SCRIPT language=3Djavascript type=3Dtext/javascript>
			var strFooter;strFooter =3D getFooter();document.write(strFooter);
		</SCRIPT>
</DIV>
<SCRIPT type=3Dtext/javascript>var gaJsHost =3D (("https:" =3D=3D =
document.location.protocol) ? "https://ssl." : =
"http://www.");document.write(unescape("%3Cscript src=3D'" + gaJsHost + =
"google-analytics.com/ga.js' =
type=3D'text/javascript'%3E%3C/script%3E"));</SCRIPT>

<SCRIPT type=3Dtext/javascript>var pageTracker =3D =
_gat._getTracker("UA-3471352-15");pageTracker._initData();pageTracker._tr=
ackPageview();</SCRIPT>
</BODY></HTML>

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Location: http://images.wsu.edu/global/bg-logo.jpg

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAARgAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQABAMDAwMDBAMDBAYEAwQGBwUEBAUHCAYGBwYGCAoICQkJCQgKCgwMDAwMCgwMDQ0MDBERERER
FBQUFBQUFBQUFAEEBQUIBwgPCgoPFA4ODhQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQU
FBQUFBQUFBQUFBQUFBQUFBQU/8AAEQgAaQC5AwERAAIRAQMRAf/EAJ0AAQACAwEBAQAAAAAAAAAA
AAAFBgMEBwgBAgEBAQEAAwEBAAAAAAAAAAAAAAECAwQGBwUQAAEDBAECBAQEBQEJAQAAAAIBAwQA
EQUGEiETMUEiB1EyFBVhcRYIgZFCUiMzsdHhYyQ0VNSWFxEBAAEDAgQDBQcFAAAAAAAAAAERAgMh
MUESBAVR0pNhcTJSFYGxIkKCFAaRoeGyE//aAAwDAQACEQMRAD8AkP28ft4b9xW/1ht/ca1BpxW4
cRtVbcnuNrY/WnUWhVOKqPUluiKlq6WLFzazs+md671+2n/li+PjPy/5e1cDqWr6tGCHrmHh4uO2
iIgxWAaVbJa5EKXJfiRKqrXciIjZ87zdTlzTW+6bvfKZquuUCgUCgUCgUCgUCgUCgUCgUCgUCgUC
gUEPqmBi6trOI1yECBGxcRmKCClrq0CCRL+JLclXzVakRSKOx1Gac2S6+d7pmUxVdcoFAoFAoFAo
FAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoMb7DMllyNIBHGHhJ
t1skuJAaWVFT4Ki0HKfbljFaZmN9xEpO39nkJkG5Tqkbn2uQz3QBCJVVRb4En51u7Wjjt0q/Xtln
s0mw7Dr22GqS8iDWyY9pxVVAiThRDZTl4I0vELfG9LoLZ11Q0TLppeEb2nBQW0HM5A8tkxLkSsa6
kkWARtL+m4mDg26fN8KtKpWmq5bLt06Jt8LWRmtYWBkIKv47LPtI83JnKaijCESoA2GxW8SuiIqe
eYjRqZ1Gtoy0Hew17PZOFGx44dnIuoQCzylG4TJtg4Z/IijzT03pTQrqipG67CrHuBKgZKLIjaq0
D2McbYFwHeUX6lUMhcstl/x+m3x8atNkrOrNl9x2rXDwWUfRvLYGRAWfnmWWO3JjsirIk+1xNeQg
ryKQWvxRevwUiVmZhIbNu64EmdiantStVLGPZEI7LSE5IMDYaZBt7lZEcJ9PEVtUiCZolCjb25jE
nt5GIGZVtHUxix7w+Vr9lXFNHF/t7l069ePlTRdUNlcrumO2HXMQ9kYrabBJnAYtxef07UdonmhE
icTkVkQTVU/JKuiTM1bGCzOz7BkMnhvrI8ZMA4kTIZNhnmsmWaK5xabMlRsQbUOfLkqkqonRLrJi
IImZQeX3TeIErIa/DSHJ2bEPwzaAmlBjJQp5oAWu5dl0SRRLqo38PwsRCTMp0twf2HA4rN6zLGET
89jH5KJKY7rzDjrotOtGPIFBxtV/JfhapSi1q0/d13Kxcdh8g1EfyGtw5wvbJAiKvddhoK2ugqik
Al6iHwXpfperaXMmuY/Fzz/UftpkIsXDZhGvuQi2rgAUYXEFG2eQo24SuJ3Lp4CnS63qT7SPYw6j
tGz5DVom55iXFdxvGd9fCbjq0afSuutNK0fMrqStoiiSf1dPCrMRWhEzSr9a1sG5bDiHVkvxcbl8
JInRM+2jKvKr7KicdGkUxRAVsrkS3v5UmIgiZlDP7fvjftqx7gBPhEjkFJT0UoiogPG8ACgqjvUO
Kle/W9vyq0itErNKr9r0yfKmThdy0XLQWBZATjto241JVCNwDUDMVRQJsht4daxLcLDUUoFAoFBy
zdtSy+R9wsRJxrRLhc5ELG7K4iKoDGhvBKFCVPBXURWU/BVStxOjjmNX33Z1nOzZ+Bz+qgX3UTdw
s0mxUuMHJArZOFbyaVeV/JVvS2VujwSYaV90ZzcbLRZMSCsYMRi4seWgi5jWGVAEIWyQeRGRrY/J
U/GpUoh42I3DIaSun7hrLeSQIDcSM8EpgkWSyJgLhkRIQWRGyQwRSRb9PC9rFawmtKTDe1fVNixW
1QZeZYSdFja/Gwz+SJxs1clMOk6TnAl58VReKEqclXxSkzFCImrUn6vsrwe47UfFcR2lptnF2eYF
EUIaRVU05+lL+rz6fjSsaFJ1WPGws01lMEUnFEkKNiXMfNdV5kuDzhMLbghKpDZlbqnxTp41Fiqr
5H2ikSHstgoctGdMnQX1xjC+o8dkHpDD6i2nmypMoaCi+nqlXmTlbu143c9o0s9ckYdG9lXsgOUa
lNjDEm3A5vAfJHh5Chent362pFIlZrMJfY8Hk3tp06dioCOYvBOSSlKLjbfEJEdWBQBIkVePiv4e
HWpE6STvDHCwmb1Ta81k8bE+6a/sLgS347TjbcmLMAOBqiOkAm24iIvz3FfKlawUpKOl6zsJ5t/b
DgC/k58vHikFp5sUi47HOdxUIzUUN1wlUlQfSnRL+a2vBKTu3M5o0wtogbJrrgxmpUuK5suPJURu
QMU0cbfHxRHgVOK2+YV/nInRZjVPZ3Y3cDlMc1IgSH8LMB8ZM6Kw7J+neBW1a7gtISoBoppfj4ol
SIWZoqGmYc4e87PsWAxz8LVJ0ZlAim2sUZWRFVI3WWXeCiNvTyJBRSVbVqZ0ZiNZfjW9X2aLqWB1
DJ442YzU56RmJDEppFRj6h2U0jaiXJbuE3ytboK+NJmK1IiaUb0bW85gNuz0vFQ3ZuAzcBrvuPSg
N/7iwJAJJ3TvxVtUFVVfFPhStYWkxKPd1LZT9lw0kYCffhjNw1aV5rtf43BNT58rcVRPzv5UrFap
SeWi44RqbHyJC3ggxOOfZV6a7zZU3JidpsEQWSVLIAlcltfpWZahY6jRQKBQKBQKDz1+77MZvXdC
xOa17L5DD5MMmMXv42bJh8mX2XDMTFhwBPq0PFTRVHrxtyK+L9ntf4lhx5upusyW2328tfxWxOsT
HjGm/Dd5f0KV+4f3JelBrG2584sFA+tnyMzNajNE6vFsFNXVuZr8oiir/CuHml9A6+3tfRRH/XFj
rdtEWW1nx4Ou7Lp2z4vX2s0XvrkoCYyGx92aOflFKQ8Titm+yrsgFVojIQbIG+C+N6lZiN3mem6z
Dflmz9nbdzTPL+GzSKVpNLd6azWar37ZTZs/9u8faM5PymdmR5E7ITJR53Kw5TwxXnWEQJLD3cQO
2I2aujd/Vbl1rsWRWNXm+/5P2vX3xisstiLbYpyWTGsRO02zFa8d+FaOjYDRcZl8BEy0h3Nx5U2O
ElmMG2bE6Ai8CGCEazBW/X1WH+dam2H40dzzU+HH6WLyKK8/Fx2PDM5XF54cUGTk4qasTcNikSGU
hK4jr6N/UjyAe0a/NeyVrkhn6pm+XH6WLyLhN1PC9/BlhZOYn43NHwCWu3bECCPZN9DFBmGhIogv
mnWs8rX1PL4Y/SxeRU5H0sbEzswcPMLExuaXBTC/WWxojai6LKyFX6j/AE+Rj08a1yQz9UzfLj9L
F5FqzWoQIGUh4zHrmZRvxpEuQbm3bE12QjIPVUGWd0IjEU/4VmLYanueb5cfpYvIjtd19rYcZiMu
zHzLcPLxXJIL+sNiImCEeQI6n1SXEl9PIb2+FWbYhI7nmn8uP0sXkaWDaw+RjazkJ7Gdj47aHnIk
U2du2F51mQ2jiijgFLC4kjReoS6eaUmwjumb5cfpYvI29awsPa40fLYkMwWFlOyY6KW4bD9VHOPz
QFkAktUHmQIiiKqo8k8aTbEEd0zT+XH6WLyNHGQwymsObW1AzLeNZiTJrqnuWxX/AOiccb7Q2k9S
LtEXwRLedOSKpHdM1K8uP0sXkfMhBLH60ztZY3NO4h2HFyJuN7lsak0zJ480Ifqb3aQ0NbdFG/wp
yRU+qZqV5cfpYvIssfUcPM2JMTCezT+NbhtzJeQDbdhVWyfVe02gfWWJTRFNF5/Kl18UvOVr6nmr
8OP0sXkT/wD+Z65/5uw//T7B/wC/Uov1LL4Y/SxeRJ4TT8Tr8s5kCRlHnjbVkhyGYymTa4kQldGp
sp4EK4p60Hla6Xsq0o4M/V35baXRb+myy3+9tsT9iequmUCgUCgUCg85/vPjSJXthi24zauuFm4w
CI/3Gw+Ip/FVtXHk2e4/h10W9ZdM/JP3wnPazSsfo/tzjcO5IhuZP7a9KjTIjvJH5JqEuVz7aqDi
MutgAOX+Xp0634YiKOn3TrLuq6u6+k8vNETExtHw2+2KxMzMeLiXvv7N5rP71tu+Qsm0mBiwFmZh
t59G5EQWYAnHaRtbKTbpAIgidOSEnlUu3l6vsfeMeLp8WCbZ55upbppNbtZr4xx+x0z2ijvl+0ox
RsuZwMs4A26qKSH1un8q7WPg8f8Ayua9wyfp/wBYdz0h5qRpuvPMkhtljYiiSeC/4ArU7vLxspOv
PiTWKfSO/IhydkzcnussOPtJHdOYyJmQCSIJEYp1/wBlaliGeFquY1Xb8Vj8U0sjQnJMjIMglyLG
SFjPCbSf8lxTuH9pdPPqrWFpSfY+atgfvuubvgMnFfitZnK5N1lZTDjPJiWqdl4e4KX6pyTzS1Jn
WCIrEtzSo+d/TUrO7XFcZzzkMMesfgTjqMwAJtFQURSVXnFcdsieBDUkjbVD+3rMbW9ewJOYrJjn
3Ig4/JNHHlq2w2BE6bhIYEKWt6UD5lVEtVu1S3SELqOKzWt4rUthdxc+eMBJcHJ4d5p4noTklwib
lxmTS6dLA5wRfQXTrerOqRFKJliPbbcNtGpY6fiXZ3cPc8e5GeZi9lGlLk4BAiE+h9AVpFUvHw8Z
w1XjWGXWI06L7Lz8VIgy2sokXKR0hHGeR8nJTj6tIIcbryRweqdKTuR8K4asy0ug4mFk4ziNt4pi
LPiPMuI5duOLbratqPJfBUsidfKszu1GyH9nse7jNKjxZcWRFyIvPpJCY2428og4oMX7qIqojAti
NvBEtVu3SzZfqy2UCgUCgUCgUCgpfutpTXuBo+S1l1rvpIQTFnkjZEbS8k4GSKgGi9QVenK3L03p
SJ0l3ei63J0ea3Nj+K3+k+MT73j/ACnub7ve0bbGLk43FZjW8WrcKG9LxxAsdGB4NsOgDgEw4I39
JXQrqQkfzV1psm19J6Lpu292ib7Lr7Mk63W82tZ3nWNY9v3IZ2Hvf7jNmg5/N44Ma3Jb+mM8eLgO
5FppxSEWm3DJOLd+PeP/ABh1UlUvSurcc3TWXYz9d0nYsU4sczkv3tt0/DPjM8Pve7tS1qNrepY3
V0aa+lhRRiqwCcmkC1lBOXUk62uXUvFfGufZ8nz5r82S7JfNbrprP2omL7aYzHsHj8Zl8tBwZkS/
aGJfGMImtyACUFdAVv4A6la5nX5VtgwYeMhsY/HshHhRgFqOw2nEAAEsiIlZabFAoFAoFAoFAoFA
oFAoFAoFAoFAoFBVdw0DA7kwf1rSM5BW1ZGcAAZE0vVW3QcQgdbXzbcRU+Fl61atWX3Y7ovsmbbo
2mNJbms6hhdUjK1jWuUpwRGTOdsUh7glkQiRERBT+kBRAHyRKTLM6zMzrMp66ePlUCgUCgUCgUCg
UCgUCgUCgUCgUCgUCgUFT9yRP9ITH22nH3YrsWQDTF1cLtSW1IRQeq8h5DbzvWrd2btlKzUjZGJm
dgzmyeZeexWUU3eSxYrb7iRuyhCqelswE3LL1BDVfmrUUZmrbk7TtRpmCV4Fw2MhT5YuFFRTlti6
rUVEVFRERztu9RHqNlROt6lIKywYuas7IapqwmaRMPNVlR7RXP7TDRe444XXk48YqIp/T1XxqkeC
xvSYLmx7Cm2naHEGM3iIj3LtnGdZRTcaBP8AUcJ1TbWyKScRRLX659y8dVPY2qXgoGWawvJuTJfe
lRSdaN4ytLDFxgVC8BQWkdeJevq6dVrVGapuZuubb+4qzKbcRiYyjP0wA53ce9f1ReXzyA5h3WT6
9F4/MlpRqqf3PNx3fb/Jz8a+L/1kcosJ8bihPvr2BJPP0kvL+F6kRqszorB57Ia7PTBQ2m4k1JuN
jPiwDklt0JCrydUnLcURhu10S5Or+C3tKs1o2V3XMy4WLegTo4Sc6LnHuN2YgvNNqaMcuKkbiqQo
Yqir6CsiKqIii1SO75rKYmdh0jyzQ4sSfk5MVkURJjkJkRBiyoq+snb8U+F/JKkQTLfwOennHzU3
LvtysTAFomZzQIDbppHRyQjduhAJLxFfG90VVtSYWJc+hZzJ6prsSUbQNZaVhnskzKaR2S48pKDg
skBIgoSOPepevBsbJ4pbVKsVpCzyd2yTUWRKSU0kiLObxT8VW0FtpDMGllPGXUEVVI20vxVFH8Vq
UaquOtz3J2OQJUtqZkoxdqc4wJAAuqiOINiQeqAY9bJf4J4VmWoS9RSgUCgUCgUCgUCgUCgUCgUC
gUCgUCgUCgUCgUCgUHwl4iqp5UEd9we/tH+S/wC+gkqBQKBQKBQKBQKBQKBQKBQKBQKBQKBQKBQY
pBcWiX8KCsfVL8aqLZUUoFAoFAoFAoFAoFAoFAoFAoFAoFAoFAoNacto5/ktBSOZVUdAqKUCgUCg
UCgUCgUCgUCgUCgUCgUCgUCgUGrkP+3P8qCh1Uf/2Q==

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/trans.gif

R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_goback.gif

R0lGODlhEAAQAMQAAE+7HKjVmGzCL2qxZjKzFBJwDHjISYXNVfz8+8rkyJbWc+n34xa1BguNBMjS
xlTANPH47ja3Lbnmqt3x1/P78SadEFLJVoDVdyu8Jk2GRoSVgGS/JWDLXPH08vr3+P///yH5BAAA
AAAALAAAAAAQABAAAAWr4IeIEoed0ZCMSPslnHUFyiEQFce+0SVJB4NgKKgMRhSZRGE4JCTE4uBz
eQRsh8VnEd1UEpHDYZPdKjbooZFgIGsRV3EQQMgQBAeICEGBUP5QBAV3eSIUCxCJFIEFFQJuHxQ1
cgIRDI1DkBNtaAAMFRkDd48GWhMPAnSXDhMVABsAAAILE6kEDA0ZHXCDdAAPD6oNBQ4iHwGNDLcM
uAUZxXsvAwXUwwUaHXshADs=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_digg.gif

R0lGODlhEAAQAMQaANvb2/n5+dfX1/Dw8O3t7dLS0tXV1c/Pz+np6dDQ0Pj4+Pb29szMzO7u7vX1
9dbW1vLy8vv7++Xl5eLi4t3d3djY2N7e3qioqJmZmf///////wAAAAAAAAAAAAAAAAAAACH5BAEA
ABoALAAAAAAQABAAAAV5oCaOZKllaIpeLIupWJxeMIW+WYDTDiFhNlxgMMGwMj6L8fIaTgSYCE1i
eWAqMqLggNHFvtjX88DALCzoihqb+caOBIRkosS1Zxk5HQBM2ad7WDZtMhk0dBcVBn12LzQWABcG
BYwKEA2OGQAVFwUJjG6EbjEUJqYjIQA7

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_delicious.gif

R0lGODlhEAAQAJEAAAAAAP///93d3QAA/yH5BAAAAAAALAAAAAAQABAAAAIqjG+jq4jM3IFLJjps
wNly/XkYQJakgKaoaaoqW7opfMoCDdg3reM9bysAADs=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_google.gif

R0lGODlhEAAQAMQAAB5e3Of6/RYomdIgEU60RPr+6aewyHqX3MnY7s7s/vH+/yNctfz+9P/0/rrS
/fL/9N/l+BUhbvj+//7z9f/9/vLw/URx0xg0u/7++P/5/1x1sf/5+P7/4//8/zy1RP///yH5BAAA
AAAALAAAAAAQABAAAAW4IECM5OgRp6cCxTdxgRRASvVl2zQAkqQkB81luDggHoWd5JGwXCCBTwBx
iSgagwVHcRAEOAyKpANBFDY7rgAiKTw4D1ynkARwLw0MI6NQTCQMZ2kLCwUYGRkdHQ0UgRlpAAs5
DAoZGBgSFBw6dhYCFRg2Cg8ICQlmOw9dBw9jDA4XAhcHDDtSsQ6ZE4oQEQYcO4EQAgIHAQwPAQ6+
wHaVFRrEQ0MaUTsNHB/a29oKHRuPKuLj5B4DIQA7

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_newsvine.gif

R0lGODlhEAAQAIAAAP///wFVIyH5BAAAAAAALAAAAAAQABAAAAIjRI6ZhsyqgHkwuhqDxPpsrk3g
co0TlYWmOHoleLafjKEdBBQAOw==

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_reddit.gif

R0lGODlhEAAQAMQAAHmJmf4hINza2KurqnF7hqO4y/7Jx/6sqkdKTIOEhPT181xjacrj/Lu4t5Sb
oGlyfWdpa83Myo6htDc4OVRcZWFrd7HI3t34/tPS0XBwcazC0sHY8WBdW/7+/sXd9tbw/yH5BAAA
AAAALAAAAAAQABAAAAWT4CeOZCl6aKqq57pRj1NBgNeqUqVVnILYnxSD4XkUUASKBJiySAATQGHj
IdoKCwIBkhgMHIRsuPDJCCYJRWe9ViQmgsyHkBl0DgFDxxA4dAYZBB8SCGt4enx+HQgSIhlskJAZ
NhcUEWsDGAoYdh0RFJQaCA2eCQQJlw0IGkwWFBCZApwQFBYoNwUADxUPUiwmwCMhADs=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_yahoo.gif

R0lGODlhEAAQAJEAAAMDA/8DA////wAAACH5BAAAAAAALAAAAAAQABAAAAIqlI+py30BY3AgAiCk
fJDjiIAQlgUkNxqWkqrm0honKk7KhZOzw/f+fygAADs=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_release.jpg

/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/b
AIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwM
DAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwM
DAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgAEAAPAwERAAIRAQMRAf/EAGQAAQEBAAAAAAAAAAAAAAAA
AAUDCQEBAQEBAAAAAAAAAAAAAAAAAAECBBAAAgMAAgIDAQEAAAAAAAAAAQIDBAUSBhEUISITMSMR
AAICAgMAAAAAAAAAAAAAAAAB8BEhUYHBAv/aAAwDAQACEQMRAD8A0h67BRL9WEWNG9HUx8izHahz
maJzNSr8meWPHaMcvuWLWvPz8leX16G3mdmAbYzNGgzexmmO6Z82IWUip+n+1rdqxRhbS41eRnME
g5fDIAWQpIV5mpyMhDr/AGjAgy+io8lO1oUM3rVZb5vYcZoRLRh91l9nxZTxx4SoQXKn/Mq38Py8
87Fh8uh1SeXUikyseENFntTuLf68XZoNSGxLARUVJFDyASn9C8RChnCNyUqcsH//2Q==

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: image/gif
Content-Transfer-Encoding: base64
Content-Location: http://wsunews.wsu.edu/images/site/icon_sendmail.gif

R0lGODlhEAAQAMQAALLC2JSs3KCy1rvJ4a6/1Jey45Cn1I2izI2bsMfT6pq36r/N56m62tdHH8LE
yJ5AJfZePKq3y/P1+tff6tzk85Oit7jE1uvw+KCvxc/Z6ebr9fr7/DVJY////wAAAAAAACH5BAAA
AAAALAAAAAAQABAAAAWNYCeOGmaa2qh2WnSJklala/tu0qVlCC3anZyGMsnwaCWjcjEgCAQGBABA
IEQwFBVOxwFsvhsMZyLCQRoDDgHcqVjG30vjAeBENopCoMLpWxxDGQwcGB0bhjtvEYEJAoQdeQEG
B2+MCwEcFYY5RG8DAAwCAQeZeHqTb32qfRUbE0UJA28rInyrqrS5uiIhADs=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/css/xmain.css

.BoxedOuter {
	BORDER-RIGHT: #f2f2f2 3px solid; BORDER-TOP: #f2f2f2 3px solid; FLOAT: =
right; MARGIN: 3px; BORDER-LEFT: #f2f2f2 3px solid; BORDER-BOTTOM: =
#f2f2f2 3px solid
}
.BoxedInner {
	BORDER-RIGHT: #c0c0c0 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: =
#c0c0c0 1px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; FONT: 9px =
verdana; BORDER-LEFT: #c0c0c0 1px solid; PADDING-TOP: 4px; =
BORDER-BOTTOM: #c0c0c0 1px solid; BACKGROUND-COLOR: #f2f2f2
}
.OuterBox {
	BORDER-RIGHT: #f2f2f2 3px solid; BORDER-TOP: #f2f2f2 3px solid; MARGIN: =
3px; BORDER-LEFT: #f2f2f2 3px solid; BORDER-BOTTOM: #f2f2f2 3px solid
}
.InnerBox {
	BORDER-RIGHT: #c0c0c0 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: =
#c0c0c0 1px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 4px; FONT: 9px =
verdana; BORDER-LEFT: #c0c0c0 1px solid; PADDING-TOP: 4px; =
BORDER-BOTTOM: #c0c0c0 1px solid; BACKGROUND-COLOR: #f2f2f2
}
.collapse {
	OVERFLOW: hidden; HEIGHT: 1px
}
#content #main .homeimg {
	MARGIN-TOP: -15px; MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 0px; =
MARGIN-LEFT: -20px; LINE-HEIGHT: 0px; TEXT-DECORATION: none
}
#content #main #homelinks {
	PADDING-RIGHT: 7px; MARGIN-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: =
0px; MARGIN-LEFT: -20px; PADDING-TOP: 7px; FONT-FAMILY: Arial, =
Helvetica, sans-serif; BACKGROUND-COLOR: #cfd2d5; TEXT-DECORATION: none
}
#content #main #homelinks UL {
	PADDING-RIGHT: 0px; PADDING-LEFT: 20px; PADDING-BOTTOM: 5px; MARGIN: =
0px; PADDING-TOP: 0px; TEXT-DECORATION: none
}
#content #main #homelinks LI {
	PADDING-RIGHT: 15px; PADDING-LEFT: 0px; TEXT-DECORATION: none
}
#main UL {
	MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 0px
}
LI {
	MARGIN-BOTTOM: 0px; PADDING-BOTTOM: 0px
}
.skin0 {
	BORDER-RIGHT: #c0c0c0 1px solid; BORDER-TOP: #c0c0c0 1px solid; =
Z-INDEX: 110; BACKGROUND: url(/images/site/pop_bg.gif) #ffffff repeat-y; =
VISIBILITY: hidden; FONT: 10px/20px verdana; BORDER-LEFT: #c0c0c0 1px =
solid; WIDTH: 100px; CURSOR: default; BORDER-BOTTOM: #c0c0c0 1px solid; =
POSITION: absolute
}
.menuitems {
	PADDING-BOTTOM: 3px; PADDING-TOP: 3px
}
#Help {
	FONT-SIZE: 100%; FONT-FAMILY: arial
}
TD {
	FONT-SIZE: 100%; FONT-FAMILY: arial
}
.PixelBevel {
	PADDING-RIGHT: 5px; BORDER-TOP: #dedcdc 1px solid; PADDING-LEFT: 5px; =
PADDING-BOTTOM: 5px; PADDING-TOP: 5px; BORDER-BOTTOM: #c0c0c0 1px solid; =
BACKGROUND-COLOR: #f2f2f2
}
SPAN A {
	outline: none
}
.Hoverly {
	BORDER-RIGHT: #f2f2f2 1px solid; BORDER-TOP: #f2f2f2 1px solid; =
BORDER-LEFT: #f2f2f2 1px solid; BORDER-BOTTOM: #f2f2f2 1px solid
}
.Hoverly:hover {
	BORDER-RIGHT: #afaf80 1px solid; BORDER-TOP: #afaf80 1px solid; =
BORDER-LEFT: #afaf80 1px solid; BORDER-BOTTOM: #afaf80 1px solid; =
BACKGROUND-COLOR: #ffffe1
}
.l15 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.l30 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 30px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.l45 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 45px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.l60 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 60px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.l75 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 75px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
.l15i {
	PADDING-RIGHT: 0px; PADDING-LEFT: 15px; PADDING-BOTTOM: 0px; COLOR: =
#c0c0c0; PADDING-TOP: 0px; FONT-STYLE: italic
}
.l30i {
	PADDING-RIGHT: 0px; PADDING-LEFT: 30px; PADDING-BOTTOM: 0px; COLOR: =
#c0c0c0; PADDING-TOP: 0px; FONT-STYLE: italic
}
.l45i {
	PADDING-RIGHT: 0px; PADDING-LEFT: 45px; PADDING-BOTTOM: 0px; COLOR: =
#c0c0c0; PADDING-TOP: 0px; FONT-STYLE: italic
}
.l60i {
	PADDING-RIGHT: 0px; PADDING-LEFT: 60px; PADDING-BOTTOM: 0px; COLOR: =
#c0c0c0; PADDING-TOP: 0px; FONT-STYLE: italic
}
.l75i {
	PADDING-RIGHT: 0px; PADDING-LEFT: 75px; PADDING-BOTTOM: 0px; COLOR: =
#c0c0c0; PADDING-TOP: 0px; FONT-STYLE: italic
}
.cm {
	PADDING-BOTTOM: 3px; PADDING-TOP: 3px
}
.toggle {
	DISPLAY: none
}
#localfooter {
	CLEAR: none
}
#secondary {
	RIGHT: 10px; FLOAT: right; POSITION: relative
}
.blurb1 {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; PADDING-BOTTOM: =
10px; WIDTH: 226px; PADDING-TOP: 10px; POSITION: relative
}
.blurb2 {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; FLOAT: left; PADDING-BOTTOM: =
10px; WIDTH: 490px; PADDING-TOP: 10px; POSITION: relative
}
.blurb3 {
	PADDING-RIGHT: 2px; PADDING-LEFT: 2px; FLOAT: left; PADDING-BOTTOM: =
2px; WIDTH: 740px; PADDING-TOP: 2px; POSITION: relative
}
.blurb0 {
	WIDTH: 380px; HEIGHT: 1px
}
.n_w {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; MARGIN-BOTTOM: 5px; =
PADDING-BOTTOM: 10px; PADDING-TOP: 10px
}
.n_g {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; MARGIN-BOTTOM: 5px; =
PADDING-BOTTOM: 10px; PADDING-TOP: 10px; BACKGROUND-COLOR: #f2f2f2
}
.n_i {
	FLOAT: right; POSITION: relative; TOP: 6px
}
.n_d {
	FLOAT: left; POSITION: relative; TOP: 6px
}
.n_pdf {
	Z-INDEX: 200; RIGHT: 55px; POSITION: absolute
}
.n_em {
	FONT-SIZE: 9px
}
.n_t {
	MARGIN-RIGHT: 50px
}
.small_font {
	FONT-SIZE: small
}
.medium_font {
	FONT-SIZE: medium
}
.large_font {
	FONT-SIZE: large
}
.x_large_font {
	FONT-SIZE: x-large
}
.xx_large_font {
	FONT-SIZE: xx-large
}
.font_sizer A {
	COLOR: black; TEXT-DECORATION: none
}

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://www.wsu.edu/navigatewsu/gen2/print.css

BODY {
	FONT-SIZE: 12pt; FLOAT: none; BACKGROUND-IMAGE: none; MARGIN: 0em; =
WIDTH: 100%
}
#siteID H2 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 200px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 16px
}
#siteID H1 {
	PADDING-RIGHT: 0px; PADDING-LEFT: 200px; PADDING-BOTTOM: 0px; =
PADDING-TOP: 0px
}
#main {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#secondary {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#additional {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#content {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#nav {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#localfooter {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#wsufooter {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#idwrapper {
	CLEAR: both; PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: none; =
BACKGROUND-IMAGE: none; PADDING-BOTTOM: 1em; OVERFLOW: visible; WIDTH: =
100%; PADDING-TOP: 0px
}
#secondary {
	BORDER-TOP: #000 1px solid; PADDING-TOP: 10px
}
#additonal {
	BORDER-TOP: #000 1px solid; PADDING-TOP: 10px
}
#nav {
	DISPLAY: none
}
#toolbar {
	DISPLAY: none
}
#idwrapper #siteID {
	BACKGROUND-IMAGE: none; COLOR: black; BORDER-TOP-STYLE: none; =
BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; BACKGROUND-COLOR: =
#ffffff; BORDER-BOTTOM-STYLE: none
}
#content {
	PADDING-RIGHT: 0em; PADDING-LEFT: 0em; PADDING-BOTTOM: 0em; MARGIN: =
0em; BORDER-TOP-STYLE: none; PADDING-TOP: 0em; BORDER-RIGHT-STYLE: none; =
BORDER-LEFT-STYLE: none; BORDER-BOTTOM-STYLE: none
}
#logo {
	PADDING-RIGHT: 0em; PADDING-LEFT: 0em; LEFT: 0em; FLOAT: left; =
BACKGROUND-IMAGE: none! important; PADDING-BOTTOM: 0em; MARGIN: 0em; =
WIDTH: 50px; BORDER-TOP-STYLE: none; PADDING-TOP: 0em; =
BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: none; TOP: 0em; HEIGHT: =
50px; BORDER-BOTTOM-STYLE: none
}
#toolbar {
	DISPLAY: none
}
#globalnav {
	DISPLAY: none
}
#main {
	MARGIN-TOP: 0px; PADDING-TOP: 10px
}
#content {
	MARGIN-TOP: 0px; PADDING-TOP: 10px
}
#localfooter {
	BACKGROUND-COLOR: transparent
}
#wsufooter {
	BORDER-TOP: #000 1px solid; DISPLAY: block; PADDING-TOP: 10px
}

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/css/calendar-system.css

.calendar {
	BORDER-RIGHT: #000 1px solid; BORDER-TOP: #fff 1px solid; DISPLAY: =
none; FONT-SIZE: 11px; BACKGROUND: window; BORDER-LEFT: #fff 1px solid; =
CURSOR: default; COLOR: windowtext; BORDER-BOTTOM: #000 1px solid; =
FONT-FAMILY: tahoma,verdana,sans-serif; POSITION: relative
}
.calendar TABLE {
	BORDER-RIGHT: #000 1px solid; BORDER-TOP: #fff 1px solid; FONT-SIZE: =
11px; BACKGROUND: window; BORDER-LEFT: #fff 1px solid; CURSOR: default; =
COLOR: windowtext; BORDER-BOTTOM: #000 1px solid; FONT-FAMILY: =
tahoma,verdana,sans-serif
}
.calendar .button {
	BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: =
buttonhighlight 1px solid; PADDING-LEFT: 1px; BACKGROUND: buttonface; =
PADDING-BOTTOM: 1px; BORDER-LEFT: buttonhighlight 1px solid; =
PADDING-TOP: 1px; BORDER-BOTTOM: buttonshadow 1px solid; TEXT-ALIGN: =
center
}
.calendar .nav {
	BACKGROUND: url(menuarrow.gif) buttonface no-repeat 100% 100%
}
.calendar THEAD .title {
	BORDER-RIGHT: #000 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #000 1px =
solid; PADDING-LEFT: 1px; FONT-WEIGHT: bold; BACKGROUND: activecaption; =
PADDING-BOTTOM: 1px; BORDER-LEFT: #000 1px solid; COLOR: captiontext; =
PADDING-TOP: 1px; BORDER-BOTTOM: #000 1px solid; TEXT-ALIGN: center
}
.calendar THEAD .headrow {
=09
}
.calendar THEAD .daynames {
=09
}
.calendar THEAD .name {
	PADDING-RIGHT: 2px; PADDING-LEFT: 2px; BACKGROUND: buttonface; =
PADDING-BOTTOM: 2px; COLOR: buttontext; PADDING-TOP: 2px; BORDER-BOTTOM: =
buttonshadow 1px solid; TEXT-ALIGN: center
}
.calendar THEAD .weekend {
	COLOR: #f00
}
.calendar THEAD .hilite {
	BORDER-RIGHT: buttonshadow 2px solid; PADDING-RIGHT: 0px; BORDER-TOP: =
buttonhighlight 2px solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; =
BORDER-LEFT: buttonhighlight 2px solid; PADDING-TOP: 0px; BORDER-BOTTOM: =
buttonshadow 2px solid
}
.calendar THEAD .active {
	BORDER-TOP-WIDTH: 1px; PADDING-RIGHT: 0px; PADDING-LEFT: 2px; =
BORDER-LEFT-WIDTH: 1px; BORDER-LEFT-COLOR: buttonshadow; =
BORDER-BOTTOM-WIDTH: 1px; BORDER-BOTTOM-COLOR: buttonhighlight; =
PADDING-BOTTOM: 0px; BORDER-TOP-COLOR: buttonshadow; PADDING-TOP: 2px; =
BORDER-RIGHT-WIDTH: 1px; BORDER-RIGHT-COLOR: buttonhighlight
}
.calendar TBODY .day {
	PADDING-RIGHT: 4px; PADDING-LEFT: 2px; PADDING-BOTTOM: 2px; WIDTH: 2em; =
PADDING-TOP: 2px; TEXT-ALIGN: right
}
.calendar TBODY .othermonth.day {
	FONT-SIZE: 80%; COLOR: #aaa
}
.calendar TBODY .oweekend.othermonth.day {
	COLOR: #faa
}
.calendar TABLE .wn {
	BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 3px; PADDING-LEFT: =
2px; BACKGROUND: buttonface; PADDING-BOTTOM: 2px; COLOR: buttontext; =
PADDING-TOP: 2px
}
.calendar TBODY .rowhilite TD {
	BACKGROUND: highlight; COLOR: highlighttext
}
.calendar TBODY TD.hilite {
	BORDER-RIGHT: #000 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #fff 1px =
solid; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; BORDER-LEFT: #fff 1px =
solid; PADDING-TOP: 1px; BORDER-BOTTOM: #000 1px solid
}
.calendar TBODY TD.active {
	BORDER-RIGHT: buttonhighlight 1px solid; PADDING-RIGHT: 2px; =
BORDER-TOP: buttonshadow 1px solid; PADDING-LEFT: 2px; PADDING-BOTTOM: =
0px; BORDER-LEFT: buttonshadow 1px solid; PADDING-TOP: 2px; =
BORDER-BOTTOM: buttonhighlight 1px solid
}
.calendar TBODY TD.selected {
	BORDER-RIGHT: buttonhighlight 1px solid; PADDING-RIGHT: 2px; =
BORDER-TOP: buttonshadow 1px solid; PADDING-LEFT: 2px; FONT-WEIGHT: =
bold; BACKGROUND: buttonface; PADDING-BOTTOM: 0px; BORDER-LEFT: =
buttonshadow 1px solid; COLOR: buttontext; PADDING-TOP: 2px; =
BORDER-BOTTOM: buttonhighlight 1px solid
}
.calendar TBODY TD.weekend {
	COLOR: #f00
}
.calendar TBODY TD.today {
	FONT-WEIGHT: bold; COLOR: #00f
}
.calendar TBODY TD.disabled {
	COLOR: graytext
}
.calendar TBODY .emptycell {
	VISIBILITY: hidden
}
.calendar TBODY .emptyrow {
	DISPLAY: none
}
.calendar TFOOT .footrow {
=09
}
.calendar TFOOT .ttip {
	BORDER-RIGHT: buttonhighlight 1px solid; PADDING-RIGHT: 1px; =
BORDER-TOP: buttonshadow 1px solid; PADDING-LEFT: 1px; BACKGROUND: =
buttonface; PADDING-BOTTOM: 1px; BORDER-LEFT: buttonshadow 1px solid; =
COLOR: buttontext; PADDING-TOP: 1px; BORDER-BOTTOM: buttonhighlight 1px =
solid; TEXT-ALIGN: center
}
.calendar TFOOT .hilite {
	BORDER-RIGHT: #000 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: #fff 1px =
solid; PADDING-LEFT: 1px; BACKGROUND: #e4e0d8; PADDING-BOTTOM: 1px; =
BORDER-LEFT: #fff 1px solid; PADDING-TOP: 1px; BORDER-BOTTOM: #000 1px =
solid
}
.calendar TFOOT .active {
	BORDER-RIGHT: #fff 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #000 1px =
solid; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px; BORDER-LEFT: #000 1px =
solid; PADDING-TOP: 2px; BORDER-BOTTOM: #fff 1px solid
}
.calendar .combo {
	BORDER-RIGHT: buttonshadow 1px solid; PADDING-RIGHT: 1px; BORDER-TOP: =
buttonhighlight 1px solid; DISPLAY: none; PADDING-LEFT: 1px; FONT-SIZE: =
90%; Z-INDEX: 100; BACKGROUND: menu; LEFT: 0px; PADDING-BOTTOM: 1px; =
BORDER-LEFT: buttonhighlight 1px solid; WIDTH: 4em; CURSOR: default; =
COLOR: menutext; PADDING-TOP: 1px; BORDER-BOTTOM: buttonshadow 1px =
solid; POSITION: absolute; TOP: 0px
}
.calendar .combo .label {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; =
PADDING-TOP: 1px; TEXT-ALIGN: center
}
.calendar .combo .label-IEfix {
	PADDING-RIGHT: 1px; PADDING-LEFT: 1px; PADDING-BOTTOM: 1px; =
PADDING-TOP: 1px; TEXT-ALIGN: center
}
.calendar .combo .label-IEfix {
	WIDTH: 4em
}
.calendar .combo .active {
	BORDER-RIGHT: #000 1px solid; PADDING-RIGHT: 0px; BORDER-TOP: #000 1px =
solid; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: #000 1px =
solid; PADDING-TOP: 0px; BORDER-BOTTOM: #000 1px solid
}
.calendar .combo .hilite {
	BACKGROUND: highlight; COLOR: highlighttext
}
.calendar TD.time {
	PADDING-RIGHT: 0px; BORDER-TOP: buttonshadow 1px solid; PADDING-LEFT: =
0px; PADDING-BOTTOM: 1px; PADDING-TOP: 1px; BACKGROUND-COLOR: =
buttonface; TEXT-ALIGN: center
}
.calendar TD.time .hour {
	BORDER-RIGHT: #889 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #889 1px =
solid; PADDING-LEFT: 4px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; =
BORDER-LEFT: #889 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #889 1px =
solid; BACKGROUND-COLOR: menu
}
.calendar TD.time .minute {
	BORDER-RIGHT: #889 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #889 1px =
solid; PADDING-LEFT: 4px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; =
BORDER-LEFT: #889 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #889 1px =
solid; BACKGROUND-COLOR: menu
}
.calendar TD.time .ampm {
	BORDER-RIGHT: #889 1px solid; PADDING-RIGHT: 3px; BORDER-TOP: #889 1px =
solid; PADDING-LEFT: 4px; FONT-WEIGHT: bold; PADDING-BOTTOM: 0px; =
BORDER-LEFT: #889 1px solid; PADDING-TOP: 0px; BORDER-BOTTOM: #889 1px =
solid; BACKGROUND-COLOR: menu
}
.calendar TD.time .ampm {
	TEXT-ALIGN: center
}
.calendar TD.time .colon {
	PADDING-RIGHT: 2px; PADDING-LEFT: 3px; FONT-WEIGHT: bold; =
PADDING-BOTTOM: 0px; PADDING-TOP: 0px
}
.calendar TD.time SPAN.hilite {
	BORDER-LEFT-COLOR: #000; BORDER-BOTTOM-COLOR: #000; COLOR: =
highlighttext; BORDER-TOP-COLOR: #000; BACKGROUND-COLOR: highlight; =
BORDER-RIGHT-COLOR: #000
}
.calendar TD.time SPAN.active {
	BORDER-LEFT-COLOR: #f00; BORDER-BOTTOM-COLOR: #f00; COLOR: #0f0; =
BORDER-TOP-COLOR: #f00; BACKGROUND-COLOR: #000; BORDER-RIGHT-COLOR: #f00
}

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: text/css;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/lightbox/css/lightbox.css

#lightbox {
	Z-INDEX: 100; LEFT: 0px; WIDTH: 100%; LINE-HEIGHT: 0; POSITION: =
absolute; TEXT-ALIGN: center
}
#lightbox A IMG {
	BORDER-TOP-STYLE: none; BORDER-RIGHT-STYLE: none; BORDER-LEFT-STYLE: =
none; BORDER-BOTTOM-STYLE: none
}
#outerImageContainer {
	MARGIN: 0px auto; WIDTH: 250px; POSITION: relative; HEIGHT: 250px; =
BACKGROUND-COLOR: #fff
}
#imageContainer {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
PADDING-TOP: 10px
}
#loading {
	LEFT: 0%; WIDTH: 100%; LINE-HEIGHT: 0; POSITION: absolute; TOP: 40%; =
HEIGHT: 25%; TEXT-ALIGN: center
}
#hoverNav {
	Z-INDEX: 10; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; =
HEIGHT: 100%
}
#imageContainer > #hoverNav {
	LEFT: 0px
}
#hoverNav A {
	outline: none
}
#prevLink {
	DISPLAY: block; BACKGROUND: url(/includes/Lightbox/images/blank.gif) =
no-repeat; WIDTH: 49%; HEIGHT: 100%
}
#nextLink {
	DISPLAY: block; BACKGROUND: url(/includes/Lightbox/images/blank.gif) =
no-repeat; WIDTH: 49%; HEIGHT: 100%
}
#prevLink {
	LEFT: 0px; FLOAT: left
}
#nextLink {
	RIGHT: 0px; FLOAT: right
}
#prevLink:hover {
	BACKGROUND: url(/includes/Lightbox/images/prevlabel.gif) no-repeat left =
15%
}
#prevLink:hover:visited {
	BACKGROUND: url(/includes/Lightbox/images/prevlabel.gif) no-repeat left =
15%
}
#nextLink:hover {
	BACKGROUND: url(/includes/Lightbox/images/nextlabel.gif) no-repeat =
right 15%
}
#nextLink:hover:visited {
	BACKGROUND: url(/includes/Lightbox/images/nextlabel.gif) no-repeat =
right 15%
}
#imageDataContainer {
	MARGIN: 0px auto; FONT: 10px/1.4em Verdana, Helvetica, sans-serif; =
BACKGROUND-COLOR: #fff
}
#imageData {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 0px; COLOR: =
#666; PADDING-TOP: 0px
}
#imageData #imageDetails {
	FLOAT: left; WIDTH: 70%; TEXT-ALIGN: left
}
#imageData #caption {
	FONT-WEIGHT: bold
}
#imageData #numberDisplay {
	CLEAR: left; DISPLAY: block; PADDING-BOTTOM: 1em
}
#imageData #bottomNavClose {
	FLOAT: right; PADDING-BOTTOM: 0.7em; WIDTH: 66px
}
#overlay {
	Z-INDEX: 90; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px; =
HEIGHT: 500px; BACKGROUND-COLOR: #000
}
.lbWidth {
	MIN-WIDTH: 790px; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 0px
}
* HTML .lbContent {
	MARGIN-LEFT: -790px; POSITION: relative
}
* HTML .lbMinWidth {
	PADDING-LEFT: 790px
}
.clearfix:unknown {
	CLEAR: both; DISPLAY: block; VISIBILITY: hidden; HEIGHT: 0px; content: =
"."
}
.clearfix {
	DISPLAY: inline-block
}
* HTML .clearfix {
	HEIGHT: 1%
}
.clearfix {
	DISPLAY: block
}

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/Lightbox/js/prototype.js

/*  Prototype JavaScript framework, version 1.6.0.1=0A=
 *  (c) 2005-2007 Sam Stephenson=0A=
 *=0A=
 *  Prototype is freely distributable under the terms of an MIT-style =
license.=0A=
 *  For details, see the Prototype web site: http://www.prototypejs.org/=0A=
 *=0A=
 =
*------------------------------------------------------------------------=
--*/=0A=
=0A=
var Prototype =3D {=0A=
  Version: '1.6.0.1',=0A=
=0A=
  Browser: {=0A=
    IE:     !!(window.attachEvent && !window.opera),=0A=
    Opera:  !!window.opera,=0A=
    WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,=0A=
    Gecko:  navigator.userAgent.indexOf('Gecko') > -1 && =
navigator.userAgent.indexOf('KHTML') =3D=3D -1,=0A=
    MobileSafari: !!navigator.userAgent.match(/Apple.*Mobile.*Safari/)=0A=
  },=0A=
=0A=
  BrowserFeatures: {=0A=
    XPath: !!document.evaluate,=0A=
    ElementExtensions: !!window.HTMLElement,=0A=
    SpecificElementExtensions:=0A=
      document.createElement('div').__proto__ &&=0A=
      document.createElement('div').__proto__ !=3D=3D=0A=
        document.createElement('form').__proto__=0A=
  },=0A=
=0A=
  ScriptFragment: '<script[^>]*>([\\S\\s]*?)<\/script>',=0A=
  JSONFilter: /^\/\*-secure-([\s\S]*)\*\/\s*$/,=0A=
=0A=
  emptyFunction: function() { },=0A=
  K: function(x) { return x }=0A=
};=0A=
=0A=
if (Prototype.Browser.MobileSafari)=0A=
  Prototype.BrowserFeatures.SpecificElementExtensions =3D false;=0A=
=0A=
=0A=
/* Based on Alex Arnell's inheritance implementation. */=0A=
var Class =3D {=0A=
  create: function() {=0A=
    var parent =3D null, properties =3D $A(arguments);=0A=
    if (Object.isFunction(properties[0]))=0A=
      parent =3D properties.shift();=0A=
=0A=
    function klass() {=0A=
      this.initialize.apply(this, arguments);=0A=
    }=0A=
=0A=
    Object.extend(klass, Class.Methods);=0A=
    klass.superclass =3D parent;=0A=
    klass.subclasses =3D [];=0A=
=0A=
    if (parent) {=0A=
      var subclass =3D function() { };=0A=
      subclass.prototype =3D parent.prototype;=0A=
      klass.prototype =3D new subclass;=0A=
      parent.subclasses.push(klass);=0A=
    }=0A=
=0A=
    for (var i =3D 0; i < properties.length; i++)=0A=
      klass.addMethods(properties[i]);=0A=
=0A=
    if (!klass.prototype.initialize)=0A=
      klass.prototype.initialize =3D Prototype.emptyFunction;=0A=
=0A=
    klass.prototype.constructor =3D klass;=0A=
=0A=
    return klass;=0A=
  }=0A=
};=0A=
=0A=
Class.Methods =3D {=0A=
  addMethods: function(source) {=0A=
    var ancestor   =3D this.superclass && this.superclass.prototype;=0A=
    var properties =3D Object.keys(source);=0A=
=0A=
    if (!Object.keys({ toString: true }).length)=0A=
      properties.push("toString", "valueOf");=0A=
=0A=
    for (var i =3D 0, length =3D properties.length; i < length; i++) {=0A=
      var property =3D properties[i], value =3D source[property];=0A=
      if (ancestor && Object.isFunction(value) &&=0A=
          value.argumentNames().first() =3D=3D "$super") {=0A=
        var method =3D value, value =3D Object.extend((function(m) {=0A=
          return function() { return ancestor[m].apply(this, arguments) =
};=0A=
        })(property).wrap(method), {=0A=
          valueOf:  function() { return method },=0A=
          toString: function() { return method.toString() }=0A=
        });=0A=
      }=0A=
      this.prototype[property] =3D value;=0A=
    }=0A=
=0A=
    return this;=0A=
  }=0A=
};=0A=
=0A=
var Abstract =3D { };=0A=
=0A=
Object.extend =3D function(destination, source) {=0A=
  for (var property in source)=0A=
    destination[property] =3D source[property];=0A=
  return destination;=0A=
};=0A=
=0A=
Object.extend(Object, {=0A=
  inspect: function(object) {=0A=
    try {=0A=
      if (Object.isUndefined(object)) return 'undefined';=0A=
      if (object =3D=3D=3D null) return 'null';=0A=
      return object.inspect ? object.inspect() : object.toString();=0A=
    } catch (e) {=0A=
      if (e instanceof RangeError) return '...';=0A=
      throw e;=0A=
    }=0A=
  },=0A=
=0A=
  toJSON: function(object) {=0A=
    var type =3D typeof object;=0A=
    switch (type) {=0A=
      case 'undefined':=0A=
      case 'function':=0A=
      case 'unknown': return;=0A=
      case 'boolean': return object.toString();=0A=
    }=0A=
=0A=
    if (object =3D=3D=3D null) return 'null';=0A=
    if (object.toJSON) return object.toJSON();=0A=
    if (Object.isElement(object)) return;=0A=
=0A=
    var results =3D [];=0A=
    for (var property in object) {=0A=
      var value =3D Object.toJSON(object[property]);=0A=
      if (!Object.isUndefined(value))=0A=
        results.push(property.toJSON() + ': ' + value);=0A=
    }=0A=
=0A=
    return '{' + results.join(', ') + '}';=0A=
  },=0A=
=0A=
  toQueryString: function(object) {=0A=
    return $H(object).toQueryString();=0A=
  },=0A=
=0A=
  toHTML: function(object) {=0A=
    return object && object.toHTML ? object.toHTML() : =
String.interpret(object);=0A=
  },=0A=
=0A=
  keys: function(object) {=0A=
    var keys =3D [];=0A=
    for (var property in object)=0A=
      keys.push(property);=0A=
    return keys;=0A=
  },=0A=
=0A=
  values: function(object) {=0A=
    var values =3D [];=0A=
    for (var property in object)=0A=
      values.push(object[property]);=0A=
    return values;=0A=
  },=0A=
=0A=
  clone: function(object) {=0A=
    return Object.extend({ }, object);=0A=
  },=0A=
=0A=
  isElement: function(object) {=0A=
    return object && object.nodeType =3D=3D 1;=0A=
  },=0A=
=0A=
  isArray: function(object) {=0A=
    return object && object.constructor =3D=3D=3D Array;=0A=
  },=0A=
=0A=
  isHash: function(object) {=0A=
    return object instanceof Hash;=0A=
  },=0A=
=0A=
  isFunction: function(object) {=0A=
    return typeof object =3D=3D "function";=0A=
  },=0A=
=0A=
  isString: function(object) {=0A=
    return typeof object =3D=3D "string";=0A=
  },=0A=
=0A=
  isNumber: function(object) {=0A=
    return typeof object =3D=3D "number";=0A=
  },=0A=
=0A=
  isUndefined: function(object) {=0A=
    return typeof object =3D=3D "undefined";=0A=
  }=0A=
});=0A=
=0A=
Object.extend(Function.prototype, {=0A=
  argumentNames: function() {=0A=
    var names =3D =
this.toString().match(/^[\s\(]*function[^(]*\((.*?)\)/)[1].split(",").inv=
oke("strip");=0A=
    return names.length =3D=3D 1 && !names[0] ? [] : names;=0A=
  },=0A=
=0A=
  bind: function() {=0A=
    if (arguments.length < 2 && Object.isUndefined(arguments[0])) return =
this;=0A=
    var __method =3D this, args =3D $A(arguments), object =3D =
args.shift();=0A=
    return function() {=0A=
      return __method.apply(object, args.concat($A(arguments)));=0A=
    }=0A=
  },=0A=
=0A=
  bindAsEventListener: function() {=0A=
    var __method =3D this, args =3D $A(arguments), object =3D =
args.shift();=0A=
    return function(event) {=0A=
      return __method.apply(object, [event || =
window.event].concat(args));=0A=
    }=0A=
  },=0A=
=0A=
  curry: function() {=0A=
    if (!arguments.length) return this;=0A=
    var __method =3D this, args =3D $A(arguments);=0A=
    return function() {=0A=
      return __method.apply(this, args.concat($A(arguments)));=0A=
    }=0A=
  },=0A=
=0A=
  delay: function() {=0A=
    var __method =3D this, args =3D $A(arguments), timeout =3D =
args.shift() * 1000;=0A=
    return window.setTimeout(function() {=0A=
      return __method.apply(__method, args);=0A=
    }, timeout);=0A=
  },=0A=
=0A=
  wrap: function(wrapper) {=0A=
    var __method =3D this;=0A=
    return function() {=0A=
      return wrapper.apply(this, =
[__method.bind(this)].concat($A(arguments)));=0A=
    }=0A=
  },=0A=
=0A=
  methodize: function() {=0A=
    if (this._methodized) return this._methodized;=0A=
    var __method =3D this;=0A=
    return this._methodized =3D function() {=0A=
      return __method.apply(null, [this].concat($A(arguments)));=0A=
    };=0A=
  }=0A=
});=0A=
=0A=
Function.prototype.defer =3D Function.prototype.delay.curry(0.01);=0A=
=0A=
Date.prototype.toJSON =3D function() {=0A=
  return '"' + this.getUTCFullYear() + '-' +=0A=
    (this.getUTCMonth() + 1).toPaddedString(2) + '-' +=0A=
    this.getUTCDate().toPaddedString(2) + 'T' +=0A=
    this.getUTCHours().toPaddedString(2) + ':' +=0A=
    this.getUTCMinutes().toPaddedString(2) + ':' +=0A=
    this.getUTCSeconds().toPaddedString(2) + 'Z"';=0A=
};=0A=
=0A=
var Try =3D {=0A=
  these: function() {=0A=
    var returnValue;=0A=
=0A=
    for (var i =3D 0, length =3D arguments.length; i < length; i++) {=0A=
      var lambda =3D arguments[i];=0A=
      try {=0A=
        returnValue =3D lambda();=0A=
        break;=0A=
      } catch (e) { }=0A=
    }=0A=
=0A=
    return returnValue;=0A=
  }=0A=
};=0A=
=0A=
RegExp.prototype.match =3D RegExp.prototype.test;=0A=
=0A=
RegExp.escape =3D function(str) {=0A=
  return String(str).replace(/([.*+?^=3D!:${}()|[\]\/\\])/g, '\\$1');=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
var PeriodicalExecuter =3D Class.create({=0A=
  initialize: function(callback, frequency) {=0A=
    this.callback =3D callback;=0A=
    this.frequency =3D frequency;=0A=
    this.currentlyExecuting =3D false;=0A=
=0A=
    this.registerCallback();=0A=
  },=0A=
=0A=
  registerCallback: function() {=0A=
    this.timer =3D setInterval(this.onTimerEvent.bind(this), =
this.frequency * 1000);=0A=
  },=0A=
=0A=
  execute: function() {=0A=
    this.callback(this);=0A=
  },=0A=
=0A=
  stop: function() {=0A=
    if (!this.timer) return;=0A=
    clearInterval(this.timer);=0A=
    this.timer =3D null;=0A=
  },=0A=
=0A=
  onTimerEvent: function() {=0A=
    if (!this.currentlyExecuting) {=0A=
      try {=0A=
        this.currentlyExecuting =3D true;=0A=
        this.execute();=0A=
      } finally {=0A=
        this.currentlyExecuting =3D false;=0A=
      }=0A=
    }=0A=
  }=0A=
});=0A=
Object.extend(String, {=0A=
  interpret: function(value) {=0A=
    return value =3D=3D null ? '' : String(value);=0A=
  },=0A=
  specialChar: {=0A=
    '\b': '\\b',=0A=
    '\t': '\\t',=0A=
    '\n': '\\n',=0A=
    '\f': '\\f',=0A=
    '\r': '\\r',=0A=
    '\\': '\\\\'=0A=
  }=0A=
});=0A=
=0A=
Object.extend(String.prototype, {=0A=
  gsub: function(pattern, replacement) {=0A=
    var result =3D '', source =3D this, match;=0A=
    replacement =3D arguments.callee.prepareReplacement(replacement);=0A=
=0A=
    while (source.length > 0) {=0A=
      if (match =3D source.match(pattern)) {=0A=
        result +=3D source.slice(0, match.index);=0A=
        result +=3D String.interpret(replacement(match));=0A=
        source  =3D source.slice(match.index + match[0].length);=0A=
      } else {=0A=
        result +=3D source, source =3D '';=0A=
      }=0A=
    }=0A=
    return result;=0A=
  },=0A=
=0A=
  sub: function(pattern, replacement, count) {=0A=
    replacement =3D this.gsub.prepareReplacement(replacement);=0A=
    count =3D Object.isUndefined(count) ? 1 : count;=0A=
=0A=
    return this.gsub(pattern, function(match) {=0A=
      if (--count < 0) return match[0];=0A=
      return replacement(match);=0A=
    });=0A=
  },=0A=
=0A=
  scan: function(pattern, iterator) {=0A=
    this.gsub(pattern, iterator);=0A=
    return String(this);=0A=
  },=0A=
=0A=
  truncate: function(length, truncation) {=0A=
    length =3D length || 30;=0A=
    truncation =3D Object.isUndefined(truncation) ? '...' : truncation;=0A=
    return this.length > length ?=0A=
      this.slice(0, length - truncation.length) + truncation : =
String(this);=0A=
  },=0A=
=0A=
  strip: function() {=0A=
    return this.replace(/^\s+/, '').replace(/\s+$/, '');=0A=
  },=0A=
=0A=
  stripTags: function() {=0A=
    return this.replace(/<\/?[^>]+>/gi, '');=0A=
  },=0A=
=0A=
  stripScripts: function() {=0A=
    return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');=0A=
  },=0A=
=0A=
  extractScripts: function() {=0A=
    var matchAll =3D new RegExp(Prototype.ScriptFragment, 'img');=0A=
    var matchOne =3D new RegExp(Prototype.ScriptFragment, 'im');=0A=
    return (this.match(matchAll) || []).map(function(scriptTag) {=0A=
      return (scriptTag.match(matchOne) || ['', ''])[1];=0A=
    });=0A=
  },=0A=
=0A=
  evalScripts: function() {=0A=
    return this.extractScripts().map(function(script) { return =
eval(script) });=0A=
  },=0A=
=0A=
  escapeHTML: function() {=0A=
    var self =3D arguments.callee;=0A=
    self.text.data =3D this;=0A=
    return self.div.innerHTML;=0A=
  },=0A=
=0A=
  unescapeHTML: function() {=0A=
    var div =3D new Element('div');=0A=
    div.innerHTML =3D this.stripTags();=0A=
    return div.childNodes[0] ? (div.childNodes.length > 1 ?=0A=
      $A(div.childNodes).inject('', function(memo, node) { return =
memo+node.nodeValue }) :=0A=
      div.childNodes[0].nodeValue) : '';=0A=
  },=0A=
=0A=
  toQueryParams: function(separator) {=0A=
    var match =3D this.strip().match(/([^?#]*)(#.*)?$/);=0A=
    if (!match) return { };=0A=
=0A=
    return match[1].split(separator || '&').inject({ }, function(hash, =
pair) {=0A=
      if ((pair =3D pair.split('=3D'))[0]) {=0A=
        var key =3D decodeURIComponent(pair.shift());=0A=
        var value =3D pair.length > 1 ? pair.join('=3D') : pair[0];=0A=
        if (value !=3D undefined) value =3D decodeURIComponent(value);=0A=
=0A=
        if (key in hash) {=0A=
          if (!Object.isArray(hash[key])) hash[key] =3D [hash[key]];=0A=
          hash[key].push(value);=0A=
        }=0A=
        else hash[key] =3D value;=0A=
      }=0A=
      return hash;=0A=
    });=0A=
  },=0A=
=0A=
  toArray: function() {=0A=
    return this.split('');=0A=
  },=0A=
=0A=
  succ: function() {=0A=
    return this.slice(0, this.length - 1) +=0A=
      String.fromCharCode(this.charCodeAt(this.length - 1) + 1);=0A=
  },=0A=
=0A=
  times: function(count) {=0A=
    return count < 1 ? '' : new Array(count + 1).join(this);=0A=
  },=0A=
=0A=
  camelize: function() {=0A=
    var parts =3D this.split('-'), len =3D parts.length;=0A=
    if (len =3D=3D 1) return parts[0];=0A=
=0A=
    var camelized =3D this.charAt(0) =3D=3D '-'=0A=
      ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)=0A=
      : parts[0];=0A=
=0A=
    for (var i =3D 1; i < len; i++)=0A=
      camelized +=3D parts[i].charAt(0).toUpperCase() + =
parts[i].substring(1);=0A=
=0A=
    return camelized;=0A=
  },=0A=
=0A=
  capitalize: function() {=0A=
    return this.charAt(0).toUpperCase() + =
this.substring(1).toLowerCase();=0A=
  },=0A=
=0A=
  underscore: function() {=0A=
    return this.gsub(/::/, =
'/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\d])([A-Z])/,'#{=
1}_#{2}').gsub(/-/,'_').toLowerCase();=0A=
  },=0A=
=0A=
  dasherize: function() {=0A=
    return this.gsub(/_/,'-');=0A=
  },=0A=
=0A=
  inspect: function(useDoubleQuotes) {=0A=
    var escapedString =3D this.gsub(/[\x00-\x1f\\]/, function(match) {=0A=
      var character =3D String.specialChar[match[0]];=0A=
      return character ? character : '\\u00' + =
match[0].charCodeAt().toPaddedString(2, 16);=0A=
    });=0A=
    if (useDoubleQuotes) return '"' + escapedString.replace(/"/g, '\\"') =
+ '"';=0A=
    return "'" + escapedString.replace(/'/g, '\\\'') + "'";=0A=
  },=0A=
=0A=
  toJSON: function() {=0A=
    return this.inspect(true);=0A=
  },=0A=
=0A=
  unfilterJSON: function(filter) {=0A=
    return this.sub(filter || Prototype.JSONFilter, '#{1}');=0A=
  },=0A=
=0A=
  isJSON: function() {=0A=
    var str =3D this;=0A=
    if (str.blank()) return false;=0A=
    str =3D this.replace(/\\./g, '@').replace(/"[^"\\\n\r]*"/g, '');=0A=
    return (/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/).test(str);=0A=
  },=0A=
=0A=
  evalJSON: function(sanitize) {=0A=
    var json =3D this.unfilterJSON();=0A=
    try {=0A=
      if (!sanitize || json.isJSON()) return eval('(' + json + ')');=0A=
    } catch (e) { }=0A=
    throw new SyntaxError('Badly formed JSON string: ' + this.inspect());=0A=
  },=0A=
=0A=
  include: function(pattern) {=0A=
    return this.indexOf(pattern) > -1;=0A=
  },=0A=
=0A=
  startsWith: function(pattern) {=0A=
    return this.indexOf(pattern) =3D=3D=3D 0;=0A=
  },=0A=
=0A=
  endsWith: function(pattern) {=0A=
    var d =3D this.length - pattern.length;=0A=
    return d >=3D 0 && this.lastIndexOf(pattern) =3D=3D=3D d;=0A=
  },=0A=
=0A=
  empty: function() {=0A=
    return this =3D=3D '';=0A=
  },=0A=
=0A=
  blank: function() {=0A=
    return /^\s*$/.test(this);=0A=
  },=0A=
=0A=
  interpolate: function(object, pattern) {=0A=
    return new Template(this, pattern).evaluate(object);=0A=
  }=0A=
});=0A=
=0A=
if (Prototype.Browser.WebKit || Prototype.Browser.IE) =
Object.extend(String.prototype, {=0A=
  escapeHTML: function() {=0A=
    return =
this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');=0A=
  },=0A=
  unescapeHTML: function() {=0A=
    return =
this.replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>');=0A=
  }=0A=
});=0A=
=0A=
String.prototype.gsub.prepareReplacement =3D function(replacement) {=0A=
  if (Object.isFunction(replacement)) return replacement;=0A=
  var template =3D new Template(replacement);=0A=
  return function(match) { return template.evaluate(match) };=0A=
};=0A=
=0A=
String.prototype.parseQuery =3D String.prototype.toQueryParams;=0A=
=0A=
Object.extend(String.prototype.escapeHTML, {=0A=
  div:  document.createElement('div'),=0A=
  text: document.createTextNode('')=0A=
});=0A=
=0A=
with (String.prototype.escapeHTML) div.appendChild(text);=0A=
=0A=
var Template =3D Class.create({=0A=
  initialize: function(template, pattern) {=0A=
    this.template =3D template.toString();=0A=
    this.pattern =3D pattern || Template.Pattern;=0A=
  },=0A=
=0A=
  evaluate: function(object) {=0A=
    if (Object.isFunction(object.toTemplateReplacements))=0A=
      object =3D object.toTemplateReplacements();=0A=
=0A=
    return this.template.gsub(this.pattern, function(match) {=0A=
      if (object =3D=3D null) return '';=0A=
=0A=
      var before =3D match[1] || '';=0A=
      if (before =3D=3D '\\') return match[2];=0A=
=0A=
      var ctx =3D object, expr =3D match[3];=0A=
      var pattern =3D /^([^.[]+|\[((?:.*?[^\\])?)\])(\.|\[|$)/;=0A=
      match =3D pattern.exec(expr);=0A=
      if (match =3D=3D null) return before;=0A=
=0A=
      while (match !=3D null) {=0A=
        var comp =3D match[1].startsWith('[') ? match[2].gsub('\\\\]', =
']') : match[1];=0A=
        ctx =3D ctx[comp];=0A=
        if (null =3D=3D ctx || '' =3D=3D match[3]) break;=0A=
        expr =3D expr.substring('[' =3D=3D match[3] ? match[1].length : =
match[0].length);=0A=
        match =3D pattern.exec(expr);=0A=
      }=0A=
=0A=
      return before + String.interpret(ctx);=0A=
    }.bind(this));=0A=
  }=0A=
});=0A=
Template.Pattern =3D /(^|.|\r|\n)(#\{(.*?)\})/;=0A=
=0A=
var $break =3D { };=0A=
=0A=
var Enumerable =3D {=0A=
  each: function(iterator, context) {=0A=
    var index =3D 0;=0A=
    iterator =3D iterator.bind(context);=0A=
    try {=0A=
      this._each(function(value) {=0A=
        iterator(value, index++);=0A=
      });=0A=
    } catch (e) {=0A=
      if (e !=3D $break) throw e;=0A=
    }=0A=
    return this;=0A=
  },=0A=
=0A=
  eachSlice: function(number, iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var index =3D -number, slices =3D [], array =3D this.toArray();=0A=
    while ((index +=3D number) < array.length)=0A=
      slices.push(array.slice(index, index+number));=0A=
    return slices.collect(iterator, context);=0A=
  },=0A=
=0A=
  all: function(iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var result =3D true;=0A=
    this.each(function(value, index) {=0A=
      result =3D result && !!iterator(value, index);=0A=
      if (!result) throw $break;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  any: function(iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var result =3D false;=0A=
    this.each(function(value, index) {=0A=
      if (result =3D !!iterator(value, index))=0A=
        throw $break;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  collect: function(iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var results =3D [];=0A=
    this.each(function(value, index) {=0A=
      results.push(iterator(value, index));=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  detect: function(iterator, context) {=0A=
    iterator =3D iterator.bind(context);=0A=
    var result;=0A=
    this.each(function(value, index) {=0A=
      if (iterator(value, index)) {=0A=
        result =3D value;=0A=
        throw $break;=0A=
      }=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  findAll: function(iterator, context) {=0A=
    iterator =3D iterator.bind(context);=0A=
    var results =3D [];=0A=
    this.each(function(value, index) {=0A=
      if (iterator(value, index))=0A=
        results.push(value);=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  grep: function(filter, iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var results =3D [];=0A=
=0A=
    if (Object.isString(filter))=0A=
      filter =3D new RegExp(filter);=0A=
=0A=
    this.each(function(value, index) {=0A=
      if (filter.match(value))=0A=
        results.push(iterator(value, index));=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  include: function(object) {=0A=
    if (Object.isFunction(this.indexOf))=0A=
      if (this.indexOf(object) !=3D -1) return true;=0A=
=0A=
    var found =3D false;=0A=
    this.each(function(value) {=0A=
      if (value =3D=3D object) {=0A=
        found =3D true;=0A=
        throw $break;=0A=
      }=0A=
    });=0A=
    return found;=0A=
  },=0A=
=0A=
  inGroupsOf: function(number, fillWith) {=0A=
    fillWith =3D Object.isUndefined(fillWith) ? null : fillWith;=0A=
    return this.eachSlice(number, function(slice) {=0A=
      while(slice.length < number) slice.push(fillWith);=0A=
      return slice;=0A=
    });=0A=
  },=0A=
=0A=
  inject: function(memo, iterator, context) {=0A=
    iterator =3D iterator.bind(context);=0A=
    this.each(function(value, index) {=0A=
      memo =3D iterator(memo, value, index);=0A=
    });=0A=
    return memo;=0A=
  },=0A=
=0A=
  invoke: function(method) {=0A=
    var args =3D $A(arguments).slice(1);=0A=
    return this.map(function(value) {=0A=
      return value[method].apply(value, args);=0A=
    });=0A=
  },=0A=
=0A=
  max: function(iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var result;=0A=
    this.each(function(value, index) {=0A=
      value =3D iterator(value, index);=0A=
      if (result =3D=3D null || value >=3D result)=0A=
        result =3D value;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  min: function(iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var result;=0A=
    this.each(function(value, index) {=0A=
      value =3D iterator(value, index);=0A=
      if (result =3D=3D null || value < result)=0A=
        result =3D value;=0A=
    });=0A=
    return result;=0A=
  },=0A=
=0A=
  partition: function(iterator, context) {=0A=
    iterator =3D iterator ? iterator.bind(context) : Prototype.K;=0A=
    var trues =3D [], falses =3D [];=0A=
    this.each(function(value, index) {=0A=
      (iterator(value, index) ?=0A=
        trues : falses).push(value);=0A=
    });=0A=
    return [trues, falses];=0A=
  },=0A=
=0A=
  pluck: function(property) {=0A=
    var results =3D [];=0A=
    this.each(function(value) {=0A=
      results.push(value[property]);=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  reject: function(iterator, context) {=0A=
    iterator =3D iterator.bind(context);=0A=
    var results =3D [];=0A=
    this.each(function(value, index) {=0A=
      if (!iterator(value, index))=0A=
        results.push(value);=0A=
    });=0A=
    return results;=0A=
  },=0A=
=0A=
  sortBy: function(iterator, context) {=0A=
    iterator =3D iterator.bind(context);=0A=
    return this.map(function(value, index) {=0A=
      return {value: value, criteria: iterator(value, index)};=0A=
    }).sort(function(left, right) {=0A=
      var a =3D left.criteria, b =3D right.criteria;=0A=
      return a < b ? -1 : a > b ? 1 : 0;=0A=
    }).pluck('value');=0A=
  },=0A=
=0A=
  toArray: function() {=0A=
    return this.map();=0A=
  },=0A=
=0A=
  zip: function() {=0A=
    var iterator =3D Prototype.K, args =3D $A(arguments);=0A=
    if (Object.isFunction(args.last()))=0A=
      iterator =3D args.pop();=0A=
=0A=
    var collections =3D [this].concat(args).map($A);=0A=
    return this.map(function(value, index) {=0A=
      return iterator(collections.pluck(index));=0A=
    });=0A=
  },=0A=
=0A=
  size: function() {=0A=
    return this.toArray().length;=0A=
  },=0A=
=0A=
  inspect: function() {=0A=
    return '#<Enumerable:' + this.toArray().inspect() + '>';=0A=
  }=0A=
};=0A=
=0A=
Object.extend(Enumerable, {=0A=
  map:     Enumerable.collect,=0A=
  find:    Enumerable.detect,=0A=
  select:  Enumerable.findAll,=0A=
  filter:  Enumerable.findAll,=0A=
  member:  Enumerable.include,=0A=
  entries: Enumerable.toArray,=0A=
  every:   Enumerable.all,=0A=
  some:    Enumerable.any=0A=
});=0A=
function $A(iterable) {=0A=
  if (!iterable) return [];=0A=
  if (iterable.toArray) return iterable.toArray();=0A=
  var length =3D iterable.length || 0, results =3D new Array(length);=0A=
  while (length--) results[length] =3D iterable[length];=0A=
  return results;=0A=
}=0A=
=0A=
if (Prototype.Browser.WebKit) {=0A=
  function $A(iterable) {=0A=
    if (!iterable) return [];=0A=
    if (!(Object.isFunction(iterable) && iterable =3D=3D '[object =
NodeList]') &&=0A=
        iterable.toArray) return iterable.toArray();=0A=
    var length =3D iterable.length || 0, results =3D new Array(length);=0A=
    while (length--) results[length] =3D iterable[length];=0A=
    return results;=0A=
  }=0A=
}=0A=
=0A=
Array.from =3D $A;=0A=
=0A=
Object.extend(Array.prototype, Enumerable);=0A=
=0A=
if (!Array.prototype._reverse) Array.prototype._reverse =3D =
Array.prototype.reverse;=0A=
=0A=
Object.extend(Array.prototype, {=0A=
  _each: function(iterator) {=0A=
    for (var i =3D 0, length =3D this.length; i < length; i++)=0A=
      iterator(this[i]);=0A=
  },=0A=
=0A=
  clear: function() {=0A=
    this.length =3D 0;=0A=
    return this;=0A=
  },=0A=
=0A=
  first: function() {=0A=
    return this[0];=0A=
  },=0A=
=0A=
  last: function() {=0A=
    return this[this.length - 1];=0A=
  },=0A=
=0A=
  compact: function() {=0A=
    return this.select(function(value) {=0A=
      return value !=3D null;=0A=
    });=0A=
  },=0A=
=0A=
  flatten: function() {=0A=
    return this.inject([], function(array, value) {=0A=
      return array.concat(Object.isArray(value) ?=0A=
        value.flatten() : [value]);=0A=
    });=0A=
  },=0A=
=0A=
  without: function() {=0A=
    var values =3D $A(arguments);=0A=
    return this.select(function(value) {=0A=
      return !values.include(value);=0A=
    });=0A=
  },=0A=
=0A=
  reverse: function(inline) {=0A=
    return (inline !=3D=3D false ? this : this.toArray())._reverse();=0A=
  },=0A=
=0A=
  reduce: function() {=0A=
    return this.length > 1 ? this : this[0];=0A=
  },=0A=
=0A=
  uniq: function(sorted) {=0A=
    return this.inject([], function(array, value, index) {=0A=
      if (0 =3D=3D index || (sorted ? array.last() !=3D value : =
!array.include(value)))=0A=
        array.push(value);=0A=
      return array;=0A=
    });=0A=
  },=0A=
=0A=
  intersect: function(array) {=0A=
    return this.uniq().findAll(function(item) {=0A=
      return array.detect(function(value) { return item =3D=3D=3D value =
});=0A=
    });=0A=
  },=0A=
=0A=
  clone: function() {=0A=
    return [].concat(this);=0A=
  },=0A=
=0A=
  size: function() {=0A=
    return this.length;=0A=
  },=0A=
=0A=
  inspect: function() {=0A=
    return '[' + this.map(Object.inspect).join(', ') + ']';=0A=
  },=0A=
=0A=
  toJSON: function() {=0A=
    var results =3D [];=0A=
    this.each(function(object) {=0A=
      var value =3D Object.toJSON(object);=0A=
      if (!Object.isUndefined(value)) results.push(value);=0A=
    });=0A=
    return '[' + results.join(', ') + ']';=0A=
  }=0A=
});=0A=
=0A=
// use native browser JS 1.6 implementation if available=0A=
if (Object.isFunction(Array.prototype.forEach))=0A=
  Array.prototype._each =3D Array.prototype.forEach;=0A=
=0A=
if (!Array.prototype.indexOf) Array.prototype.indexOf =3D function(item, =
i) {=0A=
  i || (i =3D 0);=0A=
  var length =3D this.length;=0A=
  if (i < 0) i =3D length + i;=0A=
  for (; i < length; i++)=0A=
    if (this[i] =3D=3D=3D item) return i;=0A=
  return -1;=0A=
};=0A=
=0A=
if (!Array.prototype.lastIndexOf) Array.prototype.lastIndexOf =3D =
function(item, i) {=0A=
  i =3D isNaN(i) ? this.length : (i < 0 ? this.length + i : i) + 1;=0A=
  var n =3D this.slice(0, i).reverse().indexOf(item);=0A=
  return (n < 0) ? n : i - n - 1;=0A=
};=0A=
=0A=
Array.prototype.toArray =3D Array.prototype.clone;=0A=
=0A=
function $w(string) {=0A=
  if (!Object.isString(string)) return [];=0A=
  string =3D string.strip();=0A=
  return string ? string.split(/\s+/) : [];=0A=
}=0A=
=0A=
if (Prototype.Browser.Opera){=0A=
  Array.prototype.concat =3D function() {=0A=
    var array =3D [];=0A=
    for (var i =3D 0, length =3D this.length; i < length; i++) =
array.push(this[i]);=0A=
    for (var i =3D 0, length =3D arguments.length; i < length; i++) {=0A=
      if (Object.isArray(arguments[i])) {=0A=
        for (var j =3D 0, arrayLength =3D arguments[i].length; j < =
arrayLength; j++)=0A=
          array.push(arguments[i][j]);=0A=
      } else {=0A=
        array.push(arguments[i]);=0A=
      }=0A=
    }=0A=
    return array;=0A=
  };=0A=
}=0A=
Object.extend(Number.prototype, {=0A=
  toColorPart: function() {=0A=
    return this.toPaddedString(2, 16);=0A=
  },=0A=
=0A=
  succ: function() {=0A=
    return this + 1;=0A=
  },=0A=
=0A=
  times: function(iterator) {=0A=
    $R(0, this, true).each(iterator);=0A=
    return this;=0A=
  },=0A=
=0A=
  toPaddedString: function(length, radix) {=0A=
    var string =3D this.toString(radix || 10);=0A=
    return '0'.times(length - string.length) + string;=0A=
  },=0A=
=0A=
  toJSON: function() {=0A=
    return isFinite(this) ? this.toString() : 'null';=0A=
  }=0A=
});=0A=
=0A=
$w('abs round ceil floor').each(function(method){=0A=
  Number.prototype[method] =3D Math[method].methodize();=0A=
});=0A=
function $H(object) {=0A=
  return new Hash(object);=0A=
};=0A=
=0A=
var Hash =3D Class.create(Enumerable, (function() {=0A=
=0A=
  function toQueryPair(key, value) {=0A=
    if (Object.isUndefined(value)) return key;=0A=
    return key + '=3D' + encodeURIComponent(String.interpret(value));=0A=
  }=0A=
=0A=
  return {=0A=
    initialize: function(object) {=0A=
      this._object =3D Object.isHash(object) ? object.toObject() : =
Object.clone(object);=0A=
    },=0A=
=0A=
    _each: function(iterator) {=0A=
      for (var key in this._object) {=0A=
        var value =3D this._object[key], pair =3D [key, value];=0A=
        pair.key =3D key;=0A=
        pair.value =3D value;=0A=
        iterator(pair);=0A=
      }=0A=
    },=0A=
=0A=
    set: function(key, value) {=0A=
      return this._object[key] =3D value;=0A=
    },=0A=
=0A=
    get: function(key) {=0A=
      return this._object[key];=0A=
    },=0A=
=0A=
    unset: function(key) {=0A=
      var value =3D this._object[key];=0A=
      delete this._object[key];=0A=
      return value;=0A=
    },=0A=
=0A=
    toObject: function() {=0A=
      return Object.clone(this._object);=0A=
    },=0A=
=0A=
    keys: function() {=0A=
      return this.pluck('key');=0A=
    },=0A=
=0A=
    values: function() {=0A=
      return this.pluck('value');=0A=
    },=0A=
=0A=
    index: function(value) {=0A=
      var match =3D this.detect(function(pair) {=0A=
        return pair.value =3D=3D=3D value;=0A=
      });=0A=
      return match && match.key;=0A=
    },=0A=
=0A=
    merge: function(object) {=0A=
      return this.clone().update(object);=0A=
    },=0A=
=0A=
    update: function(object) {=0A=
      return new Hash(object).inject(this, function(result, pair) {=0A=
        result.set(pair.key, pair.value);=0A=
        return result;=0A=
      });=0A=
    },=0A=
=0A=
    toQueryString: function() {=0A=
      return this.map(function(pair) {=0A=
        var key =3D encodeURIComponent(pair.key), values =3D pair.value;=0A=
=0A=
        if (values && typeof values =3D=3D 'object') {=0A=
          if (Object.isArray(values))=0A=
            return values.map(toQueryPair.curry(key)).join('&');=0A=
        }=0A=
        return toQueryPair(key, values);=0A=
      }).join('&');=0A=
    },=0A=
=0A=
    inspect: function() {=0A=
      return '#<Hash:{' + this.map(function(pair) {=0A=
        return pair.map(Object.inspect).join(': ');=0A=
      }).join(', ') + '}>';=0A=
    },=0A=
=0A=
    toJSON: function() {=0A=
      return Object.toJSON(this.toObject());=0A=
    },=0A=
=0A=
    clone: function() {=0A=
      return new Hash(this);=0A=
    }=0A=
  }=0A=
})());=0A=
=0A=
Hash.prototype.toTemplateReplacements =3D Hash.prototype.toObject;=0A=
Hash.from =3D $H;=0A=
var ObjectRange =3D Class.create(Enumerable, {=0A=
  initialize: function(start, end, exclusive) {=0A=
    this.start =3D start;=0A=
    this.end =3D end;=0A=
    this.exclusive =3D exclusive;=0A=
  },=0A=
=0A=
  _each: function(iterator) {=0A=
    var value =3D this.start;=0A=
    while (this.include(value)) {=0A=
      iterator(value);=0A=
      value =3D value.succ();=0A=
    }=0A=
  },=0A=
=0A=
  include: function(value) {=0A=
    if (value < this.start)=0A=
      return false;=0A=
    if (this.exclusive)=0A=
      return value < this.end;=0A=
    return value <=3D this.end;=0A=
  }=0A=
});=0A=
=0A=
var $R =3D function(start, end, exclusive) {=0A=
  return new ObjectRange(start, end, exclusive);=0A=
};=0A=
=0A=
var Ajax =3D {=0A=
  getTransport: function() {=0A=
    return Try.these(=0A=
      function() {return new XMLHttpRequest()},=0A=
      function() {return new ActiveXObject('Msxml2.XMLHTTP')},=0A=
      function() {return new ActiveXObject('Microsoft.XMLHTTP')}=0A=
    ) || false;=0A=
  },=0A=
=0A=
  activeRequestCount: 0=0A=
};=0A=
=0A=
Ajax.Responders =3D {=0A=
  responders: [],=0A=
=0A=
  _each: function(iterator) {=0A=
    this.responders._each(iterator);=0A=
  },=0A=
=0A=
  register: function(responder) {=0A=
    if (!this.include(responder))=0A=
      this.responders.push(responder);=0A=
  },=0A=
=0A=
  unregister: function(responder) {=0A=
    this.responders =3D this.responders.without(responder);=0A=
  },=0A=
=0A=
  dispatch: function(callback, request, transport, json) {=0A=
    this.each(function(responder) {=0A=
      if (Object.isFunction(responder[callback])) {=0A=
        try {=0A=
          responder[callback].apply(responder, [request, transport, =
json]);=0A=
        } catch (e) { }=0A=
      }=0A=
    });=0A=
  }=0A=
};=0A=
=0A=
Object.extend(Ajax.Responders, Enumerable);=0A=
=0A=
Ajax.Responders.register({=0A=
  onCreate:   function() { Ajax.activeRequestCount++ },=0A=
  onComplete: function() { Ajax.activeRequestCount-- }=0A=
});=0A=
=0A=
Ajax.Base =3D Class.create({=0A=
  initialize: function(options) {=0A=
    this.options =3D {=0A=
      method:       'post',=0A=
      asynchronous: true,=0A=
      contentType:  'application/x-www-form-urlencoded',=0A=
      encoding:     'UTF-8',=0A=
      parameters:   '',=0A=
      evalJSON:     true,=0A=
      evalJS:       true=0A=
    };=0A=
    Object.extend(this.options, options || { });=0A=
=0A=
    this.options.method =3D this.options.method.toLowerCase();=0A=
=0A=
    if (Object.isString(this.options.parameters))=0A=
      this.options.parameters =3D =
this.options.parameters.toQueryParams();=0A=
    else if (Object.isHash(this.options.parameters))=0A=
      this.options.parameters =3D this.options.parameters.toObject();=0A=
  }=0A=
});=0A=
=0A=
Ajax.Request =3D Class.create(Ajax.Base, {=0A=
  _complete: false,=0A=
=0A=
  initialize: function($super, url, options) {=0A=
    $super(options);=0A=
    this.transport =3D Ajax.getTransport();=0A=
    this.request(url);=0A=
  },=0A=
=0A=
  request: function(url) {=0A=
    this.url =3D url;=0A=
    this.method =3D this.options.method;=0A=
    var params =3D Object.clone(this.options.parameters);=0A=
=0A=
    if (!['get', 'post'].include(this.method)) {=0A=
      // simulate other verbs over post=0A=
      params['_method'] =3D this.method;=0A=
      this.method =3D 'post';=0A=
    }=0A=
=0A=
    this.parameters =3D params;=0A=
=0A=
    if (params =3D Object.toQueryString(params)) {=0A=
      // when GET, append parameters to URL=0A=
      if (this.method =3D=3D 'get')=0A=
        this.url +=3D (this.url.include('?') ? '&' : '?') + params;=0A=
      else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))=0A=
        params +=3D '&_=3D';=0A=
    }=0A=
=0A=
    try {=0A=
      var response =3D new Ajax.Response(this);=0A=
      if (this.options.onCreate) this.options.onCreate(response);=0A=
      Ajax.Responders.dispatch('onCreate', this, response);=0A=
=0A=
      this.transport.open(this.method.toUpperCase(), this.url,=0A=
        this.options.asynchronous);=0A=
=0A=
      if (this.options.asynchronous) =
this.respondToReadyState.bind(this).defer(1);=0A=
=0A=
      this.transport.onreadystatechange =3D =
this.onStateChange.bind(this);=0A=
      this.setRequestHeaders();=0A=
=0A=
      this.body =3D this.method =3D=3D 'post' ? (this.options.postBody =
|| params) : null;=0A=
      this.transport.send(this.body);=0A=
=0A=
      /* Force Firefox to handle ready state 4 for synchronous requests =
*/=0A=
      if (!this.options.asynchronous && this.transport.overrideMimeType)=0A=
        this.onStateChange();=0A=
=0A=
    }=0A=
    catch (e) {=0A=
      this.dispatchException(e);=0A=
    }=0A=
  },=0A=
=0A=
  onStateChange: function() {=0A=
    var readyState =3D this.transport.readyState;=0A=
    if (readyState > 1 && !((readyState =3D=3D 4) && this._complete))=0A=
      this.respondToReadyState(this.transport.readyState);=0A=
  },=0A=
=0A=
  setRequestHeaders: function() {=0A=
    var headers =3D {=0A=
      'X-Requested-With': 'XMLHttpRequest',=0A=
      'X-Prototype-Version': Prototype.Version,=0A=
      'Accept': 'text/javascript, text/html, application/xml, text/xml, =
*/*'=0A=
    };=0A=
=0A=
    if (this.method =3D=3D 'post') {=0A=
      headers['Content-type'] =3D this.options.contentType +=0A=
        (this.options.encoding ? '; charset=3D' + this.options.encoding =
: '');=0A=
=0A=
      /* Force "Connection: close" for older Mozilla browsers to work=0A=
       * around a bug where XMLHttpRequest sends an incorrect=0A=
       * Content-length header. See Mozilla Bugzilla #246651.=0A=
       */=0A=
      if (this.transport.overrideMimeType &&=0A=
          (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0,2005])[1] < =
2005)=0A=
            headers['Connection'] =3D 'close';=0A=
    }=0A=
=0A=
    // user-defined headers=0A=
    if (typeof this.options.requestHeaders =3D=3D 'object') {=0A=
      var extras =3D this.options.requestHeaders;=0A=
=0A=
      if (Object.isFunction(extras.push))=0A=
        for (var i =3D 0, length =3D extras.length; i < length; i +=3D 2)=0A=
          headers[extras[i]] =3D extras[i+1];=0A=
      else=0A=
        $H(extras).each(function(pair) { headers[pair.key] =3D =
pair.value });=0A=
    }=0A=
=0A=
    for (var name in headers)=0A=
      this.transport.setRequestHeader(name, headers[name]);=0A=
  },=0A=
=0A=
  success: function() {=0A=
    var status =3D this.getStatus();=0A=
    return !status || (status >=3D 200 && status < 300);=0A=
  },=0A=
=0A=
  getStatus: function() {=0A=
    try {=0A=
      return this.transport.status || 0;=0A=
    } catch (e) { return 0 }=0A=
  },=0A=
=0A=
  respondToReadyState: function(readyState) {=0A=
    var state =3D Ajax.Request.Events[readyState], response =3D new =
Ajax.Response(this);=0A=
=0A=
    if (state =3D=3D 'Complete') {=0A=
      try {=0A=
        this._complete =3D true;=0A=
        (this.options['on' + response.status]=0A=
         || this.options['on' + (this.success() ? 'Success' : 'Failure')]=0A=
         || Prototype.emptyFunction)(response, response.headerJSON);=0A=
      } catch (e) {=0A=
        this.dispatchException(e);=0A=
      }=0A=
=0A=
      var contentType =3D response.getHeader('Content-type');=0A=
      if (this.options.evalJS =3D=3D 'force'=0A=
          || (this.options.evalJS && contentType=0A=
          && =
contentType.match(/^\s*(text|application)\/(x-)?(java|ecma)script(;.*)?\s=
*$/i)))=0A=
        this.evalResponse();=0A=
    }=0A=
=0A=
    try {=0A=
      (this.options['on' + state] || Prototype.emptyFunction)(response, =
response.headerJSON);=0A=
      Ajax.Responders.dispatch('on' + state, this, response, =
response.headerJSON);=0A=
    } catch (e) {=0A=
      this.dispatchException(e);=0A=
    }=0A=
=0A=
    if (state =3D=3D 'Complete') {=0A=
      // avoid memory leak in MSIE: clean up=0A=
      this.transport.onreadystatechange =3D Prototype.emptyFunction;=0A=
    }=0A=
  },=0A=
=0A=
  getHeader: function(name) {=0A=
    try {=0A=
      return this.transport.getResponseHeader(name) || null;=0A=
    } catch (e) { return null }=0A=
  },=0A=
=0A=
  evalResponse: function() {=0A=
    try {=0A=
      return eval((this.transport.responseText || '').unfilterJSON());=0A=
    } catch (e) {=0A=
      this.dispatchException(e);=0A=
    }=0A=
  },=0A=
=0A=
  dispatchException: function(exception) {=0A=
    (this.options.onException || Prototype.emptyFunction)(this, =
exception);=0A=
    Ajax.Responders.dispatch('onException', this, exception);=0A=
  }=0A=
});=0A=
=0A=
Ajax.Request.Events =3D=0A=
  ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];=0A=
=0A=
Ajax.Response =3D Class.create({=0A=
  initialize: function(request){=0A=
    this.request =3D request;=0A=
    var transport  =3D this.transport  =3D request.transport,=0A=
        readyState =3D this.readyState =3D transport.readyState;=0A=
=0A=
    if((readyState > 2 && !Prototype.Browser.IE) || readyState =3D=3D 4) =
{=0A=
      this.status       =3D this.getStatus();=0A=
      this.statusText   =3D this.getStatusText();=0A=
      this.responseText =3D String.interpret(transport.responseText);=0A=
      this.headerJSON   =3D this._getHeaderJSON();=0A=
    }=0A=
=0A=
    if(readyState =3D=3D 4) {=0A=
      var xml =3D transport.responseXML;=0A=
      this.responseXML  =3D Object.isUndefined(xml) ? null : xml;=0A=
      this.responseJSON =3D this._getResponseJSON();=0A=
    }=0A=
  },=0A=
=0A=
  status:      0,=0A=
  statusText: '',=0A=
=0A=
  getStatus: Ajax.Request.prototype.getStatus,=0A=
=0A=
  getStatusText: function() {=0A=
    try {=0A=
      return this.transport.statusText || '';=0A=
    } catch (e) { return '' }=0A=
  },=0A=
=0A=
  getHeader: Ajax.Request.prototype.getHeader,=0A=
=0A=
  getAllHeaders: function() {=0A=
    try {=0A=
      return this.getAllResponseHeaders();=0A=
    } catch (e) { return null }=0A=
  },=0A=
=0A=
  getResponseHeader: function(name) {=0A=
    return this.transport.getResponseHeader(name);=0A=
  },=0A=
=0A=
  getAllResponseHeaders: function() {=0A=
    return this.transport.getAllResponseHeaders();=0A=
  },=0A=
=0A=
  _getHeaderJSON: function() {=0A=
    var json =3D this.getHeader('X-JSON');=0A=
    if (!json) return null;=0A=
    json =3D decodeURIComponent(escape(json));=0A=
    try {=0A=
      return json.evalJSON(this.request.options.sanitizeJSON);=0A=
    } catch (e) {=0A=
      this.request.dispatchException(e);=0A=
    }=0A=
  },=0A=
=0A=
  _getResponseJSON: function() {=0A=
    var options =3D this.request.options;=0A=
    if (!options.evalJSON || (options.evalJSON !=3D 'force' &&=0A=
      !(this.getHeader('Content-type') || =
'').include('application/json')) ||=0A=
        this.responseText.blank())=0A=
          return null;=0A=
    try {=0A=
      return this.responseText.evalJSON(options.sanitizeJSON);=0A=
    } catch (e) {=0A=
      this.request.dispatchException(e);=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Ajax.Updater =3D Class.create(Ajax.Request, {=0A=
  initialize: function($super, container, url, options) {=0A=
    this.container =3D {=0A=
      success: (container.success || container),=0A=
      failure: (container.failure || (container.success ? null : =
container))=0A=
    };=0A=
=0A=
    options =3D Object.clone(options);=0A=
    var onComplete =3D options.onComplete;=0A=
    options.onComplete =3D (function(response, json) {=0A=
      this.updateContent(response.responseText);=0A=
      if (Object.isFunction(onComplete)) onComplete(response, json);=0A=
    }).bind(this);=0A=
=0A=
    $super(url, options);=0A=
  },=0A=
=0A=
  updateContent: function(responseText) {=0A=
    var receiver =3D this.container[this.success() ? 'success' : =
'failure'],=0A=
        options =3D this.options;=0A=
=0A=
    if (!options.evalScripts) responseText =3D =
responseText.stripScripts();=0A=
=0A=
    if (receiver =3D $(receiver)) {=0A=
      if (options.insertion) {=0A=
        if (Object.isString(options.insertion)) {=0A=
          var insertion =3D { }; insertion[options.insertion] =3D =
responseText;=0A=
          receiver.insert(insertion);=0A=
        }=0A=
        else options.insertion(receiver, responseText);=0A=
      }=0A=
      else receiver.update(responseText);=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Ajax.PeriodicalUpdater =3D Class.create(Ajax.Base, {=0A=
  initialize: function($super, container, url, options) {=0A=
    $super(options);=0A=
    this.onComplete =3D this.options.onComplete;=0A=
=0A=
    this.frequency =3D (this.options.frequency || 2);=0A=
    this.decay =3D (this.options.decay || 1);=0A=
=0A=
    this.updater =3D { };=0A=
    this.container =3D container;=0A=
    this.url =3D url;=0A=
=0A=
    this.start();=0A=
  },=0A=
=0A=
  start: function() {=0A=
    this.options.onComplete =3D this.updateComplete.bind(this);=0A=
    this.onTimerEvent();=0A=
  },=0A=
=0A=
  stop: function() {=0A=
    this.updater.options.onComplete =3D undefined;=0A=
    clearTimeout(this.timer);=0A=
    (this.onComplete || Prototype.emptyFunction).apply(this, arguments);=0A=
  },=0A=
=0A=
  updateComplete: function(response) {=0A=
    if (this.options.decay) {=0A=
      this.decay =3D (response.responseText =3D=3D this.lastText ?=0A=
        this.decay * this.options.decay : 1);=0A=
=0A=
      this.lastText =3D response.responseText;=0A=
    }=0A=
    this.timer =3D this.onTimerEvent.bind(this).delay(this.decay * =
this.frequency);=0A=
  },=0A=
=0A=
  onTimerEvent: function() {=0A=
    this.updater =3D new Ajax.Updater(this.container, this.url, =
this.options);=0A=
  }=0A=
});=0A=
function $(element) {=0A=
  if (arguments.length > 1) {=0A=
    for (var i =3D 0, elements =3D [], length =3D arguments.length; i < =
length; i++)=0A=
      elements.push($(arguments[i]));=0A=
    return elements;=0A=
  }=0A=
  if (Object.isString(element))=0A=
    element =3D document.getElementById(element);=0A=
  return Element.extend(element);=0A=
}=0A=
=0A=
if (Prototype.BrowserFeatures.XPath) {=0A=
  document._getElementsByXPath =3D function(expression, parentElement) {=0A=
    var results =3D [];=0A=
    var query =3D document.evaluate(expression, $(parentElement) || =
document,=0A=
      null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);=0A=
    for (var i =3D 0, length =3D query.snapshotLength; i < length; i++)=0A=
      results.push(Element.extend(query.snapshotItem(i)));=0A=
    return results;=0A=
  };=0A=
}=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
if (!window.Node) var Node =3D { };=0A=
=0A=
if (!Node.ELEMENT_NODE) {=0A=
  // DOM level 2 ECMAScript Language Binding=0A=
  Object.extend(Node, {=0A=
    ELEMENT_NODE: 1,=0A=
    ATTRIBUTE_NODE: 2,=0A=
    TEXT_NODE: 3,=0A=
    CDATA_SECTION_NODE: 4,=0A=
    ENTITY_REFERENCE_NODE: 5,=0A=
    ENTITY_NODE: 6,=0A=
    PROCESSING_INSTRUCTION_NODE: 7,=0A=
    COMMENT_NODE: 8,=0A=
    DOCUMENT_NODE: 9,=0A=
    DOCUMENT_TYPE_NODE: 10,=0A=
    DOCUMENT_FRAGMENT_NODE: 11,=0A=
    NOTATION_NODE: 12=0A=
  });=0A=
}=0A=
=0A=
(function() {=0A=
  var element =3D this.Element;=0A=
  this.Element =3D function(tagName, attributes) {=0A=
    attributes =3D attributes || { };=0A=
    tagName =3D tagName.toLowerCase();=0A=
    var cache =3D Element.cache;=0A=
    if (Prototype.Browser.IE && attributes.name) {=0A=
      tagName =3D '<' + tagName + ' name=3D"' + attributes.name + '">';=0A=
      delete attributes.name;=0A=
      return Element.writeAttribute(document.createElement(tagName), =
attributes);=0A=
    }=0A=
    if (!cache[tagName]) cache[tagName] =3D =
Element.extend(document.createElement(tagName));=0A=
    return Element.writeAttribute(cache[tagName].cloneNode(false), =
attributes);=0A=
  };=0A=
  Object.extend(this.Element, element || { });=0A=
}).call(window);=0A=
=0A=
Element.cache =3D { };=0A=
=0A=
Element.Methods =3D {=0A=
  visible: function(element) {=0A=
    return $(element).style.display !=3D 'none';=0A=
  },=0A=
=0A=
  toggle: function(element) {=0A=
    element =3D $(element);=0A=
    Element[Element.visible(element) ? 'hide' : 'show'](element);=0A=
    return element;=0A=
  },=0A=
=0A=
  hide: function(element) {=0A=
    $(element).style.display =3D 'none';=0A=
    return element;=0A=
  },=0A=
=0A=
  show: function(element) {=0A=
    $(element).style.display =3D '';=0A=
    return element;=0A=
  },=0A=
=0A=
  remove: function(element) {=0A=
    element =3D $(element);=0A=
    element.parentNode.removeChild(element);=0A=
    return element;=0A=
  },=0A=
=0A=
  update: function(element, content) {=0A=
    element =3D $(element);=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    if (Object.isElement(content)) return =
element.update().insert(content);=0A=
    content =3D Object.toHTML(content);=0A=
    element.innerHTML =3D content.stripScripts();=0A=
    content.evalScripts.bind(content).defer();=0A=
    return element;=0A=
  },=0A=
=0A=
  replace: function(element, content) {=0A=
    element =3D $(element);=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    else if (!Object.isElement(content)) {=0A=
      content =3D Object.toHTML(content);=0A=
      var range =3D element.ownerDocument.createRange();=0A=
      range.selectNode(element);=0A=
      content.evalScripts.bind(content).defer();=0A=
      content =3D range.createContextualFragment(content.stripScripts());=0A=
    }=0A=
    element.parentNode.replaceChild(content, element);=0A=
    return element;=0A=
  },=0A=
=0A=
  insert: function(element, insertions) {=0A=
    element =3D $(element);=0A=
=0A=
    if (Object.isString(insertions) || Object.isNumber(insertions) ||=0A=
        Object.isElement(insertions) || (insertions && =
(insertions.toElement || insertions.toHTML)))=0A=
          insertions =3D {bottom:insertions};=0A=
=0A=
    var content, insert, tagName, childNodes;=0A=
=0A=
    for (position in insertions) {=0A=
      content  =3D insertions[position];=0A=
      position =3D position.toLowerCase();=0A=
      insert =3D Element._insertionTranslations[position];=0A=
=0A=
      if (content && content.toElement) content =3D content.toElement();=0A=
      if (Object.isElement(content)) {=0A=
        insert(element, content);=0A=
        continue;=0A=
      }=0A=
=0A=
      content =3D Object.toHTML(content);=0A=
=0A=
      tagName =3D ((position =3D=3D 'before' || position =3D=3D 'after')=0A=
        ? element.parentNode : element).tagName.toUpperCase();=0A=
=0A=
      childNodes =3D Element._getContentFromAnonymousElement(tagName, =
content.stripScripts());=0A=
=0A=
      if (position =3D=3D 'top' || position =3D=3D 'after') =
childNodes.reverse();=0A=
      childNodes.each(insert.curry(element));=0A=
=0A=
      content.evalScripts.bind(content).defer();=0A=
    }=0A=
=0A=
    return element;=0A=
  },=0A=
=0A=
  wrap: function(element, wrapper, attributes) {=0A=
    element =3D $(element);=0A=
    if (Object.isElement(wrapper))=0A=
      $(wrapper).writeAttribute(attributes || { });=0A=
    else if (Object.isString(wrapper)) wrapper =3D new Element(wrapper, =
attributes);=0A=
    else wrapper =3D new Element('div', wrapper);=0A=
    if (element.parentNode)=0A=
      element.parentNode.replaceChild(wrapper, element);=0A=
    wrapper.appendChild(element);=0A=
    return wrapper;=0A=
  },=0A=
=0A=
  inspect: function(element) {=0A=
    element =3D $(element);=0A=
    var result =3D '<' + element.tagName.toLowerCase();=0A=
    $H({'id': 'id', 'className': 'class'}).each(function(pair) {=0A=
      var property =3D pair.first(), attribute =3D pair.last();=0A=
      var value =3D (element[property] || '').toString();=0A=
      if (value) result +=3D ' ' + attribute + '=3D' + =
value.inspect(true);=0A=
    });=0A=
    return result + '>';=0A=
  },=0A=
=0A=
  recursivelyCollect: function(element, property) {=0A=
    element =3D $(element);=0A=
    var elements =3D [];=0A=
    while (element =3D element[property])=0A=
      if (element.nodeType =3D=3D 1)=0A=
        elements.push(Element.extend(element));=0A=
    return elements;=0A=
  },=0A=
=0A=
  ancestors: function(element) {=0A=
    return $(element).recursivelyCollect('parentNode');=0A=
  },=0A=
=0A=
  descendants: function(element) {=0A=
    return $(element).getElementsBySelector("*");=0A=
  },=0A=
=0A=
  firstDescendant: function(element) {=0A=
    element =3D $(element).firstChild;=0A=
    while (element && element.nodeType !=3D 1) element =3D =
element.nextSibling;=0A=
    return $(element);=0A=
  },=0A=
=0A=
  immediateDescendants: function(element) {=0A=
    if (!(element =3D $(element).firstChild)) return [];=0A=
    while (element && element.nodeType !=3D 1) element =3D =
element.nextSibling;=0A=
    if (element) return [element].concat($(element).nextSiblings());=0A=
    return [];=0A=
  },=0A=
=0A=
  previousSiblings: function(element) {=0A=
    return $(element).recursivelyCollect('previousSibling');=0A=
  },=0A=
=0A=
  nextSiblings: function(element) {=0A=
    return $(element).recursivelyCollect('nextSibling');=0A=
  },=0A=
=0A=
  siblings: function(element) {=0A=
    element =3D $(element);=0A=
    return =
element.previousSiblings().reverse().concat(element.nextSiblings());=0A=
  },=0A=
=0A=
  match: function(element, selector) {=0A=
    if (Object.isString(selector))=0A=
      selector =3D new Selector(selector);=0A=
    return selector.match($(element));=0A=
  },=0A=
=0A=
  up: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return $(element.parentNode);=0A=
    var ancestors =3D element.ancestors();=0A=
    return Object.isNumber(expression) ? ancestors[expression] :=0A=
      Selector.findElement(ancestors, expression, index);=0A=
  },=0A=
=0A=
  down: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return element.firstDescendant();=0A=
    return Object.isNumber(expression) ? =
element.descendants()[expression] :=0A=
      element.select(expression)[index || 0];=0A=
  },=0A=
=0A=
  previous: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return =
$(Selector.handlers.previousElementSibling(element));=0A=
    var previousSiblings =3D element.previousSiblings();=0A=
    return Object.isNumber(expression) ? previousSiblings[expression] :=0A=
      Selector.findElement(previousSiblings, expression, index);=0A=
  },=0A=
=0A=
  next: function(element, expression, index) {=0A=
    element =3D $(element);=0A=
    if (arguments.length =3D=3D 1) return =
$(Selector.handlers.nextElementSibling(element));=0A=
    var nextSiblings =3D element.nextSiblings();=0A=
    return Object.isNumber(expression) ? nextSiblings[expression] :=0A=
      Selector.findElement(nextSiblings, expression, index);=0A=
  },=0A=
=0A=
  select: function() {=0A=
    var args =3D $A(arguments), element =3D $(args.shift());=0A=
    return Selector.findChildElements(element, args);=0A=
  },=0A=
=0A=
  adjacent: function() {=0A=
    var args =3D $A(arguments), element =3D $(args.shift());=0A=
    return Selector.findChildElements(element.parentNode, =
args).without(element);=0A=
  },=0A=
=0A=
  identify: function(element) {=0A=
    element =3D $(element);=0A=
    var id =3D element.readAttribute('id'), self =3D arguments.callee;=0A=
    if (id) return id;=0A=
    do { id =3D 'anonymous_element_' + self.counter++ } while ($(id));=0A=
    element.writeAttribute('id', id);=0A=
    return id;=0A=
  },=0A=
=0A=
  readAttribute: function(element, name) {=0A=
    element =3D $(element);=0A=
    if (Prototype.Browser.IE) {=0A=
      var t =3D Element._attributeTranslations.read;=0A=
      if (t.values[name]) return t.values[name](element, name);=0A=
      if (t.names[name]) name =3D t.names[name];=0A=
      if (name.include(':')) {=0A=
        return (!element.attributes || !element.attributes[name]) ? null =
:=0A=
         element.attributes[name].value;=0A=
      }=0A=
    }=0A=
    return element.getAttribute(name);=0A=
  },=0A=
=0A=
  writeAttribute: function(element, name, value) {=0A=
    element =3D $(element);=0A=
    var attributes =3D { }, t =3D Element._attributeTranslations.write;=0A=
=0A=
    if (typeof name =3D=3D 'object') attributes =3D name;=0A=
    else attributes[name] =3D Object.isUndefined(value) ? true : value;=0A=
=0A=
    for (var attr in attributes) {=0A=
      name =3D t.names[attr] || attr;=0A=
      value =3D attributes[attr];=0A=
      if (t.values[attr]) name =3D t.values[attr](element, value);=0A=
      if (value =3D=3D=3D false || value =3D=3D=3D null)=0A=
        element.removeAttribute(name);=0A=
      else if (value =3D=3D=3D true)=0A=
        element.setAttribute(name, name);=0A=
      else element.setAttribute(name, value);=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  getHeight: function(element) {=0A=
    return $(element).getDimensions().height;=0A=
  },=0A=
=0A=
  getWidth: function(element) {=0A=
    return $(element).getDimensions().width;=0A=
  },=0A=
=0A=
  classNames: function(element) {=0A=
    return new Element.ClassNames(element);=0A=
  },=0A=
=0A=
  hasClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    var elementClassName =3D element.className;=0A=
    return (elementClassName.length > 0 && (elementClassName =3D=3D =
className ||=0A=
      new RegExp("(^|\\s)" + className + =
"(\\s|$)").test(elementClassName)));=0A=
  },=0A=
=0A=
  addClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    if (!element.hasClassName(className))=0A=
      element.className +=3D (element.className ? ' ' : '') + className;=0A=
    return element;=0A=
  },=0A=
=0A=
  removeClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    element.className =3D element.className.replace(=0A=
      new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' ').strip();=0A=
    return element;=0A=
  },=0A=
=0A=
  toggleClassName: function(element, className) {=0A=
    if (!(element =3D $(element))) return;=0A=
    return element[element.hasClassName(className) ?=0A=
      'removeClassName' : 'addClassName'](className);=0A=
  },=0A=
=0A=
  // removes whitespace-only text node children=0A=
  cleanWhitespace: function(element) {=0A=
    element =3D $(element);=0A=
    var node =3D element.firstChild;=0A=
    while (node) {=0A=
      var nextNode =3D node.nextSibling;=0A=
      if (node.nodeType =3D=3D 3 && !/\S/.test(node.nodeValue))=0A=
        element.removeChild(node);=0A=
      node =3D nextNode;=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  empty: function(element) {=0A=
    return $(element).innerHTML.blank();=0A=
  },=0A=
=0A=
  descendantOf: function(element, ancestor) {=0A=
    element =3D $(element), ancestor =3D $(ancestor);=0A=
    var originalAncestor =3D ancestor;=0A=
=0A=
    if (element.compareDocumentPosition)=0A=
      return (element.compareDocumentPosition(ancestor) & 8) =3D=3D=3D 8;=0A=
=0A=
    if (element.sourceIndex && !Prototype.Browser.Opera) {=0A=
      var e =3D element.sourceIndex, a =3D ancestor.sourceIndex,=0A=
       nextAncestor =3D ancestor.nextSibling;=0A=
      if (!nextAncestor) {=0A=
        do { ancestor =3D ancestor.parentNode; }=0A=
        while (!(nextAncestor =3D ancestor.nextSibling) && =
ancestor.parentNode);=0A=
      }=0A=
      if (nextAncestor) return (e > a && e < nextAncestor.sourceIndex);=0A=
    }=0A=
=0A=
    while (element =3D element.parentNode)=0A=
      if (element =3D=3D originalAncestor) return true;=0A=
    return false;=0A=
  },=0A=
=0A=
  scrollTo: function(element) {=0A=
    element =3D $(element);=0A=
    var pos =3D element.cumulativeOffset();=0A=
    window.scrollTo(pos[0], pos[1]);=0A=
    return element;=0A=
  },=0A=
=0A=
  getStyle: function(element, style) {=0A=
    element =3D $(element);=0A=
    style =3D style =3D=3D 'float' ? 'cssFloat' : style.camelize();=0A=
    var value =3D element.style[style];=0A=
    if (!value) {=0A=
      var css =3D document.defaultView.getComputedStyle(element, null);=0A=
      value =3D css ? css[style] : null;=0A=
    }=0A=
    if (style =3D=3D 'opacity') return value ? parseFloat(value) : 1.0;=0A=
    return value =3D=3D 'auto' ? null : value;=0A=
  },=0A=
=0A=
  getOpacity: function(element) {=0A=
    return $(element).getStyle('opacity');=0A=
  },=0A=
=0A=
  setStyle: function(element, styles) {=0A=
    element =3D $(element);=0A=
    var elementStyle =3D element.style, match;=0A=
    if (Object.isString(styles)) {=0A=
      element.style.cssText +=3D ';' + styles;=0A=
      return styles.include('opacity') ?=0A=
        element.setOpacity(styles.match(/opacity:\s*(\d?\.?\d*)/)[1]) : =
element;=0A=
    }=0A=
    for (var property in styles)=0A=
      if (property =3D=3D 'opacity') =
element.setOpacity(styles[property]);=0A=
      else=0A=
        elementStyle[(property =3D=3D 'float' || property =3D=3D =
'cssFloat') ?=0A=
          (Object.isUndefined(elementStyle.styleFloat) ? 'cssFloat' : =
'styleFloat') :=0A=
            property] =3D styles[property];=0A=
=0A=
    return element;=0A=
  },=0A=
=0A=
  setOpacity: function(element, value) {=0A=
    element =3D $(element);=0A=
    element.style.opacity =3D (value =3D=3D 1 || value =3D=3D=3D '') ? =
'' :=0A=
      (value < 0.00001) ? 0 : value;=0A=
    return element;=0A=
  },=0A=
=0A=
  getDimensions: function(element) {=0A=
    element =3D $(element);=0A=
    var display =3D $(element).getStyle('display');=0A=
    if (display !=3D 'none' && display !=3D null) // Safari bug=0A=
      return {width: element.offsetWidth, height: element.offsetHeight};=0A=
=0A=
    // All *Width and *Height properties give 0 on elements with display =
none,=0A=
    // so enable the element temporarily=0A=
    var els =3D element.style;=0A=
    var originalVisibility =3D els.visibility;=0A=
    var originalPosition =3D els.position;=0A=
    var originalDisplay =3D els.display;=0A=
    els.visibility =3D 'hidden';=0A=
    els.position =3D 'absolute';=0A=
    els.display =3D 'block';=0A=
    var originalWidth =3D element.clientWidth;=0A=
    var originalHeight =3D element.clientHeight;=0A=
    els.display =3D originalDisplay;=0A=
    els.position =3D originalPosition;=0A=
    els.visibility =3D originalVisibility;=0A=
    return {width: originalWidth, height: originalHeight};=0A=
  },=0A=
=0A=
  makePositioned: function(element) {=0A=
    element =3D $(element);=0A=
    var pos =3D Element.getStyle(element, 'position');=0A=
    if (pos =3D=3D 'static' || !pos) {=0A=
      element._madePositioned =3D true;=0A=
      element.style.position =3D 'relative';=0A=
      // Opera returns the offset relative to the positioning context, =
when an=0A=
      // element is position relative but top and left have not been =
defined=0A=
      if (window.opera) {=0A=
        element.style.top =3D 0;=0A=
        element.style.left =3D 0;=0A=
      }=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  undoPositioned: function(element) {=0A=
    element =3D $(element);=0A=
    if (element._madePositioned) {=0A=
      element._madePositioned =3D undefined;=0A=
      element.style.position =3D=0A=
        element.style.top =3D=0A=
        element.style.left =3D=0A=
        element.style.bottom =3D=0A=
        element.style.right =3D '';=0A=
    }=0A=
    return element;=0A=
  },=0A=
=0A=
  makeClipping: function(element) {=0A=
    element =3D $(element);=0A=
    if (element._overflow) return element;=0A=
    element._overflow =3D Element.getStyle(element, 'overflow') || =
'auto';=0A=
    if (element._overflow !=3D=3D 'hidden')=0A=
      element.style.overflow =3D 'hidden';=0A=
    return element;=0A=
  },=0A=
=0A=
  undoClipping: function(element) {=0A=
    element =3D $(element);=0A=
    if (!element._overflow) return element;=0A=
    element.style.overflow =3D element._overflow =3D=3D 'auto' ? '' : =
element._overflow;=0A=
    element._overflow =3D null;=0A=
    return element;=0A=
  },=0A=
=0A=
  cumulativeOffset: function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
      element =3D element.offsetParent;=0A=
    } while (element);=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  positionedOffset: function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
      element =3D element.offsetParent;=0A=
      if (element) {=0A=
        if (element.tagName =3D=3D 'BODY') break;=0A=
        var p =3D Element.getStyle(element, 'position');=0A=
        if (p =3D=3D 'relative' || p =3D=3D 'absolute') break;=0A=
      }=0A=
    } while (element);=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  absolutize: function(element) {=0A=
    element =3D $(element);=0A=
    if (element.getStyle('position') =3D=3D 'absolute') return;=0A=
    // Position.prepare(); // To be done manually by Scripty when it =
needs it.=0A=
=0A=
    var offsets =3D element.positionedOffset();=0A=
    var top     =3D offsets[1];=0A=
    var left    =3D offsets[0];=0A=
    var width   =3D element.clientWidth;=0A=
    var height  =3D element.clientHeight;=0A=
=0A=
    element._originalLeft   =3D left - parseFloat(element.style.left  || =
0);=0A=
    element._originalTop    =3D top  - parseFloat(element.style.top || =
0);=0A=
    element._originalWidth  =3D element.style.width;=0A=
    element._originalHeight =3D element.style.height;=0A=
=0A=
    element.style.position =3D 'absolute';=0A=
    element.style.top    =3D top + 'px';=0A=
    element.style.left   =3D left + 'px';=0A=
    element.style.width  =3D width + 'px';=0A=
    element.style.height =3D height + 'px';=0A=
    return element;=0A=
  },=0A=
=0A=
  relativize: function(element) {=0A=
    element =3D $(element);=0A=
    if (element.getStyle('position') =3D=3D 'relative') return;=0A=
    // Position.prepare(); // To be done manually by Scripty when it =
needs it.=0A=
=0A=
    element.style.position =3D 'relative';=0A=
    var top  =3D parseFloat(element.style.top  || 0) - =
(element._originalTop || 0);=0A=
    var left =3D parseFloat(element.style.left || 0) - =
(element._originalLeft || 0);=0A=
=0A=
    element.style.top    =3D top + 'px';=0A=
    element.style.left   =3D left + 'px';=0A=
    element.style.height =3D element._originalHeight;=0A=
    element.style.width  =3D element._originalWidth;=0A=
    return element;=0A=
  },=0A=
=0A=
  cumulativeScrollOffset: function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.scrollTop  || 0;=0A=
      valueL +=3D element.scrollLeft || 0;=0A=
      element =3D element.parentNode;=0A=
    } while (element);=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  getOffsetParent: function(element) {=0A=
    if (element.offsetParent) return $(element.offsetParent);=0A=
    if (element =3D=3D document.body) return $(element);=0A=
=0A=
    while ((element =3D element.parentNode) && element !=3D =
document.body)=0A=
      if (Element.getStyle(element, 'position') !=3D 'static')=0A=
        return $(element);=0A=
=0A=
    return $(document.body);=0A=
  },=0A=
=0A=
  viewportOffset: function(forElement) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
=0A=
    var element =3D forElement;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
=0A=
      // Safari fix=0A=
      if (element.offsetParent =3D=3D document.body &&=0A=
        Element.getStyle(element, 'position') =3D=3D 'absolute') break;=0A=
=0A=
    } while (element =3D element.offsetParent);=0A=
=0A=
    element =3D forElement;=0A=
    do {=0A=
      if (!Prototype.Browser.Opera || element.tagName =3D=3D 'BODY') {=0A=
        valueT -=3D element.scrollTop  || 0;=0A=
        valueL -=3D element.scrollLeft || 0;=0A=
      }=0A=
    } while (element =3D element.parentNode);=0A=
=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  },=0A=
=0A=
  clonePosition: function(element, source) {=0A=
    var options =3D Object.extend({=0A=
      setLeft:    true,=0A=
      setTop:     true,=0A=
      setWidth:   true,=0A=
      setHeight:  true,=0A=
      offsetTop:  0,=0A=
      offsetLeft: 0=0A=
    }, arguments[2] || { });=0A=
=0A=
    // find page position of source=0A=
    source =3D $(source);=0A=
    var p =3D source.viewportOffset();=0A=
=0A=
    // find coordinate system to use=0A=
    element =3D $(element);=0A=
    var delta =3D [0, 0];=0A=
    var parent =3D null;=0A=
    // delta [0,0] will do fine with position: fixed elements,=0A=
    // position:absolute needs offsetParent deltas=0A=
    if (Element.getStyle(element, 'position') =3D=3D 'absolute') {=0A=
      parent =3D element.getOffsetParent();=0A=
      delta =3D parent.viewportOffset();=0A=
    }=0A=
=0A=
    // correct by body offsets (fixes Safari)=0A=
    if (parent =3D=3D document.body) {=0A=
      delta[0] -=3D document.body.offsetLeft;=0A=
      delta[1] -=3D document.body.offsetTop;=0A=
    }=0A=
=0A=
    // set position=0A=
    if (options.setLeft)   element.style.left  =3D (p[0] - delta[0] + =
options.offsetLeft) + 'px';=0A=
    if (options.setTop)    element.style.top   =3D (p[1] - delta[1] + =
options.offsetTop) + 'px';=0A=
    if (options.setWidth)  element.style.width =3D source.offsetWidth + =
'px';=0A=
    if (options.setHeight) element.style.height =3D source.offsetHeight =
+ 'px';=0A=
    return element;=0A=
  }=0A=
};=0A=
=0A=
Element.Methods.identify.counter =3D 1;=0A=
=0A=
Object.extend(Element.Methods, {=0A=
  getElementsBySelector: Element.Methods.select,=0A=
  childElements: Element.Methods.immediateDescendants=0A=
});=0A=
=0A=
Element._attributeTranslations =3D {=0A=
  write: {=0A=
    names: {=0A=
      className: 'class',=0A=
      htmlFor:   'for'=0A=
    },=0A=
    values: { }=0A=
  }=0A=
};=0A=
=0A=
if (Prototype.Browser.Opera) {=0A=
  Element.Methods.getStyle =3D Element.Methods.getStyle.wrap(=0A=
    function(proceed, element, style) {=0A=
      switch (style) {=0A=
        case 'left': case 'top': case 'right': case 'bottom':=0A=
          if (proceed(element, 'position') =3D=3D=3D 'static') return =
null;=0A=
        case 'height': case 'width':=0A=
          // returns '0px' for hidden elements; we want it to return null=0A=
          if (!Element.visible(element)) return null;=0A=
=0A=
          // returns the border-box dimensions rather than the =
content-box=0A=
          // dimensions, so we subtract padding and borders from the =
value=0A=
          var dim =3D parseInt(proceed(element, style), 10);=0A=
=0A=
          if (dim !=3D=3D element['offset' + style.capitalize()])=0A=
            return dim + 'px';=0A=
=0A=
          var properties;=0A=
          if (style =3D=3D=3D 'height') {=0A=
            properties =3D ['border-top-width', 'padding-top',=0A=
             'padding-bottom', 'border-bottom-width'];=0A=
          }=0A=
          else {=0A=
            properties =3D ['border-left-width', 'padding-left',=0A=
             'padding-right', 'border-right-width'];=0A=
          }=0A=
          return properties.inject(dim, function(memo, property) {=0A=
            var val =3D proceed(element, property);=0A=
            return val =3D=3D=3D null ? memo : memo - parseInt(val, 10);=0A=
          }) + 'px';=0A=
        default: return proceed(element, style);=0A=
      }=0A=
    }=0A=
  );=0A=
=0A=
  Element.Methods.readAttribute =3D Element.Methods.readAttribute.wrap(=0A=
    function(proceed, element, attribute) {=0A=
      if (attribute =3D=3D=3D 'title') return element.title;=0A=
      return proceed(element, attribute);=0A=
    }=0A=
  );=0A=
}=0A=
=0A=
else if (Prototype.Browser.IE) {=0A=
  $w('positionedOffset getOffsetParent =
viewportOffset').each(function(method) {=0A=
    Element.Methods[method] =3D Element.Methods[method].wrap(=0A=
      function(proceed, element) {=0A=
        element =3D $(element);=0A=
        var position =3D element.getStyle('position');=0A=
        if (position !=3D 'static') return proceed(element);=0A=
        element.setStyle({ position: 'relative' });=0A=
        var value =3D proceed(element);=0A=
        element.setStyle({ position: position });=0A=
        return value;=0A=
      }=0A=
    );=0A=
  });=0A=
=0A=
  Element.Methods.getStyle =3D function(element, style) {=0A=
    element =3D $(element);=0A=
    style =3D (style =3D=3D 'float' || style =3D=3D 'cssFloat') ? =
'styleFloat' : style.camelize();=0A=
    var value =3D element.style[style];=0A=
    if (!value && element.currentStyle) value =3D =
element.currentStyle[style];=0A=
=0A=
    if (style =3D=3D 'opacity') {=0A=
      if (value =3D (element.getStyle('filter') || =
'').match(/alpha\(opacity=3D(.*)\)/))=0A=
        if (value[1]) return parseFloat(value[1]) / 100;=0A=
      return 1.0;=0A=
    }=0A=
=0A=
    if (value =3D=3D 'auto') {=0A=
      if ((style =3D=3D 'width' || style =3D=3D 'height') && =
(element.getStyle('display') !=3D 'none'))=0A=
        return element['offset' + style.capitalize()] + 'px';=0A=
      return null;=0A=
    }=0A=
    return value;=0A=
  };=0A=
=0A=
  Element.Methods.setOpacity =3D function(element, value) {=0A=
    function stripAlpha(filter){=0A=
      return filter.replace(/alpha\([^\)]*\)/gi,'');=0A=
    }=0A=
    element =3D $(element);=0A=
    var currentStyle =3D element.currentStyle;=0A=
    if ((currentStyle && !currentStyle.hasLayout) ||=0A=
      (!currentStyle && element.style.zoom =3D=3D 'normal'))=0A=
        element.style.zoom =3D 1;=0A=
=0A=
    var filter =3D element.getStyle('filter'), style =3D element.style;=0A=
    if (value =3D=3D 1 || value =3D=3D=3D '') {=0A=
      (filter =3D stripAlpha(filter)) ?=0A=
        style.filter =3D filter : style.removeAttribute('filter');=0A=
      return element;=0A=
    } else if (value < 0.00001) value =3D 0;=0A=
    style.filter =3D stripAlpha(filter) +=0A=
      'alpha(opacity=3D' + (value * 100) + ')';=0A=
    return element;=0A=
  };=0A=
=0A=
  Element._attributeTranslations =3D {=0A=
    read: {=0A=
      names: {=0A=
        'class': 'className',=0A=
        'for':   'htmlFor'=0A=
      },=0A=
      values: {=0A=
        _getAttr: function(element, attribute) {=0A=
          return element.getAttribute(attribute, 2);=0A=
        },=0A=
        _getAttrNode: function(element, attribute) {=0A=
          var node =3D element.getAttributeNode(attribute);=0A=
          return node ? node.value : "";=0A=
        },=0A=
        _getEv: function(element, attribute) {=0A=
          attribute =3D element.getAttribute(attribute);=0A=
          return attribute ? attribute.toString().slice(23, -2) : null;=0A=
        },=0A=
        _flag: function(element, attribute) {=0A=
          return $(element).hasAttribute(attribute) ? attribute : null;=0A=
        },=0A=
        style: function(element) {=0A=
          return element.style.cssText.toLowerCase();=0A=
        },=0A=
        title: function(element) {=0A=
          return element.title;=0A=
        }=0A=
      }=0A=
    }=0A=
  };=0A=
=0A=
  Element._attributeTranslations.write =3D {=0A=
    names: Object.clone(Element._attributeTranslations.read.names),=0A=
    values: {=0A=
      checked: function(element, value) {=0A=
        element.checked =3D !!value;=0A=
      },=0A=
=0A=
      style: function(element, value) {=0A=
        element.style.cssText =3D value ? value : '';=0A=
      }=0A=
    }=0A=
  };=0A=
=0A=
  Element._attributeTranslations.has =3D {};=0A=
=0A=
  $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' +=0A=
      'encType maxLength readOnly longDesc').each(function(attr) {=0A=
    Element._attributeTranslations.write.names[attr.toLowerCase()] =3D =
attr;=0A=
    Element._attributeTranslations.has[attr.toLowerCase()] =3D attr;=0A=
  });=0A=
=0A=
  (function(v) {=0A=
    Object.extend(v, {=0A=
      href:        v._getAttr,=0A=
      src:         v._getAttr,=0A=
      type:        v._getAttr,=0A=
      action:      v._getAttrNode,=0A=
      disabled:    v._flag,=0A=
      checked:     v._flag,=0A=
      readonly:    v._flag,=0A=
      multiple:    v._flag,=0A=
      onload:      v._getEv,=0A=
      onunload:    v._getEv,=0A=
      onclick:     v._getEv,=0A=
      ondblclick:  v._getEv,=0A=
      onmousedown: v._getEv,=0A=
      onmouseup:   v._getEv,=0A=
      onmouseover: v._getEv,=0A=
      onmousemove: v._getEv,=0A=
      onmouseout:  v._getEv,=0A=
      onfocus:     v._getEv,=0A=
      onblur:      v._getEv,=0A=
      onkeypress:  v._getEv,=0A=
      onkeydown:   v._getEv,=0A=
      onkeyup:     v._getEv,=0A=
      onsubmit:    v._getEv,=0A=
      onreset:     v._getEv,=0A=
      onselect:    v._getEv,=0A=
      onchange:    v._getEv=0A=
    });=0A=
  })(Element._attributeTranslations.read.values);=0A=
}=0A=
=0A=
else if (Prototype.Browser.Gecko && =
/rv:1\.8\.0/.test(navigator.userAgent)) {=0A=
  Element.Methods.setOpacity =3D function(element, value) {=0A=
    element =3D $(element);=0A=
    element.style.opacity =3D (value =3D=3D 1) ? 0.999999 :=0A=
      (value =3D=3D=3D '') ? '' : (value < 0.00001) ? 0 : value;=0A=
    return element;=0A=
  };=0A=
}=0A=
=0A=
else if (Prototype.Browser.WebKit) {=0A=
  Element.Methods.setOpacity =3D function(element, value) {=0A=
    element =3D $(element);=0A=
    element.style.opacity =3D (value =3D=3D 1 || value =3D=3D=3D '') ? =
'' :=0A=
      (value < 0.00001) ? 0 : value;=0A=
=0A=
    if (value =3D=3D 1)=0A=
      if(element.tagName =3D=3D 'IMG' && element.width) {=0A=
        element.width++; element.width--;=0A=
      } else try {=0A=
        var n =3D document.createTextNode(' ');=0A=
        element.appendChild(n);=0A=
        element.removeChild(n);=0A=
      } catch (e) { }=0A=
=0A=
    return element;=0A=
  };=0A=
=0A=
  // Safari returns margins on body which is incorrect if the child is =
absolutely=0A=
  // positioned.  For performance reasons, redefine =
Element#cumulativeOffset for=0A=
  // KHTML/WebKit only.=0A=
  Element.Methods.cumulativeOffset =3D function(element) {=0A=
    var valueT =3D 0, valueL =3D 0;=0A=
    do {=0A=
      valueT +=3D element.offsetTop  || 0;=0A=
      valueL +=3D element.offsetLeft || 0;=0A=
      if (element.offsetParent =3D=3D document.body)=0A=
        if (Element.getStyle(element, 'position') =3D=3D 'absolute') =
break;=0A=
=0A=
      element =3D element.offsetParent;=0A=
    } while (element);=0A=
=0A=
    return Element._returnOffset(valueL, valueT);=0A=
  };=0A=
}=0A=
=0A=
if (Prototype.Browser.IE || Prototype.Browser.Opera) {=0A=
  // IE and Opera are missing .innerHTML support for TABLE-related and =
SELECT elements=0A=
  Element.Methods.update =3D function(element, content) {=0A=
    element =3D $(element);=0A=
=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    if (Object.isElement(content)) return =
element.update().insert(content);=0A=
=0A=
    content =3D Object.toHTML(content);=0A=
    var tagName =3D element.tagName.toUpperCase();=0A=
=0A=
    if (tagName in Element._insertionTranslations.tags) {=0A=
      $A(element.childNodes).each(function(node) { =
element.removeChild(node) });=0A=
      Element._getContentFromAnonymousElement(tagName, =
content.stripScripts())=0A=
        .each(function(node) { element.appendChild(node) });=0A=
    }=0A=
    else element.innerHTML =3D content.stripScripts();=0A=
=0A=
    content.evalScripts.bind(content).defer();=0A=
    return element;=0A=
  };=0A=
}=0A=
=0A=
if (document.createElement('div').outerHTML) {=0A=
  Element.Methods.replace =3D function(element, content) {=0A=
    element =3D $(element);=0A=
=0A=
    if (content && content.toElement) content =3D content.toElement();=0A=
    if (Object.isElement(content)) {=0A=
      element.parentNode.replaceChild(content, element);=0A=
      return element;=0A=
    }=0A=
=0A=
    content =3D Object.toHTML(content);=0A=
    var parent =3D element.parentNode, tagName =3D =
parent.tagName.toUpperCase();=0A=
=0A=
    if (Element._insertionTranslations.tags[tagName]) {=0A=
      var nextSibling =3D element.next();=0A=
      var fragments =3D Element._getContentFromAnonymousElement(tagName, =
content.stripScripts());=0A=
      parent.removeChild(element);=0A=
      if (nextSibling)=0A=
        fragments.each(function(node) { parent.insertBefore(node, =
nextSibling) });=0A=
      else=0A=
        fragments.each(function(node) { parent.appendChild(node) });=0A=
    }=0A=
    else element.outerHTML =3D content.stripScripts();=0A=
=0A=
    content.evalScripts.bind(content).defer();=0A=
    return element;=0A=
  };=0A=
}=0A=
=0A=
Element._returnOffset =3D function(l, t) {=0A=
  var result =3D [l, t];=0A=
  result.left =3D l;=0A=
  result.top =3D t;=0A=
  return result;=0A=
};=0A=
=0A=
Element._getContentFromAnonymousElement =3D function(tagName, html) {=0A=
  var div =3D new Element('div'), t =3D =
Element._insertionTranslations.tags[tagName];=0A=
  if (t) {=0A=
    div.innerHTML =3D t[0] + html + t[1];=0A=
    t[2].times(function() { div =3D div.firstChild });=0A=
  } else div.innerHTML =3D html;=0A=
  return $A(div.childNodes);=0A=
};=0A=
=0A=
Element._insertionTranslations =3D {=0A=
  before: function(element, node) {=0A=
    element.parentNode.insertBefore(node, element);=0A=
  },=0A=
  top: function(element, node) {=0A=
    element.insertBefore(node, element.firstChild);=0A=
  },=0A=
  bottom: function(element, node) {=0A=
    element.appendChild(node);=0A=
  },=0A=
  after: function(element, node) {=0A=
    element.parentNode.insertBefore(node, element.nextSibling);=0A=
  },=0A=
  tags: {=0A=
    TABLE:  ['<table>',                '</table>',                   1],=0A=
    TBODY:  ['<table><tbody>',         '</tbody></table>',           2],=0A=
    TR:     ['<table><tbody><tr>',     '</tr></tbody></table>',      3],=0A=
    TD:     ['<table><tbody><tr><td>', '</td></tr></tbody></table>', 4],=0A=
    SELECT: ['<select>',               '</select>',                  1]=0A=
  }=0A=
};=0A=
=0A=
(function() {=0A=
  Object.extend(this.tags, {=0A=
    THEAD: this.tags.TBODY,=0A=
    TFOOT: this.tags.TBODY,=0A=
    TH:    this.tags.TD=0A=
  });=0A=
}).call(Element._insertionTranslations);=0A=
=0A=
Element.Methods.Simulated =3D {=0A=
  hasAttribute: function(element, attribute) {=0A=
    attribute =3D Element._attributeTranslations.has[attribute] || =
attribute;=0A=
    var node =3D $(element).getAttributeNode(attribute);=0A=
    return node && node.specified;=0A=
  }=0A=
};=0A=
=0A=
Element.Methods.ByTag =3D { };=0A=
=0A=
Object.extend(Element, Element.Methods);=0A=
=0A=
if (!Prototype.BrowserFeatures.ElementExtensions &&=0A=
    document.createElement('div').__proto__) {=0A=
  window.HTMLElement =3D { };=0A=
  window.HTMLElement.prototype =3D =
document.createElement('div').__proto__;=0A=
  Prototype.BrowserFeatures.ElementExtensions =3D true;=0A=
}=0A=
=0A=
Element.extend =3D (function() {=0A=
  if (Prototype.BrowserFeatures.SpecificElementExtensions)=0A=
    return Prototype.K;=0A=
=0A=
  var Methods =3D { }, ByTag =3D Element.Methods.ByTag;=0A=
=0A=
  var extend =3D Object.extend(function(element) {=0A=
    if (!element || element._extendedByPrototype ||=0A=
        element.nodeType !=3D 1 || element =3D=3D window) return element;=0A=
=0A=
    var methods =3D Object.clone(Methods),=0A=
      tagName =3D element.tagName, property, value;=0A=
=0A=
    // extend methods for specific tags=0A=
    if (ByTag[tagName]) Object.extend(methods, ByTag[tagName]);=0A=
=0A=
    for (property in methods) {=0A=
      value =3D methods[property];=0A=
      if (Object.isFunction(value) && !(property in element))=0A=
        element[property] =3D value.methodize();=0A=
    }=0A=
=0A=
    element._extendedByPrototype =3D Prototype.emptyFunction;=0A=
    return element;=0A=
=0A=
  }, {=0A=
    refresh: function() {=0A=
      // extend methods for all tags (Safari doesn't need this)=0A=
      if (!Prototype.BrowserFeatures.ElementExtensions) {=0A=
        Object.extend(Methods, Element.Methods);=0A=
        Object.extend(Methods, Element.Methods.Simulated);=0A=
      }=0A=
    }=0A=
  });=0A=
=0A=
  extend.refresh();=0A=
  return extend;=0A=
})();=0A=
=0A=
Element.hasAttribute =3D function(element, attribute) {=0A=
  if (element.hasAttribute) return element.hasAttribute(attribute);=0A=
  return Element.Methods.Simulated.hasAttribute(element, attribute);=0A=
};=0A=
=0A=
Element.addMethods =3D function(methods) {=0A=
  var F =3D Prototype.BrowserFeatures, T =3D Element.Methods.ByTag;=0A=
=0A=
  if (!methods) {=0A=
    Object.extend(Form, Form.Methods);=0A=
    Object.extend(Form.Element, Form.Element.Methods);=0A=
    Object.extend(Element.Methods.ByTag, {=0A=
      "FORM":     Object.clone(Form.Methods),=0A=
      "INPUT":    Object.clone(Form.Element.Methods),=0A=
      "SELECT":   Object.clone(Form.Element.Methods),=0A=
      "TEXTAREA": Object.clone(Form.Element.Methods)=0A=
    });=0A=
  }=0A=
=0A=
  if (arguments.length =3D=3D 2) {=0A=
    var tagName =3D methods;=0A=
    methods =3D arguments[1];=0A=
  }=0A=
=0A=
  if (!tagName) Object.extend(Element.Methods, methods || { });=0A=
  else {=0A=
    if (Object.isArray(tagName)) tagName.each(extend);=0A=
    else extend(tagName);=0A=
  }=0A=
=0A=
  function extend(tagName) {=0A=
    tagName =3D tagName.toUpperCase();=0A=
    if (!Element.Methods.ByTag[tagName])=0A=
      Element.Methods.ByTag[tagName] =3D { };=0A=
    Object.extend(Element.Methods.ByTag[tagName], methods);=0A=
  }=0A=
=0A=
  function copy(methods, destination, onlyIfAbsent) {=0A=
    onlyIfAbsent =3D onlyIfAbsent || false;=0A=
    for (var property in methods) {=0A=
      var value =3D methods[property];=0A=
      if (!Object.isFunction(value)) continue;=0A=
      if (!onlyIfAbsent || !(property in destination))=0A=
        destination[property] =3D value.methodize();=0A=
    }=0A=
  }=0A=
=0A=
  function findDOMClass(tagName) {=0A=
    var klass;=0A=
    var trans =3D {=0A=
      "OPTGROUP": "OptGroup", "TEXTAREA": "TextArea", "P": "Paragraph",=0A=
      "FIELDSET": "FieldSet", "UL": "UList", "OL": "OList", "DL": =
"DList",=0A=
      "DIR": "Directory", "H1": "Heading", "H2": "Heading", "H3": =
"Heading",=0A=
      "H4": "Heading", "H5": "Heading", "H6": "Heading", "Q": "Quote",=0A=
      "INS": "Mod", "DEL": "Mod", "A": "Anchor", "IMG": "Image", =
"CAPTION":=0A=
      "TableCaption", "COL": "TableCol", "COLGROUP": "TableCol", "THEAD":=0A=
      "TableSection", "TFOOT": "TableSection", "TBODY": "TableSection", =
"TR":=0A=
      "TableRow", "TH": "TableCell", "TD": "TableCell", "FRAMESET":=0A=
      "FrameSet", "IFRAME": "IFrame"=0A=
    };=0A=
    if (trans[tagName]) klass =3D 'HTML' + trans[tagName] + 'Element';=0A=
    if (window[klass]) return window[klass];=0A=
    klass =3D 'HTML' + tagName + 'Element';=0A=
    if (window[klass]) return window[klass];=0A=
    klass =3D 'HTML' + tagName.capitalize() + 'Element';=0A=
    if (window[klass]) return window[klass];=0A=
=0A=
    window[klass] =3D { };=0A=
    window[klass].prototype =3D =
document.createElement(tagName).__proto__;=0A=
    return window[klass];=0A=
  }=0A=
=0A=
  if (F.ElementExtensions) {=0A=
    copy(Element.Methods, HTMLElement.prototype);=0A=
    copy(Element.Methods.Simulated, HTMLElement.prototype, true);=0A=
  }=0A=
=0A=
  if (F.SpecificElementExtensions) {=0A=
    for (var tag in Element.Methods.ByTag) {=0A=
      var klass =3D findDOMClass(tag);=0A=
      if (Object.isUndefined(klass)) continue;=0A=
      copy(T[tag], klass.prototype);=0A=
    }=0A=
  }=0A=
=0A=
  Object.extend(Element, Element.Methods);=0A=
  delete Element.ByTag;=0A=
=0A=
  if (Element.extend.refresh) Element.extend.refresh();=0A=
  Element.cache =3D { };=0A=
};=0A=
=0A=
document.viewport =3D {=0A=
  getDimensions: function() {=0A=
    var dimensions =3D { };=0A=
    var B =3D Prototype.Browser;=0A=
    $w('width height').each(function(d) {=0A=
      var D =3D d.capitalize();=0A=
      dimensions[d] =3D (B.WebKit && !document.evaluate) ? self['inner' =
+ D] :=0A=
        (B.Opera) ? document.body['client' + D] : =
document.documentElement['client' + D];=0A=
    });=0A=
    return dimensions;=0A=
  },=0A=
=0A=
  getWidth: function() {=0A=
    return this.getDimensions().width;=0A=
  },=0A=
=0A=
  getHeight: function() {=0A=
    return this.getDimensions().height;=0A=
  },=0A=
=0A=
  getScrollOffsets: function() {=0A=
    return Element._returnOffset(=0A=
      window.pageXOffset || document.documentElement.scrollLeft || =
document.body.scrollLeft,=0A=
      window.pageYOffset || document.documentElement.scrollTop || =
document.body.scrollTop);=0A=
  }=0A=
};=0A=
/* Portions of the Selector class are derived from Jack Slocum=E2=80=99s =
DomQuery,=0A=
 * part of YUI-Ext version 0.40, distributed under the terms of an =
MIT-style=0A=
 * license.  Please see http://www.yui-ext.com/ for more information. */=0A=
=0A=
var Selector =3D Class.create({=0A=
  initialize: function(expression) {=0A=
    this.expression =3D expression.strip();=0A=
    this.compileMatcher();=0A=
  },=0A=
=0A=
  shouldUseXPath: function() {=0A=
    if (!Prototype.BrowserFeatures.XPath) return false;=0A=
=0A=
    var e =3D this.expression;=0A=
=0A=
    // Safari 3 chokes on :*-of-type and :empty=0A=
    if (Prototype.Browser.WebKit &&=0A=
     (e.include("-of-type") || e.include(":empty")))=0A=
      return false;=0A=
=0A=
    // XPath can't do namespaced attributes, nor can it read=0A=
    // the "checked" property from DOM nodes=0A=
    if ((/(\[[\w-]*?:|:checked)/).test(this.expression))=0A=
      return false;=0A=
=0A=
    return true;=0A=
  },=0A=
=0A=
  compileMatcher: function() {=0A=
    if (this.shouldUseXPath())=0A=
      return this.compileXPathMatcher();=0A=
=0A=
    var e =3D this.expression, ps =3D Selector.patterns, h =3D =
Selector.handlers,=0A=
        c =3D Selector.criteria, le, p, m;=0A=
=0A=
    if (Selector._cache[e]) {=0A=
      this.matcher =3D Selector._cache[e];=0A=
      return;=0A=
    }=0A=
=0A=
    this.matcher =3D ["this.matcher =3D function(root) {",=0A=
                    "var r =3D root, h =3D Selector.handlers, c =3D =
false, n;"];=0A=
=0A=
    while (e && le !=3D e && (/\S/).test(e)) {=0A=
      le =3D e;=0A=
      for (var i in ps) {=0A=
        p =3D ps[i];=0A=
        if (m =3D e.match(p)) {=0A=
          this.matcher.push(Object.isFunction(c[i]) ? c[i](m) :=0A=
    	      new Template(c[i]).evaluate(m));=0A=
          e =3D e.replace(m[0], '');=0A=
          break;=0A=
        }=0A=
      }=0A=
    }=0A=
=0A=
    this.matcher.push("return h.unique(n);\n}");=0A=
    eval(this.matcher.join('\n'));=0A=
    Selector._cache[this.expression] =3D this.matcher;=0A=
  },=0A=
=0A=
  compileXPathMatcher: function() {=0A=
    var e =3D this.expression, ps =3D Selector.patterns,=0A=
        x =3D Selector.xpath, le, m;=0A=
=0A=
    if (Selector._cache[e]) {=0A=
      this.xpath =3D Selector._cache[e]; return;=0A=
    }=0A=
=0A=
    this.matcher =3D ['.//*'];=0A=
    while (e && le !=3D e && (/\S/).test(e)) {=0A=
      le =3D e;=0A=
      for (var i in ps) {=0A=
        if (m =3D e.match(ps[i])) {=0A=
          this.matcher.push(Object.isFunction(x[i]) ? x[i](m) :=0A=
            new Template(x[i]).evaluate(m));=0A=
          e =3D e.replace(m[0], '');=0A=
          break;=0A=
        }=0A=
      }=0A=
    }=0A=
=0A=
    this.xpath =3D this.matcher.join('');=0A=
    Selector._cache[this.expression] =3D this.xpath;=0A=
  },=0A=
=0A=
  findElements: function(root) {=0A=
    root =3D root || document;=0A=
    if (this.xpath) return document._getElementsByXPath(this.xpath, =
root);=0A=
    return this.matcher(root);=0A=
  },=0A=
=0A=
  match: function(element) {=0A=
    this.tokens =3D [];=0A=
=0A=
    var e =3D this.expression, ps =3D Selector.patterns, as =3D =
Selector.assertions;=0A=
    var le, p, m;=0A=
=0A=
    while (e && le !=3D=3D e && (/\S/).test(e)) {=0A=
      le =3D e;=0A=
      for (var i in ps) {=0A=
        p =3D ps[i];=0A=
        if (m =3D e.match(p)) {=0A=
          // use the Selector.assertions methods unless the selector=0A=
          // is too complex.=0A=
          if (as[i]) {=0A=
            this.tokens.push([i, Object.clone(m)]);=0A=
            e =3D e.replace(m[0], '');=0A=
          } else {=0A=
            // reluctantly do a document-wide search=0A=
            // and look for a match in the array=0A=
            return this.findElements(document).include(element);=0A=
          }=0A=
        }=0A=
      }=0A=
    }=0A=
=0A=
    var match =3D true, name, matches;=0A=
    for (var i =3D 0, token; token =3D this.tokens[i]; i++) {=0A=
      name =3D token[0], matches =3D token[1];=0A=
      if (!Selector.assertions[name](element, matches)) {=0A=
        match =3D false; break;=0A=
      }=0A=
    }=0A=
=0A=
    return match;=0A=
  },=0A=
=0A=
  toString: function() {=0A=
    return this.expression;=0A=
  },=0A=
=0A=
  inspect: function() {=0A=
    return "#<Selector:" + this.expression.inspect() + ">";=0A=
  }=0A=
});=0A=
=0A=
Object.extend(Selector, {=0A=
  _cache: { },=0A=
=0A=
  xpath: {=0A=
    descendant:   "//*",=0A=
    child:        "/*",=0A=
    adjacent:     "/following-sibling::*[1]",=0A=
    laterSibling: '/following-sibling::*',=0A=
    tagName:      function(m) {=0A=
      if (m[1] =3D=3D '*') return '';=0A=
      return "[local-name()=3D'" + m[1].toLowerCase() +=0A=
             "' or local-name()=3D'" + m[1].toUpperCase() + "']";=0A=
    },=0A=
    className:    "[contains(concat(' ', @class, ' '), ' #{1} ')]",=0A=
    id:           "[@id=3D'#{1}']",=0A=
    attrPresence: function(m) {=0A=
      m[1] =3D m[1].toLowerCase();=0A=
      return new Template("[@#{1}]").evaluate(m);=0A=
    },=0A=
    attr: function(m) {=0A=
      m[1] =3D m[1].toLowerCase();=0A=
      m[3] =3D m[5] || m[6];=0A=
      return new Template(Selector.xpath.operators[m[2]]).evaluate(m);=0A=
    },=0A=
    pseudo: function(m) {=0A=
      var h =3D Selector.xpath.pseudos[m[1]];=0A=
      if (!h) return '';=0A=
      if (Object.isFunction(h)) return h(m);=0A=
      return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);=0A=
    },=0A=
    operators: {=0A=
      '=3D':  "[@#{1}=3D'#{3}']",=0A=
      '!=3D': "[@#{1}!=3D'#{3}']",=0A=
      '^=3D': "[starts-with(@#{1}, '#{3}')]",=0A=
      '$=3D': "[substring(@#{1}, (string-length(@#{1}) - =
string-length('#{3}') + 1))=3D'#{3}']",=0A=
      '*=3D': "[contains(@#{1}, '#{3}')]",=0A=
      '~=3D': "[contains(concat(' ', @#{1}, ' '), ' #{3} ')]",=0A=
      '|=3D': "[contains(concat('-', @#{1}, '-'), '-#{3}-')]"=0A=
    },=0A=
    pseudos: {=0A=
      'first-child': '[not(preceding-sibling::*)]',=0A=
      'last-child':  '[not(following-sibling::*)]',=0A=
      'only-child':  '[not(preceding-sibling::* or =
following-sibling::*)]',=0A=
      'empty':       "[count(*) =3D 0 and (count(text()) =3D 0 or =
translate(text(), ' \t\r\n', '') =3D '')]",=0A=
      'checked':     "[@checked]",=0A=
      'disabled':    "[@disabled]",=0A=
      'enabled':     "[not(@disabled)]",=0A=
      'not': function(m) {=0A=
        var e =3D m[6], p =3D Selector.patterns,=0A=
            x =3D Selector.xpath, le, v;=0A=
=0A=
        var exclusion =3D [];=0A=
        while (e && le !=3D e && (/\S/).test(e)) {=0A=
          le =3D e;=0A=
          for (var i in p) {=0A=
            if (m =3D e.match(p[i])) {=0A=
              v =3D Object.isFunction(x[i]) ? x[i](m) : new =
Template(x[i]).evaluate(m);=0A=
              exclusion.push("(" + v.substring(1, v.length - 1) + ")");=0A=
              e =3D e.replace(m[0], '');=0A=
              break;=0A=
            }=0A=
          }=0A=
        }=0A=
        return "[not(" + exclusion.join(" and ") + ")]";=0A=
      },=0A=
      'nth-child':      function(m) {=0A=
        return =
Selector.xpath.pseudos.nth("(count(./preceding-sibling::*) + 1) ", m);=0A=
      },=0A=
      'nth-last-child': function(m) {=0A=
        return =
Selector.xpath.pseudos.nth("(count(./following-sibling::*) + 1) ", m);=0A=
      },=0A=
      'nth-of-type':    function(m) {=0A=
        return Selector.xpath.pseudos.nth("position() ", m);=0A=
      },=0A=
      'nth-last-of-type': function(m) {=0A=
        return Selector.xpath.pseudos.nth("(last() + 1 - position()) ", =
m);=0A=
      },=0A=
      'first-of-type':  function(m) {=0A=
        m[6] =3D "1"; return Selector.xpath.pseudos['nth-of-type'](m);=0A=
      },=0A=
      'last-of-type':   function(m) {=0A=
        m[6] =3D "1"; return =
Selector.xpath.pseudos['nth-last-of-type'](m);=0A=
      },=0A=
      'only-of-type':   function(m) {=0A=
        var p =3D Selector.xpath.pseudos; return p['first-of-type'](m) + =
p['last-of-type'](m);=0A=
      },=0A=
      nth: function(fragment, m) {=0A=
        var mm, formula =3D m[6], predicate;=0A=
        if (formula =3D=3D 'even') formula =3D '2n+0';=0A=
        if (formula =3D=3D 'odd')  formula =3D '2n+1';=0A=
        if (mm =3D formula.match(/^(\d+)$/)) // digit only=0A=
          return '[' + fragment + "=3D " + mm[1] + ']';=0A=
        if (mm =3D formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // an+b=0A=
          if (mm[1] =3D=3D "-") mm[1] =3D -1;=0A=
          var a =3D mm[1] ? Number(mm[1]) : 1;=0A=
          var b =3D mm[2] ? Number(mm[2]) : 0;=0A=
          predicate =3D "[((#{fragment} - #{b}) mod #{a} =3D 0) and " +=0A=
          "((#{fragment} - #{b}) div #{a} >=3D 0)]";=0A=
          return new Template(predicate).evaluate({=0A=
            fragment: fragment, a: a, b: b });=0A=
        }=0A=
      }=0A=
    }=0A=
  },=0A=
=0A=
  criteria: {=0A=
    tagName:      'n =3D h.tagName(n, r, "#{1}", c);   c =3D false;',=0A=
    className:    'n =3D h.className(n, r, "#{1}", c); c =3D false;',=0A=
    id:           'n =3D h.id(n, r, "#{1}", c);        c =3D false;',=0A=
    attrPresence: 'n =3D h.attrPresence(n, r, "#{1}"); c =3D false;',=0A=
    attr: function(m) {=0A=
      m[3] =3D (m[5] || m[6]);=0A=
      return new Template('n =3D h.attr(n, r, "#{1}", "#{3}", "#{2}"); c =
=3D false;').evaluate(m);=0A=
    },=0A=
    pseudo: function(m) {=0A=
      if (m[6]) m[6] =3D m[6].replace(/"/g, '\\"');=0A=
      return new Template('n =3D h.pseudo(n, "#{1}", "#{6}", r, c); c =
=3D false;').evaluate(m);=0A=
    },=0A=
    descendant:   'c =3D "descendant";',=0A=
    child:        'c =3D "child";',=0A=
    adjacent:     'c =3D "adjacent";',=0A=
    laterSibling: 'c =3D "laterSibling";'=0A=
  },=0A=
=0A=
  patterns: {=0A=
    // combinators must be listed first=0A=
    // (and descendant needs to be last combinator)=0A=
    laterSibling: /^\s*~\s*/,=0A=
    child:        /^\s*>\s*/,=0A=
    adjacent:     /^\s*\+\s*/,=0A=
    descendant:   /^\s/,=0A=
=0A=
    // selectors follow=0A=
    tagName:      /^\s*(\*|[\w\-]+)(\b|$)?/,=0A=
    id:           /^#([\w\-\*]+)(\b|$)/,=0A=
    className:    /^\.([\w\-\*]+)(\b|$)/,=0A=
    pseudo:=0A=
/^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis=
)abled|not)(\((.*?)\))?(\b|$|(?=3D\s|[:+~>]))/,=0A=
    attrPresence: /^\[([\w]+)\]/,=0A=
    attr:         =
/\[((?:[\w-]*:)?[\w-]+)\s*(?:([!^$*~|]?=3D)\s*((['"])([^\4]*?)\4|([^'"][^=
\]]*?)))?\]/=0A=
  },=0A=
=0A=
  // for Selector.match and Element#match=0A=
  assertions: {=0A=
    tagName: function(element, matches) {=0A=
      return matches[1].toUpperCase() =3D=3D =
element.tagName.toUpperCase();=0A=
    },=0A=
=0A=
    className: function(element, matches) {=0A=
      return Element.hasClassName(element, matches[1]);=0A=
    },=0A=
=0A=
    id: function(element, matches) {=0A=
      return element.id =3D=3D=3D matches[1];=0A=
    },=0A=
=0A=
    attrPresence: function(element, matches) {=0A=
      return Element.hasAttribute(element, matches[1]);=0A=
    },=0A=
=0A=
    attr: function(element, matches) {=0A=
      var nodeValue =3D Element.readAttribute(element, matches[1]);=0A=
      return Selector.operators[matches[2]](nodeValue, matches[3]);=0A=
    }=0A=
  },=0A=
=0A=
  handlers: {=0A=
    // UTILITY FUNCTIONS=0A=
    // joins two collections=0A=
    concat: function(a, b) {=0A=
      for (var i =3D 0, node; node =3D b[i]; i++)=0A=
        a.push(node);=0A=
      return a;=0A=
    },=0A=
=0A=
    // marks an array of nodes for counting=0A=
    mark: function(nodes) {=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        node._counted =3D true;=0A=
      return nodes;=0A=
    },=0A=
=0A=
    unmark: function(nodes) {=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        node._counted =3D undefined;=0A=
      return nodes;=0A=
    },=0A=
=0A=
    // mark each child node with its position (for nth calls)=0A=
    // "ofType" flag indicates whether we're indexing for nth-of-type=0A=
    // rather than nth-child=0A=
    index: function(parentNode, reverse, ofType) {=0A=
      parentNode._counted =3D true;=0A=
      if (reverse) {=0A=
        for (var nodes =3D parentNode.childNodes, i =3D nodes.length - =
1, j =3D 1; i >=3D 0; i--) {=0A=
          var node =3D nodes[i];=0A=
          if (node.nodeType =3D=3D 1 && (!ofType || node._counted)) =
node.nodeIndex =3D j++;=0A=
        }=0A=
      } else {=0A=
        for (var i =3D 0, j =3D 1, nodes =3D parentNode.childNodes; node =
=3D nodes[i]; i++)=0A=
          if (node.nodeType =3D=3D 1 && (!ofType || node._counted)) =
node.nodeIndex =3D j++;=0A=
      }=0A=
    },=0A=
=0A=
    // filters out duplicates and extends all nodes=0A=
    unique: function(nodes) {=0A=
      if (nodes.length =3D=3D 0) return nodes;=0A=
      var results =3D [], n;=0A=
      for (var i =3D 0, l =3D nodes.length; i < l; i++)=0A=
        if (!(n =3D nodes[i])._counted) {=0A=
          n._counted =3D true;=0A=
          results.push(Element.extend(n));=0A=
        }=0A=
      return Selector.handlers.unmark(results);=0A=
    },=0A=
=0A=
    // COMBINATOR FUNCTIONS=0A=
    descendant: function(nodes) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        h.concat(results, node.getElementsByTagName('*'));=0A=
      return results;=0A=
    },=0A=
=0A=
    child: function(nodes) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        for (var j =3D 0, child; child =3D node.childNodes[j]; j++)=0A=
          if (child.nodeType =3D=3D 1 && child.tagName !=3D '!') =
results.push(child);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    adjacent: function(nodes) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        var next =3D this.nextElementSibling(node);=0A=
        if (next) results.push(next);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    laterSibling: function(nodes) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        h.concat(results, Element.nextSiblings(node));=0A=
      return results;=0A=
    },=0A=
=0A=
    nextElementSibling: function(node) {=0A=
      while (node =3D node.nextSibling)=0A=
	      if (node.nodeType =3D=3D 1) return node;=0A=
      return null;=0A=
    },=0A=
=0A=
    previousElementSibling: function(node) {=0A=
      while (node =3D node.previousSibling)=0A=
        if (node.nodeType =3D=3D 1) return node;=0A=
      return null;=0A=
    },=0A=
=0A=
    // TOKEN FUNCTIONS=0A=
    tagName: function(nodes, root, tagName, combinator) {=0A=
      var uTagName =3D tagName.toUpperCase();=0A=
      var results =3D [], h =3D Selector.handlers;=0A=
      if (nodes) {=0A=
        if (combinator) {=0A=
          // fastlane for ordinary descendant combinators=0A=
          if (combinator =3D=3D "descendant") {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              h.concat(results, node.getElementsByTagName(tagName));=0A=
            return results;=0A=
          } else nodes =3D this[combinator](nodes);=0A=
          if (tagName =3D=3D "*") return nodes;=0A=
        }=0A=
        for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
          if (node.tagName.toUpperCase() =3D=3D=3D uTagName) =
results.push(node);=0A=
        return results;=0A=
      } else return root.getElementsByTagName(tagName);=0A=
    },=0A=
=0A=
    id: function(nodes, root, id, combinator) {=0A=
      var targetNode =3D $(id), h =3D Selector.handlers;=0A=
      if (!targetNode) return [];=0A=
      if (!nodes && root =3D=3D document) return [targetNode];=0A=
      if (nodes) {=0A=
        if (combinator) {=0A=
          if (combinator =3D=3D 'child') {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              if (targetNode.parentNode =3D=3D node) return [targetNode];=0A=
          } else if (combinator =3D=3D 'descendant') {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              if (Element.descendantOf(targetNode, node)) return =
[targetNode];=0A=
          } else if (combinator =3D=3D 'adjacent') {=0A=
            for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
              if (Selector.handlers.previousElementSibling(targetNode) =
=3D=3D node)=0A=
                return [targetNode];=0A=
          } else nodes =3D h[combinator](nodes);=0A=
        }=0A=
        for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
          if (node =3D=3D targetNode) return [targetNode];=0A=
        return [];=0A=
      }=0A=
      return (targetNode && Element.descendantOf(targetNode, root)) ? =
[targetNode] : [];=0A=
    },=0A=
=0A=
    className: function(nodes, root, className, combinator) {=0A=
      if (nodes && combinator) nodes =3D this[combinator](nodes);=0A=
      return Selector.handlers.byClassName(nodes, root, className);=0A=
    },=0A=
=0A=
    byClassName: function(nodes, root, className) {=0A=
      if (!nodes) nodes =3D Selector.handlers.descendant([root]);=0A=
      var needle =3D ' ' + className + ' ';=0A=
      for (var i =3D 0, results =3D [], node, nodeClassName; node =3D =
nodes[i]; i++) {=0A=
        nodeClassName =3D node.className;=0A=
        if (nodeClassName.length =3D=3D 0) continue;=0A=
        if (nodeClassName =3D=3D className || (' ' + nodeClassName + ' =
').include(needle))=0A=
          results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    attrPresence: function(nodes, root, attr) {=0A=
      if (!nodes) nodes =3D root.getElementsByTagName("*");=0A=
      var results =3D [];=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
        if (Element.hasAttribute(node, attr)) results.push(node);=0A=
      return results;=0A=
    },=0A=
=0A=
    attr: function(nodes, root, attr, value, operator) {=0A=
      if (!nodes) nodes =3D root.getElementsByTagName("*");=0A=
      var handler =3D Selector.operators[operator], results =3D [];=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++) {=0A=
        var nodeValue =3D Element.readAttribute(node, attr);=0A=
        if (nodeValue =3D=3D=3D null) continue;=0A=
        if (handler(nodeValue, value)) results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    pseudo: function(nodes, name, value, root, combinator) {=0A=
      if (nodes && combinator) nodes =3D this[combinator](nodes);=0A=
      if (!nodes) nodes =3D root.getElementsByTagName("*");=0A=
      return Selector.pseudos[name](nodes, value, root);=0A=
    }=0A=
  },=0A=
=0A=
  pseudos: {=0A=
    'first-child': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        if (Selector.handlers.previousElementSibling(node)) continue;=0A=
          results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
    'last-child': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        if (Selector.handlers.nextElementSibling(node)) continue;=0A=
          results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
    'only-child': function(nodes, value, root) {=0A=
      var h =3D Selector.handlers;=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (!h.previousElementSibling(node) && =
!h.nextElementSibling(node))=0A=
          results.push(node);=0A=
      return results;=0A=
    },=0A=
    'nth-child':        function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root);=0A=
    },=0A=
    'nth-last-child':   function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root, true);=0A=
    },=0A=
    'nth-of-type':      function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root, false, true);=0A=
    },=0A=
    'nth-last-of-type': function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, formula, root, true, true);=0A=
    },=0A=
    'first-of-type':    function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, "1", root, false, true);=0A=
    },=0A=
    'last-of-type':     function(nodes, formula, root) {=0A=
      return Selector.pseudos.nth(nodes, "1", root, true, true);=0A=
    },=0A=
    'only-of-type':     function(nodes, formula, root) {=0A=
      var p =3D Selector.pseudos;=0A=
      return p['last-of-type'](p['first-of-type'](nodes, formula, root), =
formula, root);=0A=
    },=0A=
=0A=
    // handles the an+b logic=0A=
    getIndices: function(a, b, total) {=0A=
      if (a =3D=3D 0) return b > 0 ? [b] : [];=0A=
      return $R(1, total).inject([], function(memo, i) {=0A=
        if (0 =3D=3D (i - b) % a && (i - b) / a >=3D 0) memo.push(i);=0A=
        return memo;=0A=
      });=0A=
    },=0A=
=0A=
    // handles nth(-last)-child, nth(-last)-of-type, and =
(first|last)-of-type=0A=
    nth: function(nodes, formula, root, reverse, ofType) {=0A=
      if (nodes.length =3D=3D 0) return [];=0A=
      if (formula =3D=3D 'even') formula =3D '2n+0';=0A=
      if (formula =3D=3D 'odd')  formula =3D '2n+1';=0A=
      var h =3D Selector.handlers, results =3D [], indexed =3D [], m;=0A=
      h.mark(nodes);=0A=
      for (var i =3D 0, node; node =3D nodes[i]; i++) {=0A=
        if (!node.parentNode._counted) {=0A=
          h.index(node.parentNode, reverse, ofType);=0A=
          indexed.push(node.parentNode);=0A=
        }=0A=
      }=0A=
      if (formula.match(/^\d+$/)) { // just a number=0A=
        formula =3D Number(formula);=0A=
        for (var i =3D 0, node; node =3D nodes[i]; i++)=0A=
          if (node.nodeIndex =3D=3D formula) results.push(node);=0A=
      } else if (m =3D formula.match(/^(-?\d*)?n(([+-])(\d+))?/)) { // =
an+b=0A=
        if (m[1] =3D=3D "-") m[1] =3D -1;=0A=
        var a =3D m[1] ? Number(m[1]) : 1;=0A=
        var b =3D m[2] ? Number(m[2]) : 0;=0A=
        var indices =3D Selector.pseudos.getIndices(a, b, nodes.length);=0A=
        for (var i =3D 0, node, l =3D indices.length; node =3D nodes[i]; =
i++) {=0A=
          for (var j =3D 0; j < l; j++)=0A=
            if (node.nodeIndex =3D=3D indices[j]) results.push(node);=0A=
        }=0A=
      }=0A=
      h.unmark(nodes);=0A=
      h.unmark(indexed);=0A=
      return results;=0A=
    },=0A=
=0A=
    'empty': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++) {=0A=
        // IE treats comments as element nodes=0A=
        if (node.tagName =3D=3D '!' || (node.firstChild && =
!node.innerHTML.match(/^\s*$/))) continue;=0A=
        results.push(node);=0A=
      }=0A=
      return results;=0A=
    },=0A=
=0A=
    'not': function(nodes, selector, root) {=0A=
      var h =3D Selector.handlers, selectorType, m;=0A=
      var exclusions =3D new Selector(selector).findElements(root);=0A=
      h.mark(exclusions);=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (!node._counted) results.push(node);=0A=
      h.unmark(exclusions);=0A=
      return results;=0A=
    },=0A=
=0A=
    'enabled': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (!node.disabled) results.push(node);=0A=
      return results;=0A=
    },=0A=
=0A=
    'disabled': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (node.disabled) results.push(node);=0A=
      return results;=0A=
    },=0A=
=0A=
    'checked': function(nodes, value, root) {=0A=
      for (var i =3D 0, results =3D [], node; node =3D nodes[i]; i++)=0A=
        if (node.checked) results.push(node);=0A=
      return results;=0A=
    }=0A=
  },=0A=
=0A=
  operators: {=0A=
    '=3D':  function(nv, v) { return nv =3D=3D v; },=0A=
    '!=3D': function(nv, v) { return nv !=3D v; },=0A=
    '^=3D': function(nv, v) { return nv.startsWith(v); },=0A=
    '$=3D': function(nv, v) { return nv.endsWith(v); },=0A=
    '*=3D': function(nv, v) { return nv.include(v); },=0A=
    '~=3D': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + =
' '); },=0A=
    '|=3D': function(nv, v) { return ('-' + nv.toUpperCase() + =
'-').include('-' + v.toUpperCase() + '-'); }=0A=
  },=0A=
=0A=
  matchElements: function(elements, expression) {=0A=
    var matches =3D new Selector(expression).findElements(), h =3D =
Selector.handlers;=0A=
    h.mark(matches);=0A=
    for (var i =3D 0, results =3D [], element; element =3D elements[i]; =
i++)=0A=
      if (element._counted) results.push(element);=0A=
    h.unmark(matches);=0A=
    return results;=0A=
  },=0A=
=0A=
  findElement: function(elements, expression, index) {=0A=
    if (Object.isNumber(expression)) {=0A=
      index =3D expression; expression =3D false;=0A=
    }=0A=
    return Selector.matchElements(elements, expression || '*')[index || =
0];=0A=
  },=0A=
=0A=
  findChildElements: function(element, expressions) {=0A=
    var exprs =3D expressions.join(',');=0A=
    expressions =3D [];=0A=
    exprs.scan(/(([\w#:.~>+()\s-]+|\*|\[.*?\])+)\s*(,|$)/, function(m) {=0A=
      expressions.push(m[1].strip());=0A=
    });=0A=
    var results =3D [], h =3D Selector.handlers;=0A=
    for (var i =3D 0, l =3D expressions.length, selector; i < l; i++) {=0A=
      selector =3D new Selector(expressions[i].strip());=0A=
      h.concat(results, selector.findElements(element));=0A=
    }=0A=
    return (l > 1) ? h.unique(results) : results;=0A=
  }=0A=
});=0A=
=0A=
if (Prototype.Browser.IE) {=0A=
  // IE returns comment nodes on getElementsByTagName("*").=0A=
  // Filter them out.=0A=
  Selector.handlers.concat =3D function(a, b) {=0A=
    for (var i =3D 0, node; node =3D b[i]; i++)=0A=
      if (node.tagName !=3D=3D "!") a.push(node);=0A=
    return a;=0A=
  };=0A=
}=0A=
=0A=
function $$() {=0A=
  return Selector.findChildElements(document, $A(arguments));=0A=
}=0A=
var Form =3D {=0A=
  reset: function(form) {=0A=
    $(form).reset();=0A=
    return form;=0A=
  },=0A=
=0A=
  serializeElements: function(elements, options) {=0A=
    if (typeof options !=3D 'object') options =3D { hash: !!options };=0A=
    else if (Object.isUndefined(options.hash)) options.hash =3D true;=0A=
    var key, value, submitted =3D false, submit =3D options.submit;=0A=
=0A=
    var data =3D elements.inject({ }, function(result, element) {=0A=
      if (!element.disabled && element.name) {=0A=
        key =3D element.name; value =3D $(element).getValue();=0A=
        if (value !=3D null && (element.type !=3D 'submit' || =
(!submitted &&=0A=
            submit !=3D=3D false && (!submit || key =3D=3D submit) && =
(submitted =3D true)))) {=0A=
          if (key in result) {=0A=
            // a key is already present; construct an array of values=0A=
            if (!Object.isArray(result[key])) result[key] =3D =
[result[key]];=0A=
            result[key].push(value);=0A=
          }=0A=
          else result[key] =3D value;=0A=
        }=0A=
      }=0A=
      return result;=0A=
    });=0A=
=0A=
    return options.hash ? data : Object.toQueryString(data);=0A=
  }=0A=
};=0A=
=0A=
Form.Methods =3D {=0A=
  serialize: function(form, options) {=0A=
    return Form.serializeElements(Form.getElements(form), options);=0A=
  },=0A=
=0A=
  getElements: function(form) {=0A=
    return $A($(form).getElementsByTagName('*')).inject([],=0A=
      function(elements, child) {=0A=
        if (Form.Element.Serializers[child.tagName.toLowerCase()])=0A=
          elements.push(Element.extend(child));=0A=
        return elements;=0A=
      }=0A=
    );=0A=
  },=0A=
=0A=
  getInputs: function(form, typeName, name) {=0A=
    form =3D $(form);=0A=
    var inputs =3D form.getElementsByTagName('input');=0A=
=0A=
    if (!typeName && !name) return $A(inputs).map(Element.extend);=0A=
=0A=
    for (var i =3D 0, matchingInputs =3D [], length =3D inputs.length; i =
< length; i++) {=0A=
      var input =3D inputs[i];=0A=
      if ((typeName && input.type !=3D typeName) || (name && input.name =
!=3D name))=0A=
        continue;=0A=
      matchingInputs.push(Element.extend(input));=0A=
    }=0A=
=0A=
    return matchingInputs;=0A=
  },=0A=
=0A=
  disable: function(form) {=0A=
    form =3D $(form);=0A=
    Form.getElements(form).invoke('disable');=0A=
    return form;=0A=
  },=0A=
=0A=
  enable: function(form) {=0A=
    form =3D $(form);=0A=
    Form.getElements(form).invoke('enable');=0A=
    return form;=0A=
  },=0A=
=0A=
  findFirstElement: function(form) {=0A=
    var elements =3D $(form).getElements().findAll(function(element) {=0A=
      return 'hidden' !=3D element.type && !element.disabled;=0A=
    });=0A=
    var firstByIndex =3D elements.findAll(function(element) {=0A=
      return element.hasAttribute('tabIndex') && element.tabIndex >=3D 0;=0A=
    }).sortBy(function(element) { return element.tabIndex }).first();=0A=
=0A=
    return firstByIndex ? firstByIndex : elements.find(function(element) =
{=0A=
      return ['input', 'select', =
'textarea'].include(element.tagName.toLowerCase());=0A=
    });=0A=
  },=0A=
=0A=
  focusFirstElement: function(form) {=0A=
    form =3D $(form);=0A=
    form.findFirstElement().activate();=0A=
    return form;=0A=
  },=0A=
=0A=
  request: function(form, options) {=0A=
    form =3D $(form), options =3D Object.clone(options || { });=0A=
=0A=
    var params =3D options.parameters, action =3D =
form.readAttribute('action') || '';=0A=
    if (action.blank()) action =3D window.location.href;=0A=
    options.parameters =3D form.serialize(true);=0A=
=0A=
    if (params) {=0A=
      if (Object.isString(params)) params =3D params.toQueryParams();=0A=
      Object.extend(options.parameters, params);=0A=
    }=0A=
=0A=
    if (form.hasAttribute('method') && !options.method)=0A=
      options.method =3D form.method;=0A=
=0A=
    return new Ajax.Request(action, options);=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Form.Element =3D {=0A=
  focus: function(element) {=0A=
    $(element).focus();=0A=
    return element;=0A=
  },=0A=
=0A=
  select: function(element) {=0A=
    $(element).select();=0A=
    return element;=0A=
  }=0A=
};=0A=
=0A=
Form.Element.Methods =3D {=0A=
  serialize: function(element) {=0A=
    element =3D $(element);=0A=
    if (!element.disabled && element.name) {=0A=
      var value =3D element.getValue();=0A=
      if (value !=3D undefined) {=0A=
        var pair =3D { };=0A=
        pair[element.name] =3D value;=0A=
        return Object.toQueryString(pair);=0A=
      }=0A=
    }=0A=
    return '';=0A=
  },=0A=
=0A=
  getValue: function(element) {=0A=
    element =3D $(element);=0A=
    var method =3D element.tagName.toLowerCase();=0A=
    return Form.Element.Serializers[method](element);=0A=
  },=0A=
=0A=
  setValue: function(element, value) {=0A=
    element =3D $(element);=0A=
    var method =3D element.tagName.toLowerCase();=0A=
    Form.Element.Serializers[method](element, value);=0A=
    return element;=0A=
  },=0A=
=0A=
  clear: function(element) {=0A=
    $(element).value =3D '';=0A=
    return element;=0A=
  },=0A=
=0A=
  present: function(element) {=0A=
    return $(element).value !=3D '';=0A=
  },=0A=
=0A=
  activate: function(element) {=0A=
    element =3D $(element);=0A=
    try {=0A=
      element.focus();=0A=
      if (element.select && (element.tagName.toLowerCase() !=3D 'input' =
||=0A=
          !['button', 'reset', 'submit'].include(element.type)))=0A=
        element.select();=0A=
    } catch (e) { }=0A=
    return element;=0A=
  },=0A=
=0A=
  disable: function(element) {=0A=
    element =3D $(element);=0A=
    element.blur();=0A=
    element.disabled =3D true;=0A=
    return element;=0A=
  },=0A=
=0A=
  enable: function(element) {=0A=
    element =3D $(element);=0A=
    element.disabled =3D false;=0A=
    return element;=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
var Field =3D Form.Element;=0A=
var $F =3D Form.Element.Methods.getValue;=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Form.Element.Serializers =3D {=0A=
  input: function(element, value) {=0A=
    switch (element.type.toLowerCase()) {=0A=
      case 'checkbox':=0A=
      case 'radio':=0A=
        return Form.Element.Serializers.inputSelector(element, value);=0A=
      default:=0A=
        return Form.Element.Serializers.textarea(element, value);=0A=
    }=0A=
  },=0A=
=0A=
  inputSelector: function(element, value) {=0A=
    if (Object.isUndefined(value)) return element.checked ? =
element.value : null;=0A=
    else element.checked =3D !!value;=0A=
  },=0A=
=0A=
  textarea: function(element, value) {=0A=
    if (Object.isUndefined(value)) return element.value;=0A=
    else element.value =3D value;=0A=
  },=0A=
=0A=
  select: function(element, index) {=0A=
    if (Object.isUndefined(index))=0A=
      return this[element.type =3D=3D 'select-one' ?=0A=
        'selectOne' : 'selectMany'](element);=0A=
    else {=0A=
      var opt, value, single =3D !Object.isArray(index);=0A=
      for (var i =3D 0, length =3D element.length; i < length; i++) {=0A=
        opt =3D element.options[i];=0A=
        value =3D this.optionValue(opt);=0A=
        if (single) {=0A=
          if (value =3D=3D index) {=0A=
            opt.selected =3D true;=0A=
            return;=0A=
          }=0A=
        }=0A=
        else opt.selected =3D index.include(value);=0A=
      }=0A=
    }=0A=
  },=0A=
=0A=
  selectOne: function(element) {=0A=
    var index =3D element.selectedIndex;=0A=
    return index >=3D 0 ? this.optionValue(element.options[index]) : =
null;=0A=
  },=0A=
=0A=
  selectMany: function(element) {=0A=
    var values, length =3D element.length;=0A=
    if (!length) return null;=0A=
=0A=
    for (var i =3D 0, values =3D []; i < length; i++) {=0A=
      var opt =3D element.options[i];=0A=
      if (opt.selected) values.push(this.optionValue(opt));=0A=
    }=0A=
    return values;=0A=
  },=0A=
=0A=
  optionValue: function(opt) {=0A=
    // extend element because hasAttribute may not be native=0A=
    return Element.extend(opt).hasAttribute('value') ? opt.value : =
opt.text;=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Abstract.TimedObserver =3D Class.create(PeriodicalExecuter, {=0A=
  initialize: function($super, element, frequency, callback) {=0A=
    $super(callback, frequency);=0A=
    this.element   =3D $(element);=0A=
    this.lastValue =3D this.getValue();=0A=
  },=0A=
=0A=
  execute: function() {=0A=
    var value =3D this.getValue();=0A=
    if (Object.isString(this.lastValue) && Object.isString(value) ?=0A=
        this.lastValue !=3D value : String(this.lastValue) !=3D =
String(value)) {=0A=
      this.callback(this.element, value);=0A=
      this.lastValue =3D value;=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Form.Element.Observer =3D Class.create(Abstract.TimedObserver, {=0A=
  getValue: function() {=0A=
    return Form.Element.getValue(this.element);=0A=
  }=0A=
});=0A=
=0A=
Form.Observer =3D Class.create(Abstract.TimedObserver, {=0A=
  getValue: function() {=0A=
    return Form.serialize(this.element);=0A=
  }=0A=
});=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Abstract.EventObserver =3D Class.create({=0A=
  initialize: function(element, callback) {=0A=
    this.element  =3D $(element);=0A=
    this.callback =3D callback;=0A=
=0A=
    this.lastValue =3D this.getValue();=0A=
    if (this.element.tagName.toLowerCase() =3D=3D 'form')=0A=
      this.registerFormCallbacks();=0A=
    else=0A=
      this.registerCallback(this.element);=0A=
  },=0A=
=0A=
  onElementEvent: function() {=0A=
    var value =3D this.getValue();=0A=
    if (this.lastValue !=3D value) {=0A=
      this.callback(this.element, value);=0A=
      this.lastValue =3D value;=0A=
    }=0A=
  },=0A=
=0A=
  registerFormCallbacks: function() {=0A=
    Form.getElements(this.element).each(this.registerCallback, this);=0A=
  },=0A=
=0A=
  registerCallback: function(element) {=0A=
    if (element.type) {=0A=
      switch (element.type.toLowerCase()) {=0A=
        case 'checkbox':=0A=
        case 'radio':=0A=
          Event.observe(element, 'click', =
this.onElementEvent.bind(this));=0A=
          break;=0A=
        default:=0A=
          Event.observe(element, 'change', =
this.onElementEvent.bind(this));=0A=
          break;=0A=
      }=0A=
    }=0A=
  }=0A=
});=0A=
=0A=
Form.Element.EventObserver =3D Class.create(Abstract.EventObserver, {=0A=
  getValue: function() {=0A=
    return Form.Element.getValue(this.element);=0A=
  }=0A=
});=0A=
=0A=
Form.EventObserver =3D Class.create(Abstract.EventObserver, {=0A=
  getValue: function() {=0A=
    return Form.serialize(this.element);=0A=
  }=0A=
});=0A=
if (!window.Event) var Event =3D { };=0A=
=0A=
Object.extend(Event, {=0A=
  KEY_BACKSPACE: 8,=0A=
  KEY_TAB:       9,=0A=
  KEY_RETURN:   13,=0A=
  KEY_ESC:      27,=0A=
  KEY_LEFT:     37,=0A=
  KEY_UP:       38,=0A=
  KEY_RIGHT:    39,=0A=
  KEY_DOWN:     40,=0A=
  KEY_DELETE:   46,=0A=
  KEY_HOME:     36,=0A=
  KEY_END:      35,=0A=
  KEY_PAGEUP:   33,=0A=
  KEY_PAGEDOWN: 34,=0A=
  KEY_INSERT:   45,=0A=
=0A=
  cache: { },=0A=
=0A=
  relatedTarget: function(event) {=0A=
    var element;=0A=
    switch(event.type) {=0A=
      case 'mouseover': element =3D event.fromElement; break;=0A=
      case 'mouseout':  element =3D event.toElement;   break;=0A=
      default: return null;=0A=
    }=0A=
    return Element.extend(element);=0A=
  }=0A=
});=0A=
=0A=
Event.Methods =3D (function() {=0A=
  var isButton;=0A=
=0A=
  if (Prototype.Browser.IE) {=0A=
    var buttonMap =3D { 0: 1, 1: 4, 2: 2 };=0A=
    isButton =3D function(event, code) {=0A=
      return event.button =3D=3D buttonMap[code];=0A=
    };=0A=
=0A=
  } else if (Prototype.Browser.WebKit) {=0A=
    isButton =3D function(event, code) {=0A=
      switch (code) {=0A=
        case 0: return event.which =3D=3D 1 && !event.metaKey;=0A=
        case 1: return event.which =3D=3D 1 && event.metaKey;=0A=
        default: return false;=0A=
      }=0A=
    };=0A=
=0A=
  } else {=0A=
    isButton =3D function(event, code) {=0A=
      return event.which ? (event.which =3D=3D=3D code + 1) : =
(event.button =3D=3D=3D code);=0A=
    };=0A=
  }=0A=
=0A=
  return {=0A=
    isLeftClick:   function(event) { return isButton(event, 0) },=0A=
    isMiddleClick: function(event) { return isButton(event, 1) },=0A=
    isRightClick:  function(event) { return isButton(event, 2) },=0A=
=0A=
    element: function(event) {=0A=
      var node =3D Event.extend(event).target;=0A=
      return Element.extend(node.nodeType =3D=3D Node.TEXT_NODE ? =
node.parentNode : node);=0A=
    },=0A=
=0A=
    findElement: function(event, expression) {=0A=
      var element =3D Event.element(event);=0A=
      if (!expression) return element;=0A=
      var elements =3D [element].concat(element.ancestors());=0A=
      return Selector.findElement(elements, expression, 0);=0A=
    },=0A=
=0A=
    pointer: function(event) {=0A=
      return {=0A=
        x: event.pageX || (event.clientX +=0A=
          (document.documentElement.scrollLeft || =
document.body.scrollLeft)),=0A=
        y: event.pageY || (event.clientY +=0A=
          (document.documentElement.scrollTop || =
document.body.scrollTop))=0A=
      };=0A=
    },=0A=
=0A=
    pointerX: function(event) { return Event.pointer(event).x },=0A=
    pointerY: function(event) { return Event.pointer(event).y },=0A=
=0A=
    stop: function(event) {=0A=
      Event.extend(event);=0A=
      event.preventDefault();=0A=
      event.stopPropagation();=0A=
      event.stopped =3D true;=0A=
    }=0A=
  };=0A=
})();=0A=
=0A=
Event.extend =3D (function() {=0A=
  var methods =3D Object.keys(Event.Methods).inject({ }, function(m, =
name) {=0A=
    m[name] =3D Event.Methods[name].methodize();=0A=
    return m;=0A=
  });=0A=
=0A=
  if (Prototype.Browser.IE) {=0A=
    Object.extend(methods, {=0A=
      stopPropagation: function() { this.cancelBubble =3D true },=0A=
      preventDefault:  function() { this.returnValue =3D false },=0A=
      inspect: function() { return "[object Event]" }=0A=
    });=0A=
=0A=
    return function(event) {=0A=
      if (!event) return false;=0A=
      if (event._extendedByPrototype) return event;=0A=
=0A=
      event._extendedByPrototype =3D Prototype.emptyFunction;=0A=
      var pointer =3D Event.pointer(event);=0A=
      Object.extend(event, {=0A=
        target: event.srcElement,=0A=
        relatedTarget: Event.relatedTarget(event),=0A=
        pageX:  pointer.x,=0A=
        pageY:  pointer.y=0A=
      });=0A=
      return Object.extend(event, methods);=0A=
    };=0A=
=0A=
  } else {=0A=
    Event.prototype =3D Event.prototype || =
document.createEvent("HTMLEvents").__proto__;=0A=
    Object.extend(Event.prototype, methods);=0A=
    return Prototype.K;=0A=
  }=0A=
})();=0A=
=0A=
Object.extend(Event, (function() {=0A=
  var cache =3D Event.cache;=0A=
=0A=
  function getEventID(element) {=0A=
    if (element._eventID) return element._eventID;=0A=
    arguments.callee.id =3D arguments.callee.id || 1;=0A=
    return element._eventID =3D ++arguments.callee.id;=0A=
  }=0A=
=0A=
  function getDOMEventName(eventName) {=0A=
    if (eventName && eventName.include(':')) return "dataavailable";=0A=
    return eventName;=0A=
  }=0A=
=0A=
  function getCacheForID(id) {=0A=
    return cache[id] =3D cache[id] || { };=0A=
  }=0A=
=0A=
  function getWrappersForEventName(id, eventName) {=0A=
    var c =3D getCacheForID(id);=0A=
    return c[eventName] =3D c[eventName] || [];=0A=
  }=0A=
=0A=
  function createWrapper(element, eventName, handler) {=0A=
    var id =3D getEventID(element);=0A=
    var c =3D getWrappersForEventName(id, eventName);=0A=
    if (c.pluck("handler").include(handler)) return false;=0A=
=0A=
    var wrapper =3D function(event) {=0A=
      if (!Event || !Event.extend ||=0A=
        (event.eventName && event.eventName !=3D eventName))=0A=
          return false;=0A=
=0A=
      Event.extend(event);=0A=
      handler.call(element, event);=0A=
    };=0A=
=0A=
    wrapper.handler =3D handler;=0A=
    c.push(wrapper);=0A=
    return wrapper;=0A=
  }=0A=
=0A=
  function findWrapper(id, eventName, handler) {=0A=
    var c =3D getWrappersForEventName(id, eventName);=0A=
    return c.find(function(wrapper) { return wrapper.handler =3D=3D =
handler });=0A=
  }=0A=
=0A=
  function destroyWrapper(id, eventName, handler) {=0A=
    var c =3D getCacheForID(id);=0A=
    if (!c[eventName]) return false;=0A=
    c[eventName] =3D c[eventName].without(findWrapper(id, eventName, =
handler));=0A=
  }=0A=
=0A=
  function destroyCache() {=0A=
    for (var id in cache)=0A=
      for (var eventName in cache[id])=0A=
        cache[id][eventName] =3D null;=0A=
  }=0A=
=0A=
  if (window.attachEvent) {=0A=
    window.attachEvent("onunload", destroyCache);=0A=
  }=0A=
=0A=
  return {=0A=
    observe: function(element, eventName, handler) {=0A=
      element =3D $(element);=0A=
      var name =3D getDOMEventName(eventName);=0A=
=0A=
      var wrapper =3D createWrapper(element, eventName, handler);=0A=
      if (!wrapper) return element;=0A=
=0A=
      if (element.addEventListener) {=0A=
        element.addEventListener(name, wrapper, false);=0A=
      } else {=0A=
        element.attachEvent("on" + name, wrapper);=0A=
      }=0A=
=0A=
      return element;=0A=
    },=0A=
=0A=
    stopObserving: function(element, eventName, handler) {=0A=
      element =3D $(element);=0A=
      var id =3D getEventID(element), name =3D =
getDOMEventName(eventName);=0A=
=0A=
      if (!handler && eventName) {=0A=
        getWrappersForEventName(id, eventName).each(function(wrapper) {=0A=
          element.stopObserving(eventName, wrapper.handler);=0A=
        });=0A=
        return element;=0A=
=0A=
      } else if (!eventName) {=0A=
        Object.keys(getCacheForID(id)).each(function(eventName) {=0A=
          element.stopObserving(eventName);=0A=
        });=0A=
        return element;=0A=
      }=0A=
=0A=
      var wrapper =3D findWrapper(id, eventName, handler);=0A=
      if (!wrapper) return element;=0A=
=0A=
      if (element.removeEventListener) {=0A=
        element.removeEventListener(name, wrapper, false);=0A=
      } else {=0A=
        element.detachEvent("on" + name, wrapper);=0A=
      }=0A=
=0A=
      destroyWrapper(id, eventName, handler);=0A=
=0A=
      return element;=0A=
    },=0A=
=0A=
    fire: function(element, eventName, memo) {=0A=
      element =3D $(element);=0A=
      if (element =3D=3D document && document.createEvent && =
!element.dispatchEvent)=0A=
        element =3D document.documentElement;=0A=
=0A=
      var event;=0A=
      if (document.createEvent) {=0A=
        event =3D document.createEvent("HTMLEvents");=0A=
        event.initEvent("dataavailable", true, true);=0A=
      } else {=0A=
        event =3D document.createEventObject();=0A=
        event.eventType =3D "ondataavailable";=0A=
      }=0A=
=0A=
      event.eventName =3D eventName;=0A=
      event.memo =3D memo || { };=0A=
=0A=
      if (document.createEvent) {=0A=
        element.dispatchEvent(event);=0A=
      } else {=0A=
        element.fireEvent(event.eventType, event);=0A=
      }=0A=
=0A=
      return Event.extend(event);=0A=
    }=0A=
  };=0A=
})());=0A=
=0A=
Object.extend(Event, Event.Methods);=0A=
=0A=
Element.addMethods({=0A=
  fire:          Event.fire,=0A=
  observe:       Event.observe,=0A=
  stopObserving: Event.stopObserving=0A=
});=0A=
=0A=
Object.extend(document, {=0A=
  fire:          Element.Methods.fire.methodize(),=0A=
  observe:       Element.Methods.observe.methodize(),=0A=
  stopObserving: Element.Methods.stopObserving.methodize(),=0A=
  loaded:        false=0A=
});=0A=
=0A=
(function() {=0A=
  /* Support for the DOMContentLoaded event is based on work by Dan Webb,=0A=
     Matthias Miller, Dean Edwards and John Resig. */=0A=
=0A=
  var timer;=0A=
=0A=
  function fireContentLoadedEvent() {=0A=
    if (document.loaded) return;=0A=
    if (timer) window.clearInterval(timer);=0A=
    document.fire("dom:loaded");=0A=
    document.loaded =3D true;=0A=
  }=0A=
=0A=
  if (document.addEventListener) {=0A=
    if (Prototype.Browser.WebKit) {=0A=
      timer =3D window.setInterval(function() {=0A=
        if (/loaded|complete/.test(document.readyState))=0A=
          fireContentLoadedEvent();=0A=
      }, 0);=0A=
=0A=
      Event.observe(window, "load", fireContentLoadedEvent);=0A=
=0A=
    } else {=0A=
      document.addEventListener("DOMContentLoaded",=0A=
        fireContentLoadedEvent, false);=0A=
    }=0A=
=0A=
  } else {=0A=
    document.write("<script id=3D__onDOMContentLoaded defer =
src=3D//:><\/script>");=0A=
    $("__onDOMContentLoaded").onreadystatechange =3D function() {=0A=
      if (this.readyState =3D=3D "complete") {=0A=
        this.onreadystatechange =3D null;=0A=
        fireContentLoadedEvent();=0A=
      }=0A=
    };=0A=
  }=0A=
})();=0A=
/*------------------------------- DEPRECATED =
-------------------------------*/=0A=
=0A=
Hash.toQueryString =3D Object.toQueryString;=0A=
=0A=
var Toggle =3D { display: Element.toggle };=0A=
=0A=
Element.Methods.childOf =3D Element.Methods.descendantOf;=0A=
=0A=
var Insertion =3D {=0A=
  Before: function(element, content) {=0A=
    return Element.insert(element, {before:content});=0A=
  },=0A=
=0A=
  Top: function(element, content) {=0A=
    return Element.insert(element, {top:content});=0A=
  },=0A=
=0A=
  Bottom: function(element, content) {=0A=
    return Element.insert(element, {bottom:content});=0A=
  },=0A=
=0A=
  After: function(element, content) {=0A=
    return Element.insert(element, {after:content});=0A=
  }=0A=
};=0A=
=0A=
var $continue =3D new Error('"throw $continue" is deprecated, use =
"return" instead');=0A=
=0A=
// This should be moved to script.aculo.us; notice the deprecated methods=0A=
// further below, that map to the newer Element methods.=0A=
var Position =3D {=0A=
  // set to true if needed, warning: firefox performance problems=0A=
  // NOT neeeded for page scrolling, only if draggable contained in=0A=
  // scrollable elements=0A=
  includeScrollOffsets: false,=0A=
=0A=
  // must be called before calling withinIncludingScrolloffset, every =
time the=0A=
  // page is scrolled=0A=
  prepare: function() {=0A=
    this.deltaX =3D  window.pageXOffset=0A=
                || document.documentElement.scrollLeft=0A=
                || document.body.scrollLeft=0A=
                || 0;=0A=
    this.deltaY =3D  window.pageYOffset=0A=
                || document.documentElement.scrollTop=0A=
                || document.body.scrollTop=0A=
                || 0;=0A=
  },=0A=
=0A=
  // caches x/y coordinate pair to use with overlap=0A=
  within: function(element, x, y) {=0A=
    if (this.includeScrollOffsets)=0A=
      return this.withinIncludingScrolloffsets(element, x, y);=0A=
    this.xcomp =3D x;=0A=
    this.ycomp =3D y;=0A=
    this.offset =3D Element.cumulativeOffset(element);=0A=
=0A=
    return (y >=3D this.offset[1] &&=0A=
            y <  this.offset[1] + element.offsetHeight &&=0A=
            x >=3D this.offset[0] &&=0A=
            x <  this.offset[0] + element.offsetWidth);=0A=
  },=0A=
=0A=
  withinIncludingScrolloffsets: function(element, x, y) {=0A=
    var offsetcache =3D Element.cumulativeScrollOffset(element);=0A=
=0A=
    this.xcomp =3D x + offsetcache[0] - this.deltaX;=0A=
    this.ycomp =3D y + offsetcache[1] - this.deltaY;=0A=
    this.offset =3D Element.cumulativeOffset(element);=0A=
=0A=
    return (this.ycomp >=3D this.offset[1] &&=0A=
            this.ycomp <  this.offset[1] + element.offsetHeight &&=0A=
            this.xcomp >=3D this.offset[0] &&=0A=
            this.xcomp <  this.offset[0] + element.offsetWidth);=0A=
  },=0A=
=0A=
  // within must be called directly before=0A=
  overlap: function(mode, element) {=0A=
    if (!mode) return 0;=0A=
    if (mode =3D=3D 'vertical')=0A=
      return ((this.offset[1] + element.offsetHeight) - this.ycomp) /=0A=
        element.offsetHeight;=0A=
    if (mode =3D=3D 'horizontal')=0A=
      return ((this.offset[0] + element.offsetWidth) - this.xcomp) /=0A=
        element.offsetWidth;=0A=
  },=0A=
=0A=
  // Deprecation layer -- use newer Element methods now (1.5.2).=0A=
=0A=
  cumulativeOffset: Element.Methods.cumulativeOffset,=0A=
=0A=
  positionedOffset: Element.Methods.positionedOffset,=0A=
=0A=
  absolutize: function(element) {=0A=
    Position.prepare();=0A=
    return Element.absolutize(element);=0A=
  },=0A=
=0A=
  relativize: function(element) {=0A=
    Position.prepare();=0A=
    return Element.relativize(element);=0A=
  },=0A=
=0A=
  realOffset: Element.Methods.cumulativeScrollOffset,=0A=
=0A=
  offsetParent: Element.Methods.getOffsetParent,=0A=
=0A=
  page: Element.Methods.viewportOffset,=0A=
=0A=
  clone: function(source, target, options) {=0A=
    options =3D options || { };=0A=
    return Element.clonePosition(target, source, options);=0A=
  }=0A=
};=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
if (!document.getElementsByClassName) document.getElementsByClassName =
=3D function(instanceMethods){=0A=
  function iter(name) {=0A=
    return name.blank() ? null : "[contains(concat(' ', @class, ' '), ' =
" + name + " ')]";=0A=
  }=0A=
=0A=
  instanceMethods.getElementsByClassName =3D =
Prototype.BrowserFeatures.XPath ?=0A=
  function(element, className) {=0A=
    className =3D className.toString().strip();=0A=
    var cond =3D /\s/.test(className) ? $w(className).map(iter).join('') =
: iter(className);=0A=
    return cond ? document._getElementsByXPath('.//*' + cond, element) : =
[];=0A=
  } : function(element, className) {=0A=
    className =3D className.toString().strip();=0A=
    var elements =3D [], classNames =3D (/\s/.test(className) ? =
$w(className) : null);=0A=
    if (!classNames && !className) return elements;=0A=
=0A=
    var nodes =3D $(element).getElementsByTagName('*');=0A=
    className =3D ' ' + className + ' ';=0A=
=0A=
    for (var i =3D 0, child, cn; child =3D nodes[i]; i++) {=0A=
      if (child.className && (cn =3D ' ' + child.className + ' ') && =
(cn.include(className) ||=0A=
          (classNames && classNames.all(function(name) {=0A=
            return !name.toString().blank() && cn.include(' ' + name + ' =
');=0A=
          }))))=0A=
        elements.push(Element.extend(child));=0A=
    }=0A=
    return elements;=0A=
  };=0A=
=0A=
  return function(className, parentElement) {=0A=
    return $(parentElement || =
document.body).getElementsByClassName(className);=0A=
  };=0A=
}(Element.Methods);=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Element.ClassNames =3D Class.create();=0A=
Element.ClassNames.prototype =3D {=0A=
  initialize: function(element) {=0A=
    this.element =3D $(element);=0A=
  },=0A=
=0A=
  _each: function(iterator) {=0A=
    this.element.className.split(/\s+/).select(function(name) {=0A=
      return name.length > 0;=0A=
    })._each(iterator);=0A=
  },=0A=
=0A=
  set: function(className) {=0A=
    this.element.className =3D className;=0A=
  },=0A=
=0A=
  add: function(classNameToAdd) {=0A=
    if (this.include(classNameToAdd)) return;=0A=
    this.set($A(this).concat(classNameToAdd).join(' '));=0A=
  },=0A=
=0A=
  remove: function(classNameToRemove) {=0A=
    if (!this.include(classNameToRemove)) return;=0A=
    this.set($A(this).without(classNameToRemove).join(' '));=0A=
  },=0A=
=0A=
  toString: function() {=0A=
    return $A(this).join(' ');=0A=
  }=0A=
};=0A=
=0A=
Object.extend(Element.ClassNames.prototype, Enumerable);=0A=
=0A=
/*-----------------------------------------------------------------------=
---*/=0A=
=0A=
Element.addMethods();
------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/Lightbox/js/scriptaculous.js?load=effects

// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 =
2008=0A=
=0A=
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, =
http://mir.aculo.us)=0A=
// =0A=
// Permission is hereby granted, free of charge, to any person obtaining=0A=
// a copy of this software and associated documentation files (the=0A=
// "Software"), to deal in the Software without restriction, including=0A=
// without limitation the rights to use, copy, modify, merge, publish,=0A=
// distribute, sublicense, and/or sell copies of the Software, and to=0A=
// permit persons to whom the Software is furnished to do so, subject to=0A=
// the following conditions:=0A=
// =0A=
// The above copyright notice and this permission notice shall be=0A=
// included in all copies or substantial portions of the Software.=0A=
//=0A=
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,=0A=
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF=0A=
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND=0A=
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE=0A=
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION=0A=
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION=0A=
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.=0A=
//=0A=
// For details, see the script.aculo.us web site: http://script.aculo.us/=0A=
=0A=
var Scriptaculous =3D {=0A=
  Version: '1.8.1',=0A=
  require: function(libraryName) {=0A=
    // inserting via DOM fails in Safari 2.0, so brute force approach=0A=
    document.write('<script type=3D"text/javascript" =
src=3D"'+libraryName+'"><\/script>');=0A=
  },=0A=
  REQUIRED_PROTOTYPE: '1.6.0',=0A=
  load: function() {=0A=
    function convertVersionString(versionString){=0A=
      var r =3D versionString.split('.');=0A=
      return parseInt(r[0])*100000 + parseInt(r[1])*1000 + =
parseInt(r[2]);=0A=
    }=0A=
 =0A=
    if((typeof Prototype=3D=3D'undefined') || =0A=
       (typeof Element =3D=3D 'undefined') || =0A=
       (typeof Element.Methods=3D=3D'undefined') ||=0A=
       (convertVersionString(Prototype.Version) < =0A=
        convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))=0A=
       throw("script.aculo.us requires the Prototype JavaScript =
framework >=3D " +=0A=
        Scriptaculous.REQUIRED_PROTOTYPE);=0A=
    =0A=
    $A(document.getElementsByTagName("script")).findAll( function(s) {=0A=
      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))=0A=
    }).each( function(s) {=0A=
      var path =3D s.src.replace(/scriptaculous\.js(\?.*)?$/,'');=0A=
      var includes =3D s.src.match(/\?.*load=3D([a-z,]*)/);=0A=
      (includes ? includes[1] : =
'builder,effects,dragdrop,controls,slider,sound').split(',').each(=0A=
       function(include) { Scriptaculous.require(path+include+'.js') });=0A=
    });=0A=
  }=0A=
}=0A=
=0A=
Scriptaculous.load();
------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/Lightbox/js/lightbox.js

// =
-------------------------------------------------------------------------=
----------=0A=
//=0A=
//	Lightbox v2.03=0A=
//	by Lokesh Dhakar - http://www.huddletogether.com=0A=
//	4/9/06=0A=
//=0A=
//	For more information on this script, visit:=0A=
//	http://huddletogether.com/projects/lightbox2/=0A=
//=0A=
//	Licensed under the Creative Commons Attribution 2.5 License - =
http://creativecommons.org/licenses/by/2.5/=0A=
//	=0A=
//	Credit also due to those who have helped, inspired, and made their =
code available to the public.=0A=
//	Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), =
Thomas Fuchs(mir.aculo.us), and others.=0A=
//=0A=
//	Lightbox v2.03a=0A=
//	by Dynamicdrive.com- http://www.dynamicdrive.com=0A=
//	Nov 29th, 2007=0A=
//	Added ability for the caption ("title" attr of link) to be optionally =
hyperlinked, by throwing in a "rev" attr containing the desired link=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
/*=0A=
=0A=
	Table of Contents=0A=
	-----------------=0A=
	Configuration=0A=
	Global Variables=0A=
=0A=
	Extending Built-in Objects	=0A=
	- Object.extend(Element)=0A=
	- Array.prototype.removeDuplicates()=0A=
	- Array.prototype.empty()=0A=
=0A=
	Lightbox Class Declaration=0A=
	- initialize()=0A=
	- start()=0A=
	- changeImage()=0A=
	- resizeImageContainer()=0A=
	- showImage()=0A=
	- updateDetails()=0A=
	- updateNav()=0A=
	- enableKeyboardNav()=0A=
	- disableKeyboardNav()=0A=
	- keyboardAction()=0A=
	- preloadNeighborImages()=0A=
	- end()=0A=
	=0A=
	Miscellaneous Functions=0A=
	- getPageScroll()=0A=
	- getPageSize()=0A=
	- getKey()=0A=
	- listenKey()=0A=
	- showSelectBoxes()=0A=
	- hideSelectBoxes()=0A=
	- showFlash()=0A=
	- hideFlash()=0A=
	- pause()=0A=
	- initLightbox()=0A=
	=0A=
	Function Calls=0A=
	- addLoadEvent(initLightbox)=0A=
	=0A=
*/=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
//	Configuration=0A=
//=0A=
var fileLoadingImage =3D "/includes/Lightbox/images/loading.gif";		=0A=
var fileBottomNavCloseImage =3D =
"/includes/Lightbox/images/closelabel.gif";=0A=
=0A=
var animate =3D true;	// toggles resizing animations=0A=
var resizeSpeed =3D 7;	// controls the speed of the image resizing =
animations (1=3Dslowest and 10=3Dfastest)=0A=
=0A=
var borderSize =3D 10;	//if you adjust the padding in the CSS, you will =
need to update this variable=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
//	Global Variables=0A=
//=0A=
var imageArray =3D new Array;=0A=
var activeImage;=0A=
=0A=
if(animate =3D=3D true){=0A=
	overlayDuration =3D 0.2;	// shadow fade in/out duration=0A=
	if(resizeSpeed > 10){ resizeSpeed =3D 10;}=0A=
	if(resizeSpeed < 1){ resizeSpeed =3D 1;}=0A=
	resizeDuration =3D (11 - resizeSpeed) * 0.15;=0A=
} else { =0A=
	overlayDuration =3D 0;=0A=
	resizeDuration =3D 0;=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
//	Additional methods for Element added by SU, Couloir=0A=
//	- further additions by Lokesh Dhakar (huddletogether.com)=0A=
//=0A=
Object.extend(Element, {=0A=
	getWidth: function(element) {=0A=
	   	element =3D $(element);=0A=
	   	return element.offsetWidth; =0A=
	},=0A=
	setWidth: function(element,w) {=0A=
	   	element =3D $(element);=0A=
    	element.style.width =3D w +"px";=0A=
	},=0A=
	setHeight: function(element,h) {=0A=
   		element =3D $(element);=0A=
    	element.style.height =3D h +"px";=0A=
	},=0A=
	setTop: function(element,t) {=0A=
	   	element =3D $(element);=0A=
    	element.style.top =3D t +"px";=0A=
	},=0A=
	setSrc: function(element,src) {=0A=
    	element =3D $(element);=0A=
    	element.src =3D src; =0A=
	},=0A=
	setHref: function(element,href) {=0A=
    	element =3D $(element);=0A=
    	element.href =3D href; =0A=
	},=0A=
	setInnerHTML: function(element,content) {=0A=
		element =3D $(element);=0A=
		element.innerHTML =3D content;=0A=
	}=0A=
});=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
//	Extending built-in Array object=0A=
//	- array.removeDuplicates()=0A=
//	- array.empty()=0A=
//=0A=
Array.prototype.removeDuplicates =3D function () {=0A=
    for(i =3D 0; i < this.length; i++){=0A=
        for(j =3D this.length-1; j>i; j--){        =0A=
            if(this[i][0] =3D=3D this[j][0]){=0A=
                this.splice(j,1);=0A=
            }=0A=
        }=0A=
    }=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
Array.prototype.empty =3D function () {=0A=
	for(i =3D 0; i <=3D this.length; i++){=0A=
		this.shift();=0A=
	}=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
//	Lightbox Class Declaration=0A=
//	- initialize()=0A=
//	- start()=0A=
//	- changeImage()=0A=
//	- resizeImageContainer()=0A=
//	- showImage()=0A=
//	- updateDetails()=0A=
//	- updateNav()=0A=
//	- enableKeyboardNav()=0A=
//	- disableKeyboardNav()=0A=
//	- keyboardNavAction()=0A=
//	- preloadNeighborImages()=0A=
//	- end()=0A=
//=0A=
//	Structuring of code inspired by Scott Upton (http://www.uptonic.com/)=0A=
//=0A=
var Lightbox =3D Class.create();=0A=
=0A=
Lightbox.prototype =3D {=0A=
	=0A=
	// initialize()=0A=
	// Constructor runs on completion of the DOM loading. Loops through =
anchor tags looking for =0A=
	// 'lightbox' references and applies onclick events to appropriate =
links. The 2nd section of=0A=
	// the function inserts html at the bottom of the page which is used to =
display the shadow =0A=
	// overlay and the image container.=0A=
	//=0A=
	initialize: function() {	=0A=
		if (!document.getElementsByTagName){ return; }=0A=
		var anchors =3D document.getElementsByTagName('a');=0A=
		var areas =3D document.getElementsByTagName('area');=0A=
=0A=
		// loop through all anchor tags=0A=
		for (var i=3D0; i<anchors.length; i++){=0A=
			var anchor =3D anchors[i];=0A=
			=0A=
			var relAttribute =3D String(anchor.getAttribute('rel'));=0A=
			=0A=
			// use the string.match() method to catch 'lightbox' references in =
the rel attribute=0A=
			if (anchor.getAttribute('href') && =
(relAttribute.toLowerCase().match('lightbox'))){=0A=
				anchor.onclick =3D function () {myLightbox.start(this); return =
false;}=0A=
			}=0A=
		}=0A=
=0A=
		// loop through all area tags=0A=
		// todo: combine anchor & area tag loops=0A=
		for (var i=3D0; i< areas.length; i++){=0A=
			var area =3D areas[i];=0A=
			=0A=
			var relAttribute =3D String(area.getAttribute('rel'));=0A=
			=0A=
			// use the string.match() method to catch 'lightbox' references in =
the rel attribute=0A=
			if (area.getAttribute('href') && =
(relAttribute.toLowerCase().match('lightbox'))){=0A=
				area.onclick =3D function () {myLightbox.start(this); return false;}=0A=
			}=0A=
		}=0A=
=0A=
		// The rest of this code inserts html at the bottom of the page that =
looks similar to this:=0A=
		//=0A=
		//	<div id=3D"overlay"></div>=0A=
		//	<div id=3D"lightbox">=0A=
		//		<div id=3D"outerImageContainer">=0A=
		//			<div id=3D"imageContainer">=0A=
		//				<img id=3D"lightboxImage">=0A=
		//				<div style=3D"" id=3D"hoverNav">=0A=
		//					<a href=3D"#" id=3D"prevLink"></a>=0A=
		//					<a href=3D"#" id=3D"nextLink"></a>=0A=
		//				</div>=0A=
		//				<div id=3D"loading">=0A=
		//					<a href=3D"#" id=3D"loadingLink">=0A=
		//						<img src=3D"images/loading.gif">=0A=
		//					</a>=0A=
		//				</div>=0A=
		//			</div>=0A=
		//		</div>=0A=
		//		<div id=3D"imageDataContainer">=0A=
		//			<div id=3D"imageData">=0A=
		//				<div id=3D"imageDetails">=0A=
		//					<span id=3D"caption"></span>=0A=
		//					<span id=3D"numberDisplay"></span>=0A=
		//				</div>=0A=
		//				<div id=3D"bottomNav">=0A=
		//					<a href=3D"#" id=3D"bottomNavClose">=0A=
		//						<img src=3D"images/close.gif">=0A=
		//					</a>=0A=
		//				</div>=0A=
		//			</div>=0A=
		//		</div>=0A=
		//	</div>=0A=
=0A=
=0A=
		var objBody =3D document.getElementsByTagName("body").item(0);=0A=
		=0A=
		var objOverlay =3D document.createElement("div");=0A=
		objOverlay.setAttribute('id','overlay');=0A=
		objOverlay.style.display =3D 'none';=0A=
		objOverlay.onclick =3D function() { myLightbox.end(); }=0A=
		objBody.appendChild(objOverlay);=0A=
		=0A=
		var objLightbox =3D document.createElement("div");=0A=
		objLightbox.setAttribute('id','lightbox');=0A=
		objLightbox.style.display =3D 'none';=0A=
		objLightbox.onclick =3D function(e) {	// close Lightbox is user clicks =
shadow overlay=0A=
			if (!e) var e =3D window.event;=0A=
			var clickObj =3D Event.element(e).id;=0A=
			if ( clickObj =3D=3D 'lightbox') {=0A=
				myLightbox.end();=0A=
			}=0A=
		};=0A=
		objBody.appendChild(objLightbox);=0A=
			=0A=
		var objOuterImageContainer =3D document.createElement("div");=0A=
		objOuterImageContainer.setAttribute('id','outerImageContainer');=0A=
		objLightbox.appendChild(objOuterImageContainer);=0A=
=0A=
		// When Lightbox starts it will resize itself from 250 by 250 to the =
current image dimension.=0A=
		// If animations are turned off, it will be hidden as to prevent a =
flicker of a=0A=
		// white 250 by 250 box.=0A=
		if(animate){=0A=
			Element.setWidth('outerImageContainer', 250);=0A=
			Element.setHeight('outerImageContainer', 250);		=09
		} else {=0A=
			Element.setWidth('outerImageContainer', 1);=0A=
			Element.setHeight('outerImageContainer', 1);			=0A=
		}=0A=
=0A=
		var objImageContainer =3D document.createElement("div");=0A=
		objImageContainer.setAttribute('id','imageContainer');=0A=
		objOuterImageContainer.appendChild(objImageContainer);=0A=
	=0A=
		var objLightboxImage =3D document.createElement("img");=0A=
		objLightboxImage.setAttribute('id','lightboxImage');=0A=
		objImageContainer.appendChild(objLightboxImage);=0A=
	=0A=
		var objHoverNav =3D document.createElement("div");=0A=
		objHoverNav.setAttribute('id','hoverNav');=0A=
		objImageContainer.appendChild(objHoverNav);=0A=
	=0A=
		var objPrevLink =3D document.createElement("a");=0A=
		objPrevLink.setAttribute('id','prevLink');=0A=
		objPrevLink.setAttribute('href','#');=0A=
		objHoverNav.appendChild(objPrevLink);=0A=
		=0A=
		var objNextLink =3D document.createElement("a");=0A=
		objNextLink.setAttribute('id','nextLink');=0A=
		objNextLink.setAttribute('href','#');=0A=
		objHoverNav.appendChild(objNextLink);=0A=
	=0A=
		var objLoading =3D document.createElement("div");=0A=
		objLoading.setAttribute('id','loading');=0A=
		objImageContainer.appendChild(objLoading);=0A=
	=0A=
		var objLoadingLink =3D document.createElement("a");=0A=
		objLoadingLink.setAttribute('id','loadingLink');=0A=
		objLoadingLink.setAttribute('href','#');=0A=
		objLoadingLink.onclick =3D function() { myLightbox.end(); return =
false; }=0A=
		objLoading.appendChild(objLoadingLink);=0A=
	=0A=
		var objLoadingImage =3D document.createElement("img");=0A=
		objLoadingImage.setAttribute('src', fileLoadingImage);=0A=
		objLoadingLink.appendChild(objLoadingImage);=0A=
=0A=
		var objImageDataContainer =3D document.createElement("div");=0A=
		objImageDataContainer.setAttribute('id','imageDataContainer');=0A=
		objImageDataContainer.className =3D 'clearfix';=0A=
		objLightbox.appendChild(objImageDataContainer);=0A=
=0A=
		var objImageData =3D document.createElement("div");=0A=
		objImageData.setAttribute('id','imageData');=0A=
		objImageDataContainer.appendChild(objImageData);=0A=
	=0A=
		var objImageDetails =3D document.createElement("div");=0A=
		objImageDetails.setAttribute('id','imageDetails');=0A=
		objImageData.appendChild(objImageDetails);=0A=
	=0A=
		var objCaption =3D document.createElement("span");=0A=
		objCaption.setAttribute('id','caption');=0A=
		objImageDetails.appendChild(objCaption);=0A=
	=0A=
		var objNumberDisplay =3D document.createElement("span");=0A=
		objNumberDisplay.setAttribute('id','numberDisplay');=0A=
		objImageDetails.appendChild(objNumberDisplay);=0A=
		=0A=
		var objBottomNav =3D document.createElement("div");=0A=
		objBottomNav.setAttribute('id','bottomNav');=0A=
		objImageData.appendChild(objBottomNav);=0A=
	=0A=
		var objBottomNavCloseLink =3D document.createElement("a");=0A=
		objBottomNavCloseLink.setAttribute('id','bottomNavClose');=0A=
		objBottomNavCloseLink.setAttribute('href','#');=0A=
		objBottomNavCloseLink.onclick =3D function() { myLightbox.end(); =
return false; }=0A=
		objBottomNav.appendChild(objBottomNavCloseLink);=0A=
	=0A=
		var objBottomNavCloseImage =3D document.createElement("img");=0A=
		objBottomNavCloseImage.setAttribute('src', fileBottomNavCloseImage);=0A=
		objBottomNavCloseLink.appendChild(objBottomNavCloseImage);=0A=
	},=0A=
	=0A=
	//=0A=
	//	start()=0A=
	//	Display overlay and lightbox. If image is part of a set, add =
siblings to imageArray.=0A=
	//=0A=
	start: function(imageLink) {	=0A=
=0A=
		function getImageTitle(anchor){ //DynamicDrive.com added function that =
allows the caption("title") to be linked ("rev").=0A=
			var ddimageTitle=3Danchor.getAttribute('title')=0A=
			var ddimageTitleURL=3D(ddimageTitle!=3Dnull && ddimageTitle!=3D"")? =
anchor.getAttribute('rev') : null=0A=
			return ddimageTitleFinal=3D(ddimageTitleURL!=3Dnull && =
ddimageTitleURL!=3D"")? '<a href=3D"'+ddimageTitleURL+'" =
class=3D"ddcaptionurl">'+ddimageTitle+'</a>' : ddimageTitle=0A=
		};=0A=
=0A=
		hideSelectBoxes();=0A=
		hideFlash();=0A=
=0A=
		// stretch overlay to fill page and fade in=0A=
		var arrayPageSize =3D getPageSize();=0A=
		Element.setHeight('overlay', arrayPageSize[1]);=0A=
=0A=
		new Effect.Appear('overlay', { duration: overlayDuration, from: 0.0, =
to: 0.8 });=0A=
=0A=
		imageArray =3D [];=0A=
		imageNum =3D 0;		=0A=
=0A=
		if (!document.getElementsByTagName){ return; }=0A=
		var anchors =3D document.getElementsByTagName('a');=0A=
=0A=
		// if image is NOT part of a set..=0A=
		if((imageLink.getAttribute('rel') =3D=3D 'lightbox')){=0A=
			// add single image to imageArray=0A=
			imageArray.push(new Array(imageLink.getAttribute('href'), =
getImageTitle(imageLink)));			=0A=
		} else {=0A=
		// if image is part of a set..=0A=
=0A=
			// loop through anchors, find other images in set, and add them to =
imageArray=0A=
			for (var i=3D0; i<anchors.length; i++){=0A=
				var anchor =3D anchors[i];=0A=
				if (anchor.getAttribute('href') && (anchor.getAttribute('rel') =
=3D=3D imageLink.getAttribute('rel'))){=0A=
					imageArray.push(new Array(anchor.getAttribute('href'), =
getImageTitle(anchor)));=0A=
				}=0A=
			}=0A=
			imageArray.removeDuplicates();=0A=
			while(imageArray[imageNum][0] !=3D imageLink.getAttribute('href')) { =
imageNum++;}=0A=
		}=0A=
=0A=
		// calculate top offset for the lightbox and display =0A=
		var arrayPageScroll =3D getPageScroll();=0A=
		var lightboxTop =3D arrayPageScroll[1] + (arrayPageSize[3] / 10);=0A=
=0A=
		Element.setTop('lightbox', lightboxTop);=0A=
		Element.show('lightbox');=0A=
		=0A=
		this.changeImage(imageNum);=0A=
	},=0A=
=0A=
	//=0A=
	//	changeImage()=0A=
	//	Hide most elements and preload image in preparation for resizing =
image container.=0A=
	//=0A=
	changeImage: function(imageNum) {	=0A=
		=0A=
		activeImage =3D imageNum;	// update global var=0A=
=0A=
		// hide elements during transition=0A=
		if(animate){ Element.show('loading');}=0A=
		Element.hide('lightboxImage');=0A=
		Element.hide('hoverNav');=0A=
		Element.hide('prevLink');=0A=
		Element.hide('nextLink');=0A=
		Element.hide('imageDataContainer');=0A=
		Element.hide('numberDisplay');		=0A=
		=0A=
		imgPreloader =3D new Image();=0A=
		=0A=
		// once image is preloaded, resize image container=0A=
		imgPreloader.onload=3Dfunction(){=0A=
			Element.setSrc('lightboxImage', imageArray[activeImage][0]);=0A=
			myLightbox.resizeImageContainer(imgPreloader.width, =
imgPreloader.height);=0A=
		}=0A=
		imgPreloader.src =3D imageArray[activeImage][0];=0A=
	},=0A=
=0A=
	//=0A=
	//	resizeImageContainer()=0A=
	//=0A=
	resizeImageContainer: function( imgWidth, imgHeight) {=0A=
=0A=
		// get curren width and height=0A=
		this.widthCurrent =3D Element.getWidth('outerImageContainer');=0A=
		this.heightCurrent =3D Element.getHeight('outerImageContainer');=0A=
=0A=
		// get new width and height=0A=
		var widthNew =3D (imgWidth  + (borderSize * 2));=0A=
		var heightNew =3D (imgHeight  + (borderSize * 2));=0A=
=0A=
		// scalars based on change from old to new=0A=
		this.xScale =3D ( widthNew / this.widthCurrent) * 100;=0A=
		this.yScale =3D ( heightNew / this.heightCurrent) * 100;=0A=
=0A=
		// calculate size difference between new and old image, and resize if =
necessary=0A=
		wDiff =3D this.widthCurrent - widthNew;=0A=
		hDiff =3D this.heightCurrent - heightNew;=0A=
=0A=
		if(!( hDiff =3D=3D 0)){ new Effect.Scale('outerImageContainer', =
this.yScale, {scaleX: false, duration: resizeDuration, queue: 'front'}); =
}=0A=
		if(!( wDiff =3D=3D 0)){ new Effect.Scale('outerImageContainer', =
this.xScale, {scaleY: false, delay: resizeDuration, duration: =
resizeDuration}); }=0A=
=0A=
		// if new and old image are same size and no scaling transition is =
necessary, =0A=
		// do a quick pause to prevent image flicker.=0A=
		if((hDiff =3D=3D 0) && (wDiff =3D=3D 0)){=0A=
			if (navigator.appVersion.indexOf("MSIE")!=3D-1){ pause(250); } else { =
pause(100);} =0A=
		}=0A=
=0A=
		Element.setHeight('prevLink', imgHeight);=0A=
		Element.setHeight('nextLink', imgHeight);=0A=
		Element.setWidth( 'imageDataContainer', widthNew);=0A=
=0A=
		this.showImage();=0A=
	},=0A=
	=0A=
	//=0A=
	//	showImage()=0A=
	//	Display image and begin preloading neighbors.=0A=
	//=0A=
	showImage: function(){=0A=
		Element.hide('loading');=0A=
		new Effect.Appear('lightboxImage', { duration: resizeDuration, queue: =
'end', afterFinish: function(){	myLightbox.updateDetails(); } });=0A=
		this.preloadNeighborImages();=0A=
	},=0A=
=0A=
	//=0A=
	//	updateDetails()=0A=
	//	Display caption, image number, and bottom nav.=0A=
	//=0A=
	updateDetails: function() {=0A=
	=0A=
		Element.show('caption');=0A=
		Element.setInnerHTML( 'caption', imageArray[activeImage][1]);=0A=
		=0A=
		// if image is part of set display 'Image x of x' =0A=
		if(imageArray.length > 1){=0A=
			Element.show('numberDisplay');=0A=
			Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + =
1) + " of " + imageArray.length);=0A=
		}=0A=
=0A=
		new Effect.Parallel(=0A=
			[ new Effect.SlideDown( 'imageDataContainer', { sync: true, duration: =
resizeDuration, from: 0.0, to: 1.0 }), =0A=
			  new Effect.Appear('imageDataContainer', { sync: true, duration: =
resizeDuration }) ], =0A=
			{ duration: resizeDuration, afterFinish: function() {=0A=
				// update overlay size and update nav=0A=
				var arrayPageSize =3D getPageSize();=0A=
				Element.setHeight('overlay', arrayPageSize[1]);=0A=
				myLightbox.updateNav();=0A=
				}=0A=
			} =0A=
		);=0A=
	},=0A=
=0A=
	//=0A=
	//	updateNav()=0A=
	//	Display appropriate previous and next hover navigation.=0A=
	//=0A=
	updateNav: function() {=0A=
=0A=
		Element.show('hoverNav');				=0A=
=0A=
		// if not first image in set, display prev image button=0A=
		if(activeImage !=3D 0){=0A=
			Element.show('prevLink');=0A=
			document.getElementById('prevLink').onclick =3D function() {=0A=
				myLightbox.changeImage(activeImage - 1); return false;=0A=
			}=0A=
		}=0A=
=0A=
		// if not last image in set, display next image button=0A=
		if(activeImage !=3D (imageArray.length - 1)){=0A=
			Element.show('nextLink');=0A=
			document.getElementById('nextLink').onclick =3D function() {=0A=
				myLightbox.changeImage(activeImage + 1); return false;=0A=
			}=0A=
		}=0A=
		=0A=
		this.enableKeyboardNav();=0A=
	},=0A=
=0A=
	//=0A=
	//	enableKeyboardNav()=0A=
	//=0A=
	enableKeyboardNav: function() {=0A=
		document.onkeydown =3D this.keyboardAction; =0A=
	},=0A=
=0A=
	//=0A=
	//	disableKeyboardNav()=0A=
	//=0A=
	disableKeyboardNav: function() {=0A=
		document.onkeydown =3D '';=0A=
	},=0A=
=0A=
	//=0A=
	//	keyboardAction()=0A=
	//=0A=
	keyboardAction: function(e) {=0A=
		if (e =3D=3D null) { // ie=0A=
			keycode =3D event.keyCode;=0A=
			escapeKey =3D 27;=0A=
		} else { // mozilla=0A=
			keycode =3D e.keyCode;=0A=
			escapeKey =3D e.DOM_VK_ESCAPE;=0A=
		}=0A=
=0A=
		key =3D String.fromCharCode(keycode).toLowerCase();=0A=
		=0A=
		if((key =3D=3D 'x') || (key =3D=3D 'o') || (key =3D=3D 'c') || =
(keycode =3D=3D escapeKey)){	// close lightbox=0A=
			myLightbox.end();=0A=
		} else if((key =3D=3D 'p') || (keycode =3D=3D 37)){	// display =
previous image=0A=
			if(activeImage !=3D 0){=0A=
				myLightbox.disableKeyboardNav();=0A=
				myLightbox.changeImage(activeImage - 1);=0A=
			}=0A=
		} else if((key =3D=3D 'n') || (keycode =3D=3D 39)){	// display next =
image=0A=
			if(activeImage !=3D (imageArray.length - 1)){=0A=
				myLightbox.disableKeyboardNav();=0A=
				myLightbox.changeImage(activeImage + 1);=0A=
			}=0A=
		}=0A=
=0A=
	},=0A=
=0A=
	//=0A=
	//	preloadNeighborImages()=0A=
	//	Preload previous and next images.=0A=
	//=0A=
	preloadNeighborImages: function(){=0A=
=0A=
		if((imageArray.length - 1) > activeImage){=0A=
			preloadNextImage =3D new Image();=0A=
			preloadNextImage.src =3D imageArray[activeImage + 1][0];=0A=
		}=0A=
		if(activeImage > 0){=0A=
			preloadPrevImage =3D new Image();=0A=
			preloadPrevImage.src =3D imageArray[activeImage - 1][0];=0A=
		}=0A=
	=0A=
	},=0A=
=0A=
	//=0A=
	//	end()=0A=
	//=0A=
	end: function() {=0A=
		this.disableKeyboardNav();=0A=
		Element.hide('lightbox');=0A=
		new Effect.Fade('overlay', { duration: overlayDuration});=0A=
		showSelectBoxes();=0A=
		showFlash();=0A=
	}=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
// getPageScroll()=0A=
// Returns array with x,y page scroll values.=0A=
// Core code from - quirksmode.org=0A=
//=0A=
function getPageScroll(){=0A=
=0A=
	var yScroll;=0A=
=0A=
	if (self.pageYOffset) {=0A=
		yScroll =3D self.pageYOffset;=0A=
	} else if (document.documentElement && =
document.documentElement.scrollTop){	 // Explorer 6 Strict=0A=
		yScroll =3D document.documentElement.scrollTop;=0A=
	} else if (document.body) {// all other Explorers=0A=
		yScroll =3D document.body.scrollTop;=0A=
	}=0A=
=0A=
	arrayPageScroll =3D new Array('',yScroll) =0A=
	return arrayPageScroll;=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
// getPageSize()=0A=
// Returns array with page width, height and window width, height=0A=
// Core code from - quirksmode.org=0A=
// Edit for Firefox by pHaez=0A=
//=0A=
function getPageSize(){=0A=
	=0A=
	var xScroll, yScroll;=0A=
	=0A=
	if (window.innerHeight && window.scrollMaxY) {	=0A=
		xScroll =3D document.body.scrollWidth;=0A=
		yScroll =3D window.innerHeight + window.scrollMaxY;=0A=
	} else if (document.body.scrollHeight > document.body.offsetHeight){ // =
all but Explorer Mac=0A=
		xScroll =3D document.body.scrollWidth;=0A=
		yScroll =3D document.body.scrollHeight;=0A=
	} else { // Explorer Mac...would also work in Explorer 6 Strict, =
Mozilla and Safari=0A=
		xScroll =3D document.body.offsetWidth;=0A=
		yScroll =3D document.body.offsetHeight;=0A=
	}=0A=
	=0A=
	var windowWidth, windowHeight;=0A=
	if (self.innerHeight) {	// all except Explorer=0A=
		windowWidth =3D self.innerWidth;=0A=
		windowHeight =3D self.innerHeight;=0A=
	} else if (document.documentElement && =
document.documentElement.clientHeight) { // Explorer 6 Strict Mode=0A=
		windowWidth =3D document.documentElement.clientWidth;=0A=
		windowHeight =3D document.documentElement.clientHeight;=0A=
	} else if (document.body) { // other Explorers=0A=
		windowWidth =3D document.body.clientWidth;=0A=
		windowHeight =3D document.body.clientHeight;=0A=
	}	=0A=
	=0A=
	// for small pages with total height less then height of the viewport=0A=
	if(yScroll < windowHeight){=0A=
		pageHeight =3D windowHeight;=0A=
	} else { =0A=
		pageHeight =3D yScroll;=0A=
	}=0A=
=0A=
	// for small pages with total width less then width of the viewport=0A=
	if(xScroll < windowWidth){	=0A=
		pageWidth =3D windowWidth;=0A=
	} else {=0A=
		pageWidth =3D xScroll;=0A=
	}=0A=
=0A=
	arrayPageSize =3D new =
Array(pageWidth,pageHeight,windowWidth,windowHeight) =0A=
	return arrayPageSize;=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
// getKey(key)=0A=
// Gets keycode. If 'x' is pressed then it hides the lightbox.=0A=
//=0A=
function getKey(e){=0A=
	if (e =3D=3D null) { // ie=0A=
		keycode =3D event.keyCode;=0A=
	} else { // mozilla=0A=
		keycode =3D e.which;=0A=
	}=0A=
	key =3D String.fromCharCode(keycode).toLowerCase();=0A=
	=0A=
	if(key =3D=3D 'x'){=0A=
	}=0A=
}=0A=
=0A=
// =
-------------------------------------------------------------------------=
----------=0A=
=0A=
//=0A=
// listenKey()=0A=
//=0A=
function listenKey () {	document.onkeypress =3D getKey; }=0A=
	=0A=
// ---------------------------------------------------=0A=
=0A=
function showSelectBoxes(){=0A=
	var selects =3D document.getElementsByTagName("select");=0A=
	for (i =3D 0; i !=3D selects.length; i++) {=0A=
		selects[i].style.visibility =3D "visible";=0A=
	}=0A=
}=0A=
=0A=
// ---------------------------------------------------=0A=
=0A=
function hideSelectBoxes(){=0A=
	var selects =3D document.getElementsByTagName("select");=0A=
	for (i =3D 0; i !=3D selects.length; i++) {=0A=
		selects[i].style.visibility =3D "hidden";=0A=
	}=0A=
}=0A=
=0A=
// ---------------------------------------------------=0A=
=0A=
function showFlash(){=0A=
	var flashObjects =3D document.getElementsByTagName("object");=0A=
	for (i =3D 0; i !=3D flashObjects.length; i++) {=0A=
		flashObjects[i].style.visibility =3D "visible";=0A=
	}=0A=
=0A=
	var flashEmbeds =3D document.getElementsByTagName("embeds");=0A=
	for (i =3D 0; i !=3D flashEmbeds.length; i++) {=0A=
		flashEmbeds[i].style.visibility =3D "visible";=0A=
	}=0A=
}=0A=
=0A=
// ---------------------------------------------------=0A=
=0A=
function hideFlash(){=0A=
	var flashObjects =3D document.getElementsByTagName("object");=0A=
	for (i =3D 0; i !=3D flashObjects.length; i++) {=0A=
		flashObjects[i].style.visibility =3D "hidden";=0A=
	}=0A=
=0A=
	var flashEmbeds =3D document.getElementsByTagName("embeds");=0A=
	for (i =3D 0; i !=3D flashEmbeds.length; i++) {=0A=
		flashEmbeds[i].style.visibility =3D "hidden";=0A=
	}=0A=
=0A=
}=0A=
=0A=
=0A=
// ---------------------------------------------------=0A=
=0A=
//=0A=
// pause(numberMillis)=0A=
// Pauses code execution for specified time. Uses busy code, not good.=0A=
// Help from Ran Bar-On [ran2103@gmail.com]=0A=
//=0A=
=0A=
function pause(ms){=0A=
	var date =3D new Date();=0A=
	curDate =3D null;=0A=
	do{var curDate =3D new Date();}=0A=
	while( curDate - date < ms);=0A=
}=0A=
/*=0A=
function pause(numberMillis) {=0A=
	var curently =3D new Date().getTime() + sender;=0A=
	while (new Date().getTime();	=0A=
}=0A=
*/=0A=
// ---------------------------------------------------=0A=
=0A=
=0A=
=0A=
function initLightbox() { myLightbox =3D new Lightbox(); }=0A=
Event.observe(window, 'load', initLightbox, false);
jQuery.noConflict();
------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/scriptlib/scriptaculous.js?load=dragdrop

// script.aculo.us scriptaculous.js v1.8.1, Thu Jan 03 22:07:12 -0500 =
2008=0A=
=0A=
// Copyright (c) 2005-2007 Thomas Fuchs (http://script.aculo.us, =
http://mir.aculo.us)=0A=
// =0A=
// Permission is hereby granted, free of charge, to any person obtaining=0A=
// a copy of this software and associated documentation files (the=0A=
// "Software"), to deal in the Software without restriction, including=0A=
// without limitation the rights to use, copy, modify, merge, publish,=0A=
// distribute, sublicense, and/or sell copies of the Software, and to=0A=
// permit persons to whom the Software is furnished to do so, subject to=0A=
// the following conditions:=0A=
// =0A=
// The above copyright notice and this permission notice shall be=0A=
// included in all copies or substantial portions of the Software.=0A=
//=0A=
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,=0A=
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF=0A=
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND=0A=
// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE=0A=
// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION=0A=
// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION=0A=
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.=0A=
//=0A=
// For details, see the script.aculo.us web site: http://script.aculo.us/=0A=
=0A=
var Scriptaculous =3D {=0A=
  Version: '1.8.1',=0A=
  require: function(libraryName) {=0A=
    // inserting via DOM fails in Safari 2.0, so brute force approach=0A=
    document.write('<script type=3D"text/javascript" =
src=3D"'+libraryName+'"><\/script>');=0A=
  },=0A=
  REQUIRED_PROTOTYPE: '1.6.0',=0A=
  load: function() {=0A=
    function convertVersionString(versionString){=0A=
      var r =3D versionString.split('.');=0A=
      return parseInt(r[0])*100000 + parseInt(r[1])*1000 + =
parseInt(r[2]);=0A=
    }=0A=
 =0A=
    if((typeof Prototype=3D=3D'undefined') || =0A=
       (typeof Element =3D=3D 'undefined') || =0A=
       (typeof Element.Methods=3D=3D'undefined') ||=0A=
       (convertVersionString(Prototype.Version) < =0A=
        convertVersionString(Scriptaculous.REQUIRED_PROTOTYPE)))=0A=
       throw("script.aculo.us requires the Prototype JavaScript =
framework >=3D " +=0A=
        Scriptaculous.REQUIRED_PROTOTYPE);=0A=
    =0A=
    $A(document.getElementsByTagName("script")).findAll( function(s) {=0A=
      return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/))=0A=
    }).each( function(s) {=0A=
      var path =3D s.src.replace(/scriptaculous\.js(\?.*)?$/,'');=0A=
      var includes =3D s.src.match(/\?.*load=3D([a-z,]*)/);=0A=
      (includes ? includes[1] : =
'builder,effects,dragdrop,controls,slider,sound').split(',').each(=0A=
       function(include) { Scriptaculous.require(path+include+'.js') });=0A=
    });=0A=
  }=0A=
}=0A=
=0A=
Scriptaculous.load();
------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/scriptlib/calendar.js

/*  Copyright Mihai Bazon, 2002-2005  |  www.bazon.net/mishoo=0A=
 * -----------------------------------------------------------=0A=
 *=0A=
 * The DHTML Calendar, version 1.0 "It is happening again"=0A=
 *=0A=
 * Details and latest version at:=0A=
 * www.dynarch.com/projects/calendar=0A=
 *=0A=
 * This script is developed by Dynarch.com.  Visit us at www.dynarch.com.=0A=
 *=0A=
 * This script is distributed under the GNU Lesser General Public =
License.=0A=
 * Read the entire license text here: =
http://www.gnu.org/licenses/lgpl.html=0A=
 */=0A=
=0A=
// $Id: calendar.js,v 1.51 2005/03/07 16:44:31 mishoo Exp $=0A=
=0A=
/** The Calendar object constructor. */=0A=
Calendar =3D function (firstDayOfWeek, dateStr, onSelected, onClose) {=0A=
	// member variables=0A=
	this.activeDiv =3D null;=0A=
	this.currentDateEl =3D null;=0A=
	this.getDateStatus =3D null;=0A=
	this.getDateToolTip =3D null;=0A=
	this.getDateText =3D null;=0A=
	this.timeout =3D null;=0A=
	this.onSelected =3D onSelected || null;=0A=
	this.onClose =3D onClose || null;=0A=
	this.dragging =3D false;=0A=
	this.hidden =3D false;=0A=
	this.minYear =3D 1970;=0A=
	this.maxYear =3D 2050;=0A=
	this.dateFormat =3D Calendar._TT["DEF_DATE_FORMAT"];=0A=
	this.ttDateFormat =3D Calendar._TT["TT_DATE_FORMAT"];=0A=
	this.isPopup =3D true;=0A=
	this.weekNumbers =3D true;=0A=
	this.firstDayOfWeek =3D typeof firstDayOfWeek =3D=3D "number" ? =
firstDayOfWeek : Calendar._FD; // 0 for Sunday, 1 for Monday, etc.=0A=
	this.showsOtherMonths =3D false;=0A=
	this.dateStr =3D dateStr;=0A=
	this.ar_days =3D null;=0A=
	this.showsTime =3D false;=0A=
	this.time24 =3D true;=0A=
	this.yearStep =3D 2;=0A=
	this.hiliteToday =3D true;=0A=
	this.multiple =3D null;=0A=
	// HTML elements=0A=
	this.table =3D null;=0A=
	this.element =3D null;=0A=
	this.tbody =3D null;=0A=
	this.firstdayname =3D null;=0A=
	// Combo boxes=0A=
	this.monthsCombo =3D null;=0A=
	this.yearsCombo =3D null;=0A=
	this.hilitedMonth =3D null;=0A=
	this.activeMonth =3D null;=0A=
	this.hilitedYear =3D null;=0A=
	this.activeYear =3D null;=0A=
	// Information=0A=
	this.dateClicked =3D false;=0A=
=0A=
	// one-time initializations=0A=
	if (typeof Calendar._SDN =3D=3D "undefined") {=0A=
		// table of short day names=0A=
		if (typeof Calendar._SDN_len =3D=3D "undefined")=0A=
			Calendar._SDN_len =3D 3;=0A=
		var ar =3D new Array();=0A=
		for (var i =3D 8; i > 0;) {=0A=
			ar[--i] =3D Calendar._DN[i].substr(0, Calendar._SDN_len);=0A=
		}=0A=
		Calendar._SDN =3D ar;=0A=
		// table of short month names=0A=
		if (typeof Calendar._SMN_len =3D=3D "undefined")=0A=
			Calendar._SMN_len =3D 3;=0A=
		ar =3D new Array();=0A=
		for (var i =3D 12; i > 0;) {=0A=
			ar[--i] =3D Calendar._MN[i].substr(0, Calendar._SMN_len);=0A=
		}=0A=
		Calendar._SMN =3D ar;=0A=
	}=0A=
};=0A=
=0A=
// ** constants=0A=
=0A=
/// "static", needed for event handlers.=0A=
Calendar._C =3D null;=0A=
=0A=
/// detect a special case of "web browser"=0A=
Calendar.is_ie =3D ( /msie/i.test(navigator.userAgent) &&=0A=
		   !/opera/i.test(navigator.userAgent) );=0A=
=0A=
Calendar.is_ie5 =3D ( Calendar.is_ie && /msie =
5\.0/i.test(navigator.userAgent) );=0A=
=0A=
/// detect Opera browser=0A=
Calendar.is_opera =3D /opera/i.test(navigator.userAgent);=0A=
=0A=
/// detect KHTML-based browsers=0A=
Calendar.is_khtml =3D =
/Konqueror|Safari|KHTML/i.test(navigator.userAgent);=0A=
=0A=
// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a =
separate=0A=
//        library, at some point.=0A=
Calendar.getAbsolutePos =3D function(el,e) {=0A=
	var SL =3D 0, ST =3D 0;=0A=
	var is_div =3D /^div$/i.test(el.tagName);=0A=
	if (is_div && el.scrollLeft)=0A=
		SL =3D el.scrollLeft;=0A=
	if (is_div && el.scrollTop)=0A=
		ST =3D el.scrollTop;=0D	var r =3D { x: el.offsetLeft - SL, y: =
el.offsetTop - ST };=0A=
	if (el.offsetParent) {=0A=
		var tmp =3D this.getAbsolutePos(el.offsetParent);=0A=
	//	r.x +=3D tmp.x;=0A=
		r.y +=3D tmp.y;=0A=
	}=0D	r.x =3D (event.clientX - 75);=0A=
	//r.y =3D (event.clientY);=0D	return r;=0A=
};=0A=
=0A=
Calendar.isRelated =3D function (el, evt) {=0A=
	var related =3D evt.relatedTarget;=0A=
	if (!related) {=0A=
		var type =3D evt.type;=0A=
		if (type =3D=3D "mouseover") {=0A=
			related =3D evt.fromElement;=0A=
		} else if (type =3D=3D "mouseout") {=0A=
			related =3D evt.toElement;=0A=
		}=0A=
	}=0A=
	while (related) {=0A=
		if (related =3D=3D el) {=0A=
			return true;=0A=
		}=0A=
		related =3D related.parentNode;=0A=
	}=0A=
	return false;=0A=
};=0A=
=0A=
Calendar.removeClass =3D function(el, className) {=0A=
	if (!(el && el.className)) {=0A=
		return;=0A=
	}=0A=
	var cls =3D el.className.split(" ");=0A=
	var ar =3D new Array();=0A=
	for (var i =3D cls.length; i > 0;) {=0A=
		if (cls[--i] !=3D className) {=0A=
			ar[ar.length] =3D cls[i];=0A=
		}=0A=
	}=0A=
	el.className =3D ar.join(" ");=0A=
};=0A=
=0A=
Calendar.addClass =3D function(el, className) {=0A=
	Calendar.removeClass(el, className);=0A=
	el.className +=3D " " + className;=0A=
};=0A=
=0A=
// FIXME: the following 2 functions totally suck, are useless and should =
be replaced immediately.=0A=
Calendar.getElement =3D function(ev) {=0A=
	var f =3D Calendar.is_ie ? window.event.srcElement : ev.currentTarget;=0A=
	while (f.nodeType !=3D 1 || /^div$/i.test(f.tagName))=0A=
		f =3D f.parentNode;=0A=
	return f;=0A=
};=0A=
=0A=
Calendar.getTargetElement =3D function(ev) {=0A=
	var f =3D Calendar.is_ie ? window.event.srcElement : ev.target;=0A=
	while (f.nodeType !=3D 1)=0A=
		f =3D f.parentNode;=0A=
	return f;=0A=
};=0A=
=0A=
Calendar.stopEvent =3D function(ev) {=0A=
	ev || (ev =3D window.event);=0A=
	if (Calendar.is_ie) {=0A=
		ev.cancelBubble =3D true;=0A=
		ev.returnValue =3D false;=0A=
	} else {=0A=
		ev.preventDefault();=0A=
		ev.stopPropagation();=0A=
	}=0A=
	return false;=0A=
};=0A=
=0A=
Calendar.addEvent =3D function(el, evname, func) {=0A=
	if (el.attachEvent) { // IE=0A=
		el.attachEvent("on" + evname, func);=0A=
	} else if (el.addEventListener) { // Gecko / W3C=0A=
		el.addEventListener(evname, func, true);=0A=
	} else {=0A=
		el["on" + evname] =3D func;=0A=
	}=0A=
};=0A=
=0A=
Calendar.removeEvent =3D function(el, evname, func) {=0A=
	if (el.detachEvent) { // IE=0A=
		el.detachEvent("on" + evname, func);=0A=
	} else if (el.removeEventListener) { // Gecko / W3C=0A=
		el.removeEventListener(evname, func, true);=0A=
	} else {=0A=
		el["on" + evname] =3D null;=0A=
	}=0A=
};=0A=
=0A=
Calendar.createElement =3D function(type, parent) {=0A=
	var el =3D null;=0A=
	if (document.createElementNS) {=0A=
		// use the XHTML namespace; IE won't normally get here unless=0A=
		// _they_ "fix" the DOM2 implementation.=0A=
		el =3D document.createElementNS("http://www.w3.org/1999/xhtml", type);=0A=
	} else {=0A=
		el =3D document.createElement(type);=0A=
	}=0A=
	if (typeof parent !=3D "undefined") {=0A=
		parent.appendChild(el);=0A=
	}=0A=
	return el;=0A=
};=0A=
=0A=
// END: UTILITY FUNCTIONS=0A=
=0A=
// BEGIN: CALENDAR STATIC FUNCTIONS=0A=
=0A=
/** Internal -- adds a set of events to make some element behave like a =
button. */=0A=
Calendar._add_evs =3D function(el) {=0A=
	with (Calendar) {=0A=
		addEvent(el, "mouseover", dayMouseOver);=0A=
		addEvent(el, "mousedown", dayMouseDown);=0A=
		addEvent(el, "mouseout", dayMouseOut);=0A=
		if (is_ie) {=0A=
			addEvent(el, "dblclick", dayMouseDblClick);=0A=
			el.setAttribute("unselectable", true);=0A=
		}=0A=
	}=0A=
};=0A=
=0A=
Calendar.findMonth =3D function(el) {=0A=
	if (typeof el.month !=3D "undefined") {=0A=
		return el;=0A=
	} else if (typeof el.parentNode.month !=3D "undefined") {=0A=
		return el.parentNode;=0A=
	}=0A=
	return null;=0A=
};=0A=
=0A=
Calendar.findYear =3D function(el) {=0A=
	if (typeof el.year !=3D "undefined") {=0A=
		return el;=0A=
	} else if (typeof el.parentNode.year !=3D "undefined") {=0A=
		return el.parentNode;=0A=
	}=0A=
	return null;=0A=
};=0A=
=0A=
Calendar.showMonthsCombo =3D function () {=0A=
	var cal =3D Calendar._C;=0A=
	if (!cal) {=0A=
		return false;=0A=
	}=0A=
	var cal =3D cal;=0A=
	var cd =3D cal.activeDiv;=0A=
	var mc =3D cal.monthsCombo;=0A=
	if (cal.hilitedMonth) {=0A=
		Calendar.removeClass(cal.hilitedMonth, "hilite");=0A=
	}=0A=
	if (cal.activeMonth) {=0A=
		Calendar.removeClass(cal.activeMonth, "active");=0A=
	}=0A=
	var mon =3D =
cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()];=0A=
	Calendar.addClass(mon, "active");=0A=
	cal.activeMonth =3D mon;=0A=
	var s =3D mc.style;=0A=
	s.display =3D "block";=0A=
	if (cd.navtype < 0)=0A=
		s.left =3D cd.offsetLeft + "px";=0A=
	else {=0A=
		var mcw =3D mc.offsetWidth;=0A=
		if (typeof mcw =3D=3D "undefined")=0A=
			// Konqueror brain-dead techniques=0A=
			mcw =3D 50;=0A=
		s.left =3D (cd.offsetLeft + cd.offsetWidth - mcw) + "px";=0A=
	}=0A=
	s.top =3D (cd.offsetTop + cd.offsetHeight) + "px";=0A=
};=0A=
=0A=
Calendar.showYearsCombo =3D function (fwd) {=0A=
	var cal =3D Calendar._C;=0A=
	if (!cal) {=0A=
		return false;=0A=
	}=0A=
	var cal =3D cal;=0A=
	var cd =3D cal.activeDiv;=0A=
	var yc =3D cal.yearsCombo;=0A=
	if (cal.hilitedYear) {=0A=
		Calendar.removeClass(cal.hilitedYear, "hilite");=0A=
	}=0A=
	if (cal.activeYear) {=0A=
		Calendar.removeClass(cal.activeYear, "active");=0A=
	}=0A=
	cal.activeYear =3D null;=0A=
	var Y =3D cal.date.getFullYear() + (fwd ? 1 : -1);=0A=
	var yr =3D yc.firstChild;=0A=
	var show =3D false;=0A=
	for (var i =3D 12; i > 0; --i) {=0A=
		if (Y >=3D cal.minYear && Y <=3D cal.maxYear) {=0A=
			yr.innerHTML =3D Y;=0A=
			yr.year =3D Y;=0A=
			yr.style.display =3D "block";=0A=
			show =3D true;=0A=
		} else {=0A=
			yr.style.display =3D "none";=0A=
		}=0A=
		yr =3D yr.nextSibling;=0A=
		Y +=3D fwd ? cal.yearStep : -cal.yearStep;=0A=
	}=0A=
	if (show) {=0A=
		var s =3D yc.style;=0A=
		s.display =3D "block";=0A=
		if (cd.navtype < 0)=0A=
			s.left =3D cd.offsetLeft + "px";=0A=
		else {=0A=
			var ycw =3D yc.offsetWidth;=0A=
			if (typeof ycw =3D=3D "undefined")=0A=
				// Konqueror brain-dead techniques=0A=
				ycw =3D 50;=0A=
			s.left =3D (cd.offsetLeft + cd.offsetWidth - ycw) + "px";=0A=
		}=0A=
		s.top =3D (cd.offsetTop + cd.offsetHeight) + "px";=0A=
	}=0A=
};=0A=
=0A=
// event handlers=0A=
=0A=
Calendar.tableMouseUp =3D function(ev) {=0A=
	var cal =3D Calendar._C;=0A=
	if (!cal) {=0A=
		return false;=0A=
	}=0A=
	if (cal.timeout) {=0A=
		clearTimeout(cal.timeout);=0A=
	}=0A=
	var el =3D cal.activeDiv;=0A=
	if (!el) {=0A=
		return false;=0A=
	}=0A=
	var target =3D Calendar.getTargetElement(ev);=0A=
	ev || (ev =3D window.event);=0A=
	Calendar.removeClass(el, "active");=0A=
	if (target =3D=3D el || target.parentNode =3D=3D el) {=0A=
		Calendar.cellClick(el, ev);=0A=
	}=0A=
	var mon =3D Calendar.findMonth(target);=0A=
	var date =3D null;=0A=
	if (mon) {=0A=
		date =3D new Date(cal.date);=0A=
		if (mon.month !=3D date.getMonth()) {=0A=
			date.setMonth(mon.month);=0A=
			cal.setDate(date);=0A=
			cal.dateClicked =3D false;=0A=
			cal.callHandler();=0A=
		}=0A=
	} else {=0A=
		var year =3D Calendar.findYear(target);=0A=
		if (year) {=0A=
			date =3D new Date(cal.date);=0A=
			if (year.year !=3D date.getFullYear()) {=0A=
				date.setFullYear(year.year);=0A=
				cal.setDate(date);=0A=
				cal.dateClicked =3D false;=0A=
				cal.callHandler();=0A=
			}=0A=
		}=0A=
	}=0A=
	with (Calendar) {=0A=
		removeEvent(document, "mouseup", tableMouseUp);=0A=
		removeEvent(document, "mouseover", tableMouseOver);=0A=
		removeEvent(document, "mousemove", tableMouseOver);=0A=
		cal._hideCombos();=0A=
		_C =3D null;=0A=
		return stopEvent(ev);=0A=
	}=0A=
};=0A=
=0A=
Calendar.tableMouseOver =3D function (ev) {=0A=
	var cal =3D Calendar._C;=0A=
	if (!cal) {=0A=
		return;=0A=
	}=0A=
	var el =3D cal.activeDiv;=0A=
	var target =3D Calendar.getTargetElement(ev);=0A=
	if (target =3D=3D el || target.parentNode =3D=3D el) {=0A=
		Calendar.addClass(el, "hilite active");=0A=
		Calendar.addClass(el.parentNode, "rowhilite");=0A=
	} else {=0A=
		if (typeof el.navtype =3D=3D "undefined" || (el.navtype !=3D 50 && =
(el.navtype =3D=3D 0 || Math.abs(el.navtype) > 2)))=0A=
			Calendar.removeClass(el, "active");=0A=
		Calendar.removeClass(el, "hilite");=0A=
		Calendar.removeClass(el.parentNode, "rowhilite");=0A=
	}=0A=
	ev || (ev =3D window.event);=0A=
	if (el.navtype =3D=3D 50 && target !=3D el) {=0A=
		var pos =3D Calendar.getAbsolutePos(el);=0A=
		var w =3D el.offsetWidth;=0A=
		var x =3D ev.clientX;=0A=
		var dx;=0A=
		var decrease =3D true;=0A=
		if (x > pos.x + w) {=0A=
			dx =3D x - pos.x - w;=0A=
			decrease =3D false;=0A=
		} else=0A=
			dx =3D pos.x - x;=0A=
=0A=
		if (dx < 0) dx =3D 0;=0A=
		var range =3D el._range;=0A=
		var current =3D el._current;=0A=
		var count =3D Math.floor(dx / 10) % range.length;=0A=
		for (var i =3D range.length; --i >=3D 0;)=0A=
			if (range[i] =3D=3D current)=0A=
				break;=0A=
		while (count-- > 0)=0A=
			if (decrease) {=0A=
				if (--i < 0)=0A=
					i =3D range.length - 1;=0A=
			} else if ( ++i >=3D range.length )=0A=
				i =3D 0;=0A=
		var newval =3D range[i];=0A=
		el.innerHTML =3D newval;=0A=
=0A=
		cal.onUpdateTime();=0A=
	}=0A=
	var mon =3D Calendar.findMonth(target);=0A=
	if (mon) {=0A=
		if (mon.month !=3D cal.date.getMonth()) {=0A=
			if (cal.hilitedMonth) {=0A=
				Calendar.removeClass(cal.hilitedMonth, "hilite");=0A=
			}=0A=
			Calendar.addClass(mon, "hilite");=0A=
			cal.hilitedMonth =3D mon;=0A=
		} else if (cal.hilitedMonth) {=0A=
			Calendar.removeClass(cal.hilitedMonth, "hilite");=0A=
		}=0A=
	} else {=0A=
		if (cal.hilitedMonth) {=0A=
			Calendar.removeClass(cal.hilitedMonth, "hilite");=0A=
		}=0A=
		var year =3D Calendar.findYear(target);=0A=
		if (year) {=0A=
			if (year.year !=3D cal.date.getFullYear()) {=0A=
				if (cal.hilitedYear) {=0A=
					Calendar.removeClass(cal.hilitedYear, "hilite");=0A=
				}=0A=
				Calendar.addClass(year, "hilite");=0A=
				cal.hilitedYear =3D year;=0A=
			} else if (cal.hilitedYear) {=0A=
				Calendar.removeClass(cal.hilitedYear, "hilite");=0A=
			}=0A=
		} else if (cal.hilitedYear) {=0A=
			Calendar.removeClass(cal.hilitedYear, "hilite");=0A=
		}=0A=
	}=0A=
	return Calendar.stopEvent(ev);=0A=
};=0A=
=0A=
Calendar.tableMouseDown =3D function (ev) {=0A=
	if (Calendar.getTargetElement(ev) =3D=3D Calendar.getElement(ev)) {=0A=
		return Calendar.stopEvent(ev);=0A=
	}=0A=
};=0A=
=0A=
Calendar.calDragIt =3D function (ev) {=0A=
	var cal =3D Calendar._C;=0A=
	if (!(cal && cal.dragging)) {=0A=
		return false;=0A=
	}=0A=
	var posX;=0A=
	var posY;=0A=
	if (Calendar.is_ie) {=0A=
		posY =3D window.event.clientY + document.body.scrollTop;=0A=
		posX =3D window.event.clientX + document.body.scrollLeft;=0A=
	} else {=0A=
		posX =3D ev.pageX;=0A=
		posY =3D ev.pageY;=0A=
	}=0A=
	cal.hideShowCovered();=0A=
	var st =3D cal.element.style;=0A=
	st.left =3D (posX - cal.xOffs) + "px";=0A=
	st.top =3D (posY - cal.yOffs) + "px";=0A=
	return Calendar.stopEvent(ev);=0A=
};=0A=
=0A=
Calendar.calDragEnd =3D function (ev) {=0A=
	var cal =3D Calendar._C;=0A=
	if (!cal) {=0A=
		return false;=0A=
	}=0A=
	cal.dragging =3D false;=0A=
	with (Calendar) {=0A=
		removeEvent(document, "mousemove", calDragIt);=0A=
		removeEvent(document, "mouseup", calDragEnd);=0A=
		tableMouseUp(ev);=0A=
	}=0A=
	cal.hideShowCovered();=0A=
};=0A=
=0A=
Calendar.dayMouseDown =3D function(ev) {=0A=
	var el =3D Calendar.getElement(ev);=0A=
	if (el.disabled) {=0A=
		return false;=0A=
	}=0A=
	var cal =3D el.calendar;=0A=
	cal.activeDiv =3D el;=0A=
	Calendar._C =3D cal;=0A=
	if (el.navtype !=3D 300) with (Calendar) {=0A=
		if (el.navtype =3D=3D 50) {=0A=
			el._current =3D el.innerHTML;=0A=
			addEvent(document, "mousemove", tableMouseOver);=0A=
		} else=0A=
			addEvent(document, Calendar.is_ie5 ? "mousemove" : "mouseover", =
tableMouseOver);=0A=
		addClass(el, "hilite active");=0A=
		addEvent(document, "mouseup", tableMouseUp);=0A=
	} else if (cal.isPopup) {=0A=
		cal._dragStart(ev);=0A=
	}=0A=
	if (el.navtype =3D=3D -1 || el.navtype =3D=3D 1) {=0A=
		if (cal.timeout) clearTimeout(cal.timeout);=0A=
		cal.timeout =3D setTimeout("Calendar.showMonthsCombo()", 250);=0A=
	} else if (el.navtype =3D=3D -2 || el.navtype =3D=3D 2) {=0A=
		if (cal.timeout) clearTimeout(cal.timeout);=0A=
		cal.timeout =3D setTimeout((el.navtype > 0) ? =
"Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250);=0A=
	} else {=0A=
		cal.timeout =3D null;=0A=
	}=0A=
	return Calendar.stopEvent(ev);=0A=
};=0A=
=0A=
Calendar.dayMouseDblClick =3D function(ev) {=0A=
	Calendar.cellClick(Calendar.getElement(ev), ev || window.event);=0A=
	if (Calendar.is_ie) {=0A=
		document.selection.empty();=0A=
	}=0A=
};=0A=
=0A=
Calendar.dayMouseOver =3D function(ev) {=0A=
	var el =3D Calendar.getElement(ev);=0A=
	if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) {=0A=
		return false;=0A=
	}=0A=
	if (el.ttip) {=0A=
		if (el.ttip.substr(0, 1) =3D=3D "_") {=0A=
			el.ttip =3D el.caldate.print(el.calendar.ttDateFormat) + =
el.ttip.substr(1);=0A=
		}=0A=
		el.calendar.tooltips.innerHTML =3D el.ttip;=0A=
	}=0A=
	if (el.navtype !=3D 300) {=0A=
		Calendar.addClass(el, "hilite");=0A=
		if (el.caldate) {=0A=
			Calendar.addClass(el.parentNode, "rowhilite");=0A=
		}=0A=
	}=0A=
	return Calendar.stopEvent(ev);=0A=
};=0A=
=0A=
Calendar.dayMouseOut =3D function(ev) {=0A=
	with (Calendar) {=0A=
		var el =3D getElement(ev);=0A=
		if (isRelated(el, ev) || _C || el.disabled)=0A=
			return false;=0A=
		removeClass(el, "hilite");=0A=
		if (el.caldate)=0A=
			removeClass(el.parentNode, "rowhilite");=0A=
		if (el.calendar)=0A=
			el.calendar.tooltips.innerHTML =3D _TT["SEL_DATE"];=0A=
		return stopEvent(ev);=0A=
	}=0A=
};=0A=
=0A=
/**=0A=
 *  A generic "click" handler :) handles all types of buttons defined in =
this=0A=
 *  calendar.=0A=
 */=0A=
Calendar.cellClick =3D function(el, ev) {=0A=
	var cal =3D el.calendar;=0A=
	var closing =3D false;=0A=
	var newdate =3D false;=0A=
	var date =3D null;=0A=
	if (typeof el.navtype =3D=3D "undefined") {=0A=
		if (cal.currentDateEl) {=0A=
			Calendar.removeClass(cal.currentDateEl, "selected");=0A=
			Calendar.addClass(el, "selected");=0A=
			closing =3D (cal.currentDateEl =3D=3D el);=0A=
			if (!closing) {=0A=
				cal.currentDateEl =3D el;=0A=
			}=0A=
		}=0A=
		cal.date.setDateOnly(el.caldate);=0A=
		date =3D cal.date;=0A=
		var other_month =3D !(cal.dateClicked =3D !el.otherMonth);=0A=
		if (!other_month && !cal.currentDateEl)=0A=
			cal._toggleMultipleDate(new Date(date));=0A=
		else=0A=
			newdate =3D !el.disabled;=0A=
		// a date was clicked=0A=
		if (other_month)=0A=
			cal._init(cal.firstDayOfWeek, date);=0A=
	} else {=0A=
		if (el.navtype =3D=3D 200) {=0A=
			Calendar.removeClass(el, "hilite");=0A=
			cal.callCloseHandler();=0A=
			return;=0A=
		}=0A=
		date =3D new Date(cal.date);=0A=
		if (el.navtype =3D=3D 0)=0A=
			date.setDateOnly(new Date()); // TODAY=0A=
		// unless "today" was clicked, we assume no date was clicked so=0A=
		// the selected handler will know not to close the calenar when=0A=
		// in single-click mode.=0A=
		// cal.dateClicked =3D (el.navtype =3D=3D 0);=0A=
		cal.dateClicked =3D false;=0A=
		var year =3D date.getFullYear();=0A=
		var mon =3D date.getMonth();=0A=
		function setMonth(m) {=0A=
			var day =3D date.getDate();=0A=
			var max =3D date.getMonthDays(m);=0A=
			if (day > max) {=0A=
				date.setDate(max);=0A=
			}=0A=
			date.setMonth(m);=0A=
		};=0A=
		switch (el.navtype) {=0A=
		    case 400:=0A=
			Calendar.removeClass(el, "hilite");=0A=
			var text =3D Calendar._TT["ABOUT"];=0A=
			if (typeof text !=3D "undefined") {=0A=
				text +=3D cal.showsTime ? Calendar._TT["ABOUT_TIME"] : "";=0A=
			} else {=0A=
				// FIXME: this should be removed as soon as lang files get updated!=0A=
				text =3D "Help and about box text is not translated into this =
language.\n" +=0A=
					"If you know this language and you feel generous please update\n" +=0A=
					"the corresponding file in \"lang\" subdir to match =
calendar-en.js\n" +=0A=
					"and send it back to <mihai_bazon@yahoo.com> to get it into the =
distribution  ;-)\n\n" +=0A=
					"Thank you!\n" +=0A=
					"http://dynarch.com/mishoo/calendar.epl\n";=0A=
			}=0A=
			alert(text);=0A=
			return;=0A=
		    case -2:=0A=
			if (year > cal.minYear) {=0A=
				date.setFullYear(year - 1);=0A=
			}=0A=
			break;=0A=
		    case -1:=0A=
			if (mon > 0) {=0A=
				setMonth(mon - 1);=0A=
			} else if (year-- > cal.minYear) {=0A=
				date.setFullYear(year);=0A=
				setMonth(11);=0A=
			}=0A=
			break;=0A=
		    case 1:=0A=
			if (mon < 11) {=0A=
				setMonth(mon + 1);=0A=
			} else if (year < cal.maxYear) {=0A=
				date.setFullYear(year + 1);=0A=
				setMonth(0);=0A=
			}=0A=
			break;=0A=
		    case 2:=0A=
			if (year < cal.maxYear) {=0A=
				date.setFullYear(year + 1);=0A=
			}=0A=
			break;=0A=
		    case 100:=0A=
			cal.setFirstDayOfWeek(el.fdow);=0A=
			return;=0A=
		    case 50:=0A=
			var range =3D el._range;=0A=
			var current =3D el.innerHTML;=0A=
			for (var i =3D range.length; --i >=3D 0;)=0A=
				if (range[i] =3D=3D current)=0A=
					break;=0A=
			if (ev && ev.shiftKey) {=0A=
				if (--i < 0)=0A=
					i =3D range.length - 1;=0A=
			} else if ( ++i >=3D range.length )=0A=
				i =3D 0;=0A=
			var newval =3D range[i];=0A=
			el.innerHTML =3D newval;=0A=
			cal.onUpdateTime();=0A=
			return;=0A=
		    case 0:=0A=
			// TODAY will bring us here=0A=
			if ((typeof cal.getDateStatus =3D=3D "function") &&=0A=
			    cal.getDateStatus(date, date.getFullYear(), date.getMonth(), =
date.getDate())) {=0A=
				return false;=0A=
			}=0A=
			break;=0A=
		}=0A=
		if (!date.equalsTo(cal.date)) {=0A=
			cal.setDate(date);=0A=
			newdate =3D true;=0A=
		} else if (el.navtype =3D=3D 0)=0A=
			newdate =3D closing =3D true;=0A=
	}=0A=
	if (newdate) {=0A=
		ev && cal.callHandler();=0A=
	}=0A=
	if (closing) {=0A=
		Calendar.removeClass(el, "hilite");=0A=
		ev && cal.callCloseHandler();=0A=
	}=0A=
};=0A=
=0A=
// END: CALENDAR STATIC FUNCTIONS=0A=
=0A=
// BEGIN: CALENDAR OBJECT FUNCTIONS=0A=
=0A=
/**=0A=
 *  This function creates the calendar inside the given parent.  If _par =
is=0A=
 *  null than it creates a popup calendar inside the BODY element.  If =
_par is=0A=
 *  an element, be it BODY, then it creates a non-popup calendar (still=0A=
 *  hidden).  Some properties need to be set before calling this =
function.=0A=
 */=0DCalendar.prototype.create =3D function (_par) {=0A=
	var parent =3D null;=0A=
	if (! _par) {=0A=
		// default parent is the document body, in which case we create=0A=
		// a popup calendar.=0A=
		parent =3D document.getElementsByTagName("body")[0];=0A=
		this.isPopup =3D true;=0A=
	} else {=0A=
		parent =3D _par;=0A=
		this.isPopup =3D false;=0A=
	}=0A=
	this.date =3D this.dateStr ? new Date(this.dateStr) : new Date();=0A=
=0A=
	var table =3D Calendar.createElement("table");=0A=
	this.table =3D table;=0A=
	table.cellSpacing =3D 0;=0A=
	table.cellPadding =3D 0;=0A=
	table.calendar =3D this;=0A=
	Calendar.addEvent(table, "mousedown", Calendar.tableMouseDown);=0A=
=0A=
	var div =3D Calendar.createElement("div");=0A=
	this.element =3D div;=0A=
	div.className =3D "calendar";=0A=
	if (this.isPopup) {=0A=
		div.style.position =3D "absolute";=0A=
		div.style.display =3D "none";=0A=
	}=0A=
	div.appendChild(table);=0A=
=0A=
	var thead =3D Calendar.createElement("thead", table);=0A=
	var cell =3D null;=0A=
	var row =3D null;=0A=
=0A=
	var cal =3D this;=0A=
	var hh =3D function (text, cs, navtype) {=0A=
		cell =3D Calendar.createElement("td", row);=0A=
		cell.colSpan =3D cs;=0A=
		cell.className =3D "button";=0A=
		if (navtype !=3D 0 && Math.abs(navtype) <=3D 2)=0A=
			cell.className +=3D " nav";=0A=
		Calendar._add_evs(cell);=0A=
		cell.calendar =3D cal;=0A=
		cell.navtype =3D navtype;=0A=
		cell.innerHTML =3D "<div unselectable=3D'on'>" + text + "</div>";=0A=
		return cell;=0A=
	};=0A=
=0A=
	row =3D Calendar.createElement("tr", thead);=0A=
	var title_length =3D 6;=0A=
	(this.isPopup) && --title_length;=0A=
	(this.weekNumbers) && ++title_length;=0A=
=0A=
	hh("?", 1, 400).ttip =3D Calendar._TT["INFO"];=0A=
	this.title =3D hh("", title_length, 300);=0A=
	this.title.className =3D "title";=0A=
	if (this.isPopup) {=0A=
		this.title.ttip =3D Calendar._TT["DRAG_TO_MOVE"];=0A=
		this.title.style.cursor =3D "move";=0A=
		hh("&#x00d7;", 1, 200).ttip =3D Calendar._TT["CLOSE"];=0A=
	}=0A=
=0A=
	row =3D Calendar.createElement("tr", thead);=0A=
	row.className =3D "headrow";=0A=
=0A=
	this._nav_py =3D hh("&#x00ab;", 1, -2);=0A=
	this._nav_py.ttip =3D Calendar._TT["PREV_YEAR"];=0A=
=0A=
	this._nav_pm =3D hh("&#x2039;", 1, -1);=0A=
	this._nav_pm.ttip =3D Calendar._TT["PREV_MONTH"];=0A=
=0A=
	this._nav_now =3D hh(Calendar._TT["TODAY"], this.weekNumbers ? 4 : 3, =
0);=0A=
	this._nav_now.ttip =3D Calendar._TT["GO_TODAY"];=0A=
=0A=
	this._nav_nm =3D hh("&#x203a;", 1, 1);=0A=
	this._nav_nm.ttip =3D Calendar._TT["NEXT_MONTH"];=0A=
=0A=
	this._nav_ny =3D hh("&#x00bb;", 1, 2);=0A=
	this._nav_ny.ttip =3D Calendar._TT["NEXT_YEAR"];=0A=
=0A=
	// day names=0A=
	row =3D Calendar.createElement("tr", thead);=0A=
	row.className =3D "daynames";=0A=
	if (this.weekNumbers) {=0A=
		cell =3D Calendar.createElement("td", row);=0A=
		cell.className =3D "name wn";=0A=
		cell.innerHTML =3D Calendar._TT["WK"];=0A=
	}=0A=
	for (var i =3D 7; i > 0; --i) {=0A=
		cell =3D Calendar.createElement("td", row);=0A=
		if (!i) {=0A=
			cell.navtype =3D 100;=0A=
			cell.calendar =3D this;=0A=
			Calendar._add_evs(cell);=0A=
		}=0A=
	}=0A=
	this.firstdayname =3D (this.weekNumbers) ? row.firstChild.nextSibling : =
row.firstChild;=0A=
	this._displayWeekdays();=0A=
=0A=
	var tbody =3D Calendar.createElement("tbody", table);=0A=
	this.tbody =3D tbody;=0A=
=0A=
	for (i =3D 6; i > 0; --i) {=0A=
		row =3D Calendar.createElement("tr", tbody);=0A=
		if (this.weekNumbers) {=0A=
			cell =3D Calendar.createElement("td", row);=0A=
		}=0A=
		for (var j =3D 7; j > 0; --j) {=0A=
			cell =3D Calendar.createElement("td", row);=0A=
			cell.calendar =3D this;=0A=
			Calendar._add_evs(cell);=0A=
		}=0A=
	}=0A=
=0A=
	if (this.showsTime) {=0A=
		row =3D Calendar.createElement("tr", tbody);=0A=
		row.className =3D "time";=0A=
=0A=
		cell =3D Calendar.createElement("td", row);=0A=
		cell.className =3D "time";=0A=
		cell.colSpan =3D 2;=0A=
		cell.innerHTML =3D Calendar._TT["TIME"] || "&nbsp;";=0A=
=0A=
		cell =3D Calendar.createElement("td", row);=0A=
		cell.className =3D "time";=0A=
		cell.colSpan =3D this.weekNumbers ? 4 : 3;=0A=
=0A=
		(function(){=0A=
			function makeTimePart(className, init, range_start, range_end) {=0A=
				var part =3D Calendar.createElement("span", cell);=0A=
				part.className =3D className;=0A=
				part.innerHTML =3D init;=0A=
				part.calendar =3D cal;=0A=
				part.ttip =3D Calendar._TT["TIME_PART"];=0A=
				part.navtype =3D 50;=0A=
				part._range =3D [];=0A=
				if (typeof range_start !=3D "number")=0A=
					part._range =3D range_start;=0A=
				else {=0A=
					for (var i =3D range_start; i <=3D range_end; ++i) {=0A=
						var txt;=0A=
						if (i < 10 && range_end >=3D 10) txt =3D '0' + i;=0A=
						else txt =3D '' + i;=0A=
						part._range[part._range.length] =3D txt;=0A=
					}=0A=
				}=0A=
				Calendar._add_evs(part);=0A=
				return part;=0A=
			};=0A=
			var hrs =3D cal.date.getHours();=0A=
			var mins =3D cal.date.getMinutes();=0A=
			var t12 =3D !cal.time24;=0A=
			var pm =3D (hrs > 12);=0A=
			if (t12 && pm) hrs -=3D 12;=0A=
			var H =3D makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23);=0A=
			var span =3D Calendar.createElement("span", cell);=0A=
			span.innerHTML =3D ":";=0A=
			span.className =3D "colon";=0A=
			var M =3D makeTimePart("minute", mins, 0, 59);=0A=
			var AP =3D null;=0A=
			cell =3D Calendar.createElement("td", row);=0A=
			cell.className =3D "time";=0A=
			cell.colSpan =3D 2;=0A=
			if (t12)=0A=
				AP =3D makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]);=0A=
			else=0A=
				cell.innerHTML =3D "&nbsp;";=0A=
=0A=
			cal.onSetTime =3D function() {=0A=
				var pm, hrs =3D this.date.getHours(),=0A=
					mins =3D this.date.getMinutes();=0A=
				if (t12) {=0A=
					pm =3D (hrs >=3D 12);=0A=
					if (pm) hrs -=3D 12;=0A=
					if (hrs =3D=3D 0) hrs =3D 12;=0A=
					AP.innerHTML =3D pm ? "pm" : "am";=0A=
				}=0A=
				H.innerHTML =3D (hrs < 10) ? ("0" + hrs) : hrs;=0A=
				M.innerHTML =3D (mins < 10) ? ("0" + mins) : mins;=0A=
			};=0A=
=0A=
			cal.onUpdateTime =3D function() {=0A=
				var date =3D this.date;=0A=
				var h =3D parseInt(H.innerHTML, 10);=0A=
				if (t12) {=0A=
					if (/pm/i.test(AP.innerHTML) && h < 12)=0A=
						h +=3D 12;=0A=
					else if (/am/i.test(AP.innerHTML) && h =3D=3D 12)=0A=
						h =3D 0;=0A=
				}=0A=
				var d =3D date.getDate();=0A=
				var m =3D date.getMonth();=0A=
				var y =3D date.getFullYear();=0A=
				date.setHours(h);=0A=
				date.setMinutes(parseInt(M.innerHTML, 10));=0A=
				date.setFullYear(y);=0A=
				date.setMonth(m);=0A=
				date.setDate(d);=0A=
				this.dateClicked =3D false;=0A=
				this.callHandler();=0A=
			};=0A=
		})();=0A=
	} else {=0A=
		this.onSetTime =3D this.onUpdateTime =3D function() {};=0A=
	}=0A=
=0A=
	var tfoot =3D Calendar.createElement("tfoot", table);=0A=
=0A=
	row =3D Calendar.createElement("tr", tfoot);=0A=
	row.className =3D "footrow";=0A=
=0A=
	cell =3D hh(Calendar._TT["SEL_DATE"], this.weekNumbers ? 8 : 7, 300);=0A=
	cell.className =3D "ttip";=0A=
	if (this.isPopup) {=0A=
		cell.ttip =3D Calendar._TT["DRAG_TO_MOVE"];=0A=
		cell.style.cursor =3D "move";=0A=
	}=0A=
	this.tooltips =3D cell;=0A=
=0A=
	div =3D Calendar.createElement("div", this.element);=0A=
	this.monthsCombo =3D div;=0A=
	div.className =3D "combo";=0A=
	for (i =3D 0; i < Calendar._MN.length; ++i) {=0A=
		var mn =3D Calendar.createElement("div");=0A=
		mn.className =3D Calendar.is_ie ? "label-IEfix" : "label";=0A=
		mn.month =3D i;=0A=
		mn.innerHTML =3D Calendar._SMN[i];=0A=
		div.appendChild(mn);=0A=
	}=0A=
=0A=
	div =3D Calendar.createElement("div", this.element);=0A=
	this.yearsCombo =3D div;=0A=
	div.className =3D "combo";=0A=
	for (i =3D 12; i > 0; --i) {=0A=
		var yr =3D Calendar.createElement("div");=0A=
		yr.className =3D Calendar.is_ie ? "label-IEfix" : "label";=0A=
		div.appendChild(yr);=0A=
	}=0A=
=0A=
	this._init(this.firstDayOfWeek, this.date);=0A=
	parent.appendChild(this.element);=0A=
};=0A=
=0A=
/** keyboard navigation, only for popup calendars */=0A=
Calendar._keyEvent =3D function(ev) {=0A=
	var cal =3D window._dynarch_popupCalendar;=0A=
	if (!cal || cal.multiple)=0A=
		return false;=0A=
	(Calendar.is_ie) && (ev =3D window.event);=0A=
	var act =3D (Calendar.is_ie || ev.type =3D=3D "keypress"),=0A=
		K =3D ev.keyCode;=0A=
	if (ev.ctrlKey) {=0A=
		switch (K) {=0A=
		    case 37: // KEY left=0A=
			act && Calendar.cellClick(cal._nav_pm);=0A=
			break;=0A=
		    case 38: // KEY up=0A=
			act && Calendar.cellClick(cal._nav_py);=0A=
			break;=0A=
		    case 39: // KEY right=0A=
			act && Calendar.cellClick(cal._nav_nm);=0A=
			break;=0A=
		    case 40: // KEY down=0A=
			act && Calendar.cellClick(cal._nav_ny);=0A=
			break;=0A=
		    default:=0A=
			return false;=0A=
		}=0A=
	} else switch (K) {=0A=
	    case 32: // KEY space (now)=0A=
		Calendar.cellClick(cal._nav_now);=0A=
		break;=0A=
	    case 27: // KEY esc=0A=
		act && cal.callCloseHandler();=0A=
		break;=0A=
	    case 37: // KEY left=0A=
	    case 38: // KEY up=0A=
	    case 39: // KEY right=0A=
	    case 40: // KEY down=0A=
		if (act) {=0A=
			var prev, x, y, ne, el, step;=0A=
			prev =3D K =3D=3D 37 || K =3D=3D 38;=0A=
			step =3D (K =3D=3D 37 || K =3D=3D 39) ? 1 : 7;=0A=
			function setVars() {=0A=
				el =3D cal.currentDateEl;=0A=
				var p =3D el.pos;=0A=
				x =3D p & 15;=0A=
				y =3D p >> 4;=0A=
				ne =3D cal.ar_days[y][x];=0A=
			};setVars();=0A=
			function prevMonth() {=0A=
				var date =3D new Date(cal.date);=0A=
				date.setDate(date.getDate() - step);=0A=
				cal.setDate(date);=0A=
			};=0A=
			function nextMonth() {=0A=
				var date =3D new Date(cal.date);=0A=
				date.setDate(date.getDate() + step);=0A=
				cal.setDate(date);=0A=
			};=0A=
			while (1) {=0A=
				switch (K) {=0A=
				    case 37: // KEY left=0A=
					if (--x >=3D 0)=0A=
						ne =3D cal.ar_days[y][x];=0A=
					else {=0A=
						x =3D 6;=0A=
						K =3D 38;=0A=
						continue;=0A=
					}=0A=
					break;=0A=
				    case 38: // KEY up=0A=
					if (--y >=3D 0)=0A=
						ne =3D cal.ar_days[y][x];=0A=
					else {=0A=
						prevMonth();=0A=
						setVars();=0A=
					}=0A=
					break;=0A=
				    case 39: // KEY right=0A=
					if (++x < 7)=0A=
						ne =3D cal.ar_days[y][x];=0A=
					else {=0A=
						x =3D 0;=0A=
						K =3D 40;=0A=
						continue;=0A=
					}=0A=
					break;=0A=
				    case 40: // KEY down=0A=
					if (++y < cal.ar_days.length)=0A=
						ne =3D cal.ar_days[y][x];=0A=
					else {=0A=
						nextMonth();=0A=
						setVars();=0A=
					}=0A=
					break;=0A=
				}=0A=
				break;=0A=
			}=0A=
			if (ne) {=0A=
				if (!ne.disabled)=0A=
					Calendar.cellClick(ne);=0A=
				else if (prev)=0A=
					prevMonth();=0A=
				else=0A=
					nextMonth();=0A=
			}=0A=
		}=0A=
		break;=0A=
	    case 13: // KEY enter=0A=
		if (act)=0A=
			Calendar.cellClick(cal.currentDateEl, ev);=0A=
		break;=0A=
	    default:=0A=
		return false;=0A=
	}=0A=
	return Calendar.stopEvent(ev);=0A=
};=0A=
=0A=
/**=0A=
 *  (RE)Initializes the calendar to the given date and firstDayOfWeek=0A=
 */=0A=
Calendar.prototype._init =3D function (firstDayOfWeek, date) {=0A=
	var today =3D new Date(),=0A=
		TY =3D today.getFullYear(),=0A=
		TM =3D today.getMonth(),=0A=
		TD =3D today.getDate();=0A=
	this.table.style.visibility =3D "hidden";=0A=
	var year =3D date.getFullYear();=0A=
	if (year < this.minYear) {=0A=
		year =3D this.minYear;=0A=
		date.setFullYear(year);=0A=
	} else if (year > this.maxYear) {=0A=
		year =3D this.maxYear;=0A=
		date.setFullYear(year);=0A=
	}=0A=
	this.firstDayOfWeek =3D firstDayOfWeek;=0A=
	this.date =3D new Date(date);=0A=
	var month =3D date.getMonth();=0A=
	var mday =3D date.getDate();=0A=
	var no_days =3D date.getMonthDays();=0A=
=0A=
	// calendar voodoo for computing the first day that would actually be=0A=
	// displayed in the calendar, even if it's from the previous month.=0A=
	// WARNING: this is magic. ;-)=0A=
	date.setDate(1);=0A=
	var day1 =3D (date.getDay() - this.firstDayOfWeek) % 7;=0A=
	if (day1 < 0)=0A=
		day1 +=3D 7;=0A=
	date.setDate(-day1);=0A=
	date.setDate(date.getDate() + 1);=0A=
=0A=
	var row =3D this.tbody.firstChild;=0A=
	var MN =3D Calendar._SMN[month];=0A=
	var ar_days =3D this.ar_days =3D new Array();=0A=
	var weekend =3D Calendar._TT["WEEKEND"];=0A=
	var dates =3D this.multiple ? (this.datesCells =3D {}) : null;=0A=
	for (var i =3D 0; i < 6; ++i, row =3D row.nextSibling) {=0A=
		var cell =3D row.firstChild;=0A=
		if (this.weekNumbers) {=0A=
			cell.className =3D "day wn";=0A=
			cell.innerHTML =3D date.getWeekNumber();=0A=
			cell =3D cell.nextSibling;=0A=
		}=0A=
		row.className =3D "daysrow";=0A=
		var hasdays =3D false, iday, dpos =3D ar_days[i] =3D [];=0A=
		for (var j =3D 0; j < 7; ++j, cell =3D cell.nextSibling, =
date.setDate(iday + 1)) {=0A=
			iday =3D date.getDate();=0A=
			var wday =3D date.getDay();=0A=
			cell.className =3D "day";=0A=
			cell.pos =3D i << 4 | j;=0A=
			dpos[j] =3D cell;=0A=
			var current_month =3D (date.getMonth() =3D=3D month);=0A=
			if (!current_month) {=0A=
				if (this.showsOtherMonths) {=0A=
					cell.className +=3D " othermonth";=0A=
					cell.otherMonth =3D true;=0A=
				} else {=0A=
					cell.className =3D "emptycell";=0A=
					cell.innerHTML =3D "&nbsp;";=0A=
					cell.disabled =3D true;=0A=
					continue;=0A=
				}=0A=
			} else {=0A=
				cell.otherMonth =3D false;=0A=
				hasdays =3D true;=0A=
			}=0A=
			cell.disabled =3D false;=0A=
			cell.innerHTML =3D this.getDateText ? this.getDateText(date, iday) : =
iday;=0A=
			if (dates)=0A=
				dates[date.print("%Y%m%d")] =3D cell;=0A=
			if (this.getDateStatus) {=0A=
				var status =3D this.getDateStatus(date, year, month, iday);=0A=
				if (this.getDateToolTip) {=0A=
					var toolTip =3D this.getDateToolTip(date, year, month, iday);=0A=
					if (toolTip)=0A=
						cell.title =3D toolTip;=0A=
				}=0A=
				if (status =3D=3D=3D true) {=0A=
					cell.className +=3D " disabled";=0A=
					cell.disabled =3D true;=0A=
				} else {=0A=
					if (/disabled/i.test(status))=0A=
						cell.disabled =3D true;=0A=
					cell.className +=3D " " + status;=0A=
				}=0A=
			}=0A=
			if (!cell.disabled) {=0A=
				cell.caldate =3D new Date(date);=0A=
				cell.ttip =3D "_";=0A=
				if (!this.multiple && current_month=0A=
				    && iday =3D=3D mday && this.hiliteToday) {=0A=
					cell.className +=3D " selected";=0A=
					this.currentDateEl =3D cell;=0A=
				}=0A=
				if (date.getFullYear() =3D=3D TY &&=0A=
				    date.getMonth() =3D=3D TM &&=0A=
				    iday =3D=3D TD) {=0A=
					cell.className +=3D " today";=0A=
					cell.ttip +=3D Calendar._TT["PART_TODAY"];=0A=
				}=0A=
				if (weekend.indexOf(wday.toString()) !=3D -1)=0A=
					cell.className +=3D cell.otherMonth ? " oweekend" : " weekend";=0A=
			}=0A=
		}=0A=
		if (!(hasdays || this.showsOtherMonths))=0A=
			row.className =3D "emptyrow";=0A=
	}=0A=
	this.title.innerHTML =3D Calendar._MN[month] + ", " + year;=0A=
	this.onSetTime();=0A=
	this.table.style.visibility =3D "visible";=0A=
	this._initMultipleDates();=0A=
	// PROFILE=0A=
	// this.tooltips.innerHTML =3D "Generated in " + ((new Date()) - today) =
+ " ms";=0A=
};=0A=
=0A=
Calendar.prototype._initMultipleDates =3D function() {=0A=
	if (this.multiple) {=0A=
		for (var i in this.multiple) {=0A=
			var cell =3D this.datesCells[i];=0A=
			var d =3D this.multiple[i];=0A=
			if (!d)=0A=
				continue;=0A=
			if (cell)=0A=
				cell.className +=3D " selected";=0A=
		}=0A=
	}=0A=
};=0A=
=0A=
Calendar.prototype._toggleMultipleDate =3D function(date) {=0A=
	if (this.multiple) {=0A=
		var ds =3D date.print("%Y%m%d");=0A=
		var cell =3D this.datesCells[ds];=0A=
		if (cell) {=0A=
			var d =3D this.multiple[ds];=0A=
			if (!d) {=0A=
				Calendar.addClass(cell, "selected");=0A=
				this.multiple[ds] =3D date;=0A=
			} else {=0A=
				Calendar.removeClass(cell, "selected");=0A=
				delete this.multiple[ds];=0A=
			}=0A=
		}=0A=
	}=0A=
};=0A=
=0A=
Calendar.prototype.setDateToolTipHandler =3D function (unaryFunction) {=0A=
	this.getDateToolTip =3D unaryFunction;=0A=
};=0A=
=0A=
/**=0A=
 *  Calls _init function above for going to a certain date (but only if =
the=0A=
 *  date is different than the currently selected one).=0A=
 */=0A=
Calendar.prototype.setDate =3D function (date) {=0A=
	if (!date.equalsTo(this.date)) {=0A=
		this._init(this.firstDayOfWeek, date);=0A=
	}=0A=
};=0A=
=0A=
/**=0A=
 *  Refreshes the calendar.  Useful if the "disabledHandler" function is=0A=
 *  dynamic, meaning that the list of disabled date can change at =
runtime.=0A=
 *  Just * call this function if you think that the list of disabled =
dates=0A=
 *  should * change.=0A=
 */=0A=
Calendar.prototype.refresh =3D function () {=0A=
	this._init(this.firstDayOfWeek, this.date);=0A=
};=0A=
=0A=
/** Modifies the "firstDayOfWeek" parameter (pass 0 for Synday, 1 for =
Monday, etc.). */=0A=
Calendar.prototype.setFirstDayOfWeek =3D function (firstDayOfWeek) {=0A=
	this._init(firstDayOfWeek, this.date);=0A=
	this._displayWeekdays();=0A=
};=0A=
=0A=
/**=0A=
 *  Allows customization of what dates are enabled.  The "unaryFunction"=0A=
 *  parameter must be a function object that receives the date (as a JS =
Date=0A=
 *  object) and returns a boolean value.  If the returned value is true =
then=0A=
 *  the passed date will be marked as disabled.=0A=
 */=0A=
Calendar.prototype.setDateStatusHandler =3D =
Calendar.prototype.setDisabledHandler =3D function (unaryFunction) {=0A=
	this.getDateStatus =3D unaryFunction;=0A=
};=0A=
=0A=
/** Customization of allowed year range for the calendar. */=0A=
Calendar.prototype.setRange =3D function (a, z) {=0A=
	this.minYear =3D a;=0A=
	this.maxYear =3D z;=0A=
};=0A=
=0A=
/** Calls the first user handler (selectedHandler). */=0A=
Calendar.prototype.callHandler =3D function () {=0A=
	if (this.onSelected) {=0A=
		this.onSelected(this, this.date.print(this.dateFormat));=0A=
	}=0A=
};=0A=
=0A=
/** Calls the second user handler (closeHandler). */=0A=
Calendar.prototype.callCloseHandler =3D function () {=0A=
	if (this.onClose) {=0A=
		this.onClose(this);=0A=
	}=0A=
	this.hideShowCovered();=0A=
};=0A=
=0A=
/** Removes the calendar object from the DOM tree and destroys it. */=0A=
Calendar.prototype.destroy =3D function () {=0A=
	var el =3D this.element.parentNode;=0A=
	el.removeChild(this.element);=0A=
	Calendar._C =3D null;=0A=
	window._dynarch_popupCalendar =3D null;=0A=
};=0A=
=0A=
/**=0A=
 *  Moves the calendar element to a different section in the DOM tree =
(changes=0A=
 *  its parent).=0A=
 */=0A=
Calendar.prototype.reparent =3D function (new_parent) {=0A=
	var el =3D this.element;=0A=
	el.parentNode.removeChild(el);=0A=
	new_parent.appendChild(el);=0A=
};=0A=
=0A=
// This gets called when the user presses a mouse button anywhere in the=0A=
// document, if the calendar is shown.  If the click was outside the open=0A=
// calendar this function closes it.=0A=
Calendar._checkCalendar =3D function(ev) {=0A=
	var calendar =3D window._dynarch_popupCalendar;=0A=
	if (!calendar) {=0A=
		return false;=0A=
	}=0A=
	var el =3D Calendar.is_ie ? Calendar.getElement(ev) : =
Calendar.getTargetElement(ev);=0A=
	for (; el !=3D null && el !=3D calendar.element; el =3D el.parentNode);=0A=
	if (el =3D=3D null) {=0A=
		// calls closeHandler which should hide the calendar.=0A=
		window._dynarch_popupCalendar.callCloseHandler();=0A=
		return Calendar.stopEvent(ev);=0A=
	}=0A=
};=0A=
=0A=
/** Shows the calendar. */=0A=
Calendar.prototype.show =3D function () {=0A=
	var rows =3D this.table.getElementsByTagName("tr");=0A=
	for (var i =3D rows.length; i > 0;) {=0A=
		var row =3D rows[--i];=0A=
		Calendar.removeClass(row, "rowhilite");=0A=
		var cells =3D row.getElementsByTagName("td");=0A=
		for (var j =3D cells.length; j > 0;) {=0A=
			var cell =3D cells[--j];=0A=
			Calendar.removeClass(cell, "hilite");=0A=
			Calendar.removeClass(cell, "active");=0A=
		}=0A=
	}=0A=
	this.element.style.display =3D "block";=0A=
	this.hidden =3D false;=0A=
	if (this.isPopup) {=0A=
		window._dynarch_popupCalendar =3D this;=0A=
		Calendar.addEvent(document, "keydown", Calendar._keyEvent);=0A=
		Calendar.addEvent(document, "keypress", Calendar._keyEvent);=0A=
		Calendar.addEvent(document, "mousedown", Calendar._checkCalendar);=0A=
	}=0A=
	this.hideShowCovered();=0A=
};=0A=
=0A=
/**=0A=
 *  Hides the calendar.  Also removes any "hilite" from the class of any =
TD=0A=
 *  element.=0A=
 */=0A=
Calendar.prototype.hide =3D function () {=0A=
	if (this.isPopup) {=0A=
		Calendar.removeEvent(document, "keydown", Calendar._keyEvent);=0A=
		Calendar.removeEvent(document, "keypress", Calendar._keyEvent);=0A=
		Calendar.removeEvent(document, "mousedown", Calendar._checkCalendar);=0A=
	}=0A=
	this.element.style.display =3D "none";=0A=
	this.hidden =3D true;=0A=
	this.hideShowCovered();=0A=
};=0A=
=0A=
/**=0A=
 *  Shows the calendar at a given absolute position (beware that, =
depending on=0A=
 *  the calendar element style -- position property -- this might be =
relative=0A=
 *  to the parent's containing rectangle).=0A=
 */=0A=
Calendar.prototype.showAt =3D function (x, y) {=0A=
	var s =3D this.element.style;=0A=
	s.left =3D x + "px";=0A=
	s.top =3D y + "px";=0A=
	this.show();=0A=
};=0A=
=0A=
/** Shows the calendar near a given element. */=0A=
Calendar.prototype.showAtElement =3D function (el, opts) {=0A=
	var self =3D this;=0A=
	var p =3D Calendar.getAbsolutePos(el);=0A=
	if (!opts || typeof opts !=3D "string") {=0A=
		this.showAt(p.x, p.y + el.offsetHeight);=0A=
		return true;=0A=
	}=0A=
	function fixPosition(box) {=0A=
		if (box.x < 0)=0A=
			box.x =3D 0;=0A=
		if (box.y < 0)=0A=
			box.y =3D 0;=0A=
		var cp =3D document.createElement("div");=0A=
		var s =3D cp.style;=0A=
		s.position =3D "absolute";=0A=
		s.right =3D s.bottom =3D s.width =3D s.height =3D "0px";=0A=
		document.body.appendChild(cp);=0A=
		var br =3D Calendar.getAbsolutePos(cp);=0A=
		document.body.removeChild(cp);=0A=
		if (Calendar.is_ie) {=0A=
			br.y +=3D document.body.scrollTop;=0A=
			br.x +=3D document.body.scrollLeft;=0A=
		} else {=0A=
			br.y +=3D window.scrollY;=0A=
			br.x +=3D window.scrollX;=0A=
		}=0A=
		var tmp =3D box.x + box.width - br.x;=0A=
		if (tmp > 0) box.x -=3D tmp;=0A=
		tmp =3D box.y + box.height - br.y;=0A=
		if (tmp > 0) box.y -=3D tmp;=0A=
	};=0A=
	this.element.style.display =3D "block";=0A=
	Calendar.continuation_for_the_fucking_khtml_browser =3D function() { =
//lol - nice.=0A=
		var w =3D self.element.offsetWidth;=0A=
		var h =3D self.element.offsetHeight;=0A=
		self.element.style.display =3D "none";=0A=
		var valign =3D opts.substr(0, 1);=0A=
		var halign =3D "l";=0A=
		if (opts.length > 1) {=0A=
			halign =3D opts.substr(1, 1);=0A=
		}=0A=
		// vertical alignment=0A=
		switch (valign) {=0A=
		    case "T": p.y -=3D h; break;=0A=
		    case "B": p.y +=3D el.offsetHeight; break;=0A=
		    case "C": p.y +=3D (el.offsetHeight - h) / 2; break;=0A=
		    case "t": p.y +=3D el.offsetHeight - h; break;=0A=
		    case "b": break; // already there=0A=
		}=0A=
		// horizontal alignment=0A=
		switch (halign) {=0A=
		    case "L": p.x -=3D w; break;=0A=
		    case "R": p.x +=3D el.offsetWidth; break;=0A=
		    case "C": p.x +=3D (el.offsetWidth - w) / 2; break;=0A=
		    case "l": p.x +=3D el.offsetWidth - w; break;=0A=
		    case "r": break; // already there=0A=
		}=0A=
		p.width =3D w;=0A=
		p.height =3D h + 40;=0A=
		self.monthsCombo.style.display =3D "none";=0A=
		fixPosition(p);=0A=
		self.showAt(p.x, p.y);=0A=
	};=0A=
	if (Calendar.is_khtml)=0A=
		setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()", =
10);=0A=
	else=0A=
		Calendar.continuation_for_the_fucking_khtml_browser();=0A=
};=0A=
=0A=
/** Customizes the date format. */=0A=
Calendar.prototype.setDateFormat =3D function (str) {=0A=
	this.dateFormat =3D str;=0A=
};=0A=
=0A=
/** Customizes the tooltip date format. */=0A=
Calendar.prototype.setTtDateFormat =3D function (str) {=0A=
	this.ttDateFormat =3D str;=0A=
};=0A=
=0A=
/**=0A=
 *  Tries to identify the date represented in a string.  If successful =
it also=0A=
 *  calls this.setDate which moves the calendar to the given date.=0A=
 */=0A=
Calendar.prototype.parseDate =3D function(str, fmt) {=0A=
	if (!fmt)=0A=
		fmt =3D this.dateFormat;=0A=
	this.setDate(Date.parseDate(str, fmt));=0A=
};=0A=
=0A=
Calendar.prototype.hideShowCovered =3D function () {=0A=
	if (!Calendar.is_ie && !Calendar.is_opera)=0A=
		return;=0A=
	function getVisib(obj){=0A=
		var value =3D obj.style.visibility;=0A=
		if (!value) {=0A=
			if (document.defaultView && typeof =
(document.defaultView.getComputedStyle) =3D=3D "function") { // Gecko, =
W3C=0A=
				if (!Calendar.is_khtml)=0A=
					value =3D document.defaultView.=0A=
						getComputedStyle(obj, "").getPropertyValue("visibility");=0A=
				else=0A=
					value =3D '';=0A=
			} else if (obj.currentStyle) { // IE=0A=
				value =3D obj.currentStyle.visibility;=0A=
			} else=0A=
				value =3D '';=0A=
		}=0A=
		return value;=0A=
	};=0A=
=0A=
	var tags =3D new Array("applet", "iframe", "select");=0A=
	var el =3D this.element;=0A=
=0A=
	var p =3D Calendar.getAbsolutePos(el);=0A=
	var EX1 =3D p.x;=0A=
	var EX2 =3D el.offsetWidth + EX1;=0A=
	var EY1 =3D p.y;=0A=
	var EY2 =3D el.offsetHeight + EY1;=0A=
=0A=
	for (var k =3D tags.length; k > 0; ) {=0A=
		var ar =3D document.getElementsByTagName(tags[--k]);=0A=
		var cc =3D null;=0A=
=0A=
		for (var i =3D ar.length; i > 0;) {=0A=
			cc =3D ar[--i];=0A=
=0A=
			p =3D Calendar.getAbsolutePos(cc);=0A=
			var CX1 =3D p.x;=0A=
			var CX2 =3D cc.offsetWidth + CX1;=0A=
			var CY1 =3D p.y;=0A=
			var CY2 =3D cc.offsetHeight + CY1;=0A=
=0A=
			if (this.hidden || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 =
< EY1)) {=0A=
				if (!cc.__msh_save_visibility) {=0A=
					cc.__msh_save_visibility =3D getVisib(cc);=0A=
				}=0A=
				cc.style.visibility =3D cc.__msh_save_visibility;=0A=
			} else {=0A=
				if (!cc.__msh_save_visibility) {=0A=
					cc.__msh_save_visibility =3D getVisib(cc);=0A=
				}=0A=
				//cc.style.visibility =3D "hidden";=0D				cc.style.visibility =3D =
"visible";=0A=
			}=0A=
		}=0A=
	}=0A=
};=0A=
=0A=
/** Internal function; it displays the bar with the names of the =
weekday. */=0A=
Calendar.prototype._displayWeekdays =3D function () {=0A=
	var fdow =3D this.firstDayOfWeek;=0A=
	var cell =3D this.firstdayname;=0A=
	var weekend =3D Calendar._TT["WEEKEND"];=0A=
	for (var i =3D 0; i < 7; ++i) {=0A=
		cell.className =3D "day name";=0A=
		var realday =3D (i + fdow) % 7;=0A=
		if (i) {=0A=
			cell.ttip =3D Calendar._TT["DAY_FIRST"].replace("%s", =
Calendar._DN[realday]);=0A=
			cell.navtype =3D 100;=0A=
			cell.calendar =3D this;=0A=
			cell.fdow =3D realday;=0A=
			Calendar._add_evs(cell);=0A=
		}=0A=
		if (weekend.indexOf(realday.toString()) !=3D -1) {=0A=
			Calendar.addClass(cell, "weekend");=0A=
		}=0A=
		cell.innerHTML =3D Calendar._SDN[(i + fdow) % 7];=0A=
		cell =3D cell.nextSibling;=0A=
	}=0A=
};=0A=
=0A=
/** Internal function.  Hides all combo boxes that might be displayed. */=0A=
Calendar.prototype._hideCombos =3D function () {=0A=
	this.monthsCombo.style.display =3D "none";=0A=
	this.yearsCombo.style.display =3D "none";=0A=
};=0A=
=0A=
/** Internal function.  Starts dragging the element. */=0A=
Calendar.prototype._dragStart =3D function (ev) {=0A=
	if (this.dragging) {=0A=
		return;=0A=
	}=0A=
	this.dragging =3D true;=0A=
	var posX;=0A=
	var posY;=0A=
	if (Calendar.is_ie) {=0A=
		posY =3D window.event.clientY + document.body.scrollTop;=0A=
		posX =3D window.event.clientX + document.body.scrollLeft;=0A=
	} else {=0A=
		posY =3D ev.clientY + window.scrollY;=0A=
		posX =3D ev.clientX + window.scrollX;=0A=
	}=0A=
	var st =3D this.element.style;=0A=
	this.xOffs =3D posX - parseInt(st.left);=0A=
	this.yOffs =3D posY - parseInt(st.top);=0A=
	with (Calendar) {=0A=
		addEvent(document, "mousemove", calDragIt);=0A=
		addEvent(document, "mouseup", calDragEnd);=0A=
	}=0A=
};=0A=
=0A=
// BEGIN: DATE OBJECT PATCHES=0A=
=0A=
/** Adds the number of days array to the Date object. */=0A=
Date._MD =3D new Array(31,28,31,30,31,30,31,31,30,31,30,31);=0A=
=0A=
/** Constants used for time computations */=0A=
Date.SECOND =3D 1000 /* milliseconds */;=0A=
Date.MINUTE =3D 60 * Date.SECOND;=0A=
Date.HOUR   =3D 60 * Date.MINUTE;=0A=
Date.DAY    =3D 24 * Date.HOUR;=0A=
Date.WEEK   =3D  7 * Date.DAY;=0A=
=0A=
Date.parseDate =3D function(str, fmt) {=0A=
	var today =3D new Date();=0A=
	var y =3D 0;=0A=
	var m =3D -1;=0A=
	var d =3D 0;=0A=
	var a =3D str.split(/\W+/);=0A=
	var b =3D fmt.match(/%./g);=0A=
	var i =3D 0, j =3D 0;=0A=
	var hr =3D 0;=0A=
	var min =3D 0;=0A=
	for (i =3D 0; i < a.length; ++i) {=0A=
		if (!a[i])=0A=
			continue;=0A=
		switch (b[i]) {=0A=
		    case "%d":=0A=
		    case "%e":=0A=
			d =3D parseInt(a[i], 10);=0A=
			break;=0A=
=0A=
		    case "%m":=0A=
			m =3D parseInt(a[i], 10) - 1;=0A=
			break;=0A=
=0A=
		    case "%Y":=0A=
		    case "%y":=0A=
			y =3D parseInt(a[i], 10);=0A=
			(y < 100) && (y +=3D (y > 29) ? 1900 : 2000);=0A=
			break;=0A=
=0A=
		    case "%b":=0A=
		    case "%B":=0A=
			for (j =3D 0; j < 12; ++j) {=0A=
				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() =3D=3D =
a[i].toLowerCase()) { m =3D j; break; }=0A=
			}=0A=
			break;=0A=
=0A=
		    case "%H":=0A=
		    case "%I":=0A=
		    case "%k":=0A=
		    case "%l":=0A=
			hr =3D parseInt(a[i], 10);=0A=
			break;=0A=
=0A=
		    case "%P":=0A=
		    case "%p":=0A=
			if (/pm/i.test(a[i]) && hr < 12)=0A=
				hr +=3D 12;=0A=
			else if (/am/i.test(a[i]) && hr >=3D 12)=0A=
				hr -=3D 12;=0A=
			break;=0A=
=0A=
		    case "%M":=0A=
			min =3D parseInt(a[i], 10);=0A=
			break;=0A=
		}=0A=
	}=0A=
	if (isNaN(y)) y =3D today.getFullYear();=0A=
	if (isNaN(m)) m =3D today.getMonth();=0A=
	if (isNaN(d)) d =3D today.getDate();=0A=
	if (isNaN(hr)) hr =3D today.getHours();=0A=
	if (isNaN(min)) min =3D today.getMinutes();=0A=
	if (y !=3D 0 && m !=3D -1 && d !=3D 0)=0A=
		return new Date(y, m, d, hr, min, 0);=0A=
	y =3D 0; m =3D -1; d =3D 0;=0A=
	for (i =3D 0; i < a.length; ++i) {=0A=
		if (a[i].search(/[a-zA-Z]+/) !=3D -1) {=0A=
			var t =3D -1;=0A=
			for (j =3D 0; j < 12; ++j) {=0A=
				if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() =3D=3D =
a[i].toLowerCase()) { t =3D j; break; }=0A=
			}=0A=
			if (t !=3D -1) {=0A=
				if (m !=3D -1) {=0A=
					d =3D m+1;=0A=
				}=0A=
				m =3D t;=0A=
			}=0A=
		} else if (parseInt(a[i], 10) <=3D 12 && m =3D=3D -1) {=0A=
			m =3D a[i]-1;=0A=
		} else if (parseInt(a[i], 10) > 31 && y =3D=3D 0) {=0A=
			y =3D parseInt(a[i], 10);=0A=
			(y < 100) && (y +=3D (y > 29) ? 1900 : 2000);=0A=
		} else if (d =3D=3D 0) {=0A=
			d =3D a[i];=0A=
		}=0A=
	}=0A=
	if (y =3D=3D 0)=0A=
		y =3D today.getFullYear();=0A=
	if (m !=3D -1 && d !=3D 0)=0A=
		return new Date(y, m, d, hr, min, 0);=0A=
	return today;=0A=
};=0A=
=0A=
/** Returns the number of days in the current month */=0A=
Date.prototype.getMonthDays =3D function(month) {=0A=
	var year =3D this.getFullYear();=0A=
	if (typeof month =3D=3D "undefined") {=0A=
		month =3D this.getMonth();=0A=
	}=0A=
	if (((0 =3D=3D (year%4)) && ( (0 !=3D (year%100)) || (0 =3D=3D =
(year%400)))) && month =3D=3D 1) {=0A=
		return 29;=0A=
	} else {=0A=
		return Date._MD[month];=0A=
	}=0A=
};=0A=
=0A=
/** Returns the number of day in the year. */=0A=
Date.prototype.getDayOfYear =3D function() {=0A=
	var now =3D new Date(this.getFullYear(), this.getMonth(), =
this.getDate(), 0, 0, 0);=0A=
	var then =3D new Date(this.getFullYear(), 0, 0, 0, 0, 0);=0A=
	var time =3D now - then;=0A=
	return Math.floor(time / Date.DAY);=0A=
};=0A=
=0A=
/** Returns the number of the week in year, as defined in ISO 8601. */=0A=
Date.prototype.getWeekNumber =3D function() {=0A=
	var d =3D new Date(this.getFullYear(), this.getMonth(), this.getDate(), =
0, 0, 0);=0A=
	var DoW =3D d.getDay();=0A=
	d.setDate(d.getDate() - (DoW + 6) % 7 + 3); // Nearest Thu=0A=
	var ms =3D d.valueOf(); // GMT=0A=
	d.setMonth(0);=0A=
	d.setDate(4); // Thu in Week 1=0A=
	return Math.round((ms - d.valueOf()) / (7 * 864e5)) + 1;=0A=
};=0A=
=0A=
/** Checks date and time equality */=0A=
Date.prototype.equalsTo =3D function(date) {=0A=
	return ((this.getFullYear() =3D=3D date.getFullYear()) &&=0A=
		(this.getMonth() =3D=3D date.getMonth()) &&=0A=
		(this.getDate() =3D=3D date.getDate()) &&=0A=
		(this.getHours() =3D=3D date.getHours()) &&=0A=
		(this.getMinutes() =3D=3D date.getMinutes()));=0A=
};=0A=
=0A=
/** Set only the year, month, date parts (keep existing time) */=0A=
Date.prototype.setDateOnly =3D function(date) {=0A=
	var tmp =3D new Date(date);=0A=
	this.setDate(1);=0A=
	this.setFullYear(tmp.getFullYear());=0A=
	this.setMonth(tmp.getMonth());=0A=
	this.setDate(tmp.getDate());=0A=
};=0A=
=0A=
/** Prints the date in a string according to the given format. */=0A=
Date.prototype.print =3D function (str) {=0A=
	var m =3D this.getMonth();=0A=
	var d =3D this.getDate();=0A=
	var y =3D this.getFullYear();=0A=
	var wn =3D this.getWeekNumber();=0A=
	var w =3D this.getDay();=0A=
	var s =3D {};=0A=
	var hr =3D this.getHours();=0A=
	var pm =3D (hr >=3D 12);=0A=
	var ir =3D (pm) ? (hr - 12) : hr;=0A=
	var dy =3D this.getDayOfYear();=0A=
	if (ir =3D=3D 0)=0A=
		ir =3D 12;=0A=
	var min =3D this.getMinutes();=0A=
	var sec =3D this.getSeconds();=0A=
	s["%a"] =3D Calendar._SDN[w]; // abbreviated weekday name [FIXME: I18N]=0A=
	s["%A"] =3D Calendar._DN[w]; // full weekday name=0A=
	s["%b"] =3D Calendar._SMN[m]; // abbreviated month name [FIXME: I18N]=0A=
	s["%B"] =3D Calendar._MN[m]; // full month name=0A=
	// FIXME: %c : preferred date and time representation for the current =
locale=0A=
	s["%C"] =3D 1 + Math.floor(y / 100); // the century number=0A=
	s["%d"] =3D (d < 10) ? ("0" + d) : d; // the day of the month (range 01 =
to 31)=0A=
	s["%e"] =3D d; // the day of the month (range 1 to 31)=0A=
	// FIXME: %D : american date style: %m/%d/%y=0A=
	// FIXME: %E, %F, %G, %g, %h (man strftime)=0A=
	s["%H"] =3D (hr < 10) ? ("0" + hr) : hr; // hour, range 00 to 23 (24h =
format)=0A=
	s["%I"] =3D (ir < 10) ? ("0" + ir) : ir; // hour, range 01 to 12 (12h =
format)=0A=
	s["%j"] =3D (dy < 100) ? ((dy < 10) ? ("00" + dy) : ("0" + dy)) : dy; =
// day of the year (range 001 to 366)=0A=
	s["%k"] =3D hr;		// hour, range 0 to 23 (24h format)=0A=
	s["%l"] =3D ir;		// hour, range 1 to 12 (12h format)=0A=
	s["%m"] =3D (m < 9) ? ("0" + (1+m)) : (1+m); // month, range 01 to 12=0A=
	s["%M"] =3D (min < 10) ? ("0" + min) : min; // minute, range 00 to 59=0A=
	s["%n"] =3D "\n";		// a newline character=0A=
	s["%p"] =3D pm ? "PM" : "AM";=0A=
	s["%P"] =3D pm ? "pm" : "am";=0A=
	// FIXME: %r : the time in am/pm notation %I:%M:%S %p=0A=
	// FIXME: %R : the time in 24-hour notation %H:%M=0A=
	s["%s"] =3D Math.floor(this.getTime() / 1000);=0A=
	s["%S"] =3D (sec < 10) ? ("0" + sec) : sec; // seconds, range 00 to 59=0A=
	s["%t"] =3D "\t";		// a tab character=0A=
	// FIXME: %T : the time in 24-hour notation (%H:%M:%S)=0A=
	s["%U"] =3D s["%W"] =3D s["%V"] =3D (wn < 10) ? ("0" + wn) : wn;=0A=
	s["%u"] =3D w + 1;	// the day of the week (range 1 to 7, 1 =3D MON)=0A=
	s["%w"] =3D w;		// the day of the week (range 0 to 6, 0 =3D SUN)=0A=
	// FIXME: %x : preferred date representation for the current locale =
without the time=0A=
	// FIXME: %X : preferred time representation for the current locale =
without the date=0A=
	s["%y"] =3D ('' + y).substr(2, 2); // year without the century (range =
00 to 99)=0A=
	s["%Y"] =3D y;		// year with the century=0A=
	s["%%"] =3D "%";		// a literal '%' character=0A=
=0A=
	var re =3D /%./g;=0A=
	if (!Calendar.is_ie5 && !Calendar.is_khtml)=0A=
		return str.replace(re, function (par) { return s[par] || par; });=0A=
=0A=
	var a =3D str.match(re);=0A=
	for (var i =3D 0; i < a.length; i++) {=0A=
		var tmp =3D s[a[i]];=0A=
		if (tmp) {=0A=
			re =3D new RegExp(a[i], 'g');=0A=
			str =3D str.replace(re, tmp);=0A=
		}=0A=
	}=0A=
=0A=
	return str;=0A=
};=0A=
=0A=
Date.prototype.__msh_oldSetFullYear =3D Date.prototype.setFullYear;=0A=
Date.prototype.setFullYear =3D function(y) {=0A=
	var d =3D new Date(this);=0A=
	d.__msh_oldSetFullYear(y);=0A=
	if (d.getMonth() !=3D this.getMonth())=0A=
		this.setDate(28);=0A=
	this.__msh_oldSetFullYear(y);=0A=
};=0A=
=0A=
// END: DATE OBJECT PATCHES=0A=
=0A=
=0A=
// global object that remembers the calendar=0A=
window._dynarch_popupCalendar =3D null;=0A=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/scriptlib/calendar-setup.js

/*  Copyright Mihai Bazon, 2002, 2003  |  http://dynarch.com/mishoo/=0A=
 * =
-------------------------------------------------------------------------=
--=0A=
 *=0A=
 * The DHTML Calendar=0A=
 *=0A=
 * Details and latest version at:=0A=
 * http://dynarch.com/mishoo/calendar.epl=0A=
 *=0A=
 * This script is distributed under the GNU Lesser General Public =
License.=0A=
 * Read the entire license text here: =
http://www.gnu.org/licenses/lgpl.html=0A=
 *=0A=
 * This file defines helper functions for setting up the calendar.  They =
are=0A=
 * intended to help non-programmers get a working calendar on their site=0A=
 * quickly.  This script should not be seen as part of the calendar.  It =
just=0A=
 * shows you what one can do with the calendar, while in the same time=0A=
 * providing a quick and simple method for setting it up.  If you need=0A=
 * exhaustive customization of the calendar creation process feel free to=0A=
 * modify this code to suit your needs (this is recommended and much =
better=0A=
 * than modifying calendar.js itself).=0A=
 */=0A=
=0A=
// $Id: calendar-setup.js,v 1.25 2005/03/07 09:51:33 mishoo Exp $=0A=
=0A=
/**=0A=
 *  This function "patches" an input field (or other element) to use a =
calendar=0A=
 *  widget for date selection.=0A=
 *=0A=
 *  The "params" is a single object that can have the following =
properties:=0A=
 *=0A=
 *    prop. name   | description=0A=
 *  =
-------------------------------------------------------------------------=
------------------------=0A=
 *   inputField    | the ID of an input field to store the date=0A=
 *   displayArea   | the ID of a DIV or other element to show the date=0A=
 *   button        | ID of a button or other element that will trigger =
the calendar=0A=
 *   eventName     | event that will trigger the calendar, without the =
"on" prefix (default: "click")=0A=
 *   ifFormat      | date format that will be stored in the input field=0A=
 *   daFormat      | the date format that will be used to display the =
date in displayArea=0A=
 *   singleClick   | (true/false) wether the calendar is in single click =
mode or not (default: true)=0A=
 *   firstDay      | numeric: 0 to 6.  "0" means display Sunday first, =
"1" means display Monday first, etc.=0A=
 *   align         | alignment (default: "Br"); if you don't know what's =
this see the calendar documentation=0A=
 *   range         | array with 2 elements.  Default: [1900, 2999] -- =
the range of years available=0A=
 *   weekNumbers   | (true/false) if it's true (default) the calendar =
will display week numbers=0A=
 *   flat          | null or element ID; if not null the calendar will =
be a flat calendar having the parent with the given ID=0A=
 *   flatCallback  | function that receives a JS Date object and returns =
an URL to point the browser to (for flat calendar)=0A=
 *   disableFunc   | function that receives a JS Date object and should =
return true if that date has to be disabled in the calendar=0A=
 *   onSelect      | function that gets called when a date is selected.  =
You don't _have_ to supply this (the default is generally okay)=0A=
 *   onClose       | function that gets called when the calendar is =
closed.  [default]=0A=
 *   onUpdate      | function that gets called after the date is updated =
in the input field.  Receives a reference to the calendar.=0A=
 *   date          | the date that the calendar will be initially =
displayed to=0A=
 *   showsTime     | default: false; if true the calendar will include a =
time selector=0A=
 *   timeFormat    | the time format; can be "12" or "24", default is =
"12"=0A=
 *   electric      | if true (default) then given fields/date areas are =
updated for each move; otherwise they're updated only on close=0A=
 *   step          | configures the step of the years in drop-down =
boxes; default: 2=0A=
 *   position      | configures the calendar absolute position; default: =
null=0A=
 *   cache         | if "true" (but default: "false") it will reuse the =
same calendar object, where possible=0A=
 *   showOthers    | if "true" (but default: "false") it will show days =
from other months too=0A=
 *=0A=
 *  None of them is required, they all have default values.  However, if =
you=0A=
 *  pass none of "inputField", "displayArea" or "button" you'll get a =
warning=0A=
 *  saying "nothing to setup".=0A=
 */=0A=
Calendar.setup =3D function (params) {=0A=
	function param_default(pname, def) { if (typeof params[pname] =3D=3D =
"undefined") { params[pname] =3D def; } };=0A=
=0A=
	param_default("inputField",     null);=0A=
	param_default("displayArea",    null);=0A=
	param_default("button",         null);=0A=
	param_default("eventName",      "click");=0A=
	param_default("ifFormat",       "%Y/%m/%d");=0A=
	param_default("daFormat",       "%Y/%m/%d");=0A=
	param_default("singleClick",    true);=0A=
	param_default("disableFunc",    null);=0A=
	param_default("dateStatusFunc", params["disableFunc"]);	// takes =
precedence if both are defined=0A=
	param_default("dateText",       null);=0A=
	param_default("firstDay",       null);=0A=
	param_default("align",          "Br");=0A=
	param_default("range",          [1900, 2999]);=0A=
	param_default("weekNumbers",    true);=0A=
	param_default("flat",           null);=0A=
	param_default("flatCallback",   null);=0A=
	param_default("onSelect",       null);=0A=
	param_default("onClose",        null);=0A=
	param_default("onUpdate",       null);=0A=
	param_default("date",           null);=0A=
	param_default("showsTime",      false);=0A=
	param_default("timeFormat",     "24");=0A=
	param_default("electric",       true);=0A=
	param_default("step",           2);=0A=
	param_default("position",       null);=0A=
	param_default("cache",          false);=0A=
	param_default("showOthers",     false);=0A=
	param_default("multiple",       null);=0A=
=0A=
	var tmp =3D ["inputField", "displayArea", "button"];=0A=
	for (var i in tmp) {=0A=
		if (typeof params[tmp[i]] =3D=3D "string") {=0A=
			params[tmp[i]] =3D document.getElementById(params[tmp[i]]);=0A=
		}=0A=
	}=0A=
	if (!(params.flat || params.multiple || params.inputField || =
params.displayArea || params.button)) {=0A=
		alert("Calendar.setup:\n  Nothing to setup (no fields found).  Please =
check your code");=0A=
		return false;=0A=
	}=0A=
=0A=
	function onSelect(cal) {=0A=
		var p =3D cal.params;=0A=
		var update =3D (cal.dateClicked || p.electric);=0A=
		if (update && p.inputField) {=0A=
			p.inputField.value =3D cal.date.print(p.ifFormat);=0A=
			if (typeof p.inputField.onchange =3D=3D "function")=0A=
				p.inputField.onchange();=0A=
		}=0A=
		if (update && p.displayArea)=0A=
			p.displayArea.innerHTML =3D cal.date.print(p.daFormat);=0A=
		if (update && typeof p.onUpdate =3D=3D "function")=0A=
			p.onUpdate(cal);=0A=
		if (update && p.flat) {=0A=
			if (typeof p.flatCallback =3D=3D "function")=0A=
				p.flatCallback(cal);=0A=
		}=0A=
		if (update && p.singleClick && cal.dateClicked)=0A=
			cal.callCloseHandler();=0A=
	};=0A=
=0A=
	if (params.flat !=3D null) {=0A=
		if (typeof params.flat =3D=3D "string")=0A=
			params.flat =3D document.getElementById(params.flat);=0A=
		if (!params.flat) {=0A=
			alert("Calendar.setup:\n  Flat specified but can't find parent.");=0A=
			return false;=0A=
		}=0A=
		var cal =3D new Calendar(params.firstDay, params.date, params.onSelect =
|| onSelect);=0A=
		cal.showsOtherMonths =3D params.showOthers;=0A=
		cal.showsTime =3D params.showsTime;=0A=
		cal.time24 =3D (params.timeFormat =3D=3D "24");=0A=
		cal.params =3D params;=0A=
		cal.weekNumbers =3D params.weekNumbers;=0A=
		cal.setRange(params.range[0], params.range[1]);=0A=
		cal.setDateStatusHandler(params.dateStatusFunc);=0A=
		cal.getDateText =3D params.dateText;=0A=
		if (params.ifFormat) {=0A=
			cal.setDateFormat(params.ifFormat);=0A=
		}=0A=
		if (params.inputField && typeof params.inputField.value =3D=3D =
"string") {=0A=
			cal.parseDate(params.inputField.value);=0A=
		}=0A=
		cal.create(params.flat);=0A=
		cal.show();=0A=
		return false;=0A=
	}=0A=
=0A=
	var triggerEl =3D params.button || params.displayArea || =
params.inputField;=0A=
	triggerEl["on" + params.eventName] =3D function() {=0A=
		var dateEl =3D params.inputField || params.displayArea;=0A=
		var dateFmt =3D params.inputField ? params.ifFormat : params.daFormat;=0A=
		var mustCreate =3D false;=0A=
		var cal =3D window.calendar;=0A=
		if (dateEl)=0A=
			params.date =3D Date.parseDate(dateEl.value || dateEl.innerHTML, =
dateFmt);=0A=
		if (!(cal && params.cache)) {=0A=
			window.calendar =3D cal =3D new Calendar(params.firstDay,=0A=
							     params.date,=0A=
							     params.onSelect || onSelect,=0A=
							     params.onClose || function(cal) { cal.hide(); });=0A=
			cal.showsTime =3D params.showsTime;=0A=
			cal.time24 =3D (params.timeFormat =3D=3D "24");=0A=
			cal.weekNumbers =3D params.weekNumbers;=0A=
			mustCreate =3D true;=0A=
		} else {=0A=
			if (params.date)=0A=
				cal.setDate(params.date);=0A=
			cal.hide();=0A=
		}=0A=
		if (params.multiple) {=0A=
			cal.multiple =3D {};=0A=
			for (var i =3D params.multiple.length; --i >=3D 0;) {=0A=
				var d =3D params.multiple[i];=0A=
				var ds =3D d.print("%Y%m%d");=0A=
				cal.multiple[ds] =3D d;=0A=
			}=0A=
		}=0A=
		cal.showsOtherMonths =3D params.showOthers;=0A=
		cal.yearStep =3D params.step;=0A=
		cal.setRange(params.range[0], params.range[1]);=0A=
		cal.params =3D params;=0A=
		cal.setDateStatusHandler(params.dateStatusFunc);=0A=
		cal.getDateText =3D params.dateText;=0A=
		cal.setDateFormat(dateFmt);=0A=
		if (mustCreate)=0A=
			cal.create();=0A=
		cal.refresh();=0A=
		if (!params.position)=0A=
			cal.showAtElement(params.button || params.displayArea || =
params.inputField, params.align);=0A=
		else=0A=
			cal.showAt(params.position[0], params.position[1]);=0A=
		return false;=0A=
	};=0A=
=0A=
	return cal;=0A=
};=0A=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/scriptlib/calendar-en.js

// ** I18N=0A=
=0A=
// Calendar EN language=0A=
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>=0A=
// Encoding: any=0A=
// Distributed under the same terms as the calendar itself.=0A=
=0A=
// For translators: please use UTF-8 if possible.  We strongly believe =
that=0A=
// Unicode is the answer to a real internationalized world.  Also please=0A=
// include your contact information in the header, as can be seen above.=0A=
=0A=
// full day names=0A=
Calendar._DN =3D new Array=0A=
("Sunday",=0A=
 "Monday",=0A=
 "Tuesday",=0A=
 "Wednesday",=0A=
 "Thursday",=0A=
 "Friday",=0A=
 "Saturday",=0A=
 "Sunday");=0A=
=0A=
// Please note that the following array of short day names (and the same =
goes=0A=
// for short month names, _SMN) isn't absolutely necessary.  We give it =
here=0A=
// for exemplification on how one can customize the short day names, but =
if=0A=
// they are simply the first N letters of the full name you can simply =
say:=0A=
//=0A=
//   Calendar._SDN_len =3D N; // short day name length=0A=
//   Calendar._SMN_len =3D N; // short month name length=0A=
//=0A=
// If N =3D 3 then this is not needed either since we assume a value of =
3 if not=0A=
// present, to be compatible with translation files that were written =
before=0A=
// this feature.=0A=
=0A=
// short day names=0A=
Calendar._SDN =3D new Array=0A=
("Sun",=0A=
 "Mon",=0A=
 "Tue",=0A=
 "Wed",=0A=
 "Thu",=0A=
 "Fri",=0A=
 "Sat",=0A=
 "Sun");=0A=
=0A=
// First day of the week. "0" means display Sunday first, "1" means =
display=0A=
// Monday first, etc.=0A=
Calendar._FD =3D 0;=0A=
=0A=
// full month names=0A=
Calendar._MN =3D new Array=0A=
("January",=0A=
 "February",=0A=
 "March",=0A=
 "April",=0A=
 "May",=0A=
 "June",=0A=
 "July",=0A=
 "August",=0A=
 "September",=0A=
 "October",=0A=
 "November",=0A=
 "December");=0A=
=0A=
// short month names=0A=
Calendar._SMN =3D new Array=0A=
("Jan",=0A=
 "Feb",=0A=
 "Mar",=0A=
 "Apr",=0A=
 "May",=0A=
 "Jun",=0A=
 "Jul",=0A=
 "Aug",=0A=
 "Sep",=0A=
 "Oct",=0A=
 "Nov",=0A=
 "Dec");=0A=
=0A=
// tooltips=0A=
Calendar._TT =3D {};=0A=
Calendar._TT["INFO"] =3D "About the calendar";=0A=
=0A=
Calendar._TT["ABOUT"] =3D=0A=
/*=0D"DHTML Date/Time Selector\n" +=0A=
"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate =
this this ;-)=0A=
"For latest version visit: http://www.dynarch.com/projects/calendar/\n" +=0A=
"Distributed under GNU LGPL.  See http://gnu.org/licenses/lgpl.html for =
details." +=0A=
"\n\n" +=0A=
*/=0D"Date selection:\n" +=0A=
"- Use the \xab, \xbb buttons to select year\n" +=0A=
"- Use the " + String.fromCharCode(0x2039) + ", " + =
String.fromCharCode(0x203a) + " buttons to select month\n" +=0A=
"- Hold mouse button on any of the above buttons for faster selection.";=0A=
Calendar._TT["ABOUT_TIME"] =3D "\n\n" +=0A=
"Time selection:\n" +=0A=
"- Click on any of the time parts to increase it\n" +=0A=
"- or Shift-click to decrease it\n" +=0A=
"- or click and drag for faster selection.";=0A=
=0A=
Calendar._TT["PREV_YEAR"] =3D "Prev. year (hold for menu)";=0A=
Calendar._TT["PREV_MONTH"] =3D "Prev. month (hold for menu)";=0A=
Calendar._TT["GO_TODAY"] =3D "Go Today";=0A=
Calendar._TT["NEXT_MONTH"] =3D "Next month (hold for menu)";=0A=
Calendar._TT["NEXT_YEAR"] =3D "Next year (hold for menu)";=0A=
Calendar._TT["SEL_DATE"] =3D "Select date";=0A=
Calendar._TT["DRAG_TO_MOVE"] =3D "Drag to move";=0A=
Calendar._TT["PART_TODAY"] =3D " (today)";=0A=
=0A=
// the following is to inform that "%s" is to be the first day of week=0A=
// %s will be replaced with the day name.=0A=
Calendar._TT["DAY_FIRST"] =3D "Display %s first";=0A=
=0A=
// This may be locale-dependent.  It specifies the week-end days, as an =
array=0A=
// of comma-separated numbers.  The numbers are from 0 to 6: 0 means =
Sunday, 1=0A=
// means Monday, etc.=0A=
Calendar._TT["WEEKEND"] =3D "0,6";=0A=
=0A=
Calendar._TT["CLOSE"] =3D "Close";=0A=
Calendar._TT["TODAY"] =3D "Today";=0A=
Calendar._TT["TIME_PART"] =3D "(Shift-)Click or drag to change value";=0A=
=0A=
// date formats=0A=
Calendar._TT["DEF_DATE_FORMAT"] =3D "%Y-%m-%d";=0A=
Calendar._TT["TT_DATE_FORMAT"] =3D "%a, %b %e";=0A=
=0A=
Calendar._TT["WK"] =3D "wk";=0A=
Calendar._TT["TIME"] =3D "Time:";=0A=

------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://wsunews.wsu.edu/includes/scriptlib/functions.js

function copyData(from,to){to.value =3D from;}
function DeleteWarn(TheElement){
	confirm( "Deleting this item will also remove it from the database.  =
This cannot be "
	+ "undone.  OK to proceed with the delete?");
	document.getElementById(TheElement).setAttribute("url",'#');
}
function DeletePage(ScriptName,PageID,Key){
    if (confirm('Deleting cannot be undone. Ok to proceed?')){
        location.href =3D =
ScriptName+'?Action=3DDelete&PageID=3D'+PageID+'&Key=3D'+Key;
    } else {
        location.href =3D location.href
    }
}
function RTrim(VALUE){
	var w_space =3D String.fromCharCode(32);
	var v_length =3D VALUE.length;
	var strTemp =3D "";
	if(v_length < 0){
		return"";
	}
	var iTemp =3D v_length -1;
	while(iTemp > -1){
		if(VALUE.charAt(iTemp) =3D=3D w_space){
		}else{
			strTemp =3D VALUE.substring(0,iTemp +1);
			break;
		}
		iTemp =3D iTemp-1;
	}
	return strTemp;
}

function removeHTMLTags(strInputCode){
	strInputCode =3D strInputCode.replace(/&(lt|gt);/gi, function =
(strMatch, p1){
		return (p1 =3D=3D "lt")? "<" : ">";
	});
	var strTagStrippedText =3D strInputCode.replace(/<\/?[^>]+(>|$)/gi, =
"");
	return strTagStrippedText	=09
}


function Homogenize(strTemp){
	var w_space =3D String.fromCharCode(32);
	strTemp =3D RTrim(strTemp)
	strTemp =3D strTemp.replace( new RegExp("&nbsp;","gi")," " );
	strTemp =3D strTemp.replace( new RegExp("&amp;","gi"),"&" );
	strTemp =3D strTemp.replace( new RegExp("&lt;","gi"),"<" );
	strTemp =3D strTemp.replace( new RegExp("&gt;","gi"),">" );
	strTemp =3D strTemp.replace( new RegExp(w_space,"gi")," " );
	strTemp =3D strTemp.replace( new RegExp(" ","gi")," " );
	strTemp =3D removeHTMLTags(strTemp)
	strTemp =3D escape(strTemp);
	strTemp =3D strTemp.replace( new =
RegExp("%u2019|%u201C|%u201D|%2C|%3C|%3E|%21|%23|%24|%25|%5E|%26|%28|%29|=
%7B|%7D|%5B|%5D|%3D|%3A|%3B|%3F|%27|%22|%0D|%0A|%A0|%20","gi"),"" );
	//strTemp =3D unescape(strTemp);
	//alert(strTemp)
	//strTemp =3D hex_md5(strTemp)
	return strTemp
}



function IsObject(Id, Tag)
{
  var o =3D document.getElementById(Id);
  if (o){
    if (Tag){
      if (o.tagName.toLowerCase() =3D=3D Tag.toLowerCase()){
        return o;
      }
    }else{
      return o;
    }
  }
  return null;
}


function CheckContent(){
	if (IsObject('ContentDiv','div')){
		//alert(Homogenize(ContentDiv.innerHTML) + ' =3D ' + =
Homogenize(EditForm.PageContent.value))
		if (Homogenize(ContentDiv.innerHTML) !=3D =
Homogenize(EditForm.PageContent.value)){
			return ('It appears that you have made changes to the content, but =
have not yet saved.');
		}
	}
}

var display_url=3D1
var ie5=3Ddocument.all&&document.getElementById
var ns6=3Ddocument.getElementById&&!document.all
function showmenuie5(e){
	var ClickedElement =3D (event.srcElement.id).toString();
    var ContextMenu;
	ContextMenu =3D "Pop" + ClickedElement
	var PopMenu =3D document.getElementById(ContextMenu)
    var rightedge=3Die5? =
document.documentElement.clientWidth-event.clientX : =
window.innerWidth-e.clientX
    var bottomedge=3Die5? =
document.documentElement.clientHeight-event.clientY : =
window.innerHeight-e.clientY
    if (rightedge<ContextMenu.offsetWidth)
	  PopMenu.style.left=3Die5? =
document.documentElement.scrollLeft+event.clientX-PopMenu.offsetWidth : =
window.pageXOffset+e.clientX-PopMenu.offsetWidth
    else
        //original, switched to work with centered site =
//PopMenu.style.left=3Die5? =
document.documentElement.scrollLeft+event.clientX : =
window.pageXOffset+e.clientX
        PopMenu.style.left=3Die5? event.clientX/6 : =
window.pageXOffset+e.clientX
    if (bottomedge<ContextMenu.offsetHeight)
        PopMenu.style.top=3Die5? =
document.documentElement.scrollTop+event.clientY-PopMenu.offsetHeight : =
window.pageYOffset+e.clientY-PopMenu.offsetHeight
    else
		PopMenu.style.top=3Die5? =
document.documentElement.scrollTop+event.clientY-50 : =
window.pageYOffset+e.clientY
		PopMenu.style.visibility=3D"visible"
}
function showmenuie52(e){
	var ClickedElement =3D (event.srcElement.id).toString();
    var ContextMenu;
	ContextMenu =3D "Pop" + ClickedElement
	var PopMenu =3D document.getElementById(ContextMenu)
	var rightedge=3Die5? document.documentElement.clientWidth-event.clientX =
: window.innerWidth-e.clientX
    var bottomedge=3Die5? =
document.documentElement.clientHeight-event.clientY : =
window.innerHeight-e.clientY
    if (rightedge<ContextMenu.offsetWidth)
	  PopMenu.style.left=3Die5? =
document.documentElement.scrollLeft+event.clientX-PopMenu.offsetWidth : =
window.pageXOffset+e.clientX-PopMenu.offsetWidth
    else
        PopMenu.style.left=3Die5? event.clientX/6 : =
window.pageXOffset+e.clientX
        //PopMenu.style.top=3Die5? event.clientY + =
document.body.scrollTop + document.documentElement.scrollTop-230 : =
window.pageYOffset+e.clientY
 		PopMenu.style.visibility=3D"visible"
}
function showmenu(ClickedElement){
	var ContextMenu;
	ContextMenu =3D "Pop" + ClickedElement
	var PopMenu =3D document.getElementById(ContextMenu)
	PopMenu.style.position=3D"absolute";
	PopMenu.style.visibility=3D"visible"
}


function hidemenuie5(e){
    tmp =3D document.getElementsByTagName("div");
    for (i=3D0;i<tmp.length;i++){
		if (tmp[i].id.indexOf("Pop") =3D=3D "0"){
            TagID =3D (tmp[i].id).toString();
            document.getElementById(TagID).style.visibility =3D =
"hidden";
         }
    }
}
function highlightie5(e){
    var firingobj=3Die5? event.srcElement : e.target
    if =
(firingobj.className=3D=3D"menuitems"||ns6&&firingobj.parentNode.classNam=
e=3D=3D"menuitems"){
    if (ns6&&firingobj.parentNode.className=3D=3D"menuitems") =
firingobj=3Dfiringobj.parentNode //up one node
        firingobj.style.backgroundColor=3D"#ffeec2"
        firingobj.style.color=3D"black"
    if (display_url=3D=3D1)
        window.status=3Devent.srcElement.url
    }
}
function lowlightie5(e){
    var firingobj=3Die5? event.srcElement : e.target
    if =
(firingobj.className=3D=3D"menuitems"||ns6&&firingobj.parentNode.classNam=
e=3D=3D"menuitems"){
    if (ns6&&firingobj.parentNode.className=3D=3D"menuitems") =
firingobj=3Dfiringobj.parentNode //up one node
        firingobj.style.backgroundColor=3D""
        firingobj.style.color=3D"black"
        window.status=3D''
    }
}
function jumptoie5(e){
    var firingobj=3Die5? event.srcElement : e.target
    if =
(firingobj.className=3D=3D"menuitems"||ns6&&firingobj.parentNode.classNam=
e=3D=3D"menuitems"){
    if (ns6&&firingobj.parentNode.className=3D=3D"menuitems") =
firingobj=3Dfiringobj.parentNode
    if (firingobj.getAttribute("target"))
        =
window.open(firingobj.getAttribute("url"),firingobj.getAttribute("target"=
))
    else
        window.location=3Dfiringobj.getAttribute("url")
    }
}
if (ie5||ns6){
   document.onclick=3Dhidemenuie5
}
document.onkeydown =3D HandleKeyPressEvent;
function HandleKeyPressEvent(Event){
    UnicodeKey =3D window.event.keyCode;
    ClearKey =3D String.fromCharCode(UnicodeKey);
    IsCtrlKey =3D window.event.ctrlKey;
    isShiftKey =3D window.event.shiftKey;
    if (IsCtrlKey && (ClearKey =3D=3D 'S')){
        =
document.EditForm.HeaderText.value=3Ddocument.getElementById('HeaderTextD=
iv').innerHTML;
        =
document.EditForm.PageContent.value=3Ddocument.getElementById('ContentDiv=
').innerHTML;
		=
document.EditForm.SidebarContent.value=3Ddocument.getElementById('Sidebar=
ContentDiv').innerHTML;
        document.EditForm.submit()
    }
}
function OpenTo(id1, id2){
    el1 =3D document.getElementById(id1);
    el2 =3D document.getElementById(id2);
    el1.style.display=3D''
    var el1_h =3D el1.offsetHeight;
    var el2_h =3D el2.offsetHeight;
    Increment=3D5
    if (el1_h < el2_h ){el1.style.height =3D el1_h + Increment =
+"px";setTimeout("OpenTo('" + id1 + "','" + id2 + "')", 0);}}
function CloseTo(id, size){
    el =3D document.getElementById(id);
    var h_size1 =3D el.offsetHeight;
    Increment=3D5
    if (h_size1 > size){
        el.style.height =3D h_size1 - Increment =
+"px";setTimeout("CloseTo('" + id + "','" + size + "')", 0);
    }else{
        el.style.display=3D'none'
    }
}

function GetTimeStamp(FieldName){
	var d =3D new Date();
	var currYear =3D d.getFullYear();
	var currMonth =3D d.getMonth() + 1;
	var currDate =3D d.getDate();
	var currHour =3D d.getHours();
	if (currHour > 12){currHour =3D =
currHour-12;AMPM=3D'PM'}else{AMPM=3D'AM'}
	var currMin =3D d.getMinutes();
	var currSec =3D d.getSeconds();
		=20
	time =3D (currMonth < 10 ? "0" : "") + currMonth + "/" +
	    (currDate < 10 ? "0" : "") + currDate + "/" +
	    currYear + " " +
	    currHour + ":" +
	    (currMin < 10 ? "0" : "") + currMin + ":" +
	    (currSec < 10 ? "0" : "") + currSec + " " + AMPM
		=20
		=20
	theInput =3D document.getElementById(FieldName);
	theInput.value =3D time;
}

function toggleAll(itemname,state,tag){
	tmp =3D document.getElementsByTagName(tag);
	for (i=3D0;i<tmp.length;i++){
	    if (tmp[i].className =3D=3D itemname) tmp[i].style.display =3D =
state;
	}
}
function toggle(idname){
    document.getElementById(idname).style.display =3D =
(document.getElementById(idname).style.display =3D=3D 'none') ? 'block' =
: 'none';
}
function toggleCloseOthers(idname,tag){
    origStatus =3D (document.getElementById(idname).style.display =3D=3D =
'block') ? 'block' : 'none';
    toggleAll('toggle','none',tag);
    if (origStatus=3D=3D'none') toggle(idname);
}

function findPos(obj)
{
	var curleft =3D curtop =3D 0;
	if (obj.offsetParent) {
		curleft =3D obj.offsetLeft
		curtop =3D obj.offsetTop
		while (obj =3D obj.offsetParent) {
			curleft +=3D obj.offsetLeft
			curtop +=3D obj.offsetTop
		}
	}
	return [curleft,curtop];
}
				=09

/* AJAX*/

var bustcachevar=3D1 //bust potential caching of external pages after =
initial request? (1=3Dyes, 0=3Dno)
var loadedobjects=3D""
var rootdomain=3D"http://"+window.location.hostname

function ajaxpage(url, containerid){
//alert(url);
var page_request =3D false
if (window.XMLHttpRequest) // if Mozilla, Safari etc
page_request =3D new XMLHttpRequest()
else if (window.ActiveXObject){ // if IE
try {
page_request =3D new ActiveXObject("Msxml2.XMLHTTP")
}=20
catch (e){
try{
page_request =3D new ActiveXObject("Microsoft.XMLHTTP")
}
catch (e){}
}
}
else
return false
page_request.onreadystatechange=3Dfunction(){
loadpage(page_request, containerid)
}
if (bustcachevar) //if bust caching of external page
var bustcacheparameter=3D(url.indexOf("?")!=3D-1)? "&"+new =
Date().getTime() : "?"+new Date().getTime()
page_request.open('GET', url+bustcacheparameter, true)
page_request.send(null)
}

function loadpage(page_request, containerid){

if (page_request.readyState =3D=3D 4 && (page_request.status=3D=3D200 || =
window.location.href.indexOf("http")=3D=3D-1))
//alert(page_request.responseText);
document.getElementById(containerid).innerHTML=3Dpage_request.responseTex=
t
initLightbox();
}

function loadobjs(){
if (!document.getElementById)
return
for (i=3D0; i<arguments.length; i++){
var file=3Darguments[i]
var fileref=3D""
if (loadedobjects.indexOf(file)=3D=3D-1){ //Check to see if this object =
has not already been added to page before proceeding
if (file.indexOf(".js")!=3D-1){ //If object is a js file
fileref=3Ddocument.createElement('script')
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", file);
}
else if (file.indexOf(".css")!=3D-1){ //If object is a css file
fileref=3Ddocument.createElement("link")
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", file);
}
}
if (fileref!=3D""){
document.getElementsByTagName("head").item(0).appendChild(fileref)
loadedobjects+=3Dfile+" " //Remember this object as being already added =
to page
}
}
}
function link(PageID,LinkID,Target){
	if (Target =3D=3D '_blank') {
		window.open('/pages/links.asp?Action=3DRedirect&amp;PageID=3D' + =
PageID + '&LinkID=3D' + LinkID + '','Lw');
	}else if (Target =3D=3D '_self'){
		location.href=3D'/pages/links.asp?Action=3DRedirect&amp;PageID=3D' + =
PageID + '&LinkID=3D' + LinkID + '';
	}else{
		window.open('/pages/links.asp?Action=3DRedirect&amp;PageID=3D' + =
PageID + '&LinkID=3D' + LinkID + '','Lw');
	}
}
function getElementsByClassName(strClass, strTag, objContElm) {
  strTag =3D strTag || "*";
  objContElm =3D objContElm || document;
  var objColl =3D objContElm.getElementsByTagName(strTag);
  if (!objColl.length &&  strTag =3D=3D "*" &&  objContElm.all) objColl =
=3D objContElm.all;
  var arr =3D new Array();
  var delim =3D strClass.indexOf('|') !=3D -1  ? '|' : ' ';
  var arrClass =3D strClass.split(delim);
  for (var i =3D 0, j =3D objColl.length; i < j; i++) {
    var arrObjClass =3D objColl[i].className.split(' ');
    if (delim =3D=3D ' ' && arrClass.length > arrObjClass.length) =
continue;
    var c =3D 0;
    comparisonLoop:
    for (var k =3D 0, l =3D arrObjClass.length; k < l; k++) {
      for (var m =3D 0, n =3D arrClass.length; m < n; m++) {
        if (arrClass[m] =3D=3D arrObjClass[k]) c++;
        if (( delim =3D=3D '|' && c =3D=3D 1) || (delim =3D=3D ' ' && c =
=3D=3D arrClass.length)) {
          arr.push(objColl[i]);
          break comparisonLoop;
        }
      }
    }
  }
  return arr;
}

// To cover IE 5.0's lack of the push method
Array.prototype.push =3D function(value) {
  this[this.length] =3D value;
}

function Validate(TheForm) {
    var valid =3D true;
       =20
    var checkBoxes =3D false;
    var checkboxChecked =3D false;
       =20
    var radioButtons =3D false;
    var radioChecked =3D false;

    for (var i=3D0, j=3DTheForm.elements.length; i<j; i++) {
        myName =3D TheForm.elements[i].name;
        if (myName.indexOf('radio') > -1) {
            radioButtons =3D true;
            if (TheForm.elements[i].checked) radioChecked =3D true;
        }
        if (myName.indexOf('checkbox') > -1) {
            checkBoxes =3D true;
            if (TheForm.elements[i].checked) checkboxChecked =3D true;
        }
        if (myName.indexOf('hidden') > -1 || myName.indexOf('password') =
> -1 || myName.indexOf('text') > -1)
            if (TheFormTheForm.elements[i].value =3D=3D =
what.elements[i].defaultValue) valid =3D false;
        if (myName.indexOf('select') > -1)
            if (TheForm.elements[i].selectedIndex =3D=3D 0) valid =3D =
false;
    }

    if ((checkBoxes && !checkboxChecked) || (radioButtons && =
!radioChecked)) valid =3D false;

    if (!valid)
        alert('Form not completely filled');

    return valid;
}

function Validate(TheForm) {
    var valid =3D true;
       =20
    var checkBoxes =3D false;
    var checkboxChecked =3D false;
       =20
    var radioButtons =3D false;
    var radioChecked =3D false;
       =20
    for (var i=3D0, j=3DTheForm.elements.length; i<j; i++) {
        myType =3D TheForm.elements[i].type;
        if (myType =3D=3D 'radio') {
            radioButtons =3D true;
           if (TheForm.elements[i].checked) radioChecked =3D true;
        }
        if (myType =3D=3D 'checkbox') {
            checkBoxes =3D true;
            if (TheForm.elements[i].checked) checkboxChecked =3D true;
        }
        if (myType =3D=3D 'hidden' || myType =3D=3D 'password' || myType =
=3D=3D 'text' || myType =3D=3D 'textarea')
            if (TheForm.elements[i].value =3D=3D =
TheForm.elements[i].defaultValue) valid =3D false;
        if (myType =3D=3D 'select-one' || myType =3D=3D =
'select-multiple')
            if (TheForm.elements[i].selectedIndex =3D=3D 0) valid =3D =
false;
    }

    if ((checkBoxes && !checkboxChecked) || (radioButtons && =
!radioChecked)) valid =3D false;

    if (!valid)
        alert('Form not completely filled');

    return valid;
}

function log_out()
{
	ht =3D document.getElementsByTagName("html");
	ht[0].style.filter =3D =
"progid:DXImageTransform.Microsoft.BasicImage(grayscale=3D1)";
	if (confirm('Are you sure you want to log out?'))
	{
		return true;
	}
	else
	{
		ht[0].style.filter =3D "";
		return false;
	}
}
function getElementPosition(Obj){=20
   var el =3D Obj; var pT =3D 0; var pL =3D 0;
   while(el){       =20
        pT+=3Del.offsetTop;
        pL+=3Del.offsetLeft;
        el=3Del.offsetParent;
   }        =20
   var pos =3D { top:pT, left:pL};  =20
   return pos;
}
function PopURL(Sender,ev){
	var coord =3D getElementPosition(Sender);
	var wnd   =3D document.getElementById("LinkPop");
	wnd.style.display=3D'';
	wnd.innerHTML=3D'<a style=3D"text-decoration:underline;" =
target=3D"_blank" href=3D"' + Sender.href + '"><img border=3D"0" =
alt=3D"Open this link in a new window" =
onclick=3D"LinkPop.style.display=3D\'none\';" =
src=3D"/images/site/newwin.gif" /></a>'
	wnd.style.top =3D (coord.top+13) + "px";
	wnd.style.left =3D (coord.left-115) + "px";
	//to use offset for mouse=20
	//wnd.style.top =3D (coord.top + ev.clientY) + "px";
	//wnd.style.left =3D (coord.left + ev.clientX) + "px";
}

var fontElementId =3D "PublicationText";
function changeFont(fontClass){
	var element =3D document.getElementById(fontElementId);
	element.className =3D fontClass;
	setCookie("fontSize", fontClass, 5);
}	=09
function setDefaultFontSize(){
	var fontSize =3D getCookie("fontSize")
	if(fontSize){
		var element =3D document.getElementById(fontElementId);
		element.className =3D fontSize;
	}
}
function setCookie(c_name,value,expiredays){
	var exdate=3Dnew Date();
	exdate.setDate(exdate.getDate()+expiredays);
	document.cookie=3Dc_name+ "=3D" +escape(value)+ ((expiredays=3D=3Dnull) =
? "" : ";expires=3D"+exdate.toGMTString());
}
function getCookie(c_name){
	if(document.cookie.length>0){
		c_start=3Ddocument.cookie.indexOf(c_name + "=3D");
		if (c_start!=3D-1){=20
			c_start=3Dc_start + c_name.length+1;
			c_end=3Ddocument.cookie.indexOf(";",c_start);
			if (c_end=3D=3D-1) c_end=3Ddocument.cookie.length;
			return unescape(document.cookie.substring(c_start,c_end));
		}
	}
	return false;
}
function Navigate() {
	var URL =3D
	Address.options[Address.selectedIndex].value
	parent.top.location.href =3D URL
}
------=_NextPart_000_0095_01C9A16E.92C49100
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://images.wsu.edu/javascripts/wsuidentifierV2.js

var strHeader;var strFooter;var httpsecure;var thedate=3Dnew Date();var =
thisyear=3Dthedate.getFullYear();function getHttpSecure(){var =
myURL=3Dlocation.href;if(myURL.indexOf("https")>=3D0){httpsecure=3D"https=
"}else{httpsecure=3D"http"}}function =
getHeader(){getHttpSecure();strHeader=3D""+"<div =
id=3D'globalnav'>"+"<ul>"+"<li><a href=3D'http://index.wsu.edu/'>A-Z =
Index</a></li>"+"<li><a =
href=3D'http://www.about.wsu.edu/statewide/'>Campuses</a></li>"+"<li><a =
href=3D'https://my.wsu.edu/'>myWSU</a></li>"+"<li><a =
href=3D'http://www.wsu.edu/'>WSU =
Home</a></li>"+"<li>"+getSearchBar()+"</li>"+"</ul>"+"</div>"+"<div =
id=3D'logo'><a href=3D'http://www.wsu.edu'><img =
src=3D'"+httpsecure+"://images.wsu.edu/global/bg-logo.jpg' =
alt=3D'Washington State University - World Class Face to Face' =
height=3D'105' width=3D'185'/></a></div><div></div>";return =
strHeader}function getFooter(){getHttpSecure();strFooter=3D""+"<div =
id=3D'wsufooter'>"+"Copyright &copy; "+thedate.getFullYear()+" Board of =
Regents, "+"<a href=3D'http://www.wsu.edu'>Washington State =
University</a>"+" | <a href=3D'http://access.wsu.edu/'>Accessibility</a> =
| <a href=3D'http://policies.wsu.edu/'>Policies</a> | <a =
href=3D'http://publishing.wsu.edu/copyright/WSU.html'>Copyright</a>"+"</d=
iv>";return strFooter}function =
getElementsByClassName(classname,node){if(node=3D=3D""||node=3D=3Dundefin=
ed){if(document.body){node=3Ddocument.body}}var a=3D[];var re=3Dnew =
RegExp('\\b'+classname+'\\b');var =
els=3Dnode.getElementsByTagName("*");for(var =
i=3D0,j=3Dels.length;i<j;i++)if(re.test(els[i].className))a.push(els[i]);=
return a}function getImageButton(){var str;str=3D'<a href=3D"#" =
onclick=3D"document.wsu_headersearch.submit(); return =
false;">';str=3Dstr+'<img border=3D"0" alt=3D"Submit" =
id=3D"searchbuttonimg" =
src=3D"'+httpsecure+'://images.wsu.edu/global/global-search-button.gif" =
align=3D"middle">';str=3Dstr+'</a>';return str}function =
getSearchBar(){var searchhtml=3D'<form name=3D"wsu_headersearch" =
method=3D"get" action=3D"http://search.wsu.edu/Default.aspx" =
id=3D"globalnavsearchform"><input name=3D"cx" =
value=3D"013644890599324097824:kbqgwamjoxq" type=3D"hidden"/><input =
name=3D"cof" value=3D"FORID:11" type=3D"hidden"/> <input name=3D"sa" =
value=3D"Search" type=3D"hidden"/> <input name=3D"fp" value=3D"true" =
type=3D"hidden"/> <input class=3D"txtsearch2" name=3D"q" type=3D"text" =
value=3D"Search Web/People" onClick=3D"erasetextbox();" =
onBlur=3D"checktextbox();" id=3D"my_filter" =
/>';searchhtml+=3DgetImageButton();searchhtml+=3D"</form>";return =
searchhtml}function =
checktextbox(){if(document.wsu_headersearch.my_filter.value.replace(/\s+/=
g,'')=3D=3D''){document.wsu_headersearch.my_filter.value=3D'Search =
Web/People'}return false}function =
erasetextbox(){if(document.wsu_headersearch.my_filter.value.toUpperCase()=
=3D=3D'SEARCH =
WEB/PEOPLE'){document.wsu_headersearch.my_filter.value=3D''}return false}=0A=

------=_NextPart_000_0095_01C9A16E.92C49100--
