$user=new usersMenus();
	if(!$user->AsSquidAdministrator){
		$tpl=new templates();
		echo "alert('".$tpl->javascript_parse_text("{ERROR_NO_PRIVS}").");";
		exit;
		
	}
	
	
	if(isset($_GET["tabs"])){tabs();exit;}
	if(isset($_GET["popup"])){popup();exit;}
	if(isset($_GET["field-list"])){field_list();exit;}
	if(isset($_GET["query"])){query();exit;}
	if(isset($_POST["LinkGroup"])){LinkGroup();exit;}
	if(isset($_POST["DeleteItem"])){UnlinkGroup();exit;}
	if(isset($_POST["allowrecompile"])){allowrecompile();exit;}
js();	
	
function js(){
	$page=CurrentPageName();
	$tpl=new templates();
	$width=950;
	$title=$tpl->_ENGINE_parse_body("{categories}");
	if($_GET["category"]<>null){$title=$title."::{$_GET["category"]}";$width=720;}
	if($_GET["website"]<>null){
		if(preg_match("#^www\.(.+)#", $_GET["website"],$re)){$_GET["website"]=$re[1];}
		$title=$title."::{$_GET["website"]}";
		$width=860;
	}
	$start="YahooWin4('$width','$page?tabs=yes&category={$_GET["category"]}&website={$_GET["website"]}','$title');";
	$html="
    exit;
}
if (isset($_GET["query"])) {
    query();
    exit;
}
if (isset($_POST["LinkGroup"])) {
    LinkGroup();
    exit;
}
if (isset($_POST["DeleteItem"])) {
    UnlinkGroup();
    exit;
}
if (isset($_POST["allowrecompile"])) {
    allowrecompile();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $width = 950;
    $title = $tpl->_ENGINE_parse_body("{categories}");
    if ($_GET["category"] != null) {
        $title = $title . "::{$_GET["category"]}";
        $width = 720;
    }
    if ($_GET["website"] != null) {
        if (preg_match("#^www\\.(.+)#", $_GET["website"], $re)) {