$users=new usersMenus();
	if(!$users->AsArticaAdministrator){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["params"])){main_params();exit;}
	if(isset($_GET["domains"])){main_domains();exit;}
	if(isset($_GET["officals-domains-list"])){main_domains_list();exit;}
	if(isset($_POST["officals-domains-add"])){main_domains_add();exit;}
	if(isset($_POST["officals-domains-del"])){main_domains_del();exit;}
	if(isset($_POST["AllowInternetUsersCreateOrg"])){main_params_save();exit;}
	
	if(isset($_GET["AllowInternetUsersCreateOrg-text"])){UsersCreateOrg_popup();exit;}
	if(isset($_POST["UsersCreateOrgWelComeText"])){UsersCreateOrg_save();exit;}
	
	
	if(isset($_GET["ou-sql-js"])){ou_sql_js();exit;}
	if(isset($_GET["ou-sql-popup"])){ou_sql_popup();exit;}
	
	
	
	js();

function ou_sql_js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$q=new mysql();
	$sql="SELECT ou FROM register_orgs WHERE `zmd5`='{$_GET["ou-sql-js"]}'";
    exit;
}
if (isset($_POST["officals-domains-add"])) {
    main_domains_add();
    exit;
}
if (isset($_POST["officals-domains-del"])) {
    main_domains_del();
    exit;
}
if (isset($_POST["AllowInternetUsersCreateOrg"])) {
    main_params_save();
    exit;
}
if (isset($_GET["AllowInternetUsersCreateOrg-text"])) {
    UsersCreateOrg_popup();
    exit;
}
if (isset($_POST["UsersCreateOrgWelComeText"])) {
    UsersCreateOrg_save();
    exit;
}
if (isset($_GET["ou-sql-js"])) {
    ou_sql_js();
    exit;
}
if (isset($_GET["ou-sql-popup"])) {
    ou_sql_popup();
    exit;
}
if (isset($_GET["adbranches"])) {