// JavaScript Document

function VR4AllListBox(id, _options, callback, numlines, style)
{
	this.creerElementListe = function (nom, valeur)
	{
		var nomHTML = "<table width='100%' cellpadding='0' cellspacing='0' border='0'><tr><td width='30'><img src='../../images/w_vr4all.jpg'></td><td>&nbsp;"+nom+"</td></tr></table>";
		this.optionArray.push(new Option(nomHTML, valeur,"height : 25px"));
	} 
	this.optionArray = new Array();
	for(i in _options)
	{
		this.creerElementListe (_options[i].nom, _options[i].valeur);
	}

	writeSelectBox(this.optionArray,id, numlines,callback,style);
}