var requiredFlashPlayerVersion = "9.0.45";
if( !_urlBZFB8C4FC922D24E548336 ) {
	var _urlBZFB8C4FC922D24E548336 = null;
	var scripts = document.getElementsByTagName("script");
	for( var i=0;i<scripts.length;i++ ) {
		var s = scripts[i];
		var ssrc = "";
		try {
			ssrc = s.src;
		} catch( e ) {
			ssrc = "";
		}
		if (typeof ssrc != "undefined") {
			if( ssrc && ssrc.match(/bzLoader\.js/) ) {
				if (ssrc.length>11) {
					_urlBZFB8C4FC922D24E548336 = ssrc.substring(0,ssrc.length-11);
				} else {
					_urlBZFB8C4FC922D24E548336 = "./";
				}
			}
		}
	}
	_urlBZFB8C4FC922D24E548336 = _urlBZFB8C4FC922D24E548336.replace("&","%26");
}
function loadScript(url, callback) {
    var script = document.createElement("script")
    script.type = "text/javascript";
    if (script.readyState) {
        //IE
        script.onreadystatechange = function() {
            if (script.readyState == "loaded" ||
				script.readyState == "complete") {
                script.onreadystatechange = null;
                callback();
            }
        };
    } else {
        //Others
        script.onload = function() {
            callback();
        };
    }
    script.src = url;
    document.getElementsByTagName("head")[0].appendChild(script);
}
function includeJS(filename) {
    var fileref = document.createElement('script');
    fileref.setAttribute("type", "text/javascript");
    fileref.setAttribute("src", filename);
    document.getElementsByTagName('head')[0].appendChild(fileref);
}
function includeCSS(filename) {
    var fileref = document.createElement('link');
    fileref.setAttribute("rel", "stylesheet");
    fileref.setAttribute("type", "text/css");
    fileref.setAttribute("href", filename);
    document.getElementsByTagName('head')[0].appendChild(fileref);
}

function mootoolsLoadedBZFB8C4FC922D24E548336() {
   loadScript(_urlBZFB8C4FC922D24E548336+"slideshow/js/slideshow.js",slideshowLoadedBZFB8C4FC922D24E548336);
}
function slideshowLoadedBZFB8C4FC922D24E548336() {
   loadScript(_urlBZFB8C4FC922D24E548336+"bz.js",bzLoadedBZFB8C4FC922D24E548336);
}
function bzLoadedBZFB8C4FC922D24E548336() {
    bzEmbedSWFBZFB8C4FC922D24E548336();
}
function swfobjectLoadedBZFB8C4FC922D24E548336() {
	if (typeof insertHTMLCodeFlag != "undefined") {
        insertHTMLCode();
    }
    if (typeof swfobject != "undefined") {
		if (!swfobject.hasFlashPlayerVersion(requiredFlashPlayerVersion)) {
			includeCSS(_urlBZFB8C4FC922D24E548336+"slideshow/css/slideshow.css");
			includeCSS(_urlBZFB8C4FC922D24E548336+"slideshow/css/bzSlideshow.css");
			loadScript(_urlBZFB8C4FC922D24E548336+"slideshow/js/mootools-1.2.3.1-core-more.js",mootoolsLoadedBZFB8C4FC922D24E548336);
		} else {
			
			loadScript(_urlBZFB8C4FC922D24E548336+"bz.js",bzLoadedBZFB8C4FC922D24E548336);
		}
    }
}
function swfobjectLoaded() {
	swfobjectLoadedBZFB8C4FC922D24E548336();
}
function loadFilesBZFB8C4FC922D24E548336() {
    if (typeof swfobject == "undefined") {
        document.write('<script type="text/javascript" src="'+_urlBZFB8C4FC922D24E548336+"swfobject.js"+'"></script>');
    } else {
        swfobjectLoadedBZFB8C4FC922D24E548336();
    }
}
loadFilesBZFB8C4FC922D24E548336();
