
function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function openWin( windowURL, windowName, windowFeatures ) {
	return window.open( windowURL, windowName, windowFeatures ) ;
}

function openwin(url)
{
	nwin=window.open(url, "nwin",config="scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=yes,menubar=yes,");
	nwin.focus();
}
function redirection(value) {
		if (document.info.infomenu.options[document.info.infomenu.selectedIndex].value != "no_jump"){
			url=document.info.infomenu.options[document.info.infomenu.selectedIndex].value;
			openwin(url);
			}
}


function recommander()
{
var email= prompt('E-mail de votre ami(e) :',' ');
var sujet= "Mitsubishi Motors";
var message="Site Web Mitsubishi Motors" ;
window.location="mailto:"+email+"?subject="+sujet+"&BODY="+message;

}

function favoris() {
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )) {
        window.external.addFavorite("http://www.mitsubishi-motors.ma", "Mitsubishi Motors");
    } else {
        alert("Cette fonction n'est activée que dans Internet Explorer v5.0 ou + ...\n Tapez CTRL + D pour ajouter le site de Mitsubishi Motors dans vos favoris !");
    }
}

date=new Date();

function disp(txt) {document.write(txt);}
function don_date_maj()
	{var date_maj=new Date(document.lastModified);
	date_maj=don_date_format(date_maj);
	return date_maj;}
function don_date_jour()
	{var date_jour=new Date();
	date_jour=don_date_format(date_jour);
	return date_jour;}
function don_date_format(d1) {
	var m=new Array(13);
	m[1]="janvier"; m[2]="février";	m[3]="mars"; m[4]="avril"; m[5]="mai"; m[6]="juin";
 	m[7]="juillet";	m[8]="aout"; m[9]="septembre"; m[10]="octobre";	m[11]="novembre"; m[12]="décembre";
	var d=new Array(8);
	d[1]="Dimanche"; d[2]="Lundi"; d[3]="Mardi"; d[4]="Mercredi"; d[5]="Jeudi"; d[6]="Vendredi"; d[7]="Samedi";
	var mois=m[d1.getMonth()+1];
	var jour=d[d1.getDay()+1];
	var date=d1.getDate();
	var an=d1.getYear();
	if (an<200) an=1900+an;
	date=jour+" "+date+" "+mois+" "+an;
	return date;
	}