";
// alert(strHTML);
w.document.open();
w.document.write(strHTML);
w.document.close();
return true;
}
// ---------------------------------------------------------------------
function LaunchIMF(url, width, height) {
var features = "directories=0,fullscreen=0,left=0,location=0,menubar=0,"
+ "resizable=1,scrollbars=1,status=1,titlebar=1,toolbar=0,top=0,"
+ "width=" + width + ","
+ "height=" + height;
var imfWindow = window.open(url, "imfWindow", features);
imfWindow.focus();
}
/* -------------------------------------------------------------------------------------------------
Function: OpenSelectedLink
Description: Opens a document or URL from the current selection in a list
Author: Alex Clarke
Last Modfied Date: 12/12/08
Last Modfied Author: Alex Clarke
Arguments:
strListID: string - ID of the list to query
bNewWindow: boolean - whether or not to open a new window
Returns: None
Notes: loads 'not found' page if list selection cannot be determined
------------------------------------------------------------------------------------------------- */
function OpenSelectedLink(strListID,bNewWindow)
{
var strSelection="";
strList = document.getElementById(strListID);
strSelection = strList.options[strList.selectedIndex].value;
if (strSelection == "") strSelection = "/linknotfound.php"
if (bNewWindow) window.open(strSelection);
else self.location = strSelection;
return true;
}
// ---------------------------------------------------------------------
function ChangeLabel (label_title,label_text)
{
var lbls = document.getElementsByTagName("LABEL");
for (var i = 0; i < lbls.length; i++) {
if (label_title == lbls[i].title) {
//alert("Found is " + lbls[i].name);
//alert("Label Text is " + lbls[i].firstChild.nodeValue);
lbls[i].firstChild.nodeValue = label_text;
lbls[i].style.paddingLeft = "8px";
return true;
}
}
//alert(label_title + " Not Found");
return false;
}
// ---------------------------------------------------------------------
function ShowMapZoneInfo(strZone)
{
var strParams = "left=200,top=200,";
var w;
strParams = strParams + "menubar=no,resizable=no,height=200,width=200,";
strParams = strParams + "status=no,toolbar=no,scrollbars=yes";
w = window.open("/content/aicc/zoneinfo/" + strZone + ".mht",'popup',strParams);
strHTML += "
";
w.document.open();
w.document.write(strHTML);
w.document.close();
w.focus();
return true;
}
// ---------------------------------------------------------------------
function ShowZoneInfo(strZone)
{
var strTitle;
switch (strZone) {
case "Fairbanks":
strTitle = "Fairbanks Area Forestry Information";
strText = "Fairbanks Area Office ";
strText += "3700 Airport Way ";
strText += "Fairbanks, Alaska 99709-4699 ";
strText += "(907) 451-2600, fax: (907) 458-6895 ";
strText += "Fireline: (907) 451-2626 ";
strText += "Ed Sanford, Fire Management Officer";
break;
case "Tok":
strTitle = "Tok Area Forestry Information";
strText = "Tok Area Office ";
strText += "Box 10 ";
strText += "Tok, Alaska 99780 ";
strText += "(Mile 123 Glenn Hwy.) ";
strText += "(907) 883-1400, fax: (907) 883-5135 ";
strText += "Fireline: (907) 883-3473 ";
strText += "Peter Talus, Fire Management Officer";
break;
case "Delta":
strTitle = "Delta Area Forestry Information";
strText = "Delta Area Office ";
strText += "P.O. Box 1149 ";
strText += "Delta Junction, Alaska 99737 ";
strText += "(Mi. 267.5 Richardson Hwy.) ";
strText += "(907) 895-4225, fax: (907) 895-2125 ";
strText += "Fireline: (907) 895-4227 ";
strText += "Mike Goyette, Fire Management Officer";
break;
case "Valdez":
strTitle = "Valdez/Copper River Area Forestry Information";
strText = "Valdez/Copper River Area Office ";
strText += "P.O. Box 185 ";
strText += "Glennallen, Alaska 99588 ";
strText += "(Mi. 110 Richardson Hwy.) ";
strText += "(907) 822-5534, fax: (907) 822-8600 ";
strText += "Fireline: (907) 822-5533 ";
strText += "Mike Trimmer, Area Forester";
break;
case "Matsu":
strTitle = "Mat-su/Southwest Area Forestry Information";
strText = "Mat-su District Office ";
strText += "101 Airport Road ";
strText += "Palmer, Alaska 99645 ";
strText += "(907) 761-6300, fax: (907) 761-6319 ";
strText += "Fire Line: (907) 761-6311 ";
strText += "Phil Blydenburgh, Fire Management Officer";
break;
case "Chugach":
strTitle = "Chugach National Forest USDA Forest Service - Region 10";
strText = "3301 C St. ";
strText += "Anchorage, Alaska 99503 ";
strText += "(907) 743-9500
";
strText += "CNF Home Page";
break;
case "Tongass":
strTitle = "Tongass National Forest USDA Forest Service - Region 10";
strText = "Federal Building ";
strText += "648 Mission St. ";
strText += "Ketchikan, Alaska 99901 ";
strText += "(907) 225-3101
";
strText += "TNF Home Page";
break;
case "Kenai":
strTitle = "Kenai-Kodiak Area Forestry Information";
strText = "Kenai-Kodiak Area Office ";
strText += "42499 Sterling Highway ";
strText += "Soldotna, Alaska 99669 ";
strText += "(Mi. 92.5 Sterling Hwy.) ";
strText += "(907) 260-4200, fax: (907) 260-4205 ";
strText += "Burn Permit: (907) 260-4269 ";
strText += "Howard Kent, Fire Management Officer";
break;
case "Southwest":
strTitle = "Southwest District Forestry Information";
strText = "Southwest District Office ";
strText += "Box 130 ";
strText += "McGrath, Alaska 99627 ";
strText += "(907) 524-3010, fax: (907) 524-3932 ";
strText += "Fireline: (907) 524-3366 ";
strText += "Seth Ross, Assistant Fire Management Officer";
break;
case "Galena":
strTitle = "Galena Fire Management Zone Information";
strText = "Alaska Fire Service - Galena Office ";
strText += "P.O. Box 15 ";
strText += "Galena, AK 99741 ";
strText += "Phone: (907) 656-1222, fax: (907) 656-1702 ";
strText += "Jacob Livingston, Fire Management Officer ";
break;
case "Upper Yukon":
strTitle = "Upper Yukon Fire Management Zone Information";
strText = "Alaska Fire Service ";
strText += "P.O. Box 35005 ";
strText += "Ft. Wainwright, AK 99703 ";
strText += "Phone 1-800-237-3652, fax: (907) 356-5573 ";
strText += "Abe Davis, Fire Management Officer ";
break;
case "Tanana":
strTitle = "Tanana Fire Management Zone Information";
strText = "Alaska Fire Service ";
strText += "P.O. Box 35005 ";
strText += "Ft. Wainwright, AK 99703 ";
strText += "Phone 1-800-237-3652, fax: (907) 356-5573 ";
strText += "Brandon Petersen, Fire Management Officer ";
break;
case "Military":
strTitle = "Military Fire Management Zone Information";
strText = "Alaska Fire Service ";
strText += "P.O. Box 35005 ";
strText += "Ft. Wainwright, AK 99703 ";
strText += "Phone 1-800-237-3652, fax: (907) 356-5573 ";
strText += "Justin Ray, Fire Management Officer ";
break;
case "Haines":
strTitle = "Northern Southeast Area Office";
strText = "P.O. Box 263 (Gateway Building) ";
strText += "Haines, AK 99827 ";
strText += "(907) 766-2120 / fax: (907) 766-3225 ";
strText += "Greg Palmieri, Forester ";
break;
}
// strText += " (clicking a link may close this window)";
ShowPopupWindow(strText,strTitle,200,200,190,300,true);
return true;
}
//**************************************************************************
function GoToDir(strFile)
{
//alert(strFile);
document.doclist.srcdir.value=strFile;
//alert(document.doclist.passwd.value);
//alert(document.doclist.srcdir.value);
document.doclist.submit();
return true;
}
/***************************** End of JavaScript functions*********************/