$(document).ready(function() {
	$('a.tTip').tinyTips('title');
	$('a.imgTip').tinyTips('<img src="images/demo-image.jpg" /><br />You can even put images or any other markup in the tooltips.');
	$('img.tTip').tinyTips('title');
	$('h1.tagline').tinyTips('tinyTips are totally awesome!');
});

jQuery().ready(function(){
	// simple accordion
	jQuery('#list1a').accordion();
	jQuery('#list1b').accordion({
		autoheight: false
	});
});
	
$(document).ready(function(){
	$("#parent2").wslide({
		width: 240,
		height: 120,
		pos: 1,
		horiz: true,
		duration: 2000,
		effect: 'easeOutElastic'
	});
});

function affiche_flash(url,width,height,html_alternatif,transparent,parametres)
{ 
   	var Navigateur = navigator.appName;
	if(Navigateur == "Microsoft Internet Explorer"){
		
	document.write('<object type="application/x-shockwave-flash" width="' + width + '" height="' + height + '"')
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">');
	document.write('<param name="movie" value="' + url + '" />');
	//document.write('<param name="flashvars" value="'+  parametres +'" />');
	
		if(transparent==1)
		{
		document.write('<param name="wmode" value="transparent" />');
		}
	document.write(html_alternatif);
	document.write('</object>');
	
	}  
	else
	{
	document.write('<object type="application/x-shockwave-flash" data="' + url  +'" width="' + width + '" height="' + height + '">');
		if(transparent==1)
			{
			document.write('<param name="wmode" value="transparent" />');
			}
	
	document.write(html_alternatif);
	document.write('</object>');
	}
}
