'; foreach($Type['Parameters'] as $Index => $StateName) { if($Item['Value'] == $Index) $Selected = ' selected="1"'; else $Selected = ''; $Output .= ''; } $Output .= ''; return($Output); } function OnLoad($Item) { return($_POST[$Item['Name']]); } } ?>