var clicked=""
var gtype=".gif"
var selstate="_over"

loc_htm="";
loc_img ="./images/";



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_img+gname+gtype;
	document[name+"_over"] = new Image();
	document[name+"_over"].src = loc_img+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_img+gname+gtype+"\" name=\"" + name + "\"" + w + h + alt + hsp + " border=\"0\" /></a></td>");
	tr(false);
}


document.write("<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\">");


document.write("<tr><td><img src="+loc_img+"travaux.gif alt=\"\" width=\"76\" height=\"20\"></td></tr>");
tr(true);
document.write("<td><img src="+loc_img+"travaux_top.gif alt=\"\" width=\"169\" height=\"26\"></td>");
tr(false);
writeButton(loc_htm,"javascript:navbar_recherche(1);","travaux_b1",169,26,"Implémentation de la signature électronique en java ...","_self",0);
writeButton(loc_htm,"javascript:navbar_recherche(2);","travaux_b2",169,26,"Implémentation du codage de Huffman en java ...","_self",0);
writeButton(loc_htm,"javascript:navbar_recherche(3);","travaux_b3",169,26,"Implémentation des Espaces de Strands en java ...","_self",0);
tr(true);
document.write("<td><img src="+loc_img+"travaux_bottom.gif alt=\"\" width=\"169\" height=\"26\"></td>");


document.write("<tr><td><img src="+loc_img+"publications.gif alt=\"\" width=\"108\" height=\"20\"></td></tr>");
tr(true);
document.write("<td><img src="+loc_img+"travaux_top.gif alt=\"\" width=\"169\" height=\"26\"></td>");
tr(false);
writeButton(loc_htm,"javascript:navbar_recherche(4);","publications_b1",138,26,"Langages, Méthodes & Sémantiques pour les Protocoles de Sécurité","_self",0);
writeButton(loc_htm,"javascript:navbar_recherche(5);","publications_b2",138,26,"Projets de Travaux Dirigés (Cryptographie)","_self",0);
tr(true);
document.write("<td><img src="+loc_img+"travaux_bottom.gif alt=\"\" width=\"169\" height=\"26\"></td>");


document.write("<tr><td><img src="+loc_img+"syscom.gif alt=\"\" width=\"130\" height=\"20\"></td></tr>");
tr(true);
document.write("<td><img src="+loc_img+"travaux_top.gif alt=\"\" width=\"169\" height=\"26\"></td>");
tr(false);
writeButton(loc_htm,"javascript:navbar_recherche(6);","syscom_b1",195,26,"Cours de M. Kamel Barkaoui","_self",0);
writeButton(loc_htm,"javascript:navbar_recherche(7);","syscom_b2",195,26,"Cours de M. Riadh Robbana & Mme. Rahma Ben Ayed","_self",0);
writeButton(loc_htm,"javascript:navbar_recherche(8);","syscom_b3",195,26,"Résumés de cours ...","_self",0);
tr(true);
document.write("<td><img src="+loc_img+"travaux_bottom.gif alt=\"\" width=\"169\" height=\"26\"></td>");


document.write("</tr></table>")