//when the webpage has loaded do this
$(document).ready(function() {
	
	//hide div on document load
	$('.swf').hide(); //Hide SWF
		
	//if the tradewaste banner is clicked - do this
	$(".banner").click(function() {
		$(".banner").hide('fast'); //Fade out Banner
		$(".swf").fadeIn('slow'); //Fade In SWF 
	});
		
	//if the X Close button/link has been clicked show banner again
	$(".close").click(function() {
	$(".swf").hide(); //hide SWF
	$(".banner").fadeIn('fast'); //Fade In Banner
	});		
});

