1030&&$gmtHourMin<2230)?'12':'00';
$dateTime = ($gmtHourMin>=2230?$tomorrow:$gmDate).$fileHour;
// echo '$dateTime: '.$dateTime.', $gmDate: '.$gmDate.', $gmtHourMin: '.$gmtHourMin.'$tomorrow: '.$tomorrow.'
'; // Debug Code
$fctype = 'probability'; // Default Precipitation Forecast: 'probability' or 'percentiles'
$measure = ($fctype=='probability'?($duration==6?'001':'025'):'50');
$iframeWidth = 656; // Width of forecast images
$imageWidth = ($iframeWidth-($iframeWidth*.045)); // Adjust image width to iframe width
$iframeHeight = ($iframeWidth*.75); // Computed IFrame Height
$bgndColor = 'silver'; // Set HAniS Background Color Here
$btnColor = 'darkslategray'; // Set Button Color here
$btnTextColor = 'white'; // Set Button Text Color here
$pauseSeconds = 2; // Pause on last image, in seconds
$animRate = 10; // Frame Rate of animation: 5 is glacial, 10 is slow, 15 is leisurely, 20 is good, and 50 is fast - set with integer
$smoothingOn = true; // Enable image smoothing - new in HAniS 2.5
}
if (isset($_GET['datetime'])) {
$dateTime = $_GET['datetime'];
}
if (isset($_GET['duration'])) {
$duration = $_GET['duration'];
}
if (isset($_GET['fctype'])) {
$fctype = $_GET['fctype'];
}
if (isset($_GET['measure'])) {
$measure = $_GET['measure'];
}
if (isset($_GET['iframewidth'])) {
$iframeWidth = $_GET['iframewidth'];
}
if (isset($_GET['iframeheight'])) {
$iframeHeight = $_GET['iframeheight'];
}
if (isset($_GET['imagewidth'])) {
$imageWidth = $_GET['imagewidth'];
}
if (isset($_GET['bgndColor'])) {
$bgndColor = $_GET['bgndColor'];
}
if (isset($_GET['btnColor'])) {
$btnColor = $_GET['btnColor'];
}
if (isset($_GET['btnTextColor'])) {
$btnTextColor = $_GET['btnTextColor'];
}
if (isset($_GET['animRate'])) {
$animRate = $_GET['animRate'];
}
if (isset($_GET['pauseSeconds'])) {
$pauseSeconds = $_GET['pauseSeconds'];
}
if (isset($_GET['smoothingOn'])) {
$smoothingOn = $_GET['smoothingOn'];
}
$imageHeight = $imageWidth*.6875;
?>