// JavaScript Document
function rolloverbtvalidcpt(){
    document.getElementById('btvalidcpt').style.background = 'url(include/gifs/btvalid.jpg) top center';
}
function rolloutbtvalidcpt(){
    document.getElementById('btvalidcpt').style.background = 'url(include/gifs/btvalid.jpg) bottom center';
}
function rolloverbtvalidcptuk(){
    document.getElementById('btvalidcptuk').style.background = 'url(include/gifs/btvaliduk.jpg) top center';
}
function rolloutbtvalidcptuk(){
    document.getElementById('btvalidcptuk').style.background = 'url(include/gifs/btvaliduk.jpg) bottom center';
}

function rolloverbtquicksframe(){
    document.getElementById('btquicksframe').style.background = 'url(include/gifs/btquicks.jpg) top center';
}
function rolloutbtquicksframe(){
    document.getElementById('btquicksframe').style.background = 'url(include/gifs/btquicks.jpg) bottom center';
}

function rolloverbtquicksframeuk(){
    document.getElementById('btquicksframeuk').style.background = 'url(include/gifs/btquicksuk.jpg) top center';
}
function rolloutbtquicksframeuk(){
    document.getElementById('btquicksframeuk').style.background = 'url(include/gifs/btquicksuk.jpg) bottom center';
}


function rolloverbtnewslet(){
    document.getElementById('btnewslet').style.background = 'url(include/gifs/btnewsletter.jpg) top center';
}
function rolloutbtnewslet(){
    document.getElementById('btnewslet').style.background = 'url(include/gifs/btnewsletter.jpg) bottom center';
}
function rolloverbtnewsletuk(){
    document.getElementById('btnewsletuk').style.background = 'url(include/gifs/btnewsletteruk.jpg) top center';
}
function rolloutbtnewsletuk(){
    document.getElementById('btnewsletuk').style.background = 'url(include/gifs/btnewsletteruk.jpg) bottom center';
}


function rolloverrecalcpanier(){
    document.getElementById('btrecalfr').style.background = 'url(include/gifs/btrecalculerfr.jpg) top center';
}
function rolloutrecalcpanier(){
    document.getElementById('btrecalfr').style.background = 'url(include/gifs/btrecalculerfr.jpg) bottom center';
}
function rolloverrecalcpanieruk(){
    document.getElementById('btrecaluk').style.background = 'url(include/gifs/btrecalculeruk.jpg) top center';
}
function rolloutrecalcpanieruk(){
    document.getElementById('btrecaluk').style.background = 'url(include/gifs/btrecalculeruk.jpg) bottom center';
}


function rollovervalidcomfr(){
    document.getElementById('validcomfr').style.background = 'url(include/gifs/btvalidcommandefr.gif) top center';
}
function rolloutvalidcomfr(){
    document.getElementById('validcomfr').style.background = 'url(include/gifs/btvalidcommandefr.gif) bottom center';
}
function rollovervalidcomuk(){
    document.getElementById('validcomuk').style.background = 'url(include/gifs/btvalidcommandeuk.gif) top center';
}
function rolloutvalidcomuk(){
    document.getElementById('validcomuk').style.background = 'url(include/gifs/btvalidcommandeuk.gif) bottom center';
}



function affdet(baliseId,nb) 
 {
	if (document.getElementById && document.getElementById(baliseId) != null) 
    {
	 document.getElementById(baliseId).style.visibility='visible';
     document.getElementById(baliseId).style.display='block';
	  var iddiv1 = 'affdet' + nb;
	  var iddiv2 = 'fermdet' + nb;
	 document.getElementById(iddiv1).style.visibility='hidden';
     document.getElementById(iddiv1).style.display='none';
	 document.getElementById(iddiv2).style.visibility='visible';
     document.getElementById(iddiv2).style.display='block';
	}
 }

function cachdet(baliseId,nb) 
  { 
	if (document.getElementById && document.getElementById(baliseId) != null) 
    {
	  document.getElementById(baliseId).style.visibility='hidden';
      document.getElementById(baliseId).style.display='none';
	  var iddiv1 = 'affdet' + nb;
	  var iddiv2 = 'fermdet' + nb;
	 document.getElementById(iddiv1).style.visibility='visible';
     document.getElementById(iddiv1).style.display='block';
	 document.getElementById(iddiv2).style.visibility='hidden';
     document.getElementById(iddiv2).style.display='none';

	}
  }

function affsound1(baliseIds1,idsound1) 
  { if (document.getElementById && document.getElementById(baliseIds1) != null) 
    {
	document.getElementById(baliseIds1).style.visibility='visible';
    document.getElementById(baliseIds1).style.display='block';
	var sddiv1 = 'affsounda' + idsound1 ;
	document.getElementById(sddiv1).style.visibility='hidden';
    document.getElementById(sddiv1).style.display='none';
	}
  }

function affsound2(baliseIds2,idsound2) 
  { if (document.getElementById && document.getElementById(baliseIds2) != null) 
    {
	document.getElementById(baliseIds2).style.visibility='visible';
    document.getElementById(baliseIds2).style.display='block';
	var sddiv2 = 'affsoundb' + idsound2 ;
	document.getElementById(sddiv2).style.visibility='hidden';
    document.getElementById(sddiv2).style.display='none';
	}
  }


function mailtofriend(pageid) { window.open(pageid,'s', 'resizable=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,directories=no,width=350,height=400,top=100,left=100'); }
function popup(page) { window.open(page,'reserv', 'resizable=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,directories=no,width=460,height=130,top=200,left=200'); }
function viewitem(page) { window.open(page,'viewit', 'resizable=no,toolbar=no,status=no,menubar=no,scrollbars=yes,directories=no,width=612,height=425,top=50%,left=50%'); }