function inverseDisplayPresentation() {
if(document.getElementById('presentation').style.display != 'block' ) {
document.getElementById('presentation').style.display = 'block';
}
else {
document.getElementById('presentation').style.display = 'none';
}
}



var list = new Array('83','136','21','8','104','122','233','40','7','188','179','119','106','112','140','171','184','25','49','72','89','133','17','59','114','124','130','93','69','33','22','9','55','63','76','165','175','18','148');
var path= "madness/";
var n=0;
var nb=1;
	
function changeImg(){
document.images['i'+nb].src = path+''+list[n]+'.jpg';
n=n+1;
if (n == list.length){
n=0
}
}




var urlAddress = "http://www.madness-us-cars.com/";
var pageName = "Madness US, le site des Voitures Américaines !";
function addToFavorites(anchor)
{
if (window.external)
{
window.external.AddFavorite(anchor.getAttribute('href'), anchor.getAttribute('title'));
}
}




function poprec(){
window.open("poprec.html","windowpoprec","width=500,height=300,scrollbars=no")}





function envoi_newsletter() {
form=document.newsletter;
var neW=open('http://195.154.205.129/cgi-bin/madness_newsletter.cgi?mail='+form.Email.value,'popup_newsletter','width=400,height=400,status=1,menubar=0,resizable=0,scrollbars=no')
neW.document.close();
neW.focus();
//form.submit();

}

function envoi_ami (){
var neW=open('http://195.154.205.129/cgi-bin/madness-envoi_ami.cgi?page='+document.location,'un_ami','width=400,height=550,status=1,menubar=0,resizable=0,scrollbars=no');
}

