function switch_left_active_tab(){				
	document.getElementById('left_tab_header').style.borderBottom = "1px solid #F6F6F6";
	document.getElementById('right_tab_header').style.borderBottom = "1px solid #E4E4E4";
	document.getElementById('tab_content').style.backgroundColor = "#F6F6F6";
	document.getElementById('left_tab_content').style.display = "inline";
	document.getElementById('right_tab_content').style.display = "none";
	
	changeTab("first");
}

function switch_right_active_tab(){
	document.getElementById('left_tab_header').style.borderBottom = "1px solid #E4E4E4";
	document.getElementById('right_tab_header').style.borderBottom = "1px solid #FFF";
	document.getElementById('tab_content').style.backgroundColor = "#FFF";
	document.getElementById('left_tab_content').style.display = "none";
	document.getElementById('right_tab_content').style.display = "inline";
	
	changeTab("second");
}

function changeTab(p){
	req = sync_request('/_includes/tabchanger.php?tab='+p);
}
