var selected_tab = 'day_1' ;
					
function select_tab(tab)
{
var head, content ;

head = document.getElementById(selected_tab + '_head') ;
content = document.getElementById(selected_tab + '_content') ;

if(head) head.className = 'tab_head' ;
if(content) content.className = 'tab_content' ;

head = document.getElementById(tab + '_head') ;
content = document.getElementById(tab + '_content') ;

if(head) head.className = 'tab_head_selected' ;
if(content) content.className = 'tab_content_selected' ;

selected_tab = tab ;
}
