$(document).ready(function() {
	// Replace all the flash
	$('div.flash').each(function(){
		// Get the details
		var width = $(this).css('width');
		var height = $(this).css('height');

		var file = $(this).children('span.file').html();
		

		var flashvars = {};
		var params = {};
		params.menu = "false";
		params.wmode = "transparent";
		var attributes = {};
		swfobject.embedSWF(file, "top_flash", width, height, "9.0.0", false, flashvars, params, attributes);
	});

	$('#s').val('Search site');
	$('#s').focus(function() {
		if( $(this).val() == 'Search site' ) {
			$(this).val('');
		}
	});
	$('#s').blur(function() {
		if( $(this).val() == '' ) {
			$(this).val('Search site');
		}
	});
});