/* executed when document is loaded */
$(document).ready(function(){

	
	/*$('#gallery').galleryView({
    panel_width: 526,
    panel_height: 349,
    frame_width: 91,
    frame_height: 55,
    transition_speed: 1200,
    background_color: '#222',
    border: 'none',
    easing: 'easeInOutBack',
    pause_on_hover: true,
    paused: true,
    nav_theme: 'light',
    overlay_height: 52,
    filmstrip_position: 'bottom',
    overlay_position: 'top'
});*/
var flashvars = {};
var params = {wmode:'transparent'};
var attributes = {};
swfobject.embedSWF("swf/main.swf", "flashGallery", "643", "570", "9.0.28","swf/expressInstall.swf", flashvars, params, attributes);

	


});

 function UnCryptMailto( s )
    {
        var n = 0;
        var r = "";
        for( var i = 0; i < s.length; i++)
        {
            n = s.charCodeAt( i );
            if( n >= 8364 )
            {
                n = 128;
            }
            r += String.fromCharCode( n - 1 );
        }
        return r;
    }

    function linkTo_UnCryptMailto( s )
    {
        location.href=UnCryptMailto( s );
    }

