<!-- 

bros1= new Image();
bros1.src = "/bros/images/bouton_bros_bleu.gif";
bros3 = new Image();
bros3.src = "/bros/images/bouton_bros_rouge.gif";

artists1= new Image();
artists1.src = "/bros/images/bouton_artists_bleu.gif";
artists2 = new Image();
artists2.src = "/bros/images/bouton_artists_bleurouge.gif";
artists3 = new Image();
artists3.src = "/bros/images/bouton_artists_rouge.gif";

records1= new Image();
records1.src = "/bros/images/bouton_records_bleu.gif";
records2 = new Image();
records2.src = "/bros/images/bouton_records_bleurouge.gif";
records3 = new Image();
records3.src = "/bros/images/bouton_records_rouge.gif";

store1= new Image();
store1.src = "/bros/images/bouton_store_bleu.gif";
store2 = new Image();
store2.src = "/bros/images/bouton_store_bleurouge.gif";
store3 = new Image();
store3.src = "/bros/images/bouton_store_rouge.gif";

concerts1= new Image();
concerts1.src = "/bros/images/bouton_concerts_bleu.gif";
concerts2= new Image();
concerts2.src = "/bros/images/bouton_concerts_bleurouge.gif";
concerts3 = new Image();
concerts3.src = "/bros/images/bouton_concerts_rouge.gif";

links1= new Image();
links1.src = "/bros/images/bouton_links_bleu.gif";
links3 = new Image();
links3.src = "/bros/images/bouton_links_rouge.gif";

english1= new Image();
english1.src = "/bros/images/bouton_english_bleu.gif";
english3 = new Image();
english3.src = "/bros/images/bouton_english_rouge.gif";

francais1= new Image();
francais1.src = "/bros/images/bouton_francais_bleu.gif";
francais3 = new Image();
francais3.src = "/bros/images/bouton_francais_rouge.gif";

function flip(image,nouvelle) {
	document.images[image].src = eval(nouvelle + ".src");
	}

function jumpPage(form) {
	if (form.SelectMenu.selectedIndex == 0) return;
    window.location.href=form.SelectMenu.options[form.SelectMenu.selectedIndex].value;
    }
	



// Gestion des CSS

os="";
if (navigator.appVersion.indexOf("Mac") != -1) {
	os="mac";
}
else if (navigator.appVersion.indexOf("Win") != -1){
	os="win";
}
else{
	os="autre";
}

browsername=navigator.appName;
browserversion="0";
if (navigator.appVersion.indexOf("2.")!=-1) {browserversion="2"};
if (navigator.appVersion.indexOf("3.")!=-1) {browserversion="3"};
if (navigator.appVersion.indexOf("4.")!=-1) {browserversion="4"};
if (navigator.appVersion.indexOf("5.")!=-1) {browserversion="5"};

if (browsername=="Netscape" && os=="mac" && browserversion=="4"){
	 document.write('<LINK REL="stylesheet" HREF="/outils/bros_mac.css" TYPE="text/css">');
}
else if (browsername=="Microsoft Internet Explorer" && os=="mac" && browserversion=="4"){
	   document.write('<LINK REL="stylesheet" HREF="/outils/bros_mac.css" TYPE="text/css">');
}
else{
	   document.write('<LINK REL="stylesheet" HREF="/outils/bros_win.css" TYPE="text/css">');
}


//  Source: Webmonkey Code Library (http://www.hotwired.com/webmonkey/javascript/code_library/) 
function WM_netscapeCssFix() {
  if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight) {
    document.location = document.location;
  }
}

function WM_netscapeCssFixCheckIn() {
  if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
    if (typeof document.WM == 'undefined'){
      document.WM = new Object;
    }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
      document.WM.WM_netscapeCssFix = new Object;
      document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = WM_netscapeCssFix;
  }
}

WM_netscapeCssFixCheckIn()

// FIN Gestion des CSS


// ######################################## Cookies gestion des langues  ###################################################
// This next little bit of code tests whether the user accepts cookies.
var WM_acceptsCookies = false;
if(document.cookie == '') {
    document.cookie = 'WM_acceptsCookies=yes'; // Try to set a cookie.
    if(document.cookie.indexOf('WM_acceptsCookies=yes') != -1) {
	WM_acceptsCookies = true; 
    }// If it succeeds, set variable
} else { // there was already a cookie
  WM_acceptsCookies = true;
}
function WM_setCookie (name, value, hours) {//alert('setCookie');
    if (WM_acceptsCookies) { // Don't waste your time if the browser doesn't accept cookies.
var not_NN2 = (navigator && navigator.appName 
		       && (navigator.appName == 'Netscape') 
		       && navigator.appVersion 
		       && (parseInt(navigator.appVersion) == 2))?false:true;
	if(hours && not_NN2) { // NN2 cannot handle Dates, so skip this part
	    if ( (typeof(hours) == 'string') && Date.parse(hours) ) { // already a Date string
		var numHours = hours;
	    } else if (typeof(hours) == 'number') { // calculate Date from number of hours
		var numHours = (new Date((new Date()).getTime() + hours*3600000)).toGMTString();
	    }
	}
	document.cookie = name + '=' + escape(value) + ((numHours)?(';expires=' + numHours):''); // Set the cookie, adding any parameters that were specified.
    }
} // WM_setCookie
function WM_readCookie(name) {
    if(document.cookie == '') { // there's no cookie, so go no further
	return false; 
    } else { // there is a cookie
	var firstChar, lastChar;

	var theBigCookie = document.cookie;
	firstChar = theBigCookie.indexOf(name);	// find the start of 'name'
	var NN2Hack = firstChar + name.length;
	if((firstChar != -1) && (theBigCookie.charAt(NN2Hack) == '=')) { // if you found the cookie
	    firstChar += name.length + 1; // skip 'name' and '='
	    lastChar = theBigCookie.indexOf(';', firstChar); // Find the end of the value string (i.e. the next ';').
	    if(lastChar == -1) lastChar = theBigCookie.length;
	    return unescape(theBigCookie.substring(firstChar, lastChar));
	} else { // If there was no cookie of that name, return false.
	    return false;
	}
    }	
}
// ######################################### Gestion des images et de l'ouverture selon cookie  ##################################################
function gereLangueDistribution() {
if (WM_acceptsCookies = true){
	valeurcoockie = WM_readCookie("langue");
	comment = valeurcoockie
			if(comment == "en"){
			WM_setCookie ('langue', 'en', 1000);
			self.location='edistribution.htm';
			return true;
			}
			if(comment == "fr"){
			WM_setCookie ('langue', 'fr', 1000);
			self.location='fdistribution.htm';
			return true;
			}
			else {//alert('else1');
			return false;
			}
		}
	else {//alert('else2');
		return false;
	}
}
function gereLangueDisques() {
if (WM_acceptsCookies = true){
	valeurcoockie = WM_readCookie("langue");
	comment = valeurcoockie
			if(comment == "en"){
			WM_setCookie ('langue', 'en', 1000);
			self.location='erecords.htm';
			return true;
			}
			if(comment == "fr"){
			WM_setCookie ('langue', 'fr', 1000);
			self.location='fdisques.htm';
			return true;
			}
			else {//alert('else1');
			return false;
			}
		}
	else {//alert('else2');
		return false;
	}
}
function gereLangueArtistes() {
if (WM_acceptsCookies = true){
	valeurcoockie = WM_readCookie("langue");
	comment = valeurcoockie
			if(comment == "en"){
			WM_setCookie ('langue', 'en', 1000);
			self.location='eartists.htm';
			return true;
			}
			if(comment == "fr"){
			WM_setCookie ('langue', 'fr', 1000);
			self.location='fartistes.htm';
			return true;
			}
			else {//alert('else1');
			return false;
			}
		}
	else {//alert('else2');
		return false;
	}
}
function gereLangueBros() {
if (WM_acceptsCookies = true){
	valeurcoockie = WM_readCookie("langue");
	comment = valeurcoockie
			if(comment == "en"){
			WM_setCookie ('langue', 'en', 1000);
			self.location='ebros.htm';
			return true;
			}
			if(comment == "fr"){
			WM_setCookie ('langue', 'fr', 1000);
			self.location='fbros.htm';
			return true;
			}
			else {//alert('else1');
			return false;
			}
		}
	else {//alert('else2');
		return false;
	}
}
// ################################################# Fin #########################################################


// -->