
function resetselect(objID){
selObject=document.getElementById(objID)
//cycle through the options collection, setting the selected attribute of each to false
for (i=0;i<selObject.options.length;i++){
selObject.options[i].selected=false;
}

} 

 function reset_lists(the_select_list) { 
 if (the_select_list.selectedIndex > 0) { 
 var all_lists = new Array('elysea','asmodae','abyss'); 
 for (i=0;i<all_lists.length;i++) { 
 if (all_lists[i]!= the_select_list.id) { 
 resetselect(all_lists[i]); 
 } 
 } 
 } 
} 



function showRes(race,map) {
parent.vlist.location = 'list_map_resource.php?race='+race+'&map=' + map;
parent.main.location = 'map.php?race='+race+'&map='+map;
reset_lists(race);
	

}

