function submitOEPAirports()
{
    document.getElementById("area").value = "KATL,KBOS,KBWI,KCLE, KCLT, KCVG KDCA,KDEN, KDFW KDTW, KEWR, KFLL, KHNL, KIAD, KIAH, KJFK, KLAS, KLAX,KLGA,KMCO,KMDW,KMEM,KMIA, KMSP, KORD,KPDX,KPHL,KPHX,KPIT,KSAN,KSEA,KSFO,KSLC,KSTL,KTPA";
    document.getElementById("tafForm").submit() ;
}
function resetOriginal()
{
    document.getElementById("area").value="" ;
    document.getElementById("area").value="KBOS,KLGA,KJFK,KEWR,KPHL,KIAD,KDCA,KATL,KORD,KDFW,KDEN" ;
    document.getElementById("tafForm").submit() ;
}
function getDelays()
{
    faaUrl = "http://www.fly.faa.gov/flyfaa/flyfaaindex.jsp?ARPT=" + document.getElementById("qfind").value ;
    window.open(faaUrl) ;
}
if (document.images)	{
	
	   frnt1 = new Image;          
	   frnt1.src = '/data/front/front_page_sat_2color.gif';  
		 frnt2 = new Image;          
	   frnt2.src = '/data/front/front_page_sat_2color.gif';         
	}
	 function addVisfog() {
	   frnt1 = new Image;          
	   frnt1.src =  '/data/front/front_page_sat_2color.gif';
	 	 frnt2 = new Image;
		 frnt2.src = '/data/front/front_page_sat.gif'; 
		 document.images.img1.src = '/data/front/front_page_sat.gif';
		}
function getDelaysByRegion()
{
    faaUrl = "http://www.fly.faa.gov/flyfaa/" + document.getElementById("sltRegion").value ;
    window.open(faaUrl) ;
}

// Pops up ncwf nav helps window
    function afcWindow(mypage, myname, w, h, scroll) {
      var winl = (screen.width - w - 120);
      var wint = (screen.height - h - 260) / 2;
      winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable';
      var afcWin = window.open(mypage, myname, winprops);
    }

