var Swf = Class.create({
	initialize: function(){
		this.movie = '';
		this.value = '';
		$$$S = this;
	},
	
	getMovie: function(movie){
		if(Prototype.Browser.IE){
			return window[movie];
		}else{
			return document[movie];
		}
	},
	
	setValue: function(movie,value){
		//this.movie = movie;
		//this.value = value;
		//this.temporisation.delay(1);
		var movie = $$$S.getMovie($$$S.movie);
		movie.setDepartement($$$S.value);
	},
	
	temporisation: function(){
		var movie = $$$S.getMovie($$$S.movie);
		movie.setDepartement($$$S.value);
	},
	
	select: function(value1,value2){
		$(value1).value = value2;
	},
	
	check: function(){
		var movie = this.getMovie('carte_bouton');
		movie.setDepartement($F('f_pub_departement'));
	}
});

