$user=new usersMenus();
	if($user->AsSquidAdministrator==false){
		$tpl=new templates();
		echo "alert('". $tpl->javascript_parse_text("{ERROR_NO_PRIVS}")."');";
		die();exit();
	}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["wizard1"])){wizard1();exit;}
	if(isset($_GET["wizard2"])){wizard2();exit;}
	if(isset($_GET["wizard3"])){wizard3();exit;}
	if(isset($_GET["wizard4"])){wizard4();exit;}
	if(isset($_GET["wizard5"])){wizard5();exit;}
	if(isset($_GET["wizard6"])){wizard6();exit;}
	if(isset($_GET["wizard7"])){wizard7();exit;}
	if(isset($_GET["wizard8"])){wizard8();exit;}
	if(isset($_GET["wizard9"])){wizard9();exit;}
	if(isset($_GET["wizard10"])){wizard10();exit;}
	if(isset($_GET["wizard11"])){wizard11();exit;}
	if(isset($_GET["wizard12"])){wizard12();exit;}
	
	if(isset($_POST["EnableRemoteStatisticsAppliance"])){Save();exit;}
	if(isset($_POST["SERVER"])){wizard_save();exit;}
	if(isset($_POST["SquidDBListenPort"])){wizard_save();exit;}
js();


function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	header("content-type: application/x-javascript");
	$title=$tpl->_ENGINE_parse_body("{STATISTICS_APPLIANCE}");
    exit;
}
if (isset($_GET["wizard6"])) {
    wizard6();
    exit;
}
if (isset($_GET["wizard7"])) {
    wizard7();
    exit;
}
if (isset($_GET["wizard8"])) {
    wizard8();
    exit;
}
if (isset($_GET["wizard9"])) {
    wizard9();
    exit;
}
if (isset($_GET["wizard10"])) {
    wizard10();
    exit;
}
if (isset($_GET["wizard11"])) {
    wizard11();
    exit;
}
if (isset($_GET["wizard12"])) {
    wizard12();
    exit;
}
if (isset($_POST["EnableRemoteStatisticsAppliance"])) {