var HTTPPATH = "http://www.countryhomeshow.com/"
var WEBROOT = "http://www.countryhomeshow.com/images";

//////////////////////////////////////
// JQUERY
$(function(){	
	/// MENU

	$("div#menu").flash(
	{ src: WEBROOT+"/menu.swf?_LANGUE=EN",width: 775, height:80},
		{ version: 8 },
				   			
		function(htmlOptions) {
		$this = $(this);
		htmlOptions.wmode = 'transparent';
		this.innerHTML = '';
		$(this).addClass('').prepend($.fn.flash.transform(htmlOptions));
		return false;
		}
		);
		
	
	// PUB
	$("#pub").flash(
	{ src:WEBROOT+"/du-proprio.swf", width: 120, height:90},
		{ version: 8 },
				   			
		function(htmlOptions) {
		$this = $(this);
		htmlOptions.wmode = 'transparent';
		this.innerHTML = '';
		$(this).addClass('').prepend($.fn.flash.transform(htmlOptions));
		return false;
		}
		);
	
	
	
	//PUB2
	$("#pub2").flash(
	{ src:"http://www.salonchalets.com/upload_images/ChaletsQC.swf", width: 120, height:120},
		{ version: 8 },
				   			
		function(htmlOptions) {
		$this = $(this);
		htmlOptions.wmode = 'transparent';
		this.innerHTML = '';
		$(this).addClass('').prepend($.fn.flash.transform(htmlOptions));
		return false;
		}
		);
	
	
	
	
	//MUQ
	$("#MUQ").flash(
	{ src:WEBROOT+"/banniere_MUQ_164x136.swf", width: 120, height:100},
		{ version: 8 },
				   			
		function(htmlOptions) {
		$this = $(this);
		htmlOptions.wmode = 'transparent';
		this.innerHTML = '';
		$(this).addClass('').prepend($.fn.flash.transform(htmlOptions));
		return false;
		}
		);
	
	
	//PubContact
	$("#pubContact").flash(
	{ src:WEBROOT+"/ban_dp.swf", width: 120, height:240},
		{ version: 8 },
				   			
		function(htmlOptions) {
		$this = $(this);
		htmlOptions.wmode = 'transparent';
		this.innerHTML = '';
		$(this).addClass('').prepend($.fn.flash.transform(htmlOptions));
		return false;
		}
		);
	
	
	//GALERIE
	$("div.galerie").flash(
        { src: "/includes/swf/galerie.swf", width: 565, height: 565 },
        { version: 8 },
        function(htmlOptions) {
			$this = $(this);
			htmlOptions.flashvars.editions_fk = $(this).attr("id");
			htmlOptions.wmode = "transparent";
			this.innerHTML = "";
			$(this).addClass("SalonChalets.com").prepend($.fn.flash.transform(htmlOptions));
			return false;
        }
    );
});