";
		}
		
		switch($theme)
		{
			//add more themes
			case $theme=='serious':
				$this->row_color='#DDDDDD';
				$this->text_color='black';
				
			break;
			
			case $theme=='big blue':
				$this->row_color='#15759B';
				$this->text_color='white';
				
			break;
		}
	}
	function createInputField($field_title,$input_type,$input_name,$input_value,$input_size,$td_width,$disabled=NULL)
	{
		//pre: all parameters are strings.
		//post: creates in inputField based on parameters.
		
		echo"
		row_color>
		| $field_title | 
		 | 
		
\n";
			
	}
	function createCheckboxField($field_title,$check_name,$td_width,$disabled=NULL,$checked=NULL,$postlabel=NULL)
	{
		//pre: all parameters are strings option selected value is at pos 0.
		//post: creates in CheckboxField based on parameters.
		
		echo "
		row_color>
		| $field_title | 
		";
		
		echo"$postlabel ";
	}
		
	function createRadioField($field_title,$radio_name,$option_values,$option_titles,$td_width,$disabled=NULL,$selected=NULL)
	{
		//pre: all parameters are strings option selected value is at pos 0.
		//post: creates in selectField based on parameters.
		
		echo "
		 | 
row_color>
		| $field_title | 
		";
		
		if($option_values[0]!='')
		{
			echo"$option_titles[0] ";
		}
		for($k=1;$k< count($option_values); $k++)
		{
			if($option_values[$k]!=$option_values[0] )
			{
				if($selected==$option_values[$k]){ 
					echo "$option_titles[$k] "; 
					} 
				else { 
					echo"$option_titles[$k] ";; 
					}
			}			
		}
		
		echo '
		 | 
		
'."\n";
			
	}
		
	
	function createSelectField($field_title,$select_name,$option_values,$option_titles,$td_width,$disabled=NULL,$selected=NULL)
	{
		//pre: all parameters are strings option selected value is at pos 0.
		//post: creates in selectField based on parameters.
		
		echo "
		row_color>
		| $field_title | 
		
		 | 
		
'."\n";
			
	}
	
	
	function createDateSelectField()
	{
		?>
			row_color ?> >| text_color ?>>lang->fromMonth}"; ?>:  | 
		    text_color ?>>lang->day}"; ?>:  | 
		    text_color ?>>lang->year}"; ?>:  | 
		    text_color ?>>lang->toMonth}"; ?>:  | 
    		text_color ?>>lang->day}"; ?>:  | 
    	text_color ?>>lang->year}"; ?>:  | 
		
			row_color ?> > | 	
		
		    
		     | 
		    
		row_color>
		$field_title | 
		"; 		
	}
	
	function endForm()
	{
		//adds submit button and ends remainings tags.
		echo "
		 | 
		| $altbutton | 
		
		
	
  
";
	}
	function endLibraryForm()
	{
		//adds submit button and ends remainings tags.
		echo "