function intro_flash() {
document.write('<object type="application/x-shockwave-flash" data="/upload/flash/player_flv_maxi.swf" width="656" height="369">\n');
document.write('<param name="movie" value="/upload/flash/player_flv_maxi.swf" />\n');
document.write('<param name="allowFullScreen" value="true" />\n');
document.write('<param name="FlashVars" value="flv=/upload/videos/after-mouse-presentation.flv&amp;configxml=/upload/flash/param.xml&amp;startimage=/upload/img/videos/immo-touch-demo.jpg" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<param name="height" value="369" />\n');
document.write('<param name="width" value="656" />\n');
document.write('</object>\n');
}
function intro_flash2() {
document.write('<object type="application/x-shockwave-flash" data="/upload/flash/player_flv_maxi.swf" width="656" height="480">\n');
document.write('<param name="movie" value="/upload/flash/player_flv_maxi.swf" />\n');
document.write('<param name="allowFullScreen" value="true" />\n');
document.write('<param name="FlashVars" value="flv=/upload/flash/appliFnaim.flv&amp;configxml=/upload/flash/param2.xml&amp;startimage=/upload/img/fnaim/intro-flash.jpg" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<param name="height" value="480" />\n');
document.write('<param name="width" value="656" />\n');
document.write('</object>\n');
}
function intro_flash3() {
document.write('<object type="application/x-shockwave-flash" data="/upload/flash/player_flv_maxi.swf" width="656" height="369">\n');
document.write('<param name="movie" value="/upload/flash/player_flv_maxi.swf" />\n');
document.write('<param name="allowFullScreen" value="true" />\n');
document.write('<param name="FlashVars" value="flv=/upload/videos/after-mouse-presentation.flv&amp;configxml=/upload/flash/param2.xml&amp;startimage=/upload/img/videos/immo-touch-demo.jpg" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<param name="height" value="369" />\n');
document.write('<param name="width" value="656" />\n');
document.write('</object>\n');
}

function intro_flash_voir() {
	var fen = jQuery('#intro-flash').eq(0);
	if(fen.length == 1) {
		fen.jqmShow();
	}
}

function intro_flash_close(hash) {
	hash.w.fadeOut('1000',function(){
		hash.o.remove();
		hash.w.html('');
	});
}

function intro_flash_autoload() {
	jQuery(document).ready(function() {
		var fen = jQuery('#intro-flash').eq(0);
		if(fen.length == 1) {
			fen.jqmShow();
		}
	});
}

jQuery(document).ready(function() {
	var fen = jQuery('#intro-flash').eq(0);
	if(fen.length == 1) {
		fen.jqm( {onHide: intro_flash_close} );
	}
});
