I found some errors. This one was quite interesting...Look at the last section of code you added. The while loop needs an end bracket, the bracket is for the conditinal.
while ($organization_values = tep_db_fetch_array($organization_query)) {
$organization_array[] = array('id' => $organization_values['org_type_id'], 'text' => $organization_values['org_type_title']);
[color="red"]} [/color]
}