var clicked=""
var gtype=".gif"
var selstate="_over"
if (typeof(loc)=="undefined" || loc==""){
	var loc=""
	if (document.body&&document.body.innerHTML){
		var tt = document.body.innerHTML.toLowerCase();
		var last = tt.indexOf("frame_left.js\"");
		if (last>0){
			var first = tt.lastIndexOf("\"", last);
			if (first>0 && first<last) loc = document.body.innerHTML.substr(first+1,last-first-1);
		}
	}
}

document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\"><tr>");
tr(false);
writeButton(loc+"","../main_fr.htm","frame_left_b1",133,21,"Sommaire","main_sub",0);
writeButton(loc+"","../adresse_fr.htm","frame_left_b2",133,21,"Nos coordonnées","main_sub",0);
writeButton(loc+"","../nouvelles_fr.htm","frame_left_b3",133,21,"Dernieres nouvelles !!!","main_sub",0);
writeButton(loc+"","../e-rens_fr.htm","frame_left_b4",133,21,"Demande de renseignements","main_sub",0);
writeButton(loc+"","../e-res_fr.htm","frame_left_b5",133,21,"Demande de reservation","main_sub",0);
writeButton(loc+"","../conditions_fr.htm","frame_left_b6",133,21,"Conditions générales","main_sub",0);
writeButton(loc+"","../formations_fr.htm","frame_left_b7",133,21,"Les formations que nous vous proposons...","main_sub",0);
writeButton(loc+"","../nitrox_frame_fr.htm","frame_left_b8",133,21,"Tout sur le NITROX","main_sub",0);
writeButton(loc+"","../tarif_abonnement_fr.htm","frame_left_b9",133,21,"Tarif Abonnement CLUB","main_sub",0);
writeButton(loc+"","../tarifs_fr.htm","frame_left_b10",133,21,"Tous nos tarifs","main_sub",0);
writeButton(loc+"","../vente_fr.htm","frame_left_b11",133,21,"Vente de matériel","main_sub",0);
writeButton(loc+"","../liste_fr.htm","frame_left_b12",133,21,"Liste des plongées","main_sub",0);
writeButton(loc+"","../carte_fr.htm","frame_left_b13",133,21,"La carte des plongées","main_sub",0);
writeButton(loc+"","../hebergement_fr.htm","frame_left_b14",133,21,"Hébergement","main_sub",0);
writeButton(loc+"","../epaves1_fr.htm","frame_left_b15",133,21,"Les épaves","main_sub",0);
writeButton(loc+"","../faune1_fr.htm","frame_left_b16",133,21,"La Faune","main_sub",0);
writeButton(loc+"","../flore1_fr.htm","frame_left_b17",133,21,"La Flore","main_sub",0);
writeButton(loc+"","../portcros/portcros_fr.htm","frame_left_b18",133,21,"Le parc National de Porc-Cros","main_sub",0);
writeButton(loc+"","../videos_fr.htm","frame_left_b19",133,21,"Quelques vidéos Sub-Plongées","main_sub",0);
writeButton(loc+"","../diaporamas_fr.htm","frame_left_b20",133,21,"Quelques diaporamas pour rever...","main_sub",0);
writeButton(loc+"","../telechargements_fr.htm","frame_left_b21",133,21,"Téléchargez nos fonds d'écran...","main_sub",0);
writeButton(loc+"","../equipe_fr.htm","frame_left_b22",133,21,"L'équipe","main_sub",0);
writeButton(loc+"","../magasin_fr.htm","frame_left_b23",133,21,"Nos locaux","main_sub",0);
writeButton(loc+"","../bateaux_fr.htm","frame_left_b24",133,21,"Nos bateaux","main_sub",0);
writeButton("","http://books.dreambook.com/subplongee/subplongee.html","frame_left_b25",133,21,"Le livre d'OR","main_sub",0);
writeButton(loc+"","../loisirs_fr.htm","frame_left_b26",133,21,"Les loisirs","main_sub",0);
writeButton(loc+"","../ambiance_clubs_fr.htm","frame_left_b27",133,21,"Ambiances de  clubs","main_sub",0);
writeButton(loc+"","../securite_fr.htm","frame_left_b28",133,21,"Securité","main_sub",0);
writeButton(loc+"","../liens_fr.htm","frame_left_b29",133,21,"Quelques liens","main_sub",0);
tr(true);
document.write("</tr></table>")
loc="";

function tr(b){if (b) document.write("<tr>");else document.write("</tr>");}

function turn_over(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_over"].src;
	}
}

function turn_off(name) {
	if (document.images != null && clicked != name) {
		document[name].src = document[name+"_off"].src;
	}
}

function reg(gname,name)
{
if (document.images)
	{
	document[name+"_off"] = new Image();
	document[name+"_off"].src = loc+gname+gtype;
	document[name+"_over"] = new Image();
	document[name+"_over"].src = loc+gname+"_over"+gtype;
	}
}

function evs(name){ return " onmouseover=\"turn_over('"+ name + "')\" onmouseout=\"turn_off('"+ name + "')\""}

function writeButton(urld, url, name, w, h, alt, target, hsp)
{
	gname = name;
	while(typeof(document[name])!="undefined") name += "x";
	reg(gname, name);
	tr(true);
	document.write("<td>");
	if (alt != "") alt = " alt=\"" + alt + "\"";
	if (target != "") target = " target=\"" + target + "\"";
	if (w > 0) w = " width=\""+w+"\""; else w = "";
	if (h > 0) h = " height=\""+h+"\""; else h = "";	
	if (url != "") url = " href=\"" + urld + url + "\"";
	
	document.write("<a " + url + evs(name) + target + ">");	
	
	if (hsp == -1) hsp =" align=\"right\"";
	else if (hsp > 0) hsp = " hspace=\""+hsp+"\"";
	else hsp = "";
	
	document.write("<img src=\""+loc+gname+gtype+"\" name=\"" + name + "\"" + w + h + alt + hsp + " border=\"0\" /></a></td>");
	tr(false);
}

