$(function() {
	//Documentation located in special.docs.js
	
	// Sifr
	$('div#content h1').sifr({ strSWF: '/flash/avant-garde-book-bt.swf', strColor: '#260800', strWmode: 'transparent' },{ expressInstall: true });
	$('div#push-marketing h5').sifr({ strSWF: '/flash/avant-garde-book-bt.swf', strColor: '#460e00', strWmode: 'transparent', strFlashVars: 'textalign=center&' },{ expressInstall: true });
	// Home Masthead
	$('div#home-masthead').flash({
	    swf:"flash/home-masthead.swf",
	    width:960,
	    height:355,
		params:{
			allowscriptaccess:"always",
			wmode:"transparent",
			flashvars:{
			epostConfigXML:'/flash/xml/epostConfig.xml',
			gatewayURL:'/flashservices/gateway.php',
			imagesXML:'/flash/xml/home-masthead.xml',
			langXML:'/flash/xml/i18n/' + LANG + '_formLabels.xml'/*,
			browser:BROWSER*/
			}
		}
	});
	// Photo Gallery
	$('div#photo-gallery').flash({
	    swf:"flash/photo-gallery.swf",
	    width:600,
	    height:420,
		params:{
			allowscriptaccess:"always",
			wmode:"transparent",
			flashvars:{
			epostConfigXML:'/flash/xml/epostConfig.xml',
			gatewayURL:'/flashservices/gateway.php',
			imagesXML:'/flash/xml/images.xml',
			langXML:'/flash/xml/i18n/' + LANG + '_formLabels.xml'/*,
			browser:BROWSER*/
			}
		}
	});
	// Booking console - Check availability promo code click button
	/*$("form#reservations-console").each(function(){
		var x = $(this);
		$("a#promo-click", x).toggle(function(){
			$("#dropdown-fields",x).slideDown();
			$(this).removeClass("promo-closed").addClass("promo-open");
			
		}, function() {
			$("#dropdown-fields",x).slideUp();
			$(this).removeClass("promo-open").addClass("promo-closed");
		});
	});*/
});
