var show = false;

function showMenu(MenuId){
	if(!show){
		new Effect.BlindDown(MenuId,{duration:0.5});
		show = true;
	}
	return(true);
}

function hideMenu(MenuId){
	show = false;
	Element.hide(MenuId);
	return(true);
}

function showCompareFlash(url,width,height){
	var html = 
		"<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" wmode=\"transparent\" width=\""+width+"\" height=\""+height+"\">"+
       		"<param name=\"movie\" value=\"../animations/"+url+"\" />"+
       		"<param name=\"wmode\" value=\"transparent\">"+
       		"<param name=\"quality\" value=\"high\" />"+
       		"<embed src=\"../animations/"+url+"\" wmode=\"transparent\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\"></embed>"+
	   	"</object>";
	Element.hide("animois");
	document.getElementById("animois").innerHTML = html;   
	Element.show("animois");
	return(true);
}


function showIceGif(url,title){
	var html = 
		"<img src=\"../animations/"+url+"\" alt=\""+title+"\" />"+
		"<p class=\"minititre\">"+title+"</p>";
	Element.hide("gifanim");
	document.getElementById('gifanim').innerHTML = html;
	Element.show("gifanim");
	return(true);
}
