From: Subject: James Stivers for State Senate Date: Wed, 31 Dec 2008 08:30:57 -0800 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0045_01C96B22.1A75AEF0" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 This is a multi-part message in MIME format. ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/candidatequalifications/forrepublicans.html James Stivers for State Senate =

James Stivers for State Senate

Stivers for State Senate - = Vote Republican=20 May 27th

A=20 Message to = Republicans

Even though I have never been = elected to=20 political office, I have served in key Republican campaigns = in the=20 past. For example,

=9B In 1978, I was a precinct = worker for the=20 Rev. Don Lyon in his bid against the 3rd ranking and liberal = Republican, John B. Anderson. Even though Rev. Lyon did not = win, his=20 challenge set the stage for the three-way race of 1980 that = elected=20 Ronald Reagan.

=9B In 1988, I was in Iowa helping the = Rev. Pat=20 Robertson in his stunning upset over George Bush (the first = one)=20 that launched the Christian Coalition.

=9B In 1994, I = helped=20 train the campaign workers for Todd Tiahrt of Wichita, = Kansas who=20 was elected to Congress under the "Contract with America"=20 banner.

This past year, I have been working for = Congressman=20 Ron Paul.

You should see a pattern here: I am a = reform=20 Republican and any effort to return the Party and this = Country back=20 to its Constitutional roots will attract my = support.

Does it=20 attract yours?

If it does, consider supporting my bid = to=20 become State Senator.

The current Incumbent has = served our=20 District well in her past two terms of office. I, however, = believe I=20 am a more consistent conservative and committed advocate for = family=20 values, including defending the unborn.

Having live = in north=20 Idaho these past ten years, my wife and I have been = preoccupied with=20 raising our seven children and establishing a family = business. =20 But the deterioration of the Republican Party and the = conditions of=20 the country have led me, once again, to interject myself = into the=20 political process.

We need state leaders willing to = stand up=20 to the federal bureaucracies.  We need to do more to = protect=20 our country.  We need more than a consensus politician; = we need=20 leaders who are convinced of their principles and determined = to=20 stand by them.  I believe I can offer that kind of=20 leadership.

James=20 = Stivers

 
------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/template.css * { PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: = 0px; PADDING-TOP: 0px } BODY { WIDTH: 100% } DIV { POSITION: relative } #printwrap { POSITION: static } H1 { MARGIN: 10px } H2 { MARGIN: 10px } H3 { MARGIN: 10px } H4 { MARGIN: 10px } H5 { MARGIN: 10px } H6 { MARGIN: 10px } H1#website-title { MARGIN: 0px } H2#website-slogan { MARGIN: 0px } *#nav-wrapper *#navcontainer DIV H3 { MARGIN: 0px } #nav-wrapper *#navcontainer DIV H3 { MARGIN: 0px } UL { PADDING-BOTTOM: 0px; MARGIN: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: = 0px; PADDING-TOP: 0px } OL { PADDING-BOTTOM: 0px; MARGIN: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: = 0px; PADDING-TOP: 0px } OL { PADDING-BOTTOM: 0px; PADDING-LEFT: 30px; PADDING-RIGHT: 0px; = PADDING-TOP: 0px } BLOCKQUOTE { MARGIN: 10px 10px 10px 40px } *.clearer { CLEAR: both } *#nav-top { WIDTH: 100%; FLOAT: left } *#nav-left { WIDTH: 100%; FLOAT: left } *#nav-right { WIDTH: 100%; FLOAT: left } #inner { WIDTH: 760px; FLOAT: left } #website-title { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; = PADDING-TOP: 0px } #website-slogan { PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; = PADDING-TOP: 20px } *.accent-none { DISPLAY: none } #nav-top #headertop { PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 760px; = PADDING-RIGHT: 0px; FLOAT: left; CLEAR: both; PADDING-TOP: 45px } *#nav-top *#inner { CLEAR: both } #nav-top #nav-wrapper { Z-INDEX: 1000; BORDER-BOTTOM: #999 1px solid; WIDTH: 760px; FLOAT: = left; BORDER-TOP: #999 1px solid } *#nav-top *#content { WIDTH: 760px; FLOAT: left; BORDER-TOP: #e3e3e3 10px solid } #nav-top #footer { WIDTH: 760px; HEIGHT: 20px; CLEAR: left; BORDER-TOP: #fff 1px solid; = TOP: 20px } #nav-top *#website-title { WIDTH: 750px; FLOAT: left } *#nav-top *#nav-wrapper *#navcontainer DIV { DISPLAY: block; FLOAT: left; CURSOR: pointer } #nav-top *#nav-wrapper *#navcontainer DIV H3 { DISPLAY: block; FLOAT: left; CURSOR: pointer } *#nav-top *#nav-wrapper #navcontainer DIV A:link { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; = WHITE-SPACE: nowrap; FLOAT: left; BORDER-RIGHT: #ddd 1px solid; = TEXT-DECORATION: none; PADDING-TOP: 10px } #nav-top #nav-wrapper #navcontainer DIV A:active { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; = WHITE-SPACE: nowrap; FLOAT: left; BORDER-RIGHT: #ddd 1px solid; = TEXT-DECORATION: none; PADDING-TOP: 10px } *#nav-top #nav-wrapper *#navcontainer DIV A:visited { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; = WHITE-SPACE: nowrap; FLOAT: left; BORDER-RIGHT: #ddd 1px solid; = TEXT-DECORATION: none; PADDING-TOP: 10px } #nav-top *#nav-wrapper *#navcontainer DIV A:hover { BORDER-TOP: #e5e5e5 5px solid; PADDING-TOP: 5px } *#nav-top #nav-wrapper *#navcontainer DIV DIV.submenu { DISPLAY: block; FLOAT: left } #nav-top #nav-wrapper #navcontainer DIV DIV.submenu H3 { DISPLAY: block; FLOAT: left } #nav-top #nav-wrapper #navcontainer DIV DIV.submenu { BORDER-BOTTOM: #ddd 1px solid; POSITION: absolute; BORDER-LEFT: #ddd = 1px solid; WIDTH: 200px; VISIBILITY: hidden; TOP: 0px; BORDER-RIGHT: = #ddd 1px solid; LEFT: 0px } *#nav-top #nav-wrapper #navcontainer DIV DIV.submenu DIV { DISPLAY: block } #nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu A:link { WIDTH: 180px; WORD-WRAP: break-word; WHITE-SPACE: normal; FLOAT: left; = BORDER-TOP: #ddd 1px solid } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu A:active { WIDTH: 180px; WORD-WRAP: break-word; WHITE-SPACE: normal; FLOAT: left; = BORDER-TOP: #ddd 1px solid } #nav-top *#nav-wrapper #navcontainer DIV DIV.submenu A:visited { WIDTH: 180px; WORD-WRAP: break-word; WHITE-SPACE: normal; FLOAT: left; = BORDER-TOP: #ddd 1px solid } #nav-top #nav-wrapper *#navcontainer DIV DIV.submenu A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-BOTTOM: 5px; PADDING-LEFT: 5px; = PADDING-RIGHT: 10px; PADDING-TOP: 10px } *#nav-top *#content-table { WIDTH: 750px } *#nav-top *#content-table-main { WIDTH: 551px } *#nav-top #content-table-main P { MARGIN: 10px 20px 15px 10px } #nav-top *#content-table-sub { WIDTH: 199px; DISPLAY: block; HEIGHT: 418px } *#nav-left #headertop { BORDER-BOTTOM: #999 1px solid; PADDING-BOTTOM: 0px; MARGIN: 0px; = PADDING-LEFT: 0px; WIDTH: 760px; PADDING-RIGHT: 0px; CLEAR: both; = PADDING-TOP: 45px } *#nav-left *#inner { FLOAT: left; BORDER-TOP: #fff 1px solid } #nav-left *#nav-wrapper *#navcontainer { Z-INDEX: 1000; WIDTH: 200px; FLOAT: left } #nav-left *#nav-wrapper { Z-INDEX: 1000; WIDTH: 200px; FLOAT: left; HEIGHT: 100% } *#nav-left *#content { BORDER-LEFT: #e3e3e3 5px solid; WIDTH: 555px; FLOAT: left } #nav-left #footer { WIDTH: 760px; HEIGHT: 20px; CLEAR: both; BORDER-TOP: #fff 1px solid; = TOP: 20px } #nav-left *#nav-wrapper *#navcontainer DIV { DISPLAY: block; FLOAT: left; CURSOR: pointer } *#nav-left #nav-wrapper *#navcontainer DIV A:link { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } *#nav-left *#nav-wrapper *#navcontainer DIV A:active { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-left *#nav-wrapper *#navcontainer DIV A:visited { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } *#nav-left *#nav-wrapper #navcontainer DIV A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } *#nav-left *#nav-wrapper #navcontainer DIV DIV.submenu { DISPLAY: block; FLOAT: left } #nav-left *#nav-wrapper #navcontainer DIV DIV.submenu H3 { DISPLAY: block; FLOAT: left } #nav-left *#nav-wrapper *#navcontainer DIV DIV.submenu { POSITION: absolute; BORDER-LEFT: #ddd 1px solid; WIDTH: 200px; = VISIBILITY: hidden; TOP: 0px; BORDER-RIGHT: #ddd 1px solid; LEFT: 0px } *#nav-left #nav-wrapper #navcontainer DIV DIV.submenu DIV { DISPLAY: block } *#nav-left *#nav-wrapper *#navcontainer DIV DIV.submenu A:link { WORD-WRAP: break-word; FLOAT: left } #nav-left #nav-wrapper #navcontainer DIV DIV.submenu A:active { WORD-WRAP: break-word; FLOAT: left } *#nav-left *#nav-wrapper *#navcontainer DIV DIV.submenu A:visited { WORD-WRAP: break-word; FLOAT: left } *#nav-left *#nav-wrapper *#navcontainer DIV DIV.submenu A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } #nav-left #content-table { WIDTH: 550px; FLOAT: left } #nav-left *#content-table-main { WIDTH: 351px } #nav-left *#content-table-main P { MARGIN: 10px 20px 15px 10px } *#nav-left #content-table-sub { WIDTH: 199px; DISPLAY: block; HEIGHT: 418px } *#nav-right #headertop { BORDER-BOTTOM: #999 1px solid; PADDING-BOTTOM: 0px; MARGIN: 0px; = PADDING-LEFT: 0px; WIDTH: 750px; PADDING-RIGHT: 0px; CLEAR: both; = PADDING-TOP: 45px } #nav-right *#inner { WIDTH: 750px; FLOAT: left; HEIGHT: 100%; BORDER-TOP: #fff 1px solid } #nav-right #nav-wrapper #navcontainer { Z-INDEX: 1000; WIDTH: 200px; FLOAT: right } #nav-right *#nav-wrapper { Z-INDEX: 1000; WIDTH: 200px; FLOAT: right; HEIGHT: 100% } *#nav-right *#content { WIDTH: 545px; FLOAT: left; HEIGHT: 100%; BORDER-RIGHT: #e3e3e3 5px = solid } *#nav-right *#footer { WIDTH: 750px; HEIGHT: 20px; CLEAR: both; BORDER-TOP: #fff 1px solid; = TOP: 20px } *#nav-right *#nav-wrapper #navcontainer DIV { DISPLAY: block; FLOAT: left; CURSOR: pointer } #nav-right *#nav-wrapper *#navcontainer DIV H3 { DISPLAY: block; FLOAT: left; CURSOR: pointer } *#nav-right #nav-wrapper *#navcontainer DIV A:link { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-right *#nav-wrapper *#navcontainer DIV A:active { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } *#nav-right #nav-wrapper *#navcontainer DIV A:visited { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } *#nav-right #nav-wrapper *#navcontainer DIV A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } *#nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu { DISPLAY: block; FLOAT: left } *#nav-right #nav-wrapper *#navcontainer DIV DIV.submenu H3 { DISPLAY: block; FLOAT: left } *#nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu { POSITION: absolute; BORDER-LEFT: #ddd 1px solid; WIDTH: 200px; = VISIBILITY: hidden; TOP: 0px; LEFT: 0px } *#nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu DIV { DISPLAY: block } #nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu A:link { WORD-WRAP: break-word; FLOAT: left; BORDER-RIGHT: #ddd 1px solid } *#nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu A:active { WORD-WRAP: break-word; FLOAT: left; BORDER-RIGHT: #ddd 1px solid } #nav-right #nav-wrapper #navcontainer DIV DIV.submenu A:visited { WORD-WRAP: break-word; FLOAT: left; BORDER-RIGHT: #ddd 1px solid } #nav-right #nav-wrapper #navcontainer DIV DIV.submenu A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } *#nav-right *#content-table { WIDTH: 545px; FLOAT: left } *#nav-right *#content-table-main { WIDTH: 351px } #nav-right *#content-table-main P { MARGIN: 10px 20px 15px 10px } *#nav-right #content-table-sub { WIDTH: 199px; DISPLAY: block; HEIGHT: 418px } BODY#wide *#inner { WIDTH: 1000px } BODY#wide *#nav-top #inner #nav-wrapper { WIDTH: 1000px } BODY#wide #nav-top #inner *#content #website-slogan { WIDTH: 980px } BODY#wide #nav-top #inner *#content { WIDTH: 100% } BODY#wide #nav-top *#headertop { WIDTH: 1000px } BODY#wide *#nav-top *#footer { WIDTH: 1000px } BODY#wide #nav-top *#content-table-main { WIDTH: 795px } BODY#wide *#nav-top #content-table *#content-table-sub { WIDTH: 199px; DISPLAY: block; HEIGHT: 418px } BODY#wide *#nav-top #content-table { WIDTH: 1000px } BODY#wide *#nav-left #content { WIDTH: 795px } BODY#wide #nav-left *#content-table { WIDTH: 795px } BODY#wide *#nav-left #headertop { WIDTH: 1000px } BODY#wide #nav-left *#footer { WIDTH: 1000px } BODY#wide #nav-left *#content-table-main { WIDTH: 596px } BODY#wide #nav-left #content-table-sub { WIDTH: 199px } BODY#wide *#nav-right #inner { WIDTH: 1000px } BODY#wide #nav-right #content { WIDTH: 795px } BODY#wide *#nav-right #content-table { WIDTH: 795px } BODY#wide #nav-right #headertop { WIDTH: 1000px } BODY#wide *#nav-right *#footer { WIDTH: 1000px } BODY#wide *#nav-right *#content-table-main { WIDTH: 596px } BODY#wide *#nav-right #content-table-sub { WIDTH: 199px } ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/website.css *.primary { BACKGROUND-COLOR: rgb(255,255,255) } *.secondary { BACKGROUND-COLOR: rgb(255,255,255) } *.tertiary { BACKGROUND-COLOR: rgb(255,255,255) } *.background { BACKGROUND-COLOR: rgb(255,255,255) } H1#website-title { FONT-STYLE: normal; FONT-FAMILY: verdana, arial, sans-serif; COLOR: = rgb(80,66,0); FONT-SIZE: 24px; FONT-WEIGHT: bold; TEXT-DECORATION: none } H2#website-slogan { FONT-STYLE: normal; FONT-FAMILY: verdana, arial, sans-serif; COLOR: = rgb(0,0,0); FONT-SIZE: 18px; FONT-WEIGHT: normal; TEXT-DECORATION: none } *#content { FONT-STYLE: normal; FONT-FAMILY: verdana, arial, sans-serif; COLOR: = rgb(85,85,85); FONT-SIZE: 11px; FONT-WEIGHT: normal; TEXT-DECORATION: = none } *#content A:link { FONT-STYLE: normal; COLOR: rgb(88,121,147); FONT-WEIGHT: normal; = TEXT-DECORATION: underline } *#content A:active { FONT-STYLE: normal; COLOR: rgb(88,121,147); FONT-WEIGHT: normal; = TEXT-DECORATION: underline } *#content A:visited { FONT-STYLE: normal; COLOR: rgb(88,121,147); FONT-WEIGHT: normal; = TEXT-DECORATION: underline } *#content A:hover { FONT-STYLE: normal; COLOR: rgb(79,109,132); FONT-WEIGHT: normal; = TEXT-DECORATION: underline } *#navcontainer DIV A H3 { FONT-STYLE: normal; FONT-FAMILY: verdana, arial, sans-serif; COLOR: = rgb(114,114,114); FONT-SIZE: 11px; FONT-WEIGHT: bold; TEXT-DECORATION: = none } *#navcontainer DIV A:hover H3 { FONT-STYLE: normal; COLOR: rgb(85,85,85); FONT-WEIGHT: bold; = TEXT-DECORATION: none } *#navcontainer DIV A:hover { FONT-STYLE: normal; COLOR: rgb(85,85,85); FONT-WEIGHT: bold; = TEXT-DECORATION: none } *.accent { BACKGROUND: url(../images/0.gif) no-repeat left top } ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/print.css * { PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: = 0px; PADDING-TOP: 0px } BODY { WIDTH: 100% } H1 { MARGIN: 10px } H2 { MARGIN: 10px } H3 { MARGIN: 10px } H4 { MARGIN: 10px } H5 { MARGIN: 10px } H6 { MARGIN: 10px } H1#website-title { MARGIN: 0px } H2#website-slogan { MARGIN: 0px } *#nav-wrapper #navcontainer DIV H3 { MARGIN: 0px } #nav-wrapper #navcontainer DIV H3 { MARGIN: 0px } UL { PADDING-BOTTOM: 0px; MARGIN: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: = 0px; PADDING-TOP: 0px } OL { PADDING-BOTTOM: 0px; MARGIN: 10px; PADDING-LEFT: 20px; PADDING-RIGHT: = 0px; PADDING-TOP: 0px } OL { PADDING-BOTTOM: 0px; PADDING-LEFT: 30px; PADDING-RIGHT: 0px; = PADDING-TOP: 0px } BLOCKQUOTE { MARGIN: 10px 10px 10px 40px } *.clearer { CLEAR: both } * HTML #printwrap { POSITION: absolute; WIDTH: 100%; HEIGHT: 100%; TOP: 0px; LEFT: 0px } *#nav-top { WIDTH: 100%; FLOAT: left } *#nav-left { WIDTH: 100%; FLOAT: left } #nav-right { WIDTH: 100%; FLOAT: left } *#inner { WIDTH: 760px; FLOAT: left } #website-title { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 0px; = PADDING-TOP: 0px } #website-slogan { PADDING-BOTTOM: 0px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; = PADDING-TOP: 20px } .accent-none { DISPLAY: none } *#nav-top *#headertop { PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 760px; = PADDING-RIGHT: 0px; FLOAT: left; CLEAR: both; PADDING-TOP: 45px } *#nav-top #nav-wrapper { Z-INDEX: 1000; BORDER-BOTTOM: #999 1px solid; WIDTH: 760px; FLOAT: = left; BORDER-TOP: #999 1px solid } #nav-top #content { WIDTH: 760px; FLOAT: left; BORDER-TOP: #e3e3e3 10px solid } #nav-top #footer { PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; WIDTH: 760px; PADDING-RIGHT: = 10px; CLEAR: left; BORDER-TOP: #fff 1px solid; PADDING-TOP: 10px } *#nav-top *#website-title { WIDTH: 750px; FLOAT: left } #nav-top *#nav-wrapper #navcontainer DIV { DISPLAY: block; FLOAT: left; CURSOR: pointer } *#nav-top *#nav-wrapper *#navcontainer DIV H3 { DISPLAY: block; FLOAT: left; CURSOR: pointer } *#nav-top *#nav-wrapper #navcontainer DIV A:link { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; FLOAT: = left; BORDER-RIGHT: #ddd 1px solid; TEXT-DECORATION: none; PADDING-TOP: = 10px } *#nav-top *#nav-wrapper *#navcontainer DIV A:active { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; FLOAT: = left; BORDER-RIGHT: #ddd 1px solid; TEXT-DECORATION: none; PADDING-TOP: = 10px } *#nav-top *#nav-wrapper *#navcontainer DIV A:visited { PADDING-BOTTOM: 5px; PADDING-LEFT: 10px; PADDING-RIGHT: 10px; FLOAT: = left; BORDER-RIGHT: #ddd 1px solid; TEXT-DECORATION: none; PADDING-TOP: = 10px } *#nav-top #nav-wrapper #navcontainer DIV A:hover { BORDER-TOP: #e5e5e5 5px solid; PADDING-TOP: 5px } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu { DISPLAY: block; FLOAT: left } #nav-top *#nav-wrapper #navcontainer DIV DIV.submenu H3 { DISPLAY: block; FLOAT: left } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu { BORDER-BOTTOM: #ddd 1px solid; POSITION: absolute; BORDER-LEFT: #ddd = 1px solid; WIDTH: 200px; VISIBILITY: hidden; TOP: 0px; BORDER-RIGHT: = #ddd 1px solid; LEFT: 0px } #nav-top #nav-wrapper *#navcontainer DIV DIV.submenu DIV { DISPLAY: block } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu A:link { WIDTH: 180px; FLOAT: left; BORDER-TOP: #ddd 1px solid; voice-family: = inherit } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu A:active { WIDTH: 180px; FLOAT: left; BORDER-TOP: #ddd 1px solid; voice-family: = inherit } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu A:visited { WIDTH: 180px; FLOAT: left; BORDER-TOP: #ddd 1px solid; voice-family: = inherit } *#nav-top *#nav-wrapper *#navcontainer DIV DIV.submenu A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-BOTTOM: 5px; PADDING-LEFT: 5px; = PADDING-RIGHT: 10px; PADDING-TOP: 10px } #nav-top *#content-table { WIDTH: 750px } *#nav-top #content-table-main { WIDTH: 551px } #nav-top #content-table-main P { MARGIN: 10px 20px 15px 10px } *#nav-top *#content-table-sub { WIDTH: 199px; DISPLAY: block; FONT-SIZE: 0px } *#nav-top *#content *#content-table #content-table-sub { PADDING-BOTTOM: 0px; PADDING-LEFT: 199px; PADDING-RIGHT: 0px; = PADDING-TOP: 418px } #nav-left #headertop { BORDER-BOTTOM: #999 1px solid; PADDING-BOTTOM: 0px; MARGIN: 0px; = PADDING-LEFT: 0px; WIDTH: 760px; PADDING-RIGHT: 0px; CLEAR: both; = PADDING-TOP: 45px } #nav-left #inner { FLOAT: left; BORDER-TOP: #fff 1px solid } #nav-left #nav-wrapper #navcontainer { Z-INDEX: 1000; WIDTH: 200px; FLOAT: left } #nav-left #nav-wrapper { Z-INDEX: 1000; WIDTH: 200px; FLOAT: left; HEIGHT: 100% } #nav-left #content { BORDER-LEFT: #e3e3e3 5px solid; WIDTH: 555px; FLOAT: left } #nav-left #footer { PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; WIDTH: 740px; PADDING-RIGHT: = 10px; CLEAR: both; BORDER-TOP: #fff 1px solid; PADDING-TOP: 10px } *#nav-left #nav-wrapper *#navcontainer DIV { DISPLAY: block; FLOAT: left; CURSOR: pointer } #nav-left #nav-wrapper #navcontainer DIV A:link { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-left #nav-wrapper #navcontainer DIV A:active { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-left #nav-wrapper *#navcontainer DIV A:visited { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-left #nav-wrapper #navcontainer DIV A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } #nav-left *#nav-wrapper #navcontainer DIV DIV.submenu { DISPLAY: block; FLOAT: left } #nav-left #nav-wrapper #navcontainer DIV DIV.submenu H3 { DISPLAY: block; FLOAT: left } #nav-left #nav-wrapper #navcontainer DIV DIV.submenu { POSITION: absolute; BORDER-LEFT: #ddd 1px solid; WIDTH: 200px; = VISIBILITY: hidden; TOP: 0px; BORDER-RIGHT: #ddd 1px solid; LEFT: 0px } *#nav-left #nav-wrapper #navcontainer DIV DIV.submenu DIV { DISPLAY: block } #nav-left #nav-wrapper *#navcontainer DIV DIV.submenu A:link { WORD-WRAP: break-word; FLOAT: left } #nav-left #nav-wrapper *#navcontainer DIV DIV.submenu A:active { WORD-WRAP: break-word; FLOAT: left } #nav-left #nav-wrapper *#navcontainer DIV DIV.submenu A:visited { WORD-WRAP: break-word; FLOAT: left } #nav-left #nav-wrapper *#navcontainer DIV DIV.submenu A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } #nav-left *#content-table { WIDTH: 550px; FLOAT: left } *#nav-left #content-table-main { WIDTH: 351px } #nav-left *#content-table-main P { MARGIN: 10px 20px 15px 10px } #nav-left *#content-table-sub { WIDTH: 199px; DISPLAY: block; HEIGHT: 418px } * HTML #nav-left #content-table-sub { PADDING-BOTTOM: 0px; PADDING-LEFT: 199px; PADDING-RIGHT: 0px; = PADDING-TOP: 418px } #nav-right #headertop { BORDER-BOTTOM: #999 1px solid; PADDING-BOTTOM: 0px; MARGIN: 0px; = PADDING-LEFT: 0px; WIDTH: 750px; PADDING-RIGHT: 0px; CLEAR: both; = PADDING-TOP: 45px } *#nav-right #inner { WIDTH: 750px; FLOAT: left; HEIGHT: 100%; BORDER-TOP: #fff 1px solid } #nav-right *#nav-wrapper *#navcontainer { Z-INDEX: 1000; WIDTH: 200px; FLOAT: right } #nav-right *#nav-wrapper { Z-INDEX: 1000; WIDTH: 200px; FLOAT: right; HEIGHT: 100% } *#nav-right *#content { WIDTH: 545px; FLOAT: left; HEIGHT: 100%; BORDER-RIGHT: #e3e3e3 5px = solid } *#nav-right #footer { PADDING-BOTTOM: 10px; PADDING-LEFT: 10px; WIDTH: 750px; PADDING-RIGHT: = 10px; CLEAR: both; BORDER-TOP: #fff 1px solid; PADDING-TOP: 10px } #nav-right #nav-wrapper #navcontainer DIV { DISPLAY: block; FLOAT: left; CURSOR: pointer } #nav-right *#nav-wrapper #navcontainer DIV H3 { DISPLAY: block; FLOAT: left; CURSOR: pointer } *#nav-right *#nav-wrapper #navcontainer DIV A:link { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-right #nav-wrapper #navcontainer DIV A:active { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-right *#nav-wrapper #navcontainer DIV A:visited { BORDER-BOTTOM: #ddd 1px solid; PADDING-BOTTOM: 10px; PADDING-LEFT: = 10px; WIDTH: 180px; PADDING-RIGHT: 10px; WORD-WRAP: break-word; FLOAT: = left; TEXT-DECORATION: none; PADDING-TOP: 10px; voice-family: inherit } #nav-right *#nav-wrapper #navcontainer DIV A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } #nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu { DISPLAY: block; FLOAT: left } *#nav-right #nav-wrapper #navcontainer DIV DIV.submenu H3 { DISPLAY: block; FLOAT: left } *#nav-right *#nav-wrapper *#navcontainer DIV DIV.submenu { POSITION: absolute; BORDER-LEFT: #ddd 1px solid; WIDTH: 200px; = VISIBILITY: hidden; TOP: 0px; LEFT: 0px } *#nav-right #nav-wrapper #navcontainer DIV DIV.submenu DIV { DISPLAY: block } *#nav-right #nav-wrapper *#navcontainer DIV DIV.submenu A:link { WORD-WRAP: break-word; FLOAT: left; BORDER-RIGHT: #ddd 1px solid } #nav-right #nav-wrapper *#navcontainer DIV DIV.submenu A:active { WORD-WRAP: break-word; FLOAT: left; BORDER-RIGHT: #ddd 1px solid } *#nav-right *#nav-wrapper #navcontainer DIV DIV.submenu A:visited { WORD-WRAP: break-word; FLOAT: left; BORDER-RIGHT: #ddd 1px solid } *#nav-right #nav-wrapper #navcontainer DIV DIV.submenu A:hover { BORDER-LEFT: #e5e5e5 5px solid; PADDING-LEFT: 5px } #nav-right *#content-table { WIDTH: 545px; FLOAT: left } *#nav-right #content-table-main { WIDTH: 351px } #nav-right *#content-table-main P { MARGIN: 10px 20px 15px 10px } #nav-right #content-table-sub { WIDTH: 199px; DISPLAY: block; HEIGHT: 418px } * HTML #nav-right #content-table-sub { PADDING-BOTTOM: 0px; PADDING-LEFT: 199px; PADDING-RIGHT: 0px; = PADDING-TOP: 418px } BODY#wide #inner { WIDTH: 1000px } BODY#wide #nav-top #inner #nav-wrapper { WIDTH: 1000px } BODY#wide #nav-top #inner #content #website-slogan { WIDTH: 980px } BODY#wide #nav-top #inner #content { WIDTH: 100% } BODY#wide #nav-top *#headertop { WIDTH: 1000px } BODY#wide *#nav-top *#footer { WIDTH: 980px } BODY#wide #nav-top *#content-table-main { WIDTH: 795px } BODY#wide *#nav-top #content-table #content-table-sub { PADDING-BOTTOM: 0px; PADDING-LEFT: 199px; WIDTH: 199px; PADDING-RIGHT: = 0px; FLOAT: left; PADDING-TOP: 418px } BODY#wide *#nav-top #content-table { WIDTH: 1000px } BODY#wide #nav-left *#content { WIDTH: 795px } BODY#wide #nav-left *#content-table { WIDTH: 795px } BODY#wide *#nav-left #headertop { WIDTH: 1000px } BODY#wide #nav-left #footer { WIDTH: 980px } BODY#wide *#nav-left *#content-table-main { WIDTH: 596px } BODY#wide #nav-left #content-table-sub { WIDTH: 199px } BODY#wide #nav-right *#inner { WIDTH: 1000px } BODY#wide #nav-right #content { WIDTH: 795px } BODY#wide #nav-right *#content-table { WIDTH: 795px } BODY#wide #nav-right *#headertop { WIDTH: 1000px } BODY#wide *#nav-right *#footer { WIDTH: 980px } BODY#wide #nav-right #content-table-main { WIDTH: 596px } BODY#wide *#nav-right #content-table-sub { WIDTH: 199px } ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/19custom.css *#pagecols { TEXT-ALIGN: left; WIDTH: 585px } #column1 { WIDTH: 585px; FLOAT: left } #colbody1 { BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-BOTTOM: 5px; = PADDING-LEFT: 5px; PADDING-RIGHT: 5px; BORDER-TOP: 0px; BORDER-RIGHT: = 0px; PADDING-TOP: 5px } *#body_pgbldblk10 { BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-BOTTOM: 5px; = PADDING-LEFT: 5px; WIDTH: 565px; PADDING-RIGHT: 5px; OVERFLOW: hidden; = BORDER-TOP: 0px; BORDER-RIGHT: 0px; PADDING-TOP: 5px } *#body_pgbldblk5 { BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-BOTTOM: 5px; = PADDING-LEFT: 5px; WIDTH: 565px; PADDING-RIGHT: 5px; OVERFLOW: hidden; = BORDER-TOP: 0px; BORDER-RIGHT: 0px; PADDING-TOP: 5px } *#column2 { FLOAT: left } *#colbody2 { =09 } #column3 { FLOAT: left } #colbody3 { =09 } ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/icwebsiteelement.css IMG.png { BEHAVIOR: url(/images/pngbehavior.htc) } *#close { TEXT-ALIGN: right; PADDING-BOTTOM: 2px; BACKGROUND-COLOR: #ffffff; = PADDING-LEFT: 5px; PADDING-RIGHT: 5px; PADDING-TOP: 2px } .enlargedThumb { POSITION: absolute; BACKGROUND-COLOR: #cccccc; WIDTH: 75px; HEIGHT: = 75px } *.controls { BACKGROUND-IMAGE: url(/images/photoalbum/photo_controlBG.jpg); Z-INDEX: = 1; POSITION: relative; TEXT-ALIGN: center; BACKGROUND-COLOR: #ededed; = MARGIN: auto } *.photoFoot { BACKGROUND-IMAGE: url(/images/photoalbum/photo_controlBG.jpg); Z-INDEX: = 1; TEXT-ALIGN: center; BACKGROUND-COLOR: #ededed; MARGIN: 5px auto 50px; = BACKGROUND-REPEAT: repeat-x; HEIGHT: 22px; COLOR: #000000; CLEAR: both } .photoFoot SPAN.SlideNum { COLOR: #000000; FONT-WEIGHT: bold } *.imageContainer { Z-INDEX: 1; MARGIN-BOTTOM: 5px; OVERFLOW: hidden } *.thumbContainer { Z-INDEX: 2; MARGIN: auto; HEIGHT: auto } *.mainID { Z-INDEX: 100; MARGIN: auto; OVERFLOW: hidden } .mainContainer { MARGIN: auto } .details { BORDER-BOTTOM: #ffffff 2px solid; BORDER-LEFT: #ffffff 2px solid; = MARGIN: auto; WIDTH: 200px; HEIGHT: 200px; OVERFLOW: hidden; BORDER-TOP: = #ffffff 2px solid; BORDER-RIGHT: #ffffff 2px solid; opacity: 0.0 } *.detailsContainer { Z-INDEX: 9999; POSITION: absolute; WIDTH: 100%; DISPLAY: none; HEIGHT: = 100%; TOP: 10px; LEFT: 0px } .detailScreen { Z-INDEX: 9998; POSITION: fixed; BACKGROUND-COLOR: #000000; WIDTH: 100%; = DISPLAY: none; HEIGHT: 100%; TOP: 0px; LEFT: 0px; opacity: 0; _position: = absolute } .mainImageDiv { TEXT-ALIGN: center; MARGIN: auto; WIDTH: 400px; HEIGHT: 400px; COLOR: = #ffffff; FONT-SIZE: 24px; FONT-WEIGHT: bold } .imageThumbSelected { TEXT-ALIGN: center; MARGIN: 3px; FLOAT: left; VERTICAL-ALIGN: middle; = FONT-WEIGHT: bold } *.imageThumb { TEXT-ALIGN: center; MARGIN: 3px; FLOAT: left; FONT-SIZE: 16px; = VERTICAL-ALIGN: middle; OVERFLOW: hidden; CURSOR: pointer; FONT-WEIGHT: = bold } .thumbTitle { TEXT-ALIGN: left; PADDING-BOTTOM: 0px; LINE-HEIGHT: 16px; PADDING-LEFT: = 2px; PADDING-RIGHT: 2px; FONT-FAMILY: Verdana, Arial, sans-serif; = FONT-SIZE: 11px; PADDING-TOP: 0px } .detailControls { HEIGHT: 22px } *.detailControls IMG { CURSOR: pointer } .popImage { BORDER-BOTTOM: #ffffff 1px solid; BORDER-LEFT: #ffffff 1px solid; = MARGIN: 0px 10px; BORDER-TOP: #ffffff 1px solid; BORDER-RIGHT: #ffffff = 1px solid; opacity: 0 } .popTitle { TEXT-ALIGN: center; MARGIN: 10px; WIDTH: 480px; HEIGHT: 57px; = FONT-SIZE: 18px; OVERFLOW: auto; opacity: 0 } .popDescBG { BORDER-BOTTOM: #888888 1px solid; POSITION: relative; BORDER-LEFT: = #888888 1px solid; BACKGROUND-COLOR: #000000; WIDTH: 500px; BOTTOM: = 145px; DISPLAY: none; HEIGHT: 120px; CLEAR: left; BORDER-TOP: #888888 = 1px solid; BORDER-RIGHT: #888888 1px solid; LEFT: 0px; opacity: 0.45; = _bottom: 148px; _width: 488px } *.popDesc { TEXT-ALIGN: left; MARGIN: 10px; WIDTH: 480px; HEIGHT: 76px; COLOR: = #ffffff; CLEAR: left; FONT-SIZE: 14px; OVERFLOW: auto } *.descButton { COLOR: #ffffff } .detailControls { BACKGROUND-IMAGE: url(/images/photoalbum/photo_controlBG.jpg); = MARGIN-TOP: 15px; OVERFLOW: hidden } *.enlargedImage { Z-INDEX: 3; BORDER-BOTTOM: #444444 4px solid; BORDER-LEFT: #bbbbbb 4px = solid; BORDER-TOP: #dddddd 4px solid; CURSOR: pointer; BORDER-RIGHT: = #777777 4px solid } ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/ic_globals_published.js /* -- Image Cafe Javascript Text and Image References -- */=0A= =0A= var ICtxgopub =3D {};=0A= //User.js text starts here...=0A= ICtxgopub.pe_txt1 =3D "Flash Movie";=0A= ICtxgopub.pe_txt2 =3D "Chat Room";=0A= ICtxgopub.pe_txt3 =3D "Thumbnail Image";=0A= var ICimgopub =3D {};=0A= =0A= var ICaltgopub =3D {};=0A= //PA alert starts here... =0A= ICaltgopub.pa_txt1=3D"Invalid colour: '";=0A= ICaltgopub.pa_txt2=3D"No to style provided for '";=0A= ICaltgopub.pa_txt3=3D"Unrecognised format for value of ";=0A= //User.js alert starts here...=0A= ICaltgopub.pe_txt1=3D"Type a City and State, or a Postal/ZIP Code, and = then click Continue.";=0A= ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/user.js // ----------------------------------------------=0A= // This function dynamically generates flash file=0A= // parameters.=0A= // -----------------------------------------------=0A= function viewFlash(src, w, h, loop, play)=0A= {=0A= var width =3D parseInt(w);=0A= var height =3D parseInt(h);=0A= =0A= //alert('adWidth =3D '+width+ '\n Height =3D '+height);=0A= =0A= eval("win =3D window.open('','Flash', = 'toolbar=3D0,scrollbars=3D0,location=3D0,status=3D0,resizable=3D1,menubar= =3D0,width=3D"+width+",height=3D"+height+"');");=0A= win.document.writeln('');=0A= win.document.writeln('' + ICtxgopub.pe_txt10 = +'');=0A= win.document.writeln('');=0A= =0A= // for IE users use tag=0A= objectTag =3D '');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= =0A= // for Netscape users use tag=0A= win.document.writeln(''); =0A= win.document.writeln('');=0A= win.document.writeln('');=0A= =0A= }=0A= =0A= // ----------------------------------------------=0A= // This function dynamically generates a chat =0A= // pop-up. (ASV)=0A= // -----------------------------------------------=0A= function viewChat(instance_id, url)=0A= {=0A= props =3D = 'toolbar=3D0,scrollbars=3D0,location=3D0,status=3D0,resizable=3D1,menubar= =3D0,width=3D584,height=3D410';=0A= win =3D window.open('','Chat',props);=0A= win.document.writeln('');=0A= win.document.writeln('' + ICtxgopub.pe_txt11 = +'');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= win.document.writeln('');=0A= }=0A= =0A= //----------------------------------------------------=0A= // Create a new pop up window for a given URL and type=0A= //----------------------------------------------------=0A= function popUp(URL, type) =0A= {=0A= switch(type)=0A= {=0A= case "guestbook":=0A= width =3D 675;=0A= height =3D 500;=0A= break; =0A= case "forum":=0A= width =3D 675;=0A= height =3D 500;=0A= break; =0A= default:=0A= width =3D 550;=0A= height =3D 580;=0A= }=0A= =0A= var token =3D URL.indexOf('?') > -1 ? '&' : '?';=0A= uniqueId =3D genUniqueId();=0A= URL=3DURL+genUniqueParam(token);=0A= =0A= var leftPosition =3D (screen.width - width - 20) / 2;=0A= var topPosition =3D (screen.height - height) / 4;=0A= =0A= //open centered=0A= eval("win =3D window.open(URL, '"+type+"', = 'toolbar=3D0,scrollbars=3D1,location=3D0,status=3D1,resizable=3D1,menubar= =3D0,width=3D"+width+",height=3D"+height+",left=3D"+leftPosition+",top=3D= "+topPosition+"');");=0A= =0A= if (parseInt(navigator.appVersion) >=3D 4) =0A= { =0A= win.window.focus(); =0A= }=0A= }=0A= =0A= // ----------------------=0A= // Generate Unique Id=0A= // ----------------------=0A= function genUniqueId()=0A= {=0A= day =3D new Date();=0A= return day.getTime();=0A= }=0A= =0A= // -------------------------------------------------=0A= // Generate Unique parameter to be appended to the URL=0A= // This will allow us to realod the HTML from the server=0A= // -------------------------------------------------=0A= function genUniqueParam(parameter)=0A= {=0A= return parameter+'unique_id=3D'+genUniqueId();=0A= }=0A= =0A= //=0A= // Display the target image for this thumbnail=0A= //=0A= function displayThumb(src, width, height, title)=0A= {=0A= var winWidth =3D 650;=0A= var winHeight =3D 510;=0A= =0A= eval("win =3D window.open('','Thumb', = 'toolbar=3D0,scrollbars=3D1,location=3D0,status=3D0,resizable=3D1,menubar= =3D0,width=3D"+winWidth+",height=3D"+winHeight+"');");=0A= =0A= // clear the content of the document=0A= win.document.open();=0A= =0A= win.document.writeln('');=0A= =0A= if(null !=3D title && title !=3D "")=0A= {=0A= win.document.writeln('' + title + '');=0A= }=0A= else=0A= {=0A= win.document.writeln('' + ICtxgopub.pe_txt12 = +'');=0A= }=0A= win.document.writeln('');=0A= =0A= win.document.writeln('
');=0A= if (width =3D=3D 0)=0A= {=0A= win.document.writeln('');=0A= }=0A= else if (height =3D=3D 0)=0A= {=0A= win.document.writeln(''); =0A= } =0A= else=0A= {=0A= win.document.writeln(''); = =0A= } =0A= =0A= if(null !=3D title && title !=3D "")=0A= {=0A= win.document.writeln('');=0A= }=0A= win.document.writeln('
'+title+'
');=0A= =0A= win.document.writeln('');=0A= win.document.close();=0A= }=0A= =0A= function genURL(action,formname)=0A= {=0A= var sa =3D document.getElementById(formname).elements[0].value;=0A= var cy =3D document.getElementById(formname).elements[1].value;=0A= var st =3D document.getElementById(formname).elements[2].value;=0A= var pc =3D document.getElementById(formname).elements[3].value;=0A= var ct =3D document.getElementById(formname).elements[4].value;=0A= var lat =3Ddocument.getElementById(formname).elements[5].value;=0A= var lng =3Ddocument.getElementById(formname).elements[6].value;=0A= var uid =3Ddocument.getElementById(formname).elements[7].value;=0A= var wid =3Ddocument.getElementById(formname).elements[8].value;=0A= if(pc=3D=3D"")=0A= {=0A= if(cy=3D=3D"" || st=3D=3D"")=0A= {=0A= alert(ICaltgopub.pe_txt1);=0A= return false;=0A= }=0A= }=0A= var url =3D = action+"&street_address=3D"+sa+"&city=3D"+cy+"&state=3D"+st+"&postal_code= =3D"+pc+"&country=3D"+ct+"&latitude=3D"+lat+"&longitude=3D"+lng+"&userid=3D= "+uid+"&website_id=3D"+wid;=0A= popUp(url);=0A= =0A= }=0A= =0A= =0A= //-----------=0A= // BEGIN SCRIPTS FOR NAV MENUS=0A= //-----------=0A= =0A= // MENU GLOBALS=0A= =0A= //var navcontname=3D'navcontainer';=0A= var navcontname;=0A= var menumainwidth=3D100;=0A= var navmode=3D0;=0A= // 0 is right 1 is left=0A= var fldr=3D0;=0A= var fldrorg=3D0;=0A= //containing menu ids=0A= var menuids=3Dnew Array();=0A= =0A= //item that opens this menu=0A= var menuparitem=3Dnew Array();=0A= var menuparindex=3Dnew Array();=0A= var itemchildren=3Dnew Array();=0A= var timerID;=0A= var menuactv=3D0;=0A= =0A= =0A= //item ids=0A= var itemids=3Dnew Array();=0A= var itemparids=3Dnew Array();=0A= var itemchild=3Dnew Array();=0A= var linkarr=3Dnew Array();=0A= =0A= var xSize=3D0;=0A= var ySize=3D0;=0A= =0A= =0A= //index to menuids and menuparitem arrays=0A= var menuids_ct=3D1;=0A= //index to itemids and itemmenu arrays=0A= var itemids_ct=3D0;=0A= var step_ct=3D0;=0A= =0A= var nodeposition=3Dnew Array();=0A= var nodelength=3Dnew Array();=0A= =0A= var absdepth=3D0;=0A= var deptharr=3Dnew Array();=0A= =0A= function parseMenus() {=0A= =0A= if (document.getElementById('nav-left')) {=0A= navmode=3D0;=0A= fldr=3D0;=0A= } else if (document.getElementById('nav-right')) {=0A= navmode=3D1;=0A= fldr=3D1;=0A= } else if (document.getElementById('nav-top')) {=0A= navmode=3D2;=0A= fldr=3D0;=0A= }=0A= fldrorg=3Dfldr;=0A= =0A= navcontname=3Ddocument.getElementById('navcontainer');=0A= menuids[0]=3Dnavcontname;=0A= menuparitem[0]=3Dnavcontname;=0A= deptharr[0]=3Dnavcontname;=0A= nodeposition[0]=3D0;=0A= nodelength[0]=3Ddeptharr[0].childNodes.length;=0A= =0A= =0A= =0A= do {=0A= =0A= if = (deptharr[absdepth].childNodes[nodeposition[absdepth]].tagName=3D=3D"DIV"= ) {=0A= if = (deptharr[absdepth].childNodes[nodeposition[absdepth]].className.indexOf(= "submenu")!=3D-1) {=0A= = menuids[menuids_ct]=3Ddeptharr[absdepth].childNodes[nodeposition[absdepth= ]];=0A= deptharr[absdepth+1]=3Dmenuids[menuids_ct];=0A= menuparitem[menuids_ct]=3Ditemids[itemids_ct-1];=0A= menuparindex[menuids_ct]=3Ditemids_ct;=0A= itemchildren[menuids_ct]=3Dmenuids[menuids_ct];=0A= itemchild[itemids_ct-1]=3Dmenuids[menuids_ct];=0A= =0A= //linkarr[itemids_ct].className=3D"tertiary linkHasSub"; // use to = apply arrows to subs using class "linkHasSub"=0A= =0A= rolladd=3D"rollMenu(" + menuids_ct +")";=0A= rolladdout=3D"rollMenu(0)";=0A= =0A= eval('menuparitem[menuids_ct].onmouseover=3Dfunction(){' + = rolladd + '}');=0A= eval('menuparitem[menuids_ct].onmouseout=3Dfunction(){' + rolladdout + = '}');=0A= = nodelength[absdepth+1]=3Ddeptharr[absdepth].childNodes[nodeposition[absde= pth]].childNodes.length-1;=0A= absdepth++;=0A= nodeposition[absdepth]=3D-1;=0A= menuids_ct++;=0A= } else {=0A= =0A= = itemids[itemids_ct]=3Ddeptharr[absdepth].childNodes[nodeposition[absdepth= ]];=0A= itemparids[itemids_ct]=3Dmenuids[menuids_ct-1];=0A= = nodelength[absdepth+1]=3Ddeptharr[absdepth].childNodes[nodeposition[absde= pth]].childNodes.length-1;=0A= absdepth++;=0A= deptharr[absdepth]=3Ditemids[itemids_ct];=0A= nodeposition[absdepth]=3D-1;=0A= itemids_ct++;=0A= }=0A= =0A= } else if = (deptharr[absdepth].childNodes[nodeposition[absdepth]].tagName=3D=3D"A") = {=0A= deptharr[absdepth].childNodes[nodeposition[absdepth]].id=3D"sublink" + = itemids_ct;=0A= = linkarr[itemids_ct]=3Ddeptharr[absdepth].childNodes[nodeposition[absdepth= ]];=0A= }=0A= =0A= nodeposition[absdepth]++;=0A= if (nodeposition[absdepth]>nodelength[absdepth]) {=0A= do {=0A= absdepth--;=0A= nodeposition[absdepth]++;=0A= } while (nodeposition[absdepth]>nodelength[absdepth]);=0A= }=0A= =0A= } while (nodeposition[0]0) xpg +=3D myobj.offsetLeft;=0A= if (myobj.offsetTop>0) ypg +=3D myobj.offsetTop;=0A= myobj=3D myobj.offsetParent;=0A= =0A= } while ((myobj.tagName!=3D"BODY")&&(myobj.tagName!=3D"HTML"));=0A= =0A= if((navmode=3D=3D0)||(navmode=3D=3D2)) {=0A= if (fldr=3D=3D0) {=0A= if ((xpg + xfs + wdt)>xSize) {=0A= =0A= if(xpg>wdt) xfs-=3Dwdt*2;=0A= =0A= fldr=3D1;=0A= }=0A= } else {=0A= if ((xpg -xfs)<0) {=0A= =0A= fldr=3D0;=0A= } else {=0A= =0A= xfs-=3Dwdt*2;=0A= =0A= }=0A= =0A= }=0A= }=0A= =0A= if (navmode=3D=3D1) {=0A= =0A= if (fldr=3D=3D0) {=0A= if ((xpg + wdt*2)>=3DxSize) {=0A= =0A= fldr=3D1;=0A= } else {=0A= =0A= xfs+=3Dwdt*2;=0A= =0A= }=0A= =0A= =0A= } else {=0A= if ((xpg-wdt)<=3D-1) {=0A= =0A= xfs+=3Dwdt*2;=0A= fldr=3D0;=0A= =0A= }=0A= =0A= }=0A= =0A= }=0A= =0A= if(navmode=3D=3D2) {=0A= =0A= if(menuids[i].offsetParent.offsetParent.id!=3D"navcontainer") {=0A= menuids[i].style.left=3Dxfs + "px";=0A= }=0A= =0A= } else {=0A= =0A= menuids[i].style.left=3Dxfs + "px";=0A= } =0A= menuids[i].style.top=3Dyfs + "px";=0A= menuids[i].style.visibility=3D"hidden";=0A= =0A= }=0A= =0A= //--end function menuSetPositions() --=0A= =0A= function getPageSizes() {=0A= if(typeof(window.innerWidth)=3D=3D'number') {=0A= //IE=0A= xSize=3Dwindow.innerWidth;=0A= ySize=3Dwindow.innerHeight;=0A= } else if(document.documentElement &&=0A= = (document.documentElement.clientWidth||document.documentElement.clientHei= ght)) {=0A= //IE 6 xhtml=0A= xSize=3Ddocument.documentElement.clientWidth;=0A= ySize=3Ddocument.documentElement.clientHeight;=0A= } else = if(document.body&&(document.body.clientWidth||document.body.clientHeight)= ) {=0A= //IE 4 5 or 6 standard=0A= xSize=3Ddocument.body.clientWidth;=0A= ySize=3Ddocument.body.clientHeight;=0A= }=0A= }=0A= =0A= =0A= function processMenus() {=0A= parseMenus();=0A= positionMenus();=0A= }=0A= =0A= function resetMenus() {=0A= =0A= for (i=3D1; i0) {=0A= clearTimeout(timerID);=0A= turnOff(ref);=0A= menuactv=3D1;=0A= itemchildren[ref].style.visibility=3D"visible";=0A= menuparitem[ref].style.zIndex=3D10000-ref;=0A= itemchildren[ref].style.zIndex=3D10000+ref;=0A= }=0A= else=0A= {=0A= menuactv=3D0;=0A= clearTimeout(timerID);=0A= timerID =3D setTimeout('turnOff()', 300);=0A= }=0A= }=0A= =0A= function turnOff(ref)=0A= {=0A= if (menuactv=3D=3D0) {=0A= for (i=3D0; icoldvht2) coldvht2=3Dcoldvht1;=0A= else if (coldvht2>=3Dcoldvht1) coldvht1=3Dcoldvht2;=0A= if (coldvht3>=3Dcoldvht1) =0A= {=0A= coldvht1=3Dcoldvht3;=0A= coldvht2=3Dcoldvht3;=0A= }=0A= else =0A= {=0A= coldvht3=3Dcoldvht1;=0A= }=0A= =0A= coldvht3=3Dcoldvht1;=0A= coldvht2=3Dcoldvht1;=0A= document.getElementById('colbody1').style.height =3D (coldvht1 - = colheightofs) + 'px';=0A= document.getElementById('colbody2').style.height =3D (coldvht2 - = colheightofs) + 'px';=0A= document.getElementById('colbody3').style.height =3D (coldvht3 - = colheightofs) + 'px';=0A= }=0A= ------=_NextPart_000_0045_01C96B22.1A75AEF0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://jamesstivers.com/scripts/photoalbum.js /* ####### Animator.js code starts here ########## */=0A= /* =0A= Animator.js 1.1.9=0A= =0A= This library is released under the BSD license:=0A= =0A= Copyright (c) 2006, Bernard Sumption. All rights reserved.=0A= =0A= Redistribution and use in source and binary forms, with or without=0A= modification, are permitted provided that the following conditions are = met:=0A= =0A= Redistributions of source code must retain the above copyright notice, = this=0A= list of conditions and the following disclaimer. Redistributions in = binary=0A= form must reproduce the above copyright notice, this list of = conditions and=0A= the following disclaimer in the documentation and/or other materials=0A= provided with the distribution. Neither the name BernieCode nor=0A= the names of its contributors may be used to endorse or promote = products=0A= derived from this software without specific prior written permission. =0A= =0A= THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS = "AS IS"=0A= AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, = THE=0A= IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR = PURPOSE=0A= ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE = LIABLE FOR=0A= ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL=0A= DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE = GOODS OR=0A= SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) = HOWEVER=0A= CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT=0A= LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY = WAY=0A= OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF = SUCH=0A= DAMAGE.=0A= =0A= */=0A= =0A= =0A= // Applies a sequence of numbers between 0 and 1 to a number of subjects=0A= // construct - see setOptions for parameters=0A= function Animator(options) {=0A= this.setOptions(options);=0A= var _this =3D this;=0A= this.timerDelegate =3D function(){_this.onTimerEvent()};=0A= this.subjects =3D [];=0A= this.target =3D 0;=0A= this.state =3D 0;=0A= this.lastTime =3D null;=0A= };=0A= Animator.prototype =3D {=0A= // apply defaults=0A= setOptions: function(options) {=0A= this.options =3D Animator.applyDefaults({=0A= interval: 20, // time between animation frames=0A= duration: 400, // length of animation=0A= onComplete: function(){},=0A= onStep: function(){},=0A= transition: Animator.tx.easeInOut=0A= }, options);=0A= },=0A= // animate from the current state to provided value=0A= seekTo: function(to) {=0A= this.seekFromTo(this.state, to);=0A= },=0A= // animate from the current state to provided value=0A= seekFromTo: function(from, to) {=0A= this.target =3D Math.max(0, Math.min(1, to));=0A= this.state =3D Math.max(0, Math.min(1, from));=0A= this.lastTime =3D new Date().getTime();=0A= if (!this.intervalId) {=0A= this.intervalId =3D window.setInterval(this.timerDelegate, = this.options.interval);=0A= }=0A= },=0A= // animate from the current state to provided value=0A= jumpTo: function(to) {=0A= this.target =3D this.state =3D Math.max(0, Math.min(1, to));=0A= this.propagate();=0A= },=0A= // seek to the opposite of the current target=0A= toggle: function() {=0A= this.seekTo(1 - this.target);=0A= },=0A= // add a function or an object with a method setState(state) that will = be called with a number=0A= // between 0 and 1 on each frame of the animation=0A= addSubject: function(subject) {=0A= this.subjects[this.subjects.length] =3D subject;=0A= return this;=0A= },=0A= // remove all subjects=0A= clearSubjects: function() {=0A= this.subjects =3D [];=0A= },=0A= // forward the current state to the animation subjects=0A= propagate: function() {=0A= var value =3D this.options.transition(this.state);=0A= for (var i=3D0; i=3D Math.abs(this.state - this.target)) {=0A= this.state =3D this.target;=0A= } else {=0A= this.state +=3D movement;=0A= }=0A= =0A= try {=0A= this.propagate();=0A= } finally {=0A= this.options.onStep.call(this);=0A= if (this.target =3D=3D this.state) {=0A= window.clearInterval(this.intervalId);=0A= this.intervalId =3D null;=0A= this.options.onComplete.call(this);=0A= }=0A= }=0A= },=0A= // shortcuts=0A= play: function() {this.seekFromTo(0, 1)},=0A= reverse: function() {this.seekFromTo(1, 0)},=0A= // return a string describing this Animator, for debugging=0A= inspect: function() {=0A= var str =3D "#";=0A= return str;=0A= }=0A= }=0A= // merge the properties of two objects=0A= Animator.applyDefaults =3D function(defaults, prefs) {=0A= prefs =3D prefs || {};=0A= var prop, result =3D {};=0A= for (prop in defaults) result[prop] =3D prefs[prop] !=3D=3D undefined = ? prefs[prop] : defaults[prop];=0A= return result;=0A= }=0A= // make an array from any object=0A= Animator.makeArray =3D function(o) {=0A= if (o =3D=3D null) return [];=0A= if (!o.length) return [o];=0A= var result =3D [];=0A= for (var i=3D0; i 20) return;=0A= }=0A= },=0A= getStyle: function(state) {=0A= state =3D this.from + ((this.to - this.from) * state);=0A= if (this.property =3D=3D 'filter') return "alpha(opacity=3D" + = Math.round(state*100) + ")";=0A= if (this.property =3D=3D 'opacity') return state;=0A= return Math.round(state) + this.units;=0A= },=0A= inspect: function() {=0A= return "\t" + this.property + "(" + this.from + this.units + " to " + = this.to + this.units + ")\n";=0A= }=0A= }=0A= =0A= // animates a colour based style property between two hex values=0A= function ColorStyleSubject(els, property, from, to) {=0A= this.els =3D Animator.makeArray(els);=0A= this.property =3D Animator.camelize(property);=0A= this.to =3D this.expandColor(to);=0A= this.from =3D this.expandColor(from);=0A= this.origFrom =3D from;=0A= this.origTo =3D to;=0A= }=0A= =0A= ColorStyleSubject.prototype =3D {=0A= // parse "#FFFF00" to [256, 256, 0]=0A= expandColor: function(color) {=0A= var hexColor, red, green, blue;=0A= hexColor =3D ColorStyleSubject.parseColor(color);=0A= if (hexColor) {=0A= red =3D parseInt(hexColor.slice(1, 3), 16);=0A= green =3D parseInt(hexColor.slice(3, 5), 16);=0A= blue =3D parseInt(hexColor.slice(5, 7), 16);=0A= return [red,green,blue]=0A= }=0A= if (window.DEBUG) {=0A= //alert("Invalid colour: '" + color + "'");=0A= alert(ICaltgopub.pa_txt1 + color + "' ");=0A= }=0A= },=0A= getValueForState: function(color, state) {=0A= return Math.round(this.from[color] + ((this.to[color] - = this.from[color]) * state));=0A= },=0A= setState: function(state) {=0A= var color =3D '#'=0A= + ColorStyleSubject.toColorPart(this.getValueForState(0, state))=0A= + ColorStyleSubject.toColorPart(this.getValueForState(1, state))=0A= + ColorStyleSubject.toColorPart(this.getValueForState(2, state));=0A= for (var i=3D0; i 255) number =3D 255;=0A= var digits =3D number.toString(16);=0A= if (number < 16) return '0' + digits;=0A= return digits;=0A= }=0A= ColorStyleSubject.parseColor.rgbRe =3D = /^rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)$/i;=0A= ColorStyleSubject.parseColor.hexRe =3D = /^\#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/;=0A= =0A= // Animates discrete styles, i.e. ones that do not scale but have = discrete values=0A= // that can't be interpolated=0A= function DiscreteStyleSubject(els, property, from, to, threshold) {=0A= this.els =3D Animator.makeArray(els);=0A= this.property =3D Animator.camelize(property);=0A= this.from =3D from;=0A= this.to =3D to;=0A= this.threshold =3D threshold || 0.5;=0A= }=0A= =0A= DiscreteStyleSubject.prototype =3D {=0A= setState: function(state) {=0A= var j=3D0;=0A= for (var i=3D0; i section ? 1 : 0);=0A= }=0A= if (this.options.rememberance) {=0A= document.location.hash =3D this.rememberanceTexts[section];=0A= }=0A= }=0A= }=0A= =0A= /* ####### Animator.js code ends here ########## */ =0A= =0A= /* ####### Photoalbum.js code starts here ########## */=0A= =0A= =0A= /***** GLOBALS *****/=0A= =0A= var slowest =3D 5000;=0A= var slow =3D 4000;=0A= var med =3D 3000;=0A= var fast =3D 2000; =0A= var fastest =3D 1000;=0A= var slideTime;=0A= var randTime;=0A= =0A= /*****These are our events****/=0A= =0A= //parent.content.onscroll =3D adjustoverlay;=0A= window.onscroll =3D adjustOverlay;=0A= //window.onresize =3D adjustOverlay;=0A= =0A= /***** Event Functions*****/=0A= =0A= function checkMouseover(evt) {=0A= =0A= //alert(evt);=0A= =0A= if (!evt) var evt =3D window.event;=0A= =0A= if(document.all) =0A= evtObj =3D evt.srcElement; =0A= else=0A= evtObj =3D evt.target;=0A= =0A= if (evtObj.id.substring(0,5) =3D=3D 'thumb' && = evtObj.parentNode.offsetWidth < 75)=0A= { =0A= var positionX =3D getCoords(evtObj).x;=0A= var positionY =3D getCoords(evtObj).y;=0A= enlargedImage =3D $('enlargedImage'+this.photoNum); =0A= =0A= enlargedImage.style.width =3D Math.floor(evtObj.width * 2.25) + = 'px'; =0A= enlargedImage.style.height =3D Math.floor(evtObj.height * 2.25) + = 'px'; =0A= enlargedImage.style.position =3D "absolute";=0A= enlargedImage.style.top =3D positionY - Math.floor(evtObj.height * = 0.75) + 'px';=0A= enlargedImage.style.left =3D positionX - Math.floor(evtObj.width * = 0.75)+ 'px';=0A= enlargedImage.src =3D = this.imageAttributes[this.currentImage].olpath; // so we size down = rather than up=0A= //alert(enlargedImage.style.width);=0A= enlargedImage.style.display =3D 'block'; =0A= } =0A= }=0A= =0A= function checkDoubleClicks(evt) {=0A= =0A= if (!evt) var evt =3D window.event;=0A= =0A= if(document.all) =0A= evtObj =3D evt.srcElement; =0A= else=0A= evtObj =3D evt.target;=0A= =0A= if (((evtObj.id.substring(0, 5) =3D=3D "thumb") || = (evtObj.id.substring(0, 8) =3D=3D 'enlarged')) && this.mainViewer =3D=3D = 1) =0A= { =0A= //setting height & width of background gray area. =0A= PA_ID =3D this.photoNum; =0A= =0A= window.document.body.appendChild($('detailScreen'));=0A= window.document.body.appendChild($('detailsContainer' + = PA_ID));=0A= $('detailScreen').style.height =3D getWinHeight();=0A= $('detailScreen').style.width =3D getWinWidth();=0A= this.showDetails(evtObj); =0A= if ($('pausebutton'+this.photoNum).style.display =3D=3D = 'block') =0A= {=0A= //this.stop();=0A= this.midPlay =3D 1;=0A= }=0A= } =0A= else return;=0A= }=0A= =0A= function checkClickables(evt) { =0A= //alert(evt.target.id);=0A= //alert(this.currentImage);=0A= =0A= if (!evt) var evt =3D window.event;=0A= =0A= if(document.all) =0A= evtObj =3D evt.srcElement; =0A= else=0A= evtObj =3D evt.target; =0A= =0A= if (((evtObj.id.substring(0, 5) =3D=3D 'thumb') || = (evtObj.id.substring(0, 8) =3D=3D 'enlarged')) && = (evtObj.id.substring(5, 8) !=3D "Con")) =0A= {=0A= thumbID =3D evtObj.id.split("_");=0A= =0A= this.lastImage=3Dthis.currentImage; = =0A= this.currentImage =3D parseInt(thumbID[2]); //image = container=0A= this.currentImage =3D parseInt(thumbID[2]); //image = =0A= =0A= this.findCurrent();=0A= this.showCurrent(evtObj);=0A= }=0A= /*if ((evtObj.id.substring(0, 8) =3D=3D "enlarged")) {=0A= this.lastImage =3D this.currentImage;=0A= this.currentImage =3D = parseInt($('enlargedImage'+this.photoNum).name);=0A= this.findCurrent();=0A= this.showCurrent();=0A= }*/=0A= if((evtObj.id =3D=3D ("mainImage"+this.photoNum) || = evtObj.id =3D=3D ("imageContainer"+this.photoNum)) || = (evtObj.id.substring(0, 5) =3D=3D "thumb" && this.mainViewer =3D=3D 0) = || ((evtObj.id.substring(0, 8) =3D=3D "enlarged") && (this.mainViewer = =3D=3D 0)))=0A= {=0A= //setting height & width of background gray area.=0A= PA_ID =3D this.photoNum;=0A= //detailsScreen =3D $('detailscreen');=0A= =0A= window.document.body.appendChild($('detailScreen'));=0A= window.document.body.appendChild($('detailsContainer' + = PA_ID));=0A= $('detailScreen').style.height =3D getWinHeight();=0A= $('detailScreen').style.width =3D getWinWidth();=0A= this.showDetails(evtObj); =0A= //this.stop();=0A= this.midPlay =3D 1; =0A= } =0A= }=0A= //document.onmouseout =3D checkMouseout =0A= =0A= PhotoAlbum.prototype.calcRatio =3D calcRatio;=0A= PhotoAlbum.prototype.buildThumbs =3D buildThumbs;=0A= PhotoAlbum.prototype.updateCounter =3D updateCounter;=0A= PhotoAlbum.prototype.buildMainViewer =3D buildMainViewer; =0A= PhotoAlbum.prototype.showDetails =3D showDetails;=0A= PhotoAlbum.prototype.showNextDetail =3D showNextDetail;=0A= PhotoAlbum.prototype.showPrevDetail =3D showPrevDetail;=0A= PhotoAlbum.prototype.closeDetails =3D closeDetails;=0A= PhotoAlbum.prototype.next =3D next;=0A= PhotoAlbum.prototype.previous =3D previous;=0A= PhotoAlbum.prototype.findCurrent =3D findCurrent;=0A= PhotoAlbum.prototype.showCurrent =3D showCurrent;=0A= PhotoAlbum.prototype.initPlay =3D initPlay;=0A= PhotoAlbum.prototype.linearPlay =3D linearPlay;=0A= PhotoAlbum.prototype.randPlay =3D randPlay;=0A= PhotoAlbum.prototype.stop =3D stop;=0A= PhotoAlbum.prototype.f_Slide =3D f_Slide;=0A= PhotoAlbum.prototype.l_Slide =3D l_Slide;=0A= PhotoAlbum.prototype.changeSpeed =3D changeSpeed;=0A= PhotoAlbum.prototype.adjustOverlay =3D adjustOverlay;=0A= PhotoAlbum.prototype.hideDetails =3D hideDetails;=0A= PhotoAlbum.prototype.checkClickables =3D checkClickables;=0A= PhotoAlbum.prototype.checkDoubleClicks =3D checkDoubleClicks;=0A= PhotoAlbum.prototype.checkMouseover =3D checkMouseover; =0A= =0A= /*****The PhotoAlbum object ****/ =0A= =0A= function PhotoAlbum(photoNum, = mainWidth,photoAlbumType,imageBackColor,titleColor, = thumbWidth,numOfThumbs,aspectRatio,titles, = imageAttributes,textFont,specifyBoxWidth, newIC) {=0A= =0A= this.photoNum=3DphotoNum; //The photo number=0A= =0A= this.mainWidth =3D mainWidth; //colum width of the web page = - should determine the size of the entire photo album=0A= this.photoAlbumType =3D photoAlbumType; //PhotoAlbum Type 1-5 = =0A= this.imageBackColor =3D imageBackColor; //color of overlay = matte and thumbnail BG: defualt is WHITE =0A= this.titleColor =3D titleColor; //title/desc text color=0A= this.textFont =3D textFont;=0A= this.specifyBoxWidth =3D specifyBoxWidth;=0A= =0A= if(this.specifyBoxWidth =3D=3D "true"){=0A= this.numOfThumbs =3D 0;=0A= if (thumbWidth.length =3D=3D 0) {=0A= this.thumbWidth =3D 0;=0A= } else {=0A= this.thumbWidth =3D parseInt(thumbWidth); //advance option=0A= }=0A= }=0A= else{=0A= this.thumbWidth =3D 0;=0A= if (numOfThumbs.length =3D=3D 0) {=0A= this.numOfThumbs =3D 0;=0A= } else {=0A= this.numOfThumbs =3D parseInt(numOfThumbs); //calculated based on = mainWidth, 0 means nothing specified and use 'thumbWidth' advance option=0A= }=0A= }=0A= =0A= this.aspectRatio =3D aspectRatio; //could be "square", "portrait", = "landscape": default should be SQUARE per the specs, landscape might be = better :-P =0A= =0A= if (titles.length =3D=3D 0 || titles =3D=3D "false") {=0A= this.titles =3D 0;=0A= } else {=0A= this.titles =3D 1;=0A= }=0A= =0A= this.slideSpeed =3D med; //default is medium, 2 seconds = =0A= this.imageAttributes =3D imageAttributes; //should be an array=0A= =0A= this.imageTotal =3D imageAttributes.length;=0A= =0A= for(i=3D0; i 0) {=0A= for(var i=3D0; i 0 ) {=0A= if (document.all)=0A= this.thumbWidth =3D = Math.floor(this.mainWidth/this.numOfThumbs) - 13; //18 is padding+ = border + left/right extremes=0A= else=0A= this.thumbWidth =3D = Math.floor(this.mainWidth/this.numOfThumbs) - 12; =0A= } =0A= =0A= this.calcRatio();=0A= =0A= $('thumbContainer'+this.photoNum).style.width =3D = this.mainWidth + "px"; =0A= =0A= =0A= this.thumbDiv =3D new Array;=0A= this.thumbIMG =3D new Array;=0A= this.thumbTitle =3D new Array;=0A= this.thumbTable =3D new Array;=0A= this.thumbTBody =3D new Array;=0A= this.thumbTR =3D new Array;=0A= this.thumbTD =3D new Array;=0A= =0A= for(i=3D0; i largestTitle[j]) {=0A= largestTitle[j] =3D this.imageAttributes[i].title.length;=0A= this.largestDiv[j] =3D this.thumbTitle[i];=0A= //alert(this.largestDiv[j].offsetHeight); =0A= }=0A= =0A= if(((i+1)%this.numOfThumbs) =3D=3D 0) {=0A= j++;=0A= largestTitle[j] =3D 0;=0A= this.largestDiv[j] =3D this.thumbTitle[i]; =0A= }=0A= =0A= =0A= /*=0A= if(this.imageAttributes[i].title.length > largestTitle)=0A= largestTitle =3D this.imageAttributes[i].title.length;=0A= */ =0A= =0A= /**Attach**/ =0A= = $("thumbContainer"+this.photoNum).appendChild(this.thumbDiv[i]);=0A= this.thumbDiv[i].appendChild(this.thumbTable[i]);=0A= this.thumbTable[i].appendChild(this.thumbTBody[i]);=0A= this.thumbTBody[i].appendChild(this.thumbTR[i]); = =0A= this.thumbTR[i].appendChild(this.thumbTD[i]); = =0A= this.thumbTD[i].appendChild(this.thumbIMG[i]);=0A= this.thumbDiv[i].appendChild(this.thumbTitle[i]);=0A= } =0A= =0A= //Calculate height with titles PER ROW =0A= =0A= var newHeight =3D [];=0A= =0A= if (this.titles =3D=3D 1) {=0A= =0A= //get specific height per row=0A= for(i=3D0; i<=3Dj; i++) {=0A= approxWidth =3D Math.ceil(largestTitle[i]*11); //font = size is 11px=0A= =0A= if(approxWidth > this.thumbWidth) =0A= rowUnit =3D Math.ceil(approxWidth/this.thumbWidth);=0A= else if(largestTitle[i] =3D=3D 0)=0A= rowUnit =3D 0;=0A= else=0A= rowUnit =3D 1;=0A= =0A= newHeight[i] =3D rowUnit * 16; //line-height is set to = 16px=0A= }=0A= =0A= j=3D0; //reset row counter=0A= =0A= for(i=3D0; i 0) {=0A= this.lastImage=3Dthis.currentImage;=0A= this.currentImage--; =0A= }=0A= else {=0A= this.currentImage=3Dthis.imageTotal-1;=0A= this.lastImage =3D 0;=0A= }=0A= this.findCurrent();=0A= this.showCurrent();=0A= }=0A= =0A= function showPrevDetail() {=0A= /*=0A= if (this.currentImage !=3D 0)=0A= this.currentImage--;=0A= else=0A= this.currentImage =3D this.imageTotal-1;=0A= */=0A= =0A= this.previous();=0A= =0A= $("popImage"+this.photoNum).src =3D = this.imageAttributes[this.currentImage].olpath;=0A= $("popTitle"+this.photoNum).innerHTML =3D = this.imageAttributes[this.currentImage].title;=0A= $("popDesc"+this.photoNum).innerHTML =3D = this.imageAttributes[this.currentImage].desc;=0A= =0A= }=0A= =0A= function randPlay() {=0A= =0A= if (stopSlide !=3D 1) {=0A= if (this.currentImage <=3D this.imageTotal) =0A= { =0A= =0A= this.lastImage =3D this.currentImage;=0A= =0A= while (this.lastImage =3D=3D this.currentImage) = {=0A= this.currentImage =3D randNum(0, = (this.imageTotal-1));=0A= }=0A= =0A= this.findCurrent();=0A= this.showCurrent(); =0A= =0A= } =0A= }=0A= else return;=0A= }=0A= =0A= function changeSpeed(speed, num, relative_path)=0A= { =0A= this.slideSpeed =3D speed;=0A= //speed =3D this.slideSpeed; //just trust me=0A= =0A= for (i=3Dnum; i<6; i++)=0A= {=0A= $('speed'+i+this.photoNum).src =3D = relative_path+'images/photoalbum/button_photoSpeed'+i+'.jpg';=0A= //$('detailspeed'+i).src =3D = 'images/photoalbum/button_photoSpeed'+i+'.jpg';=0A= }=0A= for (i=3D1; i<=3Dnum; i++)=0A= {=0A= $('speed'+i+this.photoNum).src =3D = relative_path+'images/photoalbum/button_photoSpeed'+i+'_ON.jpg';=0A= //$('detailspeed'+i).src =3D 'images/button_photoSpeed'+i+'_ON.jpg';=0A= }=0A= =0A= if (this.randomSlideShow =3D=3D 1) {=0A= clearInterval(this.randInterval);=0A= this.randInterval =3D = window.setInterval(createObjectCallback(this, this.randPlay), = this.slideSpeed);=0A= }=0A= else if($('playbutton'+this.photoNum).style.display =3D=3D = 'none')=0A= { =0A= clearInterval(this.playInterval);=0A= this.playInterval =3D = window.setInterval(createObjectCallback(this, this.linearPlay), = this.slideSpeed);=0A= }=0A= }=0A= =0A= =0A= function swap(a, b) {=0A= $(a).style.display =3D 'none';=0A= $(b).style.display =3D 'inline';=0A= }=0A= =0A= function $(id) {=0A= return document.getElementById(id);=0A= }=0A= =0A= function randNum(x, y) {=0A= var range =3D y - x + 1;=0A= return Math.floor(Math.random() * range) + x;=0A= }=0A= =0A= function getCoords(element)=0A= {=0A= var valueT =3D 0, valueL =3D 0;=0A= =0A= do=0A= {=0A= valueT +=3D element.offsetTop || 0;=0A= valueL +=3D element.offsetLeft || 0;=0A= element =3D element.offsetParent;=0A= }=0A= while (element);=0A= =0A= return {x: valueL, y: valueT};=0A= }=0A= =0A= function adjustOverlay() { //onscroll=0A= try{=0A= if (document.all &&(navigator.appVersion.indexOf("MSIE = 7.")=3D=3D-1)) {=0A= $('detailScreen').style.height =3D getWinHeight(); = //adjust for resize=0A= $('detailScreen').style.width =3D getWinWidth(); //adjust for = resize=0A= //$("detailsContainer"+this.photoNum).style.top =3D = document.documentElement.scrollTop + 10 + "px";=0A= if(this.newIC =3D=3D 'false') { //legacy frames=0A= //$("detailScreen").style.top =3D = parent.content.document.body.scrollTop + "px";=0A= }=0A= else {=0A= $("detailScreen").style.top =3D = document.documentElement.scrollTop + "px";=0A= } =0A= }=0A= }=0A= catch(e){return false;}=0A= //else {=0A= // $("detailsContainer").style.top =3D = window.pageYOffset + 10 + "px";=0A= // $("detailScreen").style.top =3D window.pageYOffset = + "px";=0A= // } =0A= =0A= }=0A= =0A= function createObjectCallback(obj, fn)=0A= {=0A= return function() =0A= { =0A= fn.apply(obj, arguments);=0A= };=0A= }=0A= =0A= /* ####### Photoalbum.js code ends here ########## */=0A= ------=_NextPart_000_0045_01C96B22.1A75AEF0--