function setsize(){
	var bodydyncont = document.getElementById("int_dyn_cont").offsetHeight;
	document.getElementById("fnd_dyn_cont").style.height = bodydyncont+20+"px";
}
function showGamme2(){
	var scrolly = getScrollY()+20;
	var dyn_cont = document.getElementById("dyn_cont");
	dyn_cont.innerHTML += '<div id="int_dyn_cont" style="top:'+scrolly+'px;"></div>';
	document.getElementById("int_dyn_cont").innerHTML = '<p style="color:#fff;width:820px;margin:auto;text-align:justify;"><a href="javascript:hideGamme();"><img src="http://www.harley-davidson-bretagne.com/img/logo_over_black.gif" width="198" height="97" style="float:left;margin-right:10px;"></a><br /><br />Nous mettons &agrave; la disposition de notre client&egrave;le une s&eacute;rie de motos de d&eacute;monstration, afin de pouvoir essayer en toute tranquillit&eacute; le meilleur d&rsquo;Harley-Davidson. N&rsquo;h&eacute;sitez pas &agrave; prendre rendez-vous avec notre service commercial afin de r&eacute;server votre essai.<br /><a href="javascript:hideGamme();"><img src="/img/fermer.gif" style="float:right;margin-right:10px;"></a></p><hr class="clear" /><iframe src="http://www.buell.com/fr_fr/bikes/" border="0" style="width:990px;height:1000px;border:1px solid #fff;;"></iframe><br /><div style="text-align:center;"><a href="javascript:hideGamme();"><img src="/img/fermer.gif"></a></div>';
	op_id=setTimeout('setsize()', 300);
	//var lebody = document.getElementByTagName("html");
	//document.body.style.overflow='hidden';
}
function showGamme(){
	ieop = 0;
	var dyn_cont = document.getElementById("dyn_cont");
	dyn_cont.innerHTML = '<div id="fnd_dyn_cont" style="-moz-opacity: 0.0;opacity:0.0;filter: alpha(opacity=0);height:100%">&nbsp;</div>';
	var bodyheight = GetBodyHeight();
	var bodydyncont = document.getElementById("allcont").offsetHeight;
	if(bodydyncont<bodyheight)
		document.getElementById("fnd_dyn_cont").style.height = bodyheight+"px";
	else
		document.getElementById("fnd_dyn_cont").style.height = bodydyncont+"px";
	uPacityDynGamme();
	//var lebody = document.getElementByTagName("html");
	//document.body.style.overflow='hidden';
}
function hideGamme(){
	var fnd_dyn_cont = document.getElementById("fnd_dyn_cont");
	var int_dyn_cont = document.getElementById("int_dyn_cont");
	int_dyn_cont.innerHTML = '';
	if(ieop>=0){
ieop-=15;
if(fnd_dyn_cont.style.filter)fnd_dyn_cont.style.filter="alpha(opacity="+ieop+")";
if(fnd_dyn_cont.style.MozOpacity)fnd_dyn_cont.style.MozOpacity=ieop/100;
if(fnd_dyn_cont.style.opacity)fnd_dyn_cont.style.opacity=ieop/100;
op_id=setTimeout('hideGamme()', 70);
}
else {
	var dyn_cont = document.getElementById("dyn_cont");
	dyn_cont.innerHTML = '';
	clearTimeout(op_id);
	document.body.style.overflow='visible';
	ieop = 0;
}
}
function uPacityDynGamme(){
var fnd_dyn_cont = document.getElementById("fnd_dyn_cont");
if(ieop<75){
ieop+=15;
if(fnd_dyn_cont.style.filter)fnd_dyn_cont.style.filter="alpha(opacity="+ieop+")";
if(fnd_dyn_cont.style.MozOpacity)fnd_dyn_cont.style.MozOpacity=ieop/100;
if(fnd_dyn_cont.style.opacity)fnd_dyn_cont.style.opacity=ieop/100;
op_id=setTimeout('uPacityDynGamme()', 70);
}
else {
	ieop = 75;
	clearTimeout(op_id);
	showGamme2();
}
}
