if(isset($_GET["http-safe-ports"])){http_safe_ports_popup();exit;}
	if(isset($_GET["http-safe-ports-list"])){http_safe_ports_list();exit;}
	if(isset($_GET["http-safe-ports-add"])){http_safe_ports_add();exit;}
	if(isset($_GET["http-safe-ports-del"])){http_safe_ports_del();exit;}
	
	
	if(isset($_GET["http-safe-ports-ssl"])){http_safe_ports_ssl_popup();exit;}
	if(isset($_GET["http-safe-ports-ssl-list"])){http_safe_ports_ssl_list();exit;}
	if(isset($_GET["http-safe-ports-ssl-add"])){http_safe_ports_ssl_add();exit;}
	if(isset($_GET["http-safe-ports-ssl-del"])){http_safe_ports_ssl_del();exit;}	
	
	if(isset($_GET["allow_squid_localhost"])){allow_squid_localhost_save();exit;}
	
	if(isset($_GET["request_header_max_size"])){sizelimit_save();exit;}
	if(isset($_GET["other"])){other();exit;}
	if(isset($_POST["SquidStoreLogLogging"])){SquidStoreLogLogging_save();exit;}

	
js();

function js(){
	
	$page=CurrentPageName();
	$tpl=new templates();
	$OnLyPorts=null;
	$title=$tpl->_ENGINE_parse_body("{squid_advanced_parameters}");
	if(isset($_GET["OnLyPorts"])){$OnLyPorts="&OnLyPorts=yes&t={$_GET["t"]}";}
	$html="
	function SquidAVParamStart(){
		YahooWin6('880','$page?popup=yes$OnLyPorts','$title');
	}
    exit;
}
if (isset($_GET["allow_squid_localhost"])) {
    allow_squid_localhost_save();
    exit;
}
if (isset($_GET["request_header_max_size"])) {
    sizelimit_save();
    exit;
}
if (isset($_GET["other"])) {
    other();
    exit;
}
if (isset($_POST["SquidStoreLogLogging"])) {
    SquidStoreLogLogging_save();
    exit;
}
js();
function js()
{
    $page = CurrentPageName();
    $tpl = new templates();
    $OnLyPorts = null;
    $title = $tpl->_ENGINE_parse_body("{squid_advanced_parameters}");
    if (isset($_GET["OnLyPorts"])) {
        $OnLyPorts = "&OnLyPorts=yes&t={$_GET["t"]}";
    }
    $html = "\n\tfunction SquidAVParamStart(){\n\t\tYahooWin6('880','{$page}?popup=yes{$OnLyPorts}','{$title}');\n\t}\n\tSquidAVParamStart()";
    echo $html;
}