// JavaScript Document

function getContentText(divId) {
	var str_pos = divId.indexOf('_');
	if(str_pos==-1)
		return;
	
	//use this databaseId as the id for searching the player record (derived from 'playerX' where 'X' represents the id
	var databaseId = divId.substr((str_pos+1));
	return outriderImages[databaseId];
	
	
	
}	

function showOutrider(){
	var item_value = this.menu.activeItem.value;
	document.getElementById("outrider_id").value = item_value;
	
	document.getElementById("outrider_form").submit();
}

YAHOO.util.Event.onAvailable("outrider_select",setupSplit, {button:"select_outrider", selectbox:"outrider_select",onclick:showOutrider}, true);
