// See http://www.php.net/setcookie
        if (eregi('MSIE', $_SERVER['HTTP_USER_AGENT'])) {
            // MS IE issue
            setcookie($cookie_name, "", time() + 3600, $cookie_domain);
        } elseif (eregi('Firefox', $_SERVER['HTTP_USER_AGENT'])) {
            setcookie($cookie_name, $COOKIE[$cookie_name], time() - 3600, $cookie_domain);
        } else {
            setcookie($cookie_name, "", time() - 3600, $cookie_domain);
        }
    }
    if (!empty($_COOKIE[$cookie_name])) {
        $preset_fields = explode('|', $_COOKIE[$cookie_name]);
    }
}
$station_status_list = pfget($dlmon_pf, 'station_status_lists');
$station_status_defs = pfget($dlmon_pf, 'station_status_defs');
$params = $station_status_list[$dlmodel]['single'];
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php 
echo $table_caption;
?>
: Customize webdlmon</title>
<style type="text/css" media="all">@import "webdlmon.css";</style>
<script language="javascript" type="text/javascript" src="webdlmon.js"></script>
<script language="javascript "type="text/javascript">
<?php 
<?php

if (!extension_loaded('Datascope')) {
    dl('Datascope.so');
    # load Datascope library
}
$pf = "../rtimbank";
$image_settings = pfget($pf, "image_settings");
# Image Settings
// declare the output of the file as CSS
header('Content-type: text/css');
?>
/*
Realtime Imagebank Dynamically Generated CSS Stylesheet
*/

#content {
   background: white ;
   border-top: 1px solid black ;
   border-left: 1px solid black ;
   border-right: 1px solid black ;
   padding: 0em ;
   text-align: left ;
   margin-left: auto ;
   margin-right: auto ;
}
#footer {
   clear: both ;
   background: #<?php 
echo $image_settings['footer_color'];
?>