From: Subject: The Western Wilderness Date: Tue, 1 Mar 2011 11:49:58 +1100 MIME-Version: 1.0 Content-Type: multipart/related; type="text/html"; boundary="----=_NextPart_000_0000_01CBD806.CA81F8F0" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 This is a multi-part message in MIME format. ------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Location: http://brochures.discovertasmania.com/western_wilderness/Index.aspx =EF=BB=BF The Western = Wilderness

=20
3D""=20
------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://brochures.discovertasmania.com/western_wilderness/images/Tas_western.gif R0lGODlhoAAvAMQQAH9/f7+/vz8/Pw8PD+/v75+fn19fXy8vLx8fH9/f38/Pz29vb09PT6+vr4+P j////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEA ABAALAAAAACgAC8AAAX/oHBAZGmeaKqubOu+cCzPKIDQeK7vfO86A59wSCzyBoWgcclsEpWHgNJJ GlGvWBTDelBMmwJBdjxeWA1e6gJxI7udDgYJ/TU2IIa3nlnI49NMChAOe4U+bRAFC3MEVkUHDQwL DHWGljADiyQFBYxyRYoFAgCXpTNISgBpBg+kQwONCUiOprUsAw1nBGICBFJCqgYFAAyEtscsiiQM BKQHCQSfO7AGCdXFyNkqCw1BzwEIuA/dOwDNCQAFCQea2sgIAEoMCXIDAQSLAA8EfjQHrc3GOSiA yN2xAQDEQOgCBII+cM8eBFAYY0ACBQ0UaBxI0KC7BQ2RRFuYoBW8BxIp/7q4V+CBRgYKdrnymK3L J2bgBjjYtyYASgUGKp1o6dOBgQUEWsmi6Q4JOAgIig4QoOBBgkk+9/WpNKBqgTgASu57YKAfU1MC 2jFryKzZAANJCSjK+nMYgzBHATioirIvp09hAgseXPAsCwYNGp7qQ0KnW537HBww99NBALF9M2vu SwBjic2gWxl2gcBvDsQKqbqNirLBUcxJQ8tWIMCPbM0zR6v411qHU4VICThAICCrXE6xb2+W+wvC YL4PCOtuASBALhxTigeoR9n1gZZ9A0BXzrmRULrTxyBY0K/a1QEI4/ZRRT50tI4o0KMgDgCAAVom IGAAAGagMNUC/f1Xwv9UCRbWWFr9qRQghP4B6FwYhfFXIQsCKKJENQ8UQAmIKAVQwD31ZdZAIyro VwIam61zwk6ZyejceOGNklxrU0CyXDsQLIBZjSr1NVNYmz21AhoFnFFSAnF0uGOKmRngIAkukqAP aAQgQqNmbWxJpUQl8AZaP3SB5oiRJTQQ2lIsVKPAGs652ZpeBeBIXjMBWIhlXycgEIkSvaDUCVTh BcHAkX21UWhrNyAAnSOKtCEpSgmUkBUgC/R1BwlsktChNJ2iBKQJAiBSnEtrrDdeAkPWN1KLgLZA YwCi9iWhlrXOoWuZoaYgQKN/kqlpr8GmYOenKQhDJ1QFJJVAH2nZOeb/PrWtkKUKYuaKklkldFvC sCgViVJuJ5AbXbG4hovsuSxs2e4KAmRUIB7WSnTilMpd5mexD6TwVgOxNsZZPCeI6+26n8FrQjFp MpzVvA69K1qA3AxJ8QrwwNrHAW9Fe21fClx5LEo1JAdrr6wcbILCzv3a8MUQzJMZdApN/LLFMyFR o1gbo0ALAyJL5ACBnMR6Wx+nnrAteM3cALPNJKfSa8zlmhBqy+OMoG7OJe6MMqgOQ8AXP0HI28J6 w1BUjJ4pJpUEC1l+7e7YJpB4Mcx2z+xKbIdiLXHYdwdM9sWlPuCI2i8c4MBFbR+AAMT8ysbPSldv mWnhAofHK96Cmyua/7qO9K0z54e7cvrnQbcw2XgBxA73cpzs6nTmhH9uOAp8tcu3zKkLjqrMq1eM d6hZMWt86ykckOqCi6I4ZsmYgy7mFApLY+anv2ft90J99WN67sbvHqqdm7Mew3oZmdgfMYuCpxwp YfwLcIAk3zVKrf/4kqZC3WNY8CAgFn7ghXjkU9jWwqM/xs1gFAS71kWil74UbItrPxGX/DLDKND1 bYAH2BE/EGgs3X1vE5o5GvmwA6EILi0IApAECywTOxR0KHZJMEADnpUJFCWgASoxQOwoFoXY0WKI /UBI7HIRBcmUgIbGmMMQNRU7s9wwAKTQYVBoADEFyK4+6DBZeqZzgDBFNeAy/RLjGEdDnBbOjh5r jOOCRrEvy0VRjngUlQG+dDCh5HE6b6lOmtDhxz++IQQAOw== ------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: image/gif Content-Transfer-Encoding: base64 Content-Location: http://brochures.discovertasmania.com/western_wilderness/images/GEON_PoweredBy_Rev14.gif R0lGODlhugAkALMPAElJSVlZWW9vb39/f0NDQzk5OXl5eT4+PnV1dVRUVE5OTmRkZF5eXmlpaYWF hTMzMyH/C1hNUCBEYXRhWE1QPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpy ZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0 az0iQWRvYmUgWE1QIENvcmUgNS4wLWMwNjAgNjEuMTM0Nzc3LCAyMDEwLzAyLzEyLTE3OjMyOjAw ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIv MjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4 bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMu YWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94 YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3No b3AgQ1M1IE1hY2ludG9zaCIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5NjhCNjJCOUEzNjEx MURGOTNBQTg1ODNFNTA5NEVEOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5NjhCNjJCQUEz NjExMURGOTNBQTg1ODNFNTA5NEVEOSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5j ZUlEPSJ4bXAuaWlkOjA4QzYxRUU2QTM2MTExREY5M0FBODU4M0U1MDk0RUQ5IiBzdFJlZjpkb2N1 bWVudElEPSJ4bXAuZGlkOjk2OEI2MkI4QTM2MTExREY5M0FBODU4M0U1MDk0RUQ5Ii8+IDwvcmRm OkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+ Af/+/fz7+vn49/b19PPy8fDv7u3s6+rp6Ofm5eTj4uHg397d3Nva2djX1tXU09LR0M/OzczLysnI x8bFxMPCwcC/vr28u7q5uLe2tbSzsrGwr66trKuqqainpqWko6KhoJ+enZybmpmYl5aVlJOSkZCP jo2Mi4qJiIeGhYSDgoGAf359fHt6eXh3dnV0c3JxcG9ubWxramloZ2ZlZGNiYWBfXl1cW1pZWFdW VVRTUlFQT05NTEtKSUhHRkVEQ0JBQD8+PTw7Ojk4NzY1NDMyMTAvLi0sKyopKCcmJSQjIiEgHx4d HBsaGRgXFhUUExIREA8ODQwLCgkIBwYFBAMCAQAAIfkEAQAADwAsAAAAALoAJAAABP/wyUmrvTjr zbv/YCiOZGmeaKqubOu+cCzPdG3feC45vPP0Pt/uxyMWe8YK8jcR6p5QjDA4pFKHTOeUss1Gv+Bd kem1HsfIrthJDrt17K21fdVisfa3/hZf1o9VZ2NreXuGh4iJiouMjY6PkJGSkw8HCQEBCgcXBQCe n6AAmxUHCpianKIZBwCUiwQCDgYCAgMOAgQVAEC8PAEUsA4DtLa4urIFGAFsrnsJt7kTCQYDChS7 rRzPAtkSwQnXPAvKzM1uu+MWBQgDow/YHOgYCw7duwYO1hbL5oYGCKscMJgAb8M/DQgMEMw3YECy Cvz6vVFQT0MDhRIKZqDY7QJFfdj/djXYV04ilAUYPWiclzKDgXTwGDgARyGiSTAIRn5YeSEnhwYA 31UsQM3dA5s3ozj4tdPBAkxQodJcyiFiwV0CapZMioNqBVpgaUXbhSBs2IE/mGqwWlHCMrVIucJR OyFqAHrZeFrwulbISgQOosWVi4PWhqttMxjesHglAQdBBxO2wcChhmd5E2OozGEAWp5vj26dPOMx TQwN2uqtYPpy4IyaJcQiIJk0jVoPLRCwlbkjBtwYCgxb6LvSAAMybes4MABB7gm7l/XmwNy5Onbu Vi+zpVwHAWoBRhGoPE710lCg3H0fECAa7ePRYBeXkHp09xgFAuDrgWBq5l5A0JXfI348GBDAc0LN 94Bw9t0nAysAIHhCJxE6aOGFGGao4YYcQhIBADs= ------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://brochures.discovertasmania.com/western_wilderness/css/global.css HTML { PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; = PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial; BACKGROUND: = url(../resources/emagbg1.jpg) #333333 no-repeat right bottom; = BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 100%; = FONT-SIZE: 12px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px } BODY { PADDING-BOTTOM: 0px; BORDER-RIGHT-WIDTH: 0px; MARGIN: 0px; = PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial; BACKGROUND: = url(../resources/emagbg1.jpg) #333333 no-repeat right bottom; = BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; HEIGHT: 100%; = FONT-SIZE: 12px; BORDER-LEFT-WIDTH: 0px; PADDING-TOP: 0px } #container { PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: 0px; WIDTH: 100%; = PADDING-RIGHT: 0px; HEIGHT: 100%; PADDING-TOP: 0px } #reader { PADDING-BOTTOM: 0px; MARGIN: 0px auto; PADDING-LEFT: 0px; WIDTH: 100%; = PADDING-RIGHT: 0px; FLOAT: left; HEIGHT: 90%; PADDING-TOP: 0px } #adPanel { BACKGROUND-COLOR: #222222; MARGIN: 0px auto; WIDTH: 11%; FLOAT: right; = HEIGHT: 100%; COLOR: #fff; OVERFLOW: hidden; PADDING-TOP: 10px } #footer { WIDTH: 100% } #footermain { MARGIN: 0px auto; WIDTH: 80%; COLOR: #d0cece } #leftSideLogo { PADDING-LEFT: 20px; FLOAT: left; PADDING-TOP: 5px } #rightSideLogo { PADDING-RIGHT: 20px; FLOAT: right; PADDING-TOP: 5px } #footermain .footerCol1 { WIDTH: 45%; FLOAT: left; MARGIN-RIGHT: 20px; BORDER-RIGHT: #353535 1px = solid } #footermain .footerCol2 { WIDTH: 20%; FLOAT: left; MARGIN-RIGHT: 20px; BORDER-RIGHT: #353535 1px = solid } #footermain .footerCol3 { WIDTH: 30%; FLOAT: left; HEIGHT: 100% } #footermain H1 { MARGIN-TOP: 15px; COLOR: #fff; FONT-SIZE: 24px; FONT-WEIGHT: normal } #footermain P { =09 } #footermain A { COLOR: #ffffff } ------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: text/css; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Location: http://brochures.discovertasmania.com/western_wilderness/css/lightwindow.css #lightwindow_overlay { Z-INDEX: 500; POSITION: absolute; WIDTH: 100%; DISPLAY: none; HEIGHT: = 100px; VISIBILITY: hidden; TOP: 0px; LEFT: 0px } #lightwindow { Z-INDEX: 999; POSITION: absolute; LINE-HEIGHT: 0px; DISPLAY: none; = VISIBILITY: hidden } #lightwindow_container { POSITION: absolute; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-LEFT: = 0px; PADDING-RIGHT: 0px; DISPLAY: none; VISIBILITY: hidden; PADDING-TOP: = 0px } * HTML #lightwindow_container { OVERFLOW: hidden } #lightwindow_contents { Z-INDEX: 0; BORDER-BOTTOM: #b9b9b9 5px solid; POSITION: relative; = BORDER-LEFT: #b9b9b9 5px solid; BACKGROUND-COLOR: #efefef; WIDTH: 500px; = OVERFLOW: hidden; BORDER-TOP: #b9b9b9 5px solid; BORDER-RIGHT: #b9b9b9 = 5px solid } #lightwindow_loading { Z-INDEX: 9999; POSITION: absolute; PADDING-BOTTOM: 10px; = BACKGROUND-COLOR: #f0f0f0; PADDING-LEFT: 10px; WIDTH: 100%; = PADDING-RIGHT: 10px; HEIGHT: 100%; TOP: 0px; PADDING-TOP: 10px; LEFT: = 0px } #lightwindow_loading_shim { POSITION: absolute; WIDTH: 100%; DISPLAY: none; HEIGHT: 100%; TOP: 0px; = LEFT: 0px } #lightwindow_loading SPAN { PADDING-BOTTOM: 0px; LINE-HEIGHT: 32px; PADDING-LEFT: 0px; = PADDING-RIGHT: 10px; FLOAT: left; COLOR: #444444; FONT-SIZE: 12px; = PADDING-TOP: 0px } #lightwindow_loading SPAN A { COLOR: #09f; CURSOR: pointer; TEXT-DECORATION: none } #lightwindow_loading SPAN A:link { COLOR: #09f; CURSOR: pointer; TEXT-DECORATION: none } #lightwindow_loading SPAN A:visited { COLOR: #09f; CURSOR: pointer; TEXT-DECORATION: none } #lightwindow_loading SPAN A:hover { TEXT-DECORATION: underline } #lightwindow_loading SPAN A:active { TEXT-DECORATION: underline } #lightwindow_loading IMG { MARGIN: 0px 10px 0px 0px; FLOAT: left } #lightwindow_navigation { POSITION: absolute; DISPLAY: none; TOP: 0px; LEFT: 0px } #lightwindow_navigation_shim { POSITION: absolute; WIDTH: 100%; DISPLAY: none; HEIGHT: 100%; TOP: 0px; = LEFT: 0px } #lightwindow_navigation A { OUTLINE-STYLE: none } #lightwindow_navigation A:link { OUTLINE-STYLE: none } #lightwindow_navigation A:visited { OUTLINE-STYLE: none } #lightwindow_navigation A:hover { OUTLINE-STYLE: none } #lightwindow_navigation A:active { OUTLINE-STYLE: none } #lightwindow_previous { WIDTH: 49%; DISPLAY: block; BACKGROUND: url(../images/blank.gif) = no-repeat; HEIGHT: 100% } #lightwindow_next { WIDTH: 49%; DISPLAY: block; BACKGROUND: url(../images/blank.gif) = no-repeat; HEIGHT: 100% } #lightwindow_previous { FLOAT: left; LEFT: 0px } #lightwindow_next { FLOAT: right; RIGHT: 0px } #lightwindow_previous:hover { BACKGROUND: url(../images/prevlabel.gif) no-repeat left 15% } #lightwindow_previous:active { BACKGROUND: url(../images/prevlabel.gif) no-repeat left 15% } #lightwindow_next:hover { BACKGROUND: url(../images/nextlabel.gif) no-repeat right 15% } #lightwindow_next:active { BACKGROUND: url(../images/nextlabel.gif) no-repeat right 15% } #lightwindow_previous_title { DISPLAY: none } #lightwindow_next_title { DISPLAY: none } #lightwindow_galleries { Z-INDEX: 50; POSITION: absolute; MARGIN: 0px 0px 0px 10px; WIDTH: 100%; = BOTTOM: 0px; DISPLAY: none; OVERFLOW: hidden; LEFT: 0px } #lightwindow_galleries_tab_container { WIDTH: 100%; HEIGHT: 0px; OVERFLOW: hidden } A#lightwindow_galleries_tab { LINE-HEIGHT: 22px; WIDTH: 77px; DISPLAY: block; BACKGROUND: = url(../images/black-70.png) 0px 0px; FLOAT: right; HEIGHT: 20px; COLOR: = #ffffbe; FONT-SIZE: 11px; CURSOR: pointer; FONT-WEIGHT: bold; = TEXT-DECORATION: none } A#lightwindow_galleries_tab:link { LINE-HEIGHT: 22px; WIDTH: 77px; DISPLAY: block; BACKGROUND: = url(../images/black-70.png) 0px 0px; FLOAT: right; HEIGHT: 20px; COLOR: = #ffffbe; FONT-SIZE: 11px; CURSOR: pointer; FONT-WEIGHT: bold; = TEXT-DECORATION: none } A#lightwindow_galleries_tab:visited { LINE-HEIGHT: 22px; WIDTH: 77px; DISPLAY: block; BACKGROUND: = url(../images/black-70.png) 0px 0px; FLOAT: right; HEIGHT: 20px; COLOR: = #ffffbe; FONT-SIZE: 11px; CURSOR: pointer; FONT-WEIGHT: bold; = TEXT-DECORATION: none } * HTML A#lightwindow_galleries_tab { FILTER: alpha(opacity=3D70); BACKGROUND: #000000; opacity: .70 } * HTML A#lightwindow_galleries_tab:link { FILTER: alpha(opacity=3D70); BACKGROUND: #000000; opacity: .70 } * HTML A#lightwindow_galleries_tab:visited { FILTER: alpha(opacity=3D70); BACKGROUND: #000000; opacity: .70 } A#lightwindow_galleries_tab:hover { COLOR: #ffffbe } A#lightwindow_galleries_tab:active { COLOR: #ffffbe } #lightwindow_galleries_tab_span { PADDING-BOTTOM: 0px; PADDING-LEFT: 7px; WIDTH: 63px; PADDING-RIGHT: = 7px; DISPLAY: block; HEIGHT: 20px; PADDING-TOP: 0px } #lightwindow_galleries_tab .up { BACKGROUND: url(../images/arrow-up.gif) no-repeat 60px 5px } #lightwindow_galleries_tab .down { BACKGROUND: url(../images/arrow-down.gif) no-repeat 60px 6px } #lightwindow_galleries_list { BACKGROUND: url(../images/black-70.png) 0px 0px; HEIGHT: 0px; OVERFLOW: = hidden } * HTML #lightwindow_galleries_list { FILTER: alpha(opacity=3D70); BACKGROUND: #000000; opacity: .70 } .lightwindow_galleries_list { PADDING-BOTTOM: 10px; MARGIN: 0px 0px 10px; PADDING-LEFT: 10px; WIDTH: = 200px; PADDING-RIGHT: 10px; FLOAT: left; PADDING-TOP: 10px } .lightwindow_galleries_list H1 { PADDING-BOTTOM: 5px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; COLOR: = #09f; FONT-SIZE: 16px; CURSOR: pointer; FONT-WEIGHT: bold; = TEXT-DECORATION: none; PADDING-TOP: 10px } .lightwindow_galleries_list LI { LIST-STYLE-TYPE: none; MARGIN: 5px 0px } .lightwindow_galleries_list A { PADDING-BOTTOM: 0px; LINE-HEIGHT: 22px; PADDING-LEFT: 10px; = PADDING-RIGHT: 0px; DISPLAY: block; COLOR: #ffffff; FONT-SIZE: 11px; = CURSOR: pointer; FONT-WEIGHT: bold; TEXT-DECORATION: none; PADDING-TOP: = 0px } .lightwindow_galleries_list A:link { PADDING-BOTTOM: 0px; LINE-HEIGHT: 22px; PADDING-LEFT: 10px; = PADDING-RIGHT: 0px; DISPLAY: block; COLOR: #ffffff; FONT-SIZE: 11px; = CURSOR: pointer; FONT-WEIGHT: bold; TEXT-DECORATION: none; PADDING-TOP: = 0px } .lightwindow_galleries_list A:visited { PADDING-BOTTOM: 0px; LINE-HEIGHT: 22px; PADDING-LEFT: 10px; = PADDING-RIGHT: 0px; DISPLAY: block; COLOR: #ffffff; FONT-SIZE: 11px; = CURSOR: pointer; FONT-WEIGHT: bold; TEXT-DECORATION: none; PADDING-TOP: = 0px } .lightwindow_galleries_list A:hover { BORDER-LEFT: #ffffbe 3px solid; PADDING-BOTTOM: 0px; PADDING-LEFT: 7px; = PADDING-RIGHT: 0px; BACKGROUND: #000000; COLOR: #ffffbe; PADDING-TOP: = 0px } .lightwindow_galleries_list A:active { BORDER-LEFT: #ffffbe 3px solid; PADDING-BOTTOM: 0px; PADDING-LEFT: 7px; = PADDING-RIGHT: 0px; BACKGROUND: #000000; COLOR: #ffffbe; PADDING-TOP: = 0px } #lightwindow_data { POSITION: absolute } #lightwindow_data_slide { POSITION: relative } #lightwindow_data_slide_inner { PADDING-BOTTOM: 10px; BACKGROUND-COLOR: #ffffff; PADDING-LEFT: 10px; = PADDING-RIGHT: 10px; PADDING-TOP: 0px } #lightwindow_data_caption { PADDING-BOTTOM: 0px; LINE-HEIGHT: 25px; BACKGROUND-COLOR: #ffffff; = PADDING-LEFT: 0px; PADDING-RIGHT: 0px; COLOR: #666666; CLEAR: both; = PADDING-TOP: 10px } #lightwindow_data_details { PADDING-BOTTOM: 0px; BACKGROUND-COLOR: #f0f0f0; PADDING-LEFT: 10px; = PADDING-RIGHT: 10px; HEIGHT: 20px; PADDING-TOP: 0px } #lightwindow_data_author_container { TEXT-ALIGN: right; LINE-HEIGHT: 20px; FONT-STYLE: italic; WIDTH: 40%; = FLOAT: right; COLOR: #666666; FONT-SIZE: 10px; OVERFLOW: hidden } #lightwindow_data_gallery_container { TEXT-ALIGN: left; LINE-HEIGHT: 20px; WIDTH: 40%; FLOAT: left; COLOR: = #666666; FONT-SIZE: 10px; OVERFLOW: hidden } #lightwindow_title_bar { HEIGHT: 25px; OVERFLOW: hidden } #lightwindow_title_bar_title { TEXT-ALIGN: left; LINE-HEIGHT: 25px; WIDTH: 250px; FLOAT: left; COLOR: = #ffffbe; FONT-SIZE: 14px } A#lightwindow_title_bar_close_link { TEXT-ALIGN: right; PADDING-BOTTOM: 0px; LINE-HEIGHT: 25px; MARGIN: 0px; = PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FLOAT: right; COLOR: #ffffbe; = CURSOR: pointer; PADDING-TOP: 0px } A#lightwindow_title_bar_close_link:link { TEXT-ALIGN: right; PADDING-BOTTOM: 0px; LINE-HEIGHT: 25px; MARGIN: 0px; = PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FLOAT: right; COLOR: #ffffbe; = CURSOR: pointer; PADDING-TOP: 0px } A#lightwindow_title_bar_close_link:visited { TEXT-ALIGN: right; PADDING-BOTTOM: 0px; LINE-HEIGHT: 25px; MARGIN: 0px; = PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FLOAT: right; COLOR: #ffffbe; = CURSOR: pointer; PADDING-TOP: 0px } A#lightwindow_title_bar_close_link:hover { COLOR: #ffffff } A#lightwindow_title_bar_close_link:active { COLOR: #ffffff } #lightwindow P { BACKGROUND-COLOR: #ffffff; PADDING-RIGHT: 10px; COLOR: #000000 } ------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://brochures.discovertasmania.com/western_wilderness/js/swfobject.js /* SWFObject v2.1 Copyright (c) 2007-2008 Geoff Stearns, Michael Williams, and Bobby van = der Sluis This software is released under the MIT License = */ var swfobject=3Dfunction(){var = b=3D"undefined",Q=3D"object",n=3D"Shockwave = Flash",p=3D"ShockwaveFlash.ShockwaveFlash",P=3D"application/x-shockwave-f= lash",m=3D"SWFObjectExprInst",j=3Dwindow,K=3Ddocument,T=3Dnavigator,o=3D[= ],N=3D[],i=3D[],d=3D[],J,Z=3Dnull,M=3Dnull,l=3Dnull,e=3Dfalse,A=3Dfalse;v= ar h=3Dfunction(){var v=3Dtypeof K.getElementById!=3Db&&typeof = K.getElementsByTagName!=3Db&&typeof = K.createElement!=3Db,AC=3D[0,0,0],x=3Dnull;if(typeof = T.plugins!=3Db&&typeof = T.plugins[n]=3D=3DQ){x=3DT.plugins[n].description;if(x&&!(typeof = T.mimeTypes!=3Db&&T.mimeTypes[P]&&!T.mimeTypes[P].enabledPlugin)){x=3Dx.r= eplace(/^.*\s+(\S+\s+\S+$)/,"$1");AC[0]=3DparseInt(x.replace(/^(.*)\..*$/= ,"$1"),10);AC[1]=3DparseInt(x.replace(/^.*\.(.*)\s.*$/,"$1"),10);AC[2]=3D= /r/.test(x)?parseInt(x.replace(/^.*r(.*)$/,"$1"),10):0}}else{if(typeof = j.ActiveXObject!=3Db){var y=3Dnull,AB=3Dfalse;try{y=3Dnew = ActiveXObject(p+".7")}catch(t){try{y=3Dnew = ActiveXObject(p+".6");AC=3D[6,0,21];y.AllowScriptAccess=3D"always"}catch(= t){if(AC[0]=3D=3D6){AB=3Dtrue}}if(!AB){try{y=3Dnew = ActiveXObject(p)}catch(t){}}}if(!AB&&y){try{x=3Dy.GetVariable("$version")= ;if(x){x=3Dx.split(" = ")[1].split(",");AC=3D[parseInt(x[0],10),parseInt(x[1],10),parseInt(x[2],= 10)]}}catch(t){}}}}var = AD=3DT.userAgent.toLowerCase(),r=3DT.platform.toLowerCase(),AA=3D/webkit/= .test(AD)?parseFloat(AD.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):fals= e,q=3Dfalse,z=3Dr?/win/.test(r):/win/.test(AD),w=3Dr?/mac/.test(r):/mac/.= test(AD);/*@cc_on = q=3Dtrue;@if(@_win32)z=3Dtrue;@elif(@_mac)w=3Dtrue;@end@*/return{w3cdom:v= ,pv:AC,webkit:AA,ie:q,win:z,mac:w}}();var = L=3Dfunction(){if(!h.w3cdom){return = }f(H);if(h.ie&&h.win){try{K.write("');=0A= },=0A= REQUIRED_PROTOTYPE: '1.5.1',=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_0000_01CBD806.CA81F8F0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://brochures.discovertasmania.com/western_wilderness/js/lightwindow.js // lightwindow.js v2.0 // // Copyright (c) 2007 stickmanlabs // Author: Kevin P Miller | http://www.stickmanlabs.com //=20 // LightWindow is freely distributable under the terms of an MIT-style = license. // // I don't care what you think about the file size... // Be a pro:=20 // = http://www.thinkvitamin.com/features/webapps/serving-javascript-fast // = http://rakaz.nl/item/make_your_pages_load_faster_by_combining_and_compres= sing_javascript_and_css_files // /*-----------------------------------------------------------------------= ------------------------*/ if(typeof Effect =3D=3D 'undefined') throw("lightwindow.js requires including script.aculo.us' effects.js = library!"); // This will stop image flickering in IE6 when elements with images are = moved try { document.execCommand("BackgroundImageCache", false, true); } catch(e) {} var lightwindow =3D Class.create();=09 lightwindow.prototype =3D { // // Setup Variables // element : null, contentToFetch : null, windowActive : false, dataEffects : [], dimensions : { cruft : null, container : null, viewport : { height : null, width : null, offsetTop : null, offsetLeft : null } }, pagePosition : { x : 0, y : 0 }, pageDimensions : { width : null, height : null }, preloadImage : [], preloadedImage : [], galleries : [], resizeTo : { height : null, heightPercent : null, width : null, widthPercent : null, fixedTop : null, fixedLeft : null }, scrollbarOffset : 18, navigationObservers : { previous : null, next : null }, containerChange : { height : 0, width : 0 }, activeGallery : false, galleryLocation : { current : 0, total : 0 }, // // Initialize the lightwindow. // initialize : function(options) { this.options =3D Object.extend({ resizeSpeed : 8, contentOffset : { height : 20, width : 20 }, dimensions : { image : {height : 250, width : 250}, page : {height : 250, width : 250}, inline : {height : 250, width : 250}, media : {height : 250, width : 250}, external : {height : 250, width : 250}, titleHeight : 25 }, classNames : {=09 standard : 'lightwindow', action : 'lightwindow_action' }, fileTypes : { page : ['asp', 'aspx', 'cgi', 'cfm', 'htm', 'html', 'pl', 'php4', = 'php3', 'php', 'php5', 'phtml', 'rhtml', 'shtml', 'txt', 'vbs', 'rb'], media : ['aif', 'aiff', 'asf', 'avi', 'divx', 'm1v', 'm2a', 'm2v', = 'm3u', 'mid', 'midi', 'mov', 'moov', 'movie', 'mp2', 'mp3', 'mpa', = 'mpa', 'mpe', 'mpeg', 'mpg', 'mpg', 'mpga', 'pps', 'qt', 'rm', 'ram', = 'swf', 'viv', 'vivo', 'wav'], image : ['bmp', 'gif', 'jpg', 'png', 'tiff'] }, mimeTypes : { avi : 'video/avi', aif : 'audio/aiff', aiff : 'audio/aiff', gif : 'image/gif', bmp : 'image/bmp', jpeg : 'image/jpeg', m1v : 'video/mpeg', m2a : 'audio/mpeg', m2v : 'video/mpeg', m3u : 'audio/x-mpequrl', mid : 'audio/x-midi', midi : 'audio/x-midi', mjpg : 'video/x-motion-jpeg', moov : 'video/quicktime', mov : 'video/quicktime', movie : 'video/x-sgi-movie', mp2 : 'audio/mpeg', mp3 : 'audio/mpeg3', mpa : 'audio/mpeg', mpa : 'video/mpeg', mpe : 'video/mpeg', mpeg : 'video/mpeg', mpg : 'audio/mpeg', mpg : 'video/mpeg', mpga : 'audio/mpeg', pdf : 'application/pdf', png : 'image/png', pps : 'application/mspowerpoint', qt : 'video/quicktime', ram : 'audio/x-pn-realaudio-plugin', rm : 'application/vnd.rn-realmedia', swf : 'application/x-shockwave-flash', tiff : 'image/tiff', viv : 'video/vivo', vivo : 'video/vivo', wav : 'audio/wav', wmv : 'application/x-mplayer2' =09 },=09 classids : { mov : 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', swf : 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000', wmv : 'clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6' }, codebases : { mov : = 'http://www.apple.com/qtactivex/qtplugin.cab#version=3D6,0,2,0', swf : = 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve= rsion=3D7,0,0,0', wmv : = 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Ve= rsion=3D6,4,5,715' },=09 viewportPadding : 10, EOLASFix : 'swf,wmv,fla,flv', overlay : { opacity : 0.7, image : 'images/black.png', presetImage : 'images/black-70.png' }, skin : { main : '
'+ '
'+ '
'+ ''+ 'close'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ ''+ ''+ ''+ ''+ ''+ ''+ ''+ '
'+ =09 '
'+ ''+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ ''+ '
'+ 'by '+ '
'+ '
'+ '
'+ '
'+ '
'+ '
'+ '
',=09 loading : '
'+ '3D"loading"'+ 'Loading or Cancel'+ ''+ '
', iframe : ''+ ''+ ''+ '{body_replace}'+ ''+ '', gallery : { top : '
'+ '

{gallery_title_replace}

'+ '
    ', middle : '
  • '+ '{gallery_link_replace}'+ '
  • ', bottom : '
'+ '
' } }, formMethod : 'get', hideFlash : false, hideGalleryTab : false, showTitleBar : true, animationHandler : false, navigationHandler : false, transitionHandler : false, finalAnimationHandler : false, formHandler : false, galleryAnimationHandler : false, showGalleryCount : true }, options || {}); this.duration =3D ((11-this.options.resizeSpeed)*0.15); this._setupLinks(); //this._getScroll(); this._getPageDimensions(); this._browserDimensions(); this._addLightWindowMarkup(false); this._setupDimensions();=20 this.buildGalleryList(); }, // // Activate the lightwindow. // activate : function(e, link){ =09 // Clear out the window Contents this._clearWindowContents(true); =09 // Add back in out loading panel this._addLoadingWindowMarkup(); // Setup the element properties this._setupWindowElements(link); =09 // Setup everything //this._getScroll(); this._browserDimensions(); this._setupDimensions(); this._toggleTroubleElements('hidden', false); this._displayLightWindow('block', 'hidden'); this._setStatus(true); this._monitorKeyboard(true); this._prepareIE(true); this._loadWindow(); }, // // Turn off the window // deactivate : function(){ // The window is not active this.windowActive =3D false; =09 // There is no longer a gallery active this.activeGallery =3D false; if (!this.options.hideGalleryTab) { this._handleGalleryAnimation(false); } =09 // Kill the animation this.animating =3D false; =09 // Clear our element this.element =3D null; =09 // hide the window. this._displayLightWindow('none', 'visible'); =09 // Clear out the window Contents this._clearWindowContents(false); =09 // Stop all animation var queue =3D = Effect.Queues.get('lightwindowAnimation').each(function(e){e.cancel();});= =09 // Undo the setup this._prepareIE(false); this._setupDimensions(); this._toggleTroubleElements('visible', false);=09 this._monitorKeyboard(false);=09 }, // // Initialize specific window // createWindow : function(element, attributes) { this._processLink($(element)); }, // // Open a Window from a hash of attributes // =09 =09 archiveSearch:function(options) { alert(options); // this.element =3D Object.extend({ // href : "archivesSearch.aspx?keyword=3D"+options, // =09 // title : '', // author : null, // caption : null, // rel : null, // top : null, // left : null, // type : null, // showImages : null, // height : null, // width : null, // loadingAnimation : null, // iframeEmbed : null, // form : null // }, options || {}); // =09 // // Set the window type // this.contentToFetch =3D this.element.href; // this.windowType =3D this.element.type ? this.element.type : = this._fileType(this.element.href);=09 // =09 // // Clear out the window Contents // this._clearWindowContents(true); // =09 // // Add back in out loading panel // this._addLoadingWindowMarkup(); // =09 // // Setup everything // this._getScroll(); // this._browserDimensions(); // this._setupDimensions(); // this._toggleTroubleElements('hidden', false); // this._displayLightWindow('block', 'hidden'); // this._setStatus(true); // this._monitorKeyboard(true); // this._prepareIE(true); // this._loadWindow(); activateWindow(options); }, =09 =09 =09 activateWindow : function(options) { this.element =3D Object.extend({ href : "ArchiveSearch.aspx?keyword=3D"+options, =09 title :'SearchResults for '+ options, author : null, caption : null, rel : null, type : null, bgcolor:'#ededed', showImages : null, height : '350px', width : '400px', loadingAnimation : null, iframeEmbed : null, form : null }, options || {}); =09 // Set the window type this.contentToFetch =3D this.element.href; this.windowType =3D this.element.type ? this.element.type : = this._fileType(this.element.href);=09 =09 // Clear out the window Contents this._clearWindowContents(true); =09 // Add back in out loading panel this._addLoadingWindowMarkup(); =09 // Setup everything // this._getScroll(); // this._browserDimensions(); // this._setupDimensions(); this._toggleTroubleElements('hidden', false); this._displayLightWindow('block', 'hidden'); this._setStatus(true); this._monitorKeyboard(true); this._prepareIE(true); this._loadWindow(); }, // // Fire off our Form handler // submitForm : function(e) { if (this.options.formHandler) { this.options.formHandler(e); } else { this._defaultFormHandler(e); } }, // // Reload the window with another location // openWindow : function(element) { var element =3D $(element); // The window is active this.windowActive =3D true; =09 // Clear out the window Contents this._clearWindowContents(true); =09 // Add back in out loading panel this._addLoadingWindowMarkup(); =09 // Setup the element properties this._setupWindowElements(element); this._setStatus(true); this._handleTransition(); }, // // Navigate the window // navigateWindow : function(direction) { this._handleNavigation(false); if (direction =3D=3D 'previous') { this.openWindow(this.navigationObservers.previous); } else if (direction =3D=3D 'next'){=20 this.openWindow(this.navigationObservers.next); } }, // // Build the Gallery List and Load it // buildGalleryList : function() { var output =3D ''; var galleryLink; for (i in this.galleries) { if (typeof this.galleries[i] =3D=3D 'object') { output +=3D = (this.options.skin.gallery.top).replace('{gallery_title_replace}', = unescape(i)); for (j in this.galleries[i]) { if (typeof this.galleries[i][j] =3D=3D 'object') { =09 galleryLink =3D ''+unescape(j)+''; output +=3D = (this.options.skin.gallery.middle).replace('{gallery_link_replace}', = galleryLink); } } output +=3D this.options.skin.gallery.bottom; } } new Insertion.Top('lightwindow_galleries_list', output); =09 // Attach Events for (i in this.galleries) { if (typeof this.galleries[i] =3D=3D 'object') { for (j in this.galleries[i]) { if (typeof this.galleries[i][j] =3D=3D 'object') { Event.observe($('lightwindow_gallery_'+i+'_'+j), 'click', = this.openWindow.bind(this, this.galleries[i][j][0]), false); $('lightwindow_gallery_'+i+'_'+j).onclick =3D function() {return = false;};=09 } } } } }, //=20 // Set Links Up // _setupLinks : function() { var links =3D $$('.'+this.options.classNames.standard); links.each(function(link) { this._processLink(link); }.bind(this));=09 }, // // Process a Link // _processLink : function(link) { if ((this._fileType(link.getAttribute('href')) =3D=3D 'image' || = this._fileType(link.getAttribute('href')) =3D=3D 'media')) { if (gallery =3D this._getGalleryInfo(link.rel)) { if (!this.galleries[gallery[0]]) { this.galleries[gallery[0]] =3D new Array(); } if (!this.galleries[gallery[0]][gallery[1]]) { this.galleries[gallery[0]][gallery[1]] =3D new Array(); } this.galleries[gallery[0]][gallery[1]].push(link); } } =09 // Take care of our inline content var url =3D link.getAttribute('href'); if (url.indexOf('?') > -1) { url =3D url.substring(0, url.indexOf('?')); } =09 var container =3D url.substring(url.indexOf('#')+1); if($(container)) { $(container).setStyle({ display : 'none' }); } =09 Event.observe(link, 'click', this.activate.bindAsEventListener(this, = link), false); link.onclick =3D function() {return false;}; =09 }, // // Setup our actions // _setupActions : function() { var links =3D $$('#lightwindow_container = .'+this.options.classNames.action); links.each(function(link) { Event.observe(link, 'click', = this[link.getAttribute('rel')].bindAsEventListener(this, link), false); link.onclick =3D function() {return false;}; }.bind(this)); }, // // Add the markup to the page. // _addLightWindowMarkup : function(rebuild) { var overlay =3D Element.extend(document.createElement('div')); overlay.setAttribute('id', 'lightwindow_overlay'); =09 // FF Mac has a problem with putting Flash above a layer without a = 100% opacity background, so we need to use a pre-made if (Prototype.Browser.Gecko) { overlay.setStyle({ backgroundImage: 'url('+this.options.overlay.presetImage+')', backgroundRepeat: 'repeat', height: this.pageDimensions.height+'px' }); =09 } else { overlay.setStyle({ opacity: this.options.overlay.opacity, backgroundImage: 'url('+this.options.overlay.image+')', backgroundRepeat: 'repeat', height: this.pageDimensions.height+'px' }); } =09 var lw =3D document.createElement('div'); lw.setAttribute('id', 'lightwindow'); lw.innerHTML =3D this.options.skin.main; =09 var body =3D document.getElementsByTagName('body')[0]; body.appendChild(overlay); body.appendChild(lw);=09 =09 if ($('lightwindow_title_bar_close_link')) { Event.observe('lightwindow_title_bar_close_link', 'click', = this.deactivate.bindAsEventListener(this)); $('lightwindow_title_bar_close_link').onclick =3D function() {return = false;}; } =09 Event.observe($('lightwindow_previous'), 'click', = this.navigateWindow.bind(this, 'previous'), false); $('lightwindow_previous').onclick =3D function() {return false;}; =09 Event.observe($('lightwindow_next'), 'click', = this.navigateWindow.bind(this, 'next'), false); $('lightwindow_next').onclick =3D function() {return false;}; if (!this.options.hideGalleryTab) { Event.observe($('lightwindow_galleries_tab'), 'click', = this._handleGalleryAnimation.bind(this, true), false); $('lightwindow_galleries_tab').onclick =3D function() {return = false;}; } =09 // Because we use position absolute, kill the scroll Wheel on = animations if (Prototype.Browser.IE) { Event.observe(document, 'mousewheel', = this._stopScrolling.bindAsEventListener(this), false); } else { Event.observe(window, 'DOMMouseScroll', = this._stopScrolling.bindAsEventListener(this), false); } =09 Event.observe(overlay, 'click', = this.deactivate.bindAsEventListener(this), false); overlay.onclick =3D function() {return false;}; }, // // Add loading window markup // _addLoadingWindowMarkup : function() { $('lightwindow_contents').innerHTML +=3D this.options.skin.loading; }, // // Setup the window elements // _setupWindowElements : function(link) { this.element =3D link; this.element.title =3D null ? '' : link.getAttribute('title'); this.element.author =3D null ? '' : link.getAttribute('author'); this.element.caption =3D null ? '' : link.getAttribute('caption'); this.element.rel =3D null ? '' : link.getAttribute('rel'); this.element.params =3D null ? '' : link.getAttribute('params'); // Set the window type this.contentToFetch =3D this.element.href; this.windowType =3D this._getParameter('lightwindow_type') ? = this._getParameter('lightwindow_type') : = this._fileType(this.contentToFetch);=09 }, // // Clear the window contents out // _clearWindowContents : function(contents) { // If there is an iframe, its got to go if ($('lightwindow_iframe')) { Element.remove($('lightwindow_iframe')); } // Stop playing an object if its still around if ($('lightwindow_media_primary')) { try { $('lightwindow_media_primary').Stop(); } catch(e) {} Element.remove($('lightwindow_media_primary')); } // Stop playing an object if its still around =09 if ($('lightwindow_media_secondary')) { try { $('lightwindow_media_secondary').Stop(); } catch(e) {} Element.remove($('lightwindow_media_secondary')); } =09 this.activeGallery =3D false; this._handleNavigation(this.activeGallery); =09 if (contents) { // Empty the contents $('lightwindow_contents').innerHTML =3D ''; =09 // Reset the scroll bars $('lightwindow_contents').setStyle({ overflow: 'hidden' }); =09 =09 if (!this.windowActive) { $('lightwindow_data_slide_inner').setStyle({ display: 'none' }); $('lightwindow_title_bar_title').innerHTML =3D ''; } // Because of browser differences and to maintain flexible captions = we need to reset this height at close $('lightwindow_data_slide').setStyle({ height: 'auto' }); } =09 this.resizeTo.height =3D null; this.resizeTo.width =3D null; }, // // Set the status of our animation to keep things from getting clunky // _setStatus : function(status) { this.animating =3D status; if (status) { Element.show('lightwindow_loading'); } if (!(/MSIE 6./i.test(navigator.userAgent))) { this._fixedWindow(status); } }, // // Make this window Fixed // _fixedWindow : function(status) { if (status) { if (this.windowActive) { this._getScroll(); $('lightwindow').setStyle({ position: 'absolute', top: = parseFloat($('lightwindow').getStyle('top'))+this.pagePosition.y+'px', left: = parseFloat($('lightwindow').getStyle('left'))+this.pagePosition.x+'px' }); =09 } else { $('lightwindow').setStyle({ position: 'absolute' }); =09 } } else { if (this.windowActive) { this._getScroll(); $('lightwindow').setStyle({ position: 'fixed', top: = parseFloat($('lightwindow').getStyle('top'))-this.pagePosition.y+'px', left: = parseFloat($('lightwindow').getStyle('left'))-this.pagePosition.x+'px' }); =09 } else { if ($('lightwindow_iframe')) { // Ideally here we would set a 50% value for top and left, but = Safari rears it ugly head again and we need to do it by pixels this._browserDimensions(); } $('lightwindow').setStyle({ position: 'fixed', top: (parseFloat(this._getParameter('lightwindow_top')) ? = parseFloat(this._getParameter('lightwindow_top'))+'px' : = this.dimensions.viewport.height/2+'px'), left: (parseFloat(this._getParameter('lightwindow_left')) ? = parseFloat(this._getParameter('lightwindow_left'))+'px' : = this.dimensions.viewport.width/2+'px') }); } } }, // // Prepare the window for IE. // _prepareIE : function(setup) { if (Prototype.Browser.IE) { var height, overflowX, overflowY; if (setup) {=20 var height =3D '100%'; } else { var height =3D 'auto'; } var body =3D document.getElementsByTagName('body')[0]; var html =3D document.getElementsByTagName('html')[0]; html.style.height =3D body.style.height =3D height; } }, _stopScrolling : function(e) { if (this.animating) { if (e.preventDefault) { e.preventDefault(); } e.returnValue =3D false; =09 } }, // // Get the scroll for the page. // _getScroll : function(){ if(typeof(window.pageYOffset) =3D=3D 'number') { this.pagePosition.x =3D window.pageXOffset; this.pagePosition.y =3D window.pageYOffset; } else if(document.body && (document.body.scrollLeft || = document.body.scrollTop)) { this.pagePosition.x =3D document.body.scrollLeft; this.pagePosition.y =3D document.body.scrollTop; } else if(document.documentElement) { this.pagePosition.x =3D document.documentElement.scrollLeft; this.pagePosition.y =3D document.documentElement.scrollTop; } }, // // Reset the scroll. // _setScroll : function(x, y) { document.documentElement.scrollLeft =3D x;=20 document.documentElement.scrollTop =3D y;=20 }, // // Hide Selects from the page because of IE. // We could use iframe shims instead here but why add all the extra = markup for one browser when this is much easier and cleaner // _toggleTroubleElements : function(visibility, content){ =09 if (content) { var selects =3D = $('lightwindow_contents').getElementsByTagName('select'); } else { var selects =3D document.getElementsByTagName('select'); } =09 for(var i =3D 0; i < selects.length; i++) { selects[i].style.visibility =3D visibility; } =09 if (!content) { if (this.options.hideFlash){ var objects =3D document.getElementsByTagName('object'); for (i =3D 0; i !=3D objects.length; i++) { objects[i].style.visibility =3D visibility; } var embeds =3D document.getElementsByTagName('embed'); for (i =3D 0; i !=3D embeds.length; i++) { embeds[i].style.visibility =3D visibility; } } var iframes =3D document.getElementsByTagName('iframe'); for (i =3D 0; i !=3D iframes.length; i++) { iframes[i].style.visibility =3D visibility; } } }, //=20 // Get the actual page size // _getPageDimensions : function() { var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) {=09 xScroll =3D document.body.scrollWidth; yScroll =3D window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight){=20 xScroll =3D document.body.scrollWidth; yScroll =3D document.body.scrollHeight; } else {=20 xScroll =3D document.body.offsetWidth; yScroll =3D document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) {=09 windowWidth =3D self.innerWidth; windowHeight =3D self.innerHeight; } else if (document.documentElement && = document.documentElement.clientHeight) {=20 windowWidth =3D document.documentElement.clientWidth; windowHeight =3D document.documentElement.clientHeight; } else if (document.body) {=20 windowWidth =3D document.body.clientWidth; windowHeight =3D document.body.clientHeight; }=09 if(yScroll < windowHeight){ this.pageDimensions.height =3D windowHeight; } else {=20 this.pageDimensions.height =3D yScroll; } if(xScroll < windowWidth){=09 this.pageDimensions.width =3D windowWidth; } else { this.pageDimensions.width =3D xScroll; } }, // // Display the lightWindow. // _displayLightWindow : function(display, visibility) { $('lightwindow_overlay').style.display =3D = $('lightwindow').style.display =3D = $('lightwindow_container').style.display =3D display;=09 $('lightwindow_overlay').style.visibility =3D = $('lightwindow').style.visibility =3D = $('lightwindow_container').style.visibility =3D visibility; }, // // Setup Dimensions of lightwindow. // _setupDimensions : function() { var originalHeight, originalWidth; switch (this.windowType) { case 'page' : originalHeight =3D this.options.dimensions.page.height; originalWidth =3D this.options.dimensions.page.width; break; case 'image' : originalHeight =3D this.options.dimensions.image.height; originalWidth =3D this.options.dimensions.image.width; break; =09 case 'media' : originalHeight =3D this.options.dimensions.media.height; originalWidth =3D this.options.dimensions.media.width; break; =09 case 'external' :=20 originalHeight =3D this.options.dimensions.external.height; originalWidth =3D this.options.dimensions.external.width; break; =09 case 'inline' : originalHeight =3D this.options.dimensions.inline.height; originalWidth =3D this.options.dimensions.inline.width; break; =09 default : originalHeight =3D this.options.dimensions.page.height; originalWidth =3D this.options.dimensions.page.width; break; =09 } var offsetHeight =3D this._getParameter('lightwindow_top') ? = parseFloat(this._getParameter('lightwindow_top'))+this.pagePosition.y : = this.dimensions.viewport.height/2+this.pagePosition.y; var offsetWidth =3D this._getParameter('lightwindow_left') ? = parseFloat(this._getParameter('lightwindow_left'))+this.pagePosition.x : = this.dimensions.viewport.width/2+this.pagePosition.x; =09 // So if a theme has say shadowed edges, they should be consistant and = take care of in the contentOffset $('lightwindow').setStyle({ top: offsetHeight+'px', left: offsetWidth+'px' }); =09 $('lightwindow_container').setStyle({ height: originalHeight+'px', /*width: originalWidth+'px',*/width:'600px', left: -(originalWidth/2)+'px', top: -(originalHeight/2)+'px' }); $('lightwindow_contents').setStyle({ height: originalHeight+'px', width:'600px' /*width: originalWidth+'px'*/ }); }, // // Get the type of file. // _fileType : function(url) { var image =3D new = RegExp("[^\.]\.("+this.options.fileTypes.image.join('|')+")\s*$", "i"); if (image.test(url)) return 'image'; if (url.indexOf('#') > -1 && (document.domain =3D=3D = this._getDomain(url))) return 'inline'; =09 if (url.indexOf('?') > -1) url =3D url.substring(0, url.indexOf('?')); var type =3D 'unknown'; var page =3D new = RegExp("[^\.]\.("+this.options.fileTypes.page.join('|')+")\s*$", "i"); var media =3D new = RegExp("[^\.]\.("+this.options.fileTypes.media.join('|')+")\s*$", "i"); if (document.domain !=3D this._getDomain(url)) type =3D 'external'; if (media.test(url)) type =3D 'media'; if (type =3D=3D 'external' || type =3D=3D 'media') return type; if (page.test(url) || url.substr((url.length-1), url.length) =3D=3D = '/') type =3D 'page'; return type; }, // // Get file Extension // _fileExtension : function(url) { if (url.indexOf('?') > -1) { url =3D url.substring(0, url.indexOf('?')); } var extenstion =3D ''; for (var x =3D (url.length-1); x > -1; x--) { if (url.charAt(x) =3D=3D '.') { return extenstion; } extenstion =3D url.charAt(x)+extenstion; } }, // // Monitor the keyboard while this lightwindow is up // _monitorKeyboard : function(status) { if (status) document.onkeydown =3D this._eventKeypress.bind(this);=20 else document.onkeydown =3D ''; }, // // Perform keyboard actions // _eventKeypress : function(e) { if (e =3D=3D null) { var keycode =3D event.keyCode; } else { var keycode =3D e.which; } =09 switch (keycode) {=20 case 27:=20 this.deactivate();=20 break; =09 case 13: return; =09 default: break; } =09 // Gotta stop those quick fingers if (this.animating) { return false; } =09 switch (String.fromCharCode(keycode).toLowerCase()) { case 'p': if (this.navigationObservers.previous) { this.navigateWindow('previous'); } break; =09 case 'n': if (this.navigationObservers.next) { this.navigateWindow('next'); } break; =09 default: break; } }, // // Get Gallery Information // _getGalleryInfo : function(rel) { if (!rel) return false; if (rel.indexOf('[') > -1) { return new Array(escape(rel.substring(0, rel.indexOf('['))), = escape(rel.substring(rel.indexOf('[')+1, rel.indexOf(']')))); } else { return false; } }, // // Get the domain from a string. // _getDomain : function(url) { =20 var leadSlashes =3D url.indexOf('//'); var domainStart =3D leadSlashes+2; var withoutResource =3D url.substring(domainStart, url.length); var nextSlash =3D withoutResource.indexOf('/'); var domain =3D withoutResource.substring(0, nextSlash); if (domain.indexOf(':') > -1){ var portColon =3D domain.indexOf(':'); domain =3D domain.substring(0, portColon); } return domain; }, // // Get the value from the params attribute string. // _getParameter : function(parameter, parameters) { if (!this.element) return false; if (parameter =3D=3D 'lightwindow_top' && this.element.top) { return unescape(this.element.top); } else if (parameter =3D=3D 'lightwindow_left' && this.element.left) { return unescape(this.element.left); } else if (parameter =3D=3D 'lightwindow_type' && this.element.type) { return unescape(this.element.type); } else if (parameter =3D=3D 'lightwindow_show_images' && = this.element.showImages) { return unescape(this.element.showImages); } else if (parameter =3D=3D 'lightwindow_height' && = this.element.height) { return unescape(this.element.height); } else if (parameter =3D=3D 'lightwindow_width' && this.element.width) = { return unescape(this.element.width); } else if (parameter =3D=3D 'lightwindow_loading_animation' && = this.element.loadingAnimation) { return unescape(this.element.loadingAnimation); } else if (parameter =3D=3D 'lightwindow_iframe_embed' && = this.element.iframeEmbed) { return unescape(this.element.iframeEmbed); } else if (parameter =3D=3D 'lightwindow_form' && this.element.form) { return unescape(this.element.form); } else { if (!parameters) { if (this.element.params) parameters =3D this.element.params; else return; } var value; var parameterArray =3D parameters.split(','); var compareString =3D parameter+'=3D'; var compareLength =3D compareString.length; for (var i =3D 0; i < parameterArray.length; i++) { if (parameterArray[i].substr(0, compareLength) =3D=3D compareString) = { var currentParameter =3D parameterArray[i].split('=3D'); value =3D currentParameter[1]; break; } } if (!value) return false; else return unescape(value); } }, // // Get the Browser Viewport Dimensions // _browserDimensions : function() { if (Prototype.Browser.IE) { this.dimensions.viewport.height =3D = document.documentElement.clientHeight; this.dimensions.viewport.width =3D = document.documentElement.clientWidth; =20 } else { this.dimensions.viewport.height =3D window.innerHeight; this.dimensions.viewport.width =3D document.width || = document.body.offsetWidth; } }, // // Get the scrollbar offset, I don't like this method but there is = really no other way I can find. // _getScrollerWidth : function() { var scrollDiv =3D Element.extend(document.createElement('div')); scrollDiv.setAttribute('id', 'lightwindow_scroll_div'); scrollDiv.setStyle({ position: 'absolute', top: '-10000px', left: '-10000px', width: '0px', height: '0px', overflow: 'hidden' }); var contentDiv =3D Element.extend(document.createElement('div')); contentDiv.setAttribute('id', 'lightwindow_content_scroll_div'); contentDiv.setStyle({ width: '100%', height: '200px' }); scrollDiv.appendChild(contentDiv); var body =3D document.getElementsByTagName('body')[0]; body.appendChild(scrollDiv); var noScroll =3D $('lightwindow_content_scroll_div').offsetWidth; scrollDiv.style.overflow =3D 'auto'; var withScroll =3D $('lightwindow_content_scroll_div').offsetWidth; Element.remove($('lightwindow_scroll_div')); this.scrollbarOffset =3D noScroll-withScroll; }, =09 // // Add a param to an object dynamically created // _addParamToObject : function(name, value, object, id) { var param =3D document.createElement('param'); param.setAttribute('value', value); param.setAttribute('name', name); if (id) { param.setAttribute('id', id); } object.appendChild(param); return object; }, // // Get the outer HTML of an object CROSS BROWSER // _outerHTML : function(object) { if (Prototype.Browser.IE) { return object.outerHTML; } else { var clone =3D object.cloneNode(true); var cloneDiv =3D document.createElement('div'); cloneDiv.appendChild(clone); return cloneDiv.innerHTML; } }, // // Convert an object to markup // _convertToMarkup : function(object, closeTag) { var markup =3D this._outerHTML(object).replace('', ''); if (Prototype.Browser.IE) { for (var i =3D 0; i < object.childNodes.length; i++){ markup +=3D this._outerHTML(object.childNodes[i]); } markup +=3D ''; } return markup; }, // // Depending what type of browser it is we have to append the object = differently... DAMN YOU IE!! // _appendObject : function(object, closeTag, appendTo) { if (Prototype.Browser.IE) { appendTo.innerHTML +=3D this._convertToMarkup(object, closeTag); =09 // Fix the Eolas activate thing but only for specified media, for = example doing this to a quicktime film breaks it. if (this.options.EOLASFix.indexOf(this._fileType(this.element.href)) = > -1) { var objectElements =3D document.getElementsByTagName('object'); for (var i =3D 0; i < objectElements.length; i++) { if (objectElements[i].getAttribute("data")) = objectElements[i].removeAttribute('data'); objectElements[i].outerHTML =3D objectElements[i].outerHTML; objectElements[i].style.visibility =3D "visible"; } } } else { appendTo.appendChild(object);=09 }=09 }, // // Add in iframe // _appendIframe : function(scroll) { var iframe =3D document.createElement('iframe'); iframe.setAttribute('id', 'lightwindow_iframe'); iframe.setAttribute('name', 'lightwindow_iframe'); iframe.setAttribute('src', 'about:blank'); iframe.setAttribute('height', '100%'); iframe.setAttribute('width', '600px'); iframe.setAttribute('frameborder', '0'); iframe.setAttribute('marginwidth', '0'); iframe.setAttribute('marginheight', '0'); iframe.setAttribute('scrolling', 'no');=09 =09 this._appendObject(iframe, 'iframe', $('lightwindow_contents')); }, // // Write Content to the iframe using the skin // _writeToIframe : function(content) { var template =3D this.options.skin.iframe; template =3D template.replace('{body_replace}', content);=20 if ($('lightwindow_iframe').contentWindow){ $('lightwindow_iframe').contentWindow.document.open(); $('lightwindow_iframe').contentWindow.document.write(template); $('lightwindow_iframe').contentWindow.document.close(); } else { $('lightwindow_iframe').contentDocument.open(); $('lightwindow_iframe').contentDocument.write(template); $('lightwindow_iframe').contentDocument.close(); } }, // // Load the window Information // =20 _loadWindow : function() { switch (this.windowType) { case 'image' : var current =3D 0; var images =3D []; this.checkImage =3D []; this.resizeTo.height =3D this.resizeTo.width =3D 0; this.imageCount =3D this._getParameter('lightwindow_show_images') ? = parseInt(this._getParameter('lightwindow_show_images')) : 1; // If there is a gallery get it if (gallery =3D this._getGalleryInfo(this.element.rel)) {=09 for (current =3D 0; current < = this.galleries[gallery[0]][gallery[1]].length; current++) { if = (this.contentToFetch.indexOf(this.galleries[gallery[0]][gallery[1]][curre= nt].href) > -1) { break; } } if = (this.galleries[gallery[0]][gallery[1]][current-this.imageCount]) { this.navigationObservers.previous =3D = this.galleries[gallery[0]][gallery[1]][current-this.imageCount]; } else { this.navigationObservers.previous =3D false; } if = (this.galleries[gallery[0]][gallery[1]][current+this.imageCount]) { this.navigationObservers.next =3D = this.galleries[gallery[0]][gallery[1]][current+this.imageCount]; } else { this.navigationObservers.next =3D false; } =09 this.activeGallery =3D true; } else { this.navigationObservers.previous =3D false; this.navigationObservers.next =3D false; =09 this.activeGallery =3D false; } =09 for (var i =3D current; i < (current+this.imageCount); i++) { =09 if (gallery && this.galleries[gallery[0]][gallery[1]][i]) { this.contentToFetch =3D = this.galleries[gallery[0]][gallery[1]][i].href; =09 this.galleryLocation =3D {current: (i+1)/this.imageCount, total: = (this.galleries[gallery[0]][gallery[1]].length)/this.imageCount}; =09 if (!this.galleries[gallery[0]][gallery[1]][i+this.imageCount]) { $('lightwindow_next').setStyle({ display: 'none' }); } else { $('lightwindow_next').setStyle({ display: 'block' }); $('lightwindow_next_title').innerHTML =3D = this.galleries[gallery[0]][gallery[1]][i+this.imageCount].title; } =09 if (!this.galleries[gallery[0]][gallery[1]][i-this.imageCount]) { $('lightwindow_previous').setStyle({ display: 'none' }); } else { $('lightwindow_previous').setStyle({ display: 'block' }); $('lightwindow_previous_title').innerHTML =3D = this.galleries[gallery[0]][gallery[1]][i-this.imageCount].title; } } images[i] =3D document.createElement('img'); images[i].setAttribute('id', 'lightwindow_image_'+i); images[i].setAttribute('border', '0'); images[i].setAttribute('src', this.contentToFetch); $('lightwindow_contents').appendChild(images[i]); // We have to do this instead of .onload=20 this.checkImage[i] =3D new PeriodicalExecuter(function(i) { if (!(typeof $('lightwindow_image_'+i).naturalWidth !=3D = "undefined" && $('lightwindow_image_'+i).naturalWidth =3D=3D 0)) { =09 this.checkImage[i].stop(); =09 var imageHeight =3D $('lightwindow_image_'+i).getHeight(); if (imageHeight > this.resizeTo.height) { this.resizeTo.height =3D imageHeight; } this.resizeTo.width +=3D $('lightwindow_image_'+i).getWidth(); this.imageCount--; =09 $('lightwindow_image_'+i).setStyle({ height: '100%' }); =09 if (this.imageCount =3D=3D 0) { this._processWindow(); } } =09 }.bind(this, i), 1); =09 } break; =09 case 'media' : =09 =09 var current =3D 0; this.resizeTo.height =3D this.resizeTo.width =3D 0; // If there is a gallery get it if (gallery =3D this._getGalleryInfo(this.element.rel)) {=09 for (current =3D 0; current < = this.galleries[gallery[0]][gallery[1]].length; current++) { if = (this.contentToFetch.indexOf(this.galleries[gallery[0]][gallery[1]][curre= nt].href) > -1) { break; } } =09 if (this.galleries[gallery[0]][gallery[1]][current-1]) { this.navigationObservers.previous =3D = this.galleries[gallery[0]][gallery[1]][current-1]; } else { this.navigationObservers.previous =3D false; } if (this.galleries[gallery[0]][gallery[1]][current+1]) { this.navigationObservers.next =3D = this.galleries[gallery[0]][gallery[1]][current+1]; } else { this.navigationObservers.next =3D false; } =09 this.activeGallery =3D true; } else { this.navigationObservers.previous =3D false; this.navigationObservers.next =3D false; =09 this.activeGallery =3D false; } =09 if (gallery && this.galleries[gallery[0]][gallery[1]][current]) { this.contentToFetch =3D = this.galleries[gallery[0]][gallery[1]][current].href; this.galleryLocation =3D {current: current+1, total: = this.galleries[gallery[0]][gallery[1]].length}; =09 if (!this.galleries[gallery[0]][gallery[1]][current+1]) { $('lightwindow_next').setStyle({ display: 'none' }); } else { $('lightwindow_next').setStyle({ display: 'block' }); $('lightwindow_next_title').innerHTML =3D = this.galleries[gallery[0]][gallery[1]][current+1].title; } =09 if (!this.galleries[gallery[0]][gallery[1]][current-1]) { $('lightwindow_previous').setStyle({ display: 'none' }); } else { $('lightwindow_previous').setStyle({ display: 'block' }); $('lightwindow_previous_title').innerHTML =3D = this.galleries[gallery[0]][gallery[1]][current-1].title; } } =09 if (this._getParameter('lightwindow_iframe_embed')) { this.resizeTo.height =3D this.dimensions.viewport.height; this.resizeTo.width =3D this.dimensions.viewport.width;=09 } else { this.resizeTo.height =3D this._getParameter('lightwindow_height'); this.resizeTo.width =3D this._getParameter('lightwindow_width'); =09 } =09 this._processWindow(); =09 break; case 'external' : =09 this._appendIframe('auto'); this.resizeTo.height =3D this.dimensions.viewport.height; this.resizeTo.width =3D this.dimensions.viewport.width; =09 this._processWindow(); break; =09 case 'page' :=09 =09 var newAJAX =3D new Ajax.Request( this.contentToFetch, { method: 'get',=20 parameters: '',=20 onComplete: function(response) { $('lightwindow_contents').innerHTML +=3D response.responseText; this.resizeTo.height =3D = $('lightwindow_contents').scrollHeight+(this.options.contentOffset.height= ); this.resizeTo.width =3D = $('lightwindow_contents').scrollWidth+(this.options.contentOffset.width);= this._processWindow(); }.bind(this) } ); =09 break; =09 case 'inline' :=20 =09 var content =3D this.contentToFetch; if (content.indexOf('?') > -1) { content =3D content.substring(0, content.indexOf('?')); } content =3D content.substring(content.indexOf('#')+1); =09 new Insertion.Top($('lightwindow_contents'), $(content).innerHTML); =09 this.resizeTo.height =3D = $('lightwindow_contents').scrollHeight+(this.options.contentOffset.height= ); this.resizeTo.width =3D = $('lightwindow_contents').scrollWidth+(this.options.contentOffset.width);= =09 this._toggleTroubleElements('hidden', true); =09 this._processWindow(); =09 break; =09 default :=20 throw("Page Type could not be determined, please amend this = lightwindow URL "+this.contentToFetch); break; } }, // // Resize the Window to fit the viewport if necessary // _resizeWindowToFit : function() { if (this.resizeTo.height+this.dimensions.cruft.height > = this.dimensions.viewport.height) { var heightRatio =3D this.resizeTo.height/this.resizeTo.width; this.resizeTo.height =3D = this.dimensions.viewport.height-this.dimensions.cruft.height-(2*this.opti= ons.viewportPadding); // We only care about ratio's with this window type =09 if (this.windowType =3D=3D 'image' || (this.windowType =3D=3D 'media' = && !this._getParameter('lightwindow_iframe_embed'))) { this.resizeTo.width =3D this.resizeTo.height/heightRatio; $('lightwindow_data_slide_inner').setStyle({ width: this.resizeTo.width+'px' }); =09 } }=20 if (this.resizeTo.width+this.dimensions.cruft.width > = this.dimensions.viewport.width) { var widthRatio =3D this.resizeTo.width/this.resizeTo.height; this.resizeTo.width =3D = this.dimensions.viewport.width-2*this.dimensions.cruft.width-(2*this.opti= ons.viewportPadding); // We only care about ratio's with this window type if (this.windowType =3D=3D 'image' || (this.windowType =3D=3D 'media' = && !this._getParameter('lightwindow_iframe_embed'))) { this.resizeTo.height =3D this.resizeTo.width/widthRatio; $('lightwindow_data_slide_inner').setStyle({ height: this.resizeTo.height+'px' }); } } =09 }, // // Set the Window to a preset size // _presetWindowSize : function() { if (this._getParameter('lightwindow_height')) { this.resizeTo.height =3D = parseFloat(this._getParameter('lightwindow_height')); //alert(parseFloat(this._getParameter('lightwindow_height'))); } if (this._getParameter('lightwindow_width')) { this.resizeTo.width =3D = parseFloat(this._getParameter('lightwindow_width')); } }, // // Process the Window // _processWindow : function() { // Clean out our effects this.dimensions.dataEffects =3D []; // Set up the data-slide if we have caption information if (this.element.caption || this.element.author || (this.activeGallery = && this.options.showGalleryCount)) { if (this.element.caption) { $('lightwindow_data_caption').innerHTML =3D this.element.caption; $('lightwindow_data_caption').setStyle({ display: 'block' }); } else { $('lightwindow_data_caption').setStyle({ display: 'none' }); =09 } if (this.element.author) { $('lightwindow_data_author').innerHTML =3D this.element.author; $('lightwindow_data_author_container').setStyle({ display: 'block' }); } else { $('lightwindow_data_author_container').setStyle({ display: 'none' }); =09 } if (this.activeGallery && this.options.showGalleryCount) { $('lightwindow_data_gallery_current').innerHTML =3D = this.galleryLocation.current; $('lightwindow_data_gallery_total').innerHTML =3D = this.galleryLocation.total; $('lightwindow_data_gallery_container').setStyle({ display: 'block' }); } else { $('lightwindow_data_gallery_container').setStyle({ display: 'none' }); =09 } $('lightwindow_data_slide_inner').setStyle({ width: this.resizeTo.width+'px', height: 'auto', visibility: 'visible', display: 'block' }); $('lightwindow_data_slide').setStyle({ height: $('lightwindow_data_slide').getHeight()+'px', width: '1px', overflow: 'hidden', display: 'block' }); } else { $('lightwindow_data_slide').setStyle({ display: 'none', width: 'auto' }); $('lightwindow_data_slide_inner').setStyle({ display: 'none', visibility: 'hidden', width: this.resizeTo.width+'px', height: '0px' }); } =09 if (this.element.title !=3D 'null') { =09 $('lightwindow_title_bar_title').innerHTML =3D this.element.title; } else { $('lightwindow_title_bar_title').innerHTML =3D ''; } =09 var originalContainerDimensions =3D {height: = $('lightwindow_container').getHeight(), width: = $('lightwindow_container').getWidth()}; // Position the window $('lightwindow_container').setStyle({ height: 'auto', // We need to set the width to a px not auto as opera has problems = with it width:'650px' // = $('lightwindow_container').getWidth()+this.options.contentOffset.width-(t= his.windowActive ? this.options.contentOffset.width : 0)+'px' }); var newContainerDimensions =3D {height: = $('lightwindow_container').getHeight(), width: = $('lightwindow_container').getWidth()}; =09 // We need to record the container dimension changes this.containerChange =3D {height: = originalContainerDimensions.height-newContainerDimensions.height, width: = originalContainerDimensions.width-newContainerDimensions.width}; // Get out general dimensions this.dimensions.container =3D {height: = $('lightwindow_container').getHeight(), width: = $('lightwindow_container').getWidth()}; this.dimensions.cruft =3D {height: = this.dimensions.container.height-$('lightwindow_contents').getHeight()+th= is.options.contentOffset.height, width: = this.dimensions.container.width-$('lightwindow_contents').getWidth()+this= .options.contentOffset.width}; //alert($('lightwindow_container').width); // Set Sizes if we need too this._presetWindowSize(); this._resizeWindowToFit(); // Even if the window is preset we still = don't want it to go outside of the viewport if (!this.windowActive) { // Position the window $('lightwindow_container').setStyle({ left: -(this.dimensions.container.width/2)+'px', top: -(this.dimensions.container.height/2)+'px' =09 }); } $('lightwindow_container').setStyle({ height: this.dimensions.container.height+'px', width: this.dimensions.container.width+'px' =09 =09 =09 }); =09 // We are ready, lets show this puppy off! this._displayLightWindow('block', 'visible'); this._animateLightWindow(); }, // // Fire off our animation handler // _animateLightWindow : function() { if (this.options.animationHandler) { this.options.animationHandler().bind(this); } else { this._defaultAnimationHandler(); } }, // // Fire off our transition handler // _handleNavigation : function(display) { if (this.options.navigationHandler) { this.options.navigationHandler().bind(this, display); } else { this._defaultDisplayNavigation(display); } }, // // Fire off our transition handler // _handleTransition : function() { if (this.options.transitionHandler) { this.options.transitionHandler().bind(this); } else { this._defaultTransitionHandler(); } }, // // Handle the finish of the window animation //=20 _handleFinalWindowAnimation : function(delay) { if (this.options.finalAnimationHandler) { this.options.finalAnimationHandler().bind(this, delay); } else { this._defaultfinalWindowAnimationHandler(delay); } =09 }, // // Handle the gallery Animation //=20 _handleGalleryAnimation : function(list) { if (this.options.galleryAnimationHandler) { this.options.galleryAnimationHandler().bind(this, list); } else { this._defaultGalleryAnimationHandler(list); } =09 }, // // Display the navigation=20 // _defaultDisplayNavigation : function(display) { if (display) { $('lightwindow_navigation').setStyle({ /*display: 'block',*/ display:'none', height: $('lightwindow_contents').getHeight()+'px', width: '100%', marginTop: this.options.dimensions.titleHeight+'px' }); =09 } else { $('lightwindow_navigation').setStyle({ display: 'none', height: 'auto', width: 'auto' }); =09 } }, // // This is the default animation handler for LightWindow // _defaultAnimationHandler : function() {=09 // Now that we have figures out the cruft lets make the caption go = away and add its effects if (this.element.caption || this.element.author || (this.activeGallery = && this.options.showGalleryCount)) { $('lightwindow_data_slide').setStyle({ display: 'none', width: 'auto' }); this.dimensions.dataEffects.push( new Effect.SlideDown('lightwindow_data_slide', {sync: true}), new Effect.Appear('lightwindow_data_slide', {sync: true, from: 0.0, = to: 1.0}) ); } // Set up the Title if we have one $('lightwindow_title_bar_inner').setStyle({ height: '0px', marginTop: this.options.dimensions.titleHeight+'px' }); =09 // We always want the title bar as well this.dimensions.dataEffects.push( new Effect.Morph('lightwindow_title_bar_inner', {sync: true, style: = {height: this.options.dimensions.titleHeight+'px', marginTop: '0px'}}), new Effect.Appear('lightwindow_title_bar_inner', {sync: true, from: = 0.0, to: 1.0}) ); =09 =09 if (!this.options.hideGalleryTab) { this._handleGalleryAnimation(false); if ($('lightwindow_galleries_tab_container').getHeight() =3D=3D 0) { this.dimensions.dataEffects.push( new Effect.Morph('lightwindow_galleries_tab_container', {sync: = true, style: {height: '20px', marginTop: '0px'}}) ); $('lightwindow_galleries').setStyle({ width: '0px' }); } } =09 var resized =3D false; var ratio =3D = this.dimensions.container.width-$('lightwindow_contents').getWidth()+this= .resizeTo.width+this.options.contentOffset.width; if (ratio !=3D $('lightwindow_container').getWidth()) { new Effect.Parallel([ new Effect.Scale('lightwindow_contents', = 100*(this.resizeTo.width/$('lightwindow_contents').getWidth()), = {scaleFrom: = 100*($('lightwindow_contents').getWidth()/($('lightwindow_contents').getW= idth()+(this.options.contentOffset.width))), sync: true, scaleY: false, = scaleContent: false}), new Effect.Scale('lightwindow_container', = 100*(ratio/(this.dimensions.container.width)), {sync: true, scaleY: = false, scaleFromCenter: true, scaleContent: false}) ], { duration: this.duration,=20 delay: 0.25, queue: {position: 'end', scope: 'lightwindowAnimation'} } ); =09 } =09 ratio =3D = this.dimensions.container.height-$('lightwindow_contents').getHeight()+th= is.resizeTo.height+this.options.contentOffset.height; if (ratio !=3D $('lightwindow_container').getHeight()) { new Effect.Parallel([ new Effect.Scale('lightwindow_contents', = 100*(this.resizeTo.height/$('lightwindow_contents').getHeight()), = {scaleFrom: = 100*($('lightwindow_contents').getHeight()/($('lightwindow_contents').get= Height()+(this.options.contentOffset.height))), sync: true, scaleX: = false, scaleContent: false}), new Effect.Scale('lightwindow_container', = 100*(ratio/(this.dimensions.container.height)), {sync: true, scaleX: = false, scaleFromCenter: true, scaleContent: false}) ], { duration: this.duration,=20 afterFinish: function() { =09 if (this.dimensions.dataEffects.length > 0) { if (!this.options.hideGalleryTab) { $('lightwindow_galleries').setStyle({ width: this.resizeTo.width+'px' }); } new Effect.Parallel(this.dimensions.dataEffects, { duration: this.duration, afterFinish: function() { this._finishWindow(); }.bind(this), queue: {position: 'end', scope: 'lightwindowAnimation'}=20 } ); } }.bind(this),=20 queue: {position: 'end', scope: 'lightwindowAnimation'}=20 } ); resized =3D true; } =09 // We need to do our data effect since there was no resizing if (!resized && this.dimensions.dataEffects.length > 0) {=09 new Effect.Parallel(this.dimensions.dataEffects, { duration: this.duration, beforeStart: function() { if (!this.options.hideGalleryTab) { $('lightwindow_galleries').setStyle({ width: this.resizeTo.width+'px' }); } if (this.containerChange.height !=3D 0 || = this.containerChange.width !=3D 0) { new Effect.MoveBy('lightwindow_container', = this.containerChange.height, this.containerChange.width, {transition: = Effect.Transitions.sinoidal}); } }.bind(this), =09 afterFinish: function() { this._finishWindow(); }.bind(this), queue: {position: 'end', scope: 'lightwindowAnimation'}=20 } ); } =09 =09 }, // // Finish up Window Animation // _defaultfinalWindowAnimationHandler : function(delay) { if (this.windowType =3D=3D 'media' || = this._getParameter('lightwindow_loading_animation')) {=09 // Because of major flickering with the overlay we just hide it in = this case Element.hide('lightwindow_loading'); this._handleNavigation(this.activeGallery); this._setStatus(false); } else { Effect.Fade('lightwindow_loading', { duration: 0.75, delay: 1.0,=20 afterFinish: function() { // Just in case we need some scroll goodness (this also avoids the = swiss cheese effect) if (this.windowType !=3D 'image' && this.windowType !=3D 'media' && = this.windowType !=3D 'external') { $('lightwindow_contents').setStyle({ overflow: 'none' }); } this._handleNavigation(this.activeGallery); this._defaultGalleryAnimationHandler(); this._setStatus(false); }.bind(this), queue: {position: 'end', scope: 'lightwindowAnimation'} }); } }, // // Handle the gallery Animation // _defaultGalleryAnimationHandler : function(list) { if (this.activeGallery) { $('lightwindow_galleries').setStyle({ display: 'block', marginBottom: = $('lightwindow_data_slide').getHeight()+this.options.contentOffset.height= /2+'px' }); $('lightwindow_navigation').setStyle({ height: $('lightwindow_contents').getHeight()-80+'px' }); } else { $('lightwindow_galleries').setStyle({ display: 'none' });=09 $('lightwindow_galleries_tab_container').setStyle({ height: '0px', marginTop: '20px' }); $('lightwindow_galleries_list').setStyle({ height: '0px' }); return false; } =09 if (list) { if ($('lightwindow_galleries_list').getHeight() =3D=3D 0) { var height =3D $('lightwindow_contents').getHeight()*0.80; $('lightwindow_galleries_tab_span').className =3D 'down'; } else { var height =3D 0; $('lightwindow_galleries_tab_span').className =3D 'up'; } new Effect.Morph('lightwindow_galleries_list', { duration: this.duration, transition: Effect.Transitions.sinoidal, style: {height: height+'px'}, beforeStart: function() { $('lightwindow_galleries_list').setStyle({ overflow: 'hidden' }); =09 }, afterFinish: function() { $('lightwindow_galleries_list').setStyle({ overflow: 'auto' }); }, queue: {position: 'end', scope: 'lightwindowAnimation'} });=09 } =09 =09 }, // // Default Transition Handler // _defaultTransitionHandler : function() { // Clean out our effects this.dimensions.dataEffects =3D []; // Now that we have figures out the cruft lets make the caption go = away and add its effects if ($('lightwindow_data_slide').getStyle('display') !=3D 'none') { this.dimensions.dataEffects.push( new Effect.SlideUp('lightwindow_data_slide', {sync: true}), new Effect.Fade('lightwindow_data_slide', {sync: true, from: 1.0, = to: 0.0}) ); } =09 if (!this.options.hideGalleryTab) { if ($('lightwindow_galleries').getHeight() !=3D 0 && = !this.options.hideGalleryTab) { this.dimensions.dataEffects.push( new Effect.Morph('lightwindow_galleries_tab_container', {sync: = true, style: {height: '0px', marginTop: '20px'}}) ); } =09 if ($('lightwindow_galleries_list').getHeight() !=3D 0) { $('lightwindow_galleries_tab_span').className =3D 'up'; this.dimensions.dataEffects.push( new Effect.Morph('lightwindow_galleries_list', { sync: true,=20 style: {height: '0px'}, transition: Effect.Transitions.sinoidal, beforeStart: function() { $('lightwindow_galleries_list').setStyle({ overflow: 'hidden' }); =09 }, afterFinish: function() { $('lightwindow_galleries_list').setStyle({ overflow: 'auto' }); } }) ); } } =09 // We always want the title bar as well this.dimensions.dataEffects.push( new Effect.Morph('lightwindow_title_bar_inner', {sync: true, style: = {height: '0px', marginTop: this.options.dimensions.titleHeight+'px'}}), new Effect.Fade('lightwindow_title_bar_inner', {sync: true, from: = 1.0, to: 0.0}) ); new Effect.Parallel(this.dimensions.dataEffects, { duration: this.duration, afterFinish: function() { this._loadWindow(); }.bind(this), queue: {position: 'end', scope: 'lightwindowAnimation'}=20 } );=09 }, // // Default Form handler for LightWindow // _defaultFormHandler : function(e) { var element =3D Event.element(e).parentNode; var parameterString =3D = Form.serialize(this._getParameter('lightwindow_form', = element.getAttribute('params'))); if (this.options.formMethod =3D=3D 'post') { var newAJAX =3D new Ajax.Request(element.href, {=20 method: 'post',=20 postBody: parameterString,=20 onComplete: this.openWindow.bind(this, element) }); } else if (this.options.formMethod =3D=3D 'get') { var newAJAX =3D new Ajax.Request(element.href, {=20 method: 'get',=20 parameters: parameterString,=20 onComplete: this.openWindow.bind(this, element) }); } }, //=20 // Wrap everything up // _finishWindow : function() { if (this.windowType =3D=3D 'external') { // We set the externals source here because it allows for a much = smoother animation $('lightwindow_iframe').setAttribute('src', this.element.href); this._handleFinalWindowAnimation(1);=09 } else if (this.windowType =3D=3D 'media') { var outerObject =3D document.createElement('object'); outerObject.setAttribute('classid', = this.options.classids[this._fileExtension(this.contentToFetch)]); outerObject.setAttribute('codebase', = this.options.codebases[this._fileExtension(this.contentToFetch)]); outerObject.setAttribute('id', 'lightwindow_media_primary'); outerObject.setAttribute('name', 'lightwindow_media_primary'); outerObject.setAttribute('width', this.resizeTo.width); outerObject.setAttribute('height', this.resizeTo.height); outerObject =3D this._addParamToObject('movie', this.contentToFetch, = outerObject); outerObject =3D this._addParamToObject('src', this.contentToFetch, = outerObject); outerObject =3D this._addParamToObject('controller', 'true', = outerObject); outerObject =3D this._addParamToObject('wmode', 'transparent', = outerObject); outerObject =3D this._addParamToObject('cache', 'false', = outerObject); outerObject =3D this._addParamToObject('quality', 'high', = outerObject); if (!Prototype.Browser.IE) { var innerObject =3D document.createElement('object'); innerObject.setAttribute('type', = this.options.mimeTypes[this._fileExtension(this.contentToFetch)]); innerObject.setAttribute('data', this.contentToFetch); innerObject.setAttribute('id', 'lightwindow_media_secondary'); innerObject.setAttribute('name', 'lightwindow_media_secondary'); innerObject.setAttribute('width', this.resizeTo.width); innerObject.setAttribute('height', this.resizeTo.height); innerObject =3D this._addParamToObject('controller', 'true', = innerObject); innerObject =3D this._addParamToObject('wmode', 'transparent', = innerObject); innerObject =3D this._addParamToObject('cache', 'false', = innerObject); innerObject =3D this._addParamToObject('quality', 'high', = innerObject); =09 outerObject.appendChild(innerObject); }=09 =09 if (this._getParameter('lightwindow_iframe_embed')) { this._appendIframe('no'); this._writeToIframe(this._convertToMarkup(outerObject, 'object')); } else { this._appendObject(outerObject, 'object', = $('lightwindow_contents')); } this._handleFinalWindowAnimation(0); } else { this._handleFinalWindowAnimation(0); } // Initialize any actions this._setupActions(); } } /*-----------------------------------------------------------------------= ------------------------*/ Event.observe(window, 'load', lightwindowInit, false); // // Set up all of our links // var myLightWindow =3D null; function lightwindowInit() { myLightWindow =3D new lightwindow(); } ------=_NextPart_000_0000_01CBD806.CA81F8F0 Content-Type: application/octet-stream Content-Transfer-Encoding: quoted-printable Content-Location: http://brochures.discovertasmania.com/western_wilderness/js/Search.js =EF=BB=BF function archiveSearch(e) {=20 =09 // var sKeyword =3D e;=09 // //alert(e); // // reader.disabled =3D'true'; // window.location=3D"index.aspx?keyWord=3D"+sKeyword ; // if(window.ActiveXObject) // { // e.returnValue =3D false; // } // else // { // e.preventDefault(); // } =09 //alert(e); myLightWindow.activateWindow(e); =09 } //function __onPrevPage (var Pages) //{ //var MaxPage=3DPages+1; //alert(MaxPage); // for (var i=3D2; i=3D 3 check for Flash plugin in plugin array var flashVer =3D -1; =09 if (navigator.plugins !=3D null && navigator.plugins.length > 0) { if (navigator.plugins["Shockwave Flash 2.0"] || = navigator.plugins["Shockwave Flash"]) { var swVer2 =3D navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : = ""; var flashDescription =3D navigator.plugins["Shockwave Flash" + = swVer2].description; var descArray =3D flashDescription.split(" "); var tempArrayMajor =3D descArray[2].split("."); =09 var versionMajor =3D tempArrayMajor[0]; var versionMinor =3D tempArrayMajor[1]; var versionRevision =3D descArray[3]; if (versionRevision =3D=3D "") { versionRevision =3D descArray[4]; } if (versionRevision[0] =3D=3D "d") { versionRevision =3D versionRevision.substring(1); } else if (versionRevision[0] =3D=3D "r") { versionRevision =3D versionRevision.substring(1); if (versionRevision.indexOf("d") > 0) { versionRevision =3D versionRevision.substring(0, = versionRevision.indexOf("d")); } } var flashVer =3D versionMajor + "." + versionMinor + "." + = versionRevision; } } // MSN/WebTV 2.6 supports Flash 4 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") !=3D = -1) flashVer =3D 4; // WebTV 2.5 supports Flash 3 else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") !=3D = -1) flashVer =3D 3; // older WebTV supports Flash 2 else if (navigator.userAgent.toLowerCase().indexOf("webtv") !=3D -1) = flashVer =3D 2; else if ( isIE && isWin && !isOpera ) { flashVer =3D ControlVersion(); }=09 return flashVer; } // When called with reqMajorVer, reqMinorVer, reqRevision returns true = if that version or greater is available function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) { versionStr =3D GetSwfVer(); if (versionStr =3D=3D -1 ) { return false; } else if (versionStr !=3D 0) { if(isIE && isWin && !isOpera) { // Given "WIN 2,0,0,11" tempArray =3D versionStr.split(" "); // ["WIN", "2,0,0,11"] tempString =3D tempArray[1]; // "2,0,0,11" versionArray =3D tempString.split(","); // ['2', '0', '0', '11'] } else { versionArray =3D versionStr.split("."); } var versionMajor =3D versionArray[0]; var versionMinor =3D versionArray[1]; var versionRevision =3D versionArray[2]; // is the major.revision >=3D requested major.revision AND the = minor version >=3D requested minor if (versionMajor > parseFloat(reqMajorVer)) { return true; } else if (versionMajor =3D=3D parseFloat(reqMajorVer)) { if (versionMinor > parseFloat(reqMinorVer)) return true; else if (versionMinor =3D=3D parseFloat(reqMinorVer)) { if (versionRevision >=3D parseFloat(reqRevision)) return true; } } return false; } } function AC_AddExtension(src, ext) { if (src.indexOf('?') !=3D -1) return src.replace(/\?/, ext+'?');=20 else return src + ext; } function AC_Generateobj(objAttrs, params, embedAttrs)=20 {=20 var str =3D ''; if (isIE && isWin && !isOpera) { str +=3D ''; for (var i in params) { str +=3D ' = '; } str +=3D ''; } else { str +=3D ' '; } document.write(str); } function AC_FL_RunContent(){ var ret =3D=20 AC_GetArgs ( arguments, ".swf", "movie", = "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" , "application/x-shockwave-flash" ); AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs); } function AC_SW_RunContent(){ var ret =3D=20 AC_GetArgs ( arguments, ".dcr", "src", = "clsid:166B1BCA-3F9C-11CF-8075-444553540000" , null ); AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs); } function AC_GetArgs(args, ext, srcParamName, classid, mimeType){ var ret =3D new Object(); ret.embedAttrs =3D new Object(); ret.params =3D new Object(); ret.objAttrs =3D new Object(); for (var i=3D0; i < args.length; i=3Di+2){ var currArg =3D args[i].toLowerCase(); =20 switch (currArg){=09 case "classid": break; case "pluginspage": ret.embedAttrs[args[i]] =3D args[i+1]; break; case "src": case "movie":=09 args[i+1] =3D AC_AddExtension(args[i+1], ext); ret.embedAttrs["src"] =3D args[i+1]; ret.params[srcParamName] =3D args[i+1]; break; case "onafterupdate": case "onbeforeupdate": case "onblur": case "oncellchange": case "onclick": case "ondblclick": case "ondrag": case "ondragend": case "ondragenter": case "ondragleave": case "ondragover": case "ondrop": case "onfinish": case "onfocus": case "onhelp": case "onmousedown": case "onmouseup": case "onmouseover": case "onmousemove": case "onmouseout": case "onkeypress": case "onkeydown": case "onkeyup": case "onload": case "onlosecapture": case "onpropertychange": case "onreadystatechange": case "onrowsdelete": case "onrowenter": case "onrowexit": case "onrowsinserted": case "onstart": case "onscroll": case "onbeforeeditfocus": case "onactivate": case "onbeforedeactivate": case "ondeactivate": case "type": case "codebase": case "id": ret.objAttrs[args[i]] =3D args[i+1]; break; case "width": case "height": case "align": case "vspace":=20 case "hspace": case "class": case "title": case "accesskey": case "name": case "tabindex": ret.embedAttrs[args[i]] =3D ret.objAttrs[args[i]] =3D args[i+1]; break; default: ret.embedAttrs[args[i]] =3D ret.params[args[i]] =3D args[i+1]; } } ret.objAttrs["classid"] =3D classid; if (mimeType) ret.embedAttrs["type"] =3D mimeType; return ret; } ------=_NextPart_000_0000_01CBD806.CA81F8F0--