// ActionScript Bento

<!--
function popAWindow(jpg,width,height) {
		var w = 20 + width;
		var h = 20 + height;
		scrl='no';
		window.open(jpg,"jpeg","location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no,hotkeys=no,directories=no,copyhistory=no,width="+w+",height="+h);    
	}
<!-- DEBUT DU SCRIPT popup image -->
<!--
function afficheMaxi(chemin)
	{
	i1 = new Image;
	i1.src = chemin;
	html = '<HTML><HEAD><TITLE>Photo catalogue</TITLE></HEAD><BODY LEFTMARGIN=0 MARGINWIDTH=0 TOPMARGIN=0 MARGINHEIGHT=0><CENTER><IMG SRC="'+chemin+'" BORDER=0 ALT="Cliquer pour fermer la Fenêtre..." NAME=Photo Onclick="self.close()" onLoad="window.resizeTo(document.Photo.width+14,document.Photo.height+32)"></CENTER></BODY></HTML>';
	popupImage = window.open('','_blank','toolbar=0,location=0,directories=0,menuBar=0,scrollbars=1,resizable=1');
	popupImage.document.open();
	popupImage.document.write(html);
	popupImage.document.close()
	};
/*
menu
*/

// popup fiche techique
function pop_up(fichier,fenetre,taille) {
 window.open(fichier,fenetre,taille);
}
function fenetreCent(url,nom,largeur,hauteur,options) {
var haut=(screen.height-hauteur)/2;
var Gauche=(screen.width-largeur)/2;
fencent=window.open(url,nom,"top="+haut+",left="+Gauche+",width="+largeur+",height="+hauteur+","+options);
}
//message qui clignote
go_visibility = new Array;

function goblink()
	{
	if(document.getElementById && document.all)
		{
		blink_tab = document.getElementsByTagName('blink');
		for(a=0;a<blink_tab.length;a++)
			{
			if(go_visibility[a] != "visible")
				go_visibility[a] = "visible";
			else
				go_visibility[a] = "hidden";
			blink_tab[a].style.visibility=go_visibility[a];
			}
		}
	setTimeout("goblink()", 500);
	}

//fin de message qui clignote