// Example show how call selectbox with params
document.observe("dom:loaded", createSelectBox);  

function createSelectBox(id)
{
  	// replace with custom selectbox  
	var selwidth = 35;  
	if (window.console) console.log("createSelectBox with id "+id);
	if (id == undefined || id == null || typeof(id) != "string" ) id = "qty_select";
	if (id != "qty_select") selwidth  = 150;
	var customSelectBox = new SelectBox({
		id:id,	// * required
		animation_show:'slide', // slide, appear, blind
		animation_show_interval: 0.1, // 0.1 ... infinity
		animation_hide:'slide',  // slide, fade, blind
		animation_hide_interval: 0.1, // 0.1 ... infinity
		select_width: selwidth, 		// new selectbox width
		options_top: 24, 		// options holder offset
		options_left: 0, 		// options holder offset
	});  
}
