



//High-Loc.	High-Conds.	1 LOWS	2 Lows		1Cold Front	2Cold Front	1Warm F.	2Warm Front	1ULT	2ULT	2TS

//1hu		2hbu 		1lco 	  	 	1cun	   	2cun
//1hbs		2hbs 		1lw	2lw		1cp-2f		2cp-2f 		1wa 		2wanrain	1ulta	2ulta	1ts
//1hbsw		2hbsw 		1lnw-n	2lnw-n		1cp-r 		2ctest 		1wp		2warain 		1ultr	2ultr	1ts
//1hbw		2hbw			2ln		1ca-w		2cp-weak-sl			2wp
//1hbnw		2hbnw 		1lne	2lne 		1cnp-r
//1hbn		2hbn		1le	2le-va 		1cp-nr 		2ca-w
//1hbne		2hbne 		1lse	2lcoast		1cp-r		2ca-nw
//1hrn 		2hrn 		1ls 	2lse-s	         	1cp-3h		2cp-n
//1hrne		2hrne 		1lsw	2ls		1cp-lp  		2cp-no-dir
//1hre		2hre 		 	2lsw		 		2cp-n
//1hrse		2hrse			 			    	2cp-nw
//1hrs		2hrs					 		2cp-near
//1hrsw		2hrsw 	 					 	2cp-just
//1hro		2hro 							2cp-lp
//1hrnodir

//___________________________________________________________________________________________________________________________________________________________________________


var MakeDocumentWriteWork = 999;




var wcf=("");
var dailyrain= (0);
var rid = (0);
var ww = (0);
var wwx = (0);
var cc    = (0);
var fn    = (0);
var fx    = (0);
var tch   = (0);
var fnum = (0);
var winx = (0);
var tt    =  (0);
var wdc =  (0);
var dt =    (0);
var misx=  (0);
var mis=  (0);
var wmis=  (0);
var dph=  (0);
var bdi =  (0);
var dew=  (0);
var hic = (0);
var sx =  (0);
var rh =  (0);

//<!--------------------------------------FIRST DATE Info-->
var dateStr =" 2/5/12 ";
dateStr = dateStr.split("/");
var month = dateStr[0];
var day = dateStr[1];




//<!-------------------------------------TIME  Info-->
var now = new Date();
var hh  =now.getHours();
var mo  =now.getMonth();
var year =now.getFullYear();
var min =now.getMinutes();
var mm  =(mo  + 01) ;
if (min <10) {(min = "0" + min);}

//<!------------------------------------Time since last LAST TRIP OF GUAGE-->
var dateStr = "8:11" ;
dateStr = dateStr.split(":");
var hr  = dateStr[0];
var minu = dateStr[1];
var workaround = (minu * 60);
var wmin = (workaround/60);
if (day<10) {(day = "0" + day);}
b  = hr ;
a  = hh ;
//<!--------------------------------------MINUTES IN DAY SO FAR-->
var pp = (hh * 60);
var curmin = (pp + min);
//<!----------------------------------------------SECOND DATE INFO-->
var bb     =      (hr * 60);
var pmin =      (bb + wmin);
var pansw = (curmin - pmin);
var phours=      (pansw/60);

function calcJday(current_month, current_day) {
if (current_month == 1) {dwp = new Number(0);}
if (current_month == 2) {dwp = new Number(31);}
if (current_month == 3) {dwp = new Number(60);}
if (current_month == 4) {dwp = new Number(91);}
if (current_month == 5) {dwp = new Number(120);}
if (current_month == 6) {dwp = new Number(151);}
if (current_month == 7) {dwp = new Number(181);}
if (current_month == 8) {dwp = new Number(212);}
if (current_month == 9) {dwp = new Number(243);}
if (current_month == 10){dwp = new Number(273);}
if (current_month == 11){dwp = new Number(303);}
if (current_month == 12){dwp = new Number(334);}


//<!------------------------------------------------------------------Days without precipitation INFO-->
Jday = parseInt(dwp) + parseInt(current_day);
return Jday;}
var dateStr =" 2/5/12";
dateStr = dateStr.split("/");
var month = dateStr[0];
var day = dateStr[1];
var year = dateStr[2];
var julian_day = calcJday(month,day);
var RdateStr =" 2/5/12 ";
RdateStr = RdateStr.split("/");
var Rmonth = RdateStr[0];
var Rday = RdateStr[1];
var Ryear = RdateStr[2];
var Rjulian_day = calcJday(Rmonth, Rday);
if (year > Ryear) {var dsp = ((julian_day + parseInt(365)) - Rjulian_day);}
else {var dsp = (julian_day - Rjulian_day);}

if (day <10) {day = "0" + day;}

//if (MakeDocumentWriteWork>1)   { document.write(    " Day of the year " + day  + "<BR>"+ "<BR>" ); }

//<!------------------------------------------------------------------Days with precipitation INFO-->
function calcJpday(current_month, current_day) {
if (current_month == 1) {dayp = new Number(0);}
if (current_month == 2) {dayp = new Number(31);}
if (current_month == 3) {dayp = new Number(60);}
if (current_month == 4) {dayp = new Number(91);}
if (current_month == 5) {dayp = new Number(120);}
if (current_month == 6) {dayp = new Number(151);}
if (current_month == 7) {dayp = new Number(181);}
if (current_month == 8) {dayp = new Number(212);}
if (current_month == 9) {dayp = new Number(243);}
if (current_month == 10){dayp = new Number(273);}
if (current_month == 11){dayp = new Number(303);}
if (current_month == 12){dayp = new Number(334);}

Jpday = parseInt(dayp) + parseInt(current_day);
return Jpday;}
var dateStr =" 2/5/12";
dateStr = dateStr.split("/");
var month = dateStr[0];
var day = dateStr[1];
var year = dateStr[2];
var julian_day = calcJpday(month,day);
var RdateStr =" 1/1/12 ";
RdateStr = RdateStr.split("/");
var Rmonth = RdateStr[0];
var Rday = RdateStr[1];
var Ryear = RdateStr[2];
var Rjulian_day = calcJpday(Rmonth, Rday);
if (year > Ryear) {var dayp = ((julian_day + parseInt(365)) - Rjulian_day);}
else {var dayp = (julian_day - Rjulian_day);}


//<!------------------------------------------------------------------SUN & MOON INFO-->
var srise = "7:14";
var sset = "17:41";
var mooph = "13";
//<!------------------------------------------------------------------SOIL INFO-->
//<!--current  5 inch soil temperature--
var tsoil5 = "52.0";
//<!--24-hr. soil temperature difference-->
var tdsoil5 = "-3.0";
//<!--current 12 inch soil temperature--
var gt12 = "46.0";
//<!--24-hr. soil temperature difference-->
var tdsoil12 = "-1.0";

//__________________________ 15   HEATED SENSOR  PRECIPITATION ____________________________________
//                     vxv015 current
var lwet = "0";
//                      vvr015 change past hour
var rrate = "-0.1";
//                     vdv015 change in past 24 hrs.
var wetdif = "0";
//                      vrt015  start time of the last max wet today
var stime = "2:01";
var tsp = (a - stime)



//                     vhi015 max wet today
var xwet = "15";
//                    vzh015 max wet yesterday
var ymw = "15";
// 15:33 TIME OF MAX WET YESTERDAY This was the time the precipitation started***
var ymwt= "15:33";

//__________________________ 13    NOT  HEATED SENSOR DEW____________________________________
//  			vvr013  CHANGE PAST HOUR
var lrate = "-0.3";

//  			vdv013   CHANGE IN PAST 24 HRS
var dewd = "0";

//  			vrt013  start time of the last max DEW today
var sdtime = "2:03";

//   			vhi013 MAX DEW TODAY
var dewh = "15";

//  			vzh013 Max Dew Yesterday
var dmy = "15";

// //15:38 TIME OF MAX DEW YESTERDAY
var ymdt = "15:38";

//_________________________________________________________________________
var dateStr = "15:33" ;
dateStr =   dateStr.split(":");
var yeshr  =        dateStr[0];
if (yeshr > 0   )   {var tothr = 24 - yeshr + a  ;}
if (yeshr > 0  && dsp==2 )   {var tothr = 48 - yeshr + a  ;}
if (yeshr > 0  && dsp==3 )   {var tothr = 72 - yeshr + a  ;}
if (yeshr==0  )   {var tothr = 0   ;}

//<!--RAINRATE-->

var pmonth = "0.59";

//<!--AVERAGE MONTH'S RAIN-->
var dailyrain = "0.04";
var pr = "0.000";

//<!--Current rain rate 0.002 inchesper hr.-->
var pdif = "0.06";

//<!--Total rain rate exp 0.001  ???? -->
var pcr = "0.000";

//<!--Max, rain rate exp 0.330-->
var mpr = "0.017";

//<!--Max, rain rate time exp 12:23 -->
var mprt = "8:11";

//<!--LAST TRIP OF GUAGE-->
var lastphr = "8:11";

//<!--TEMPERATURE INFo-->
var tempa = "43.2";
tempa = Math.round (tempa);


//<!--TEMPERATURE at Danville-->

var tdan = "39.2";
tdan = Math.round(tdan);

var  dan = (tdan - tempa);

//<!--TEMPERATURE at Danville-->

//var result=Math.round(original*10)/10  //returns 28.5

var tch = "1.92";
tch = Math.round(tch*10)/10


var temphi = "43.2";
var templo = "36.8";
var tempyes = "50.5";
var tdif = "-7.3";
tdif= Math.round   (tdif);
var hic = "46.2";



//  vxv013  CURRENT dew  (dewt)

var dewx = "0";



if (dewx>0  && dewx<=5 && lwet==0  && xwet==0 && ymw==0 && tempa>32 && templo>32 )               					{var dewt= " there is a light dew and " ;}
if (dewx>0  && dewx<=5 && lwet==0  && xwet==0 && ymw==0 && tempa>32 && templo<=32 )              					{var dewt= " there is still moisture on lawn from the melted frost of last night and " ;}

if (dewx >5 && dew<=10 && lwet==0  && xwet==0 && ymw==0 && tempa>32 && templo>32 )             						{var dewt= " there is a moderate dew and " ;}
if (dewx >5 && dew<=10 && lwet==0  && xwet==0 && ymw==0 && tempa>32 && templo<=32 )             					{var dewt= " there is a moderate amount of moisture on lawn from the melted frost of last night and" ;}

if (dewx >10 && lwet==0   		   && xwet==0 && ymw==0 && tempa>32 && templo>32 )             	 				{var dewt= " there is a heavy dew and " ;}
if (dewx >10 && lwet==0   		   && xwet==0 && ymw==0 && tempa>32 && templo<=32 )              					{var dewt= " there is a wet lawn from the melted frost of last night and " ;}


if (lwet == 0 && xwet ==0   && dewx<=10 && dailyrain == 0.00 )                       	                                    					{var dewt = " and dry conditions"      			 ;}
if (dewx>10 && lwet == 0 && xwet ==0   && dailyrain == 0.00 )                       	                  						{var dewt = " and the lawn is wet from dew or recent precipitation" ;}
if (dewx>15 && lwet == 0 && xwet ==15     )                       	                  								{var dewt = " and the lawn is wet from today's precipitation"          ;}
if (dewx>15 && lwet == 0 && xwet ==15  && yesmaxwet==15  )                       	                  						{var dewt = " and the lawn is wet from  precipitation yesterday"         ;}
if (dailyrain == 0.00 && pr == 0.000 && rh<=30     && xwet ==0 && dsp>5)      								{var dewt = " and very dry air & dry weather"    	;}
if (dewx==0 && lwet==0 && xwet>0  )              											{var dewt= " and the lawn is currently dry " ;}



if (lwet == 0                          && pdif > 0.00   && dewx >5                 && a<=9 		&& tempa>30  && tempa <36 && xwet ==15)  		{var dewt = " there is frozen precipitation on sensor and " ;}
if (lwet == 0                         && pdif == 0.00  && dewx >5                && a<=9 		&& tempa>32  && tempa <36 && xwet ==0)  		{var dewt = " there is condensation or melting frost and " ;}

if (ww !== " overcast "  && ymw==0  && dewx >0  && dewx < 6   && a<=9                           	&& tempa >34 && xwet == 0 && templo>32 )  		{var dewt = " there is a light morning dew and "      ;}
if (ww !== " overcast "  && ymw==0  && dewx >0  && dewx <16  && a>10 && yeshr<19    	&& tempa >35 && xwet == 0)  				{var dewt = " there is still dampness on the lawn from condensation and " ;}
if (ww !== " overcast "  && ymw==0  && dewx >0  && dewx < 5   && a<=9                           	&& tempa >35 && xwet == 0 && templo>32 )  		{var dewt = " there is a  very light morning dew and " ;}
if (ww !== " overcast "  && ymw==0  && dewx >0  && dewx < 5   && a<=9 && yeshr<19    	&& tempa >35 && xwet == 0 && templo>32 )  		{var dewt = " there is a  light morning dew and "      ;}
if (ww !== " overcast "  && ymw==0  && dewx >4  && dewx <15  && a<=9  	                && tempa >35 && xwet == 0 && templo>32 )  		{var dewt = " there is a  moderate morning dew and "   ;}
if (ww !== " overcast "  && ymw==0  && dewx >4  && dewx <15  && a<=9 && yeshr<19    	&& tempa >35 && xwet == 0 && templo>32 )  		{var dewt = " there is a  moderate morning dew and "   ;}
if (ww !== " overcast "  && ymw==0  && dewx == 15                     && a<=9 && yeshr<19    	&& tempa >35 && xwet == 0 && templo>32 )  		{var dewt = " there is a heavy morning dew and "      ;}
if (ww !== " overcast "  && ymw==0  && dewx == 15                    && a<=9 && yeshr>20     	&& tempa >35 && xwet == 0 && templo>32 )  		{var dewt = " there is a  very heavy morning dew and " ;}

// EVENING	DEWS
if (lwet  == 0 && dewx >0  && dewx <15  && a>17 && tempa >32 && xwet == 0)                							{var dewt = " grass and lawn dampness from evening dew forming and " ;}

if (dewx==0)              														{var dewt= "" ;}



//<!--RAIN RATE>
if (pr ==0              	         && lwet==0 		   && xwet==0)               				{var prr= "" ;}
if (                                          lwet==0     	   && xwet==0)              					{var prr= "" ;}
if (                                          lwet==0     	   && xwet>0  )              					{var prr= "" ;}

if (lwet>0  && lwet<16 && pr== 0.000 && tempa >40) 						{var prr = " an extremely light rain is occurring ";}
if (lwet>0  && lwet<5   && pr== 0.000  && tempa >40) 						{var prr = " an extremely light drizzle or sprinkles is occurring ";}
if (lwet>0  && lwet<16 && pr== 0.000 && tempa >=29 && tempa <=40)   					{var prr = " an extremely light precipitation is occurring ";}
if (lwet>0  && lwet<16 && pr== 0.000 && tempa >=29 && tempa >40)   					{var prr = " an extremely light precipitation is occurring ";}
if (lwet>0 &&  lwet<16 && pr== 0.000 && tempa < 29 && dewx ==15 && dewx <4 ) 			{var prr = " a very light  snow flurry is occurring ";}
if (lwet>0  && lwet<16 && pr== 0.000 && tempa < 33 && dewx >3 ) 					{var prr = " a very light freezing precipitation or snow is occurring ";}
if (lwet>0  && lwet<16 && pr== 0.000 && tempa < 30 && dewx <4 ) 					{var prr = " an extremely light snow or frozen precipitation is occurring ";}

if (pr >= 0.00 &&  lwet>0  )    									{var prr = " and very light precipitation is occurring ";}

if (pr >= 0.00 &&  lwet>13 && tempa <29 && dewx <4  )    						{var prr = " and a light snow is occurring ";}
if (pr >= 0.00 &&  lwet>10 && tempa <29 && dewx >3  )    						{var prr = " and a light freezing precipitation is occurring ";}

if (pr >= 0.00 &&  lwet>13 && tempa >=29 && tempa < 40)   						{var prr = " and a light precipitation  is occurring ";}
if (pr >= 0.00 &&  lwet>13 && tempa > 39) 							{var prr = " and a light rain is occurring ";}

if (pr >= 0.100 && tempa <27 && dewx <4 ) 							{var prr = " and a light snow is occurring ";}
if (pr >= 0.100 && tempa >=28  && tempa < 40) 							{var prr = " and a light precipitation is occurring ";}
if (pr >= 0.100 && tempa > 39)  								{var prr = " and a light rain is occurring ";}

if (pr >= 0.200 && tempa <27)  									{var prr = " and a light to moderate snow is occurring ";}
if ((pr >= 0.200) && (tempa >=27 && tempa < 40))   							{var prr = " and a light to moderate precipitation is occurring ";}
if (pr >= 0.200 && tempa > 39)  								{var prr = " and a light to moderate  rain is occurring ";}

if (pr >= 0.300  && tempa <27) 									{var prr = " and a moderate snow is occurring ";}
if ((pr >= 0.300)  && (tempa >=27  && tempa < 40))  						{var prr = " and a moderate precipitation is occurring ";}
if (pr >= 0.300  && tempa > 39) 								{var prr = " and a moderate rain is occurring ";}

if (pr >= 0.400  && tempa <27) 									{var prr = " and a heavy snow  is occurring ";}
if ((pr >= 0.400)  && (tempa >=27  && tempa < 40))    						{var prr = " and a heavy precipitation is occurring ";}
if (pr >= 0.400  && tempa > 39)  								{var prr = " and a heavy rain  is occurring ";}

if (pr >= 1.500)         						 				{var prr = " and a very heavy rain at a rate of " + pr + " inches per hour is occurring ";}
if (pr >= 3.000)          									{var prr = " an  extremely HEAVY RAINFALL at a rate of " + pr + " inches per hour is occurring ";}
if (pr >= 6.000)          									{var prr = " and a SEVERE FLOODING IF RATE CONTINUES at a rate of " + pr + " inches per hour is occurring ";}
if (pr >= 9.300)          									{var prr = " and a RECORD RAINFALL RATE  at a rate of " + pr + " inches per hour is occurring ";}




//<!--TEMPERATURE Range-->
var tran = (temphi-templo);
tran = Math.round(tran);


var wcf = "39.6";
var wcfa = " vxa019 ";
var wcfh = "43.2";
var wcfl = "29.1";

//<!--BAROMETER INFO-->
var barx = "30.13";
var brate = "-0.006";
var barhi = "30.15";
var bary = "30.18";
var bc = "-0.05";


var barxtwodecimalsupperbound = parseFloat(barx) + parseFloat(0.1);
var barxtwodecimalslowerbound = parseFloat(barx) - parseFloat(0.1);

barxtwodecimalsupperbound = barxtwodecimalsupperbound.toFixed(2);
barxtwodecimalslowerbound = barxtwodecimalslowerbound.toFixed(2);



if ( brate >  0.050 )                                  					{var brt = 1,brtt= " rising VERY RAPIDLY "  ;} // rising VERY RAPIDLY
if ( brate >  0.025  &&  brate <= 0.050)                  				{var brt = 2,brtt= " rising RAPIDLY "  ;} // rising RAPIDLY
if ( brate >  0.010  &&  brate <= 0.025)                  				{var brt = 3,brtt= " rising "  ;} // rising
if ( brate >  0.002  &&  brate <= 0.010)					{var brt = 4,brtt= " rising slowly "  ;} // rising slowly
if ( brate ==  0.002)  							{var brt = 5,brtt= " steady "  ;} // steady
if ( brate ==  0.001)  							{var brt = 5,brtt= " steady "  ;} // steady
if ( brate ==  0.000)		                  				{var brt = 5,brtt= " steady "  ;} // steady
if ( brate == -0.001)  							{var brt = 5,brtt= " steady "  ;} // steady
if ( brate == -0.002)  							{var brt = 5,brtt= " steady "  ;} // steady
if ( brate < -0.002 &&  brate>= -0.010)					{var brt = 6,brtt= " falling slowly "  ;} // falling slowly
if ( brate < -0.010 &&  brate>= -0.025)                 				{var brt = 7,brtt= " falling "  ;} // falling
if ( brate < -0.025 &&  brate>= -0.050)                  				{var brt = 8,brtt= " falling rapidly "  ;} // falling rapidly
if ( brate < -0.050)                                   					{var brt = 9,brtt= " falling Very rapidly "  ;} // falling Very rapidly


if ( bc>     0.50)                                 		{var bdi = 0  ;} // Bar. up since yesterday
if ( bc>     0.30  &&  bc< 0.51)               		{var bdi = 1  ;}
if ( bc>     0.20  &&  bc< 0.31)               		{var bdi = 2  ;}
if ( bc>     0.10  &&  bc< 0.21)               		{var bdi = 3  ;}
if ( bc>=  0.01  &&  bc< 0.11)			{var bdi = 4  ;}
if ( bc == 0.00)		                     	{var bdi = 5  ;} // Bar. steady since yesterday
if ( bc<= -0.01 &&  bc>-0.11)			{var bdi = 6  ;}
if ( bc<    -0.10 &&  bc>-0.21)                		{var bdi = 7  ;}
if ( bc<    -0.20 &&  bc>-0.31)                		{var bdi = 8  ;}
if ( bc<    -0.30 &&  bc>-0.51)                		{var bdi = 9  ;}
if ( bc<    -0.50)                                 		{var bdi = 10 ;} // Bar. down since yesterday

//<!--WIND INFO-->

var windx = "13";
var windx = Math.round(windx);

var wrate = "4.8";
var wmax = "16";
var winyhi = "41";
var whitime = "10:43";
var wdave = "40";

//Wind direction change in deg. past hour
var wdch = "-11.1";

//Wind direction for 24 hours ago  in Degrees
var wdyes = "3";

//Wind direction NOW  in Degrees
var wdc = "NE";


// dyes      Wind direction DIFFERENCE 24 hours ago in Degrees
var wdif = "32";

// dif       Different in Wind gust 24 hours ago
var wsp = "7";

//<!--RELATIVE HUMIDITY INFO-->
var rh = "70";
var rhrate = "-5.7";
var rello = "70";
var rhy = "12";

//<!--RH difference from yesterday at this time-->
var rhy = "12";

//<!-- DEW POINT  -->
var dph = "37.1";
var dpl = "33.2";

var dch = "-0.04";
dch = Math.round(dch*10)/10





var dpnow = "34.2";
dpnow= Math.round (dpnow);

//<!-- DEW POINT CHANGE FROM  YESTERDAY -->
var dpdif = "-2.2";
dpdif= Math.round (dpdif);

//<!-- DEW POINT DEPRESSION TODAY (NOW) -->
var dd= (tempa - dpnow);
dd = Math.round(dd);



//<!--SOLAR RADIATION-->
// solr      Different in SOLAR RADIATION  24 hours ago
var solr = "93";

// sryes   SOLAR RADIATION Value 24 hours ago
var sryes = "121";

var sr = "214";
// srh   SOLAR RADIATION Rate high
var srh = "153";

// srate   SOLAR RADIATION Rate past hour
var srate = "20";

var washdc = "42.8" ;

//Columbus, OH
var coloht = "37.4" ;
var difcoloh =  (coloht - washdc );
difcoloh = Math.round(difcoloh);
var coloh = "NE" ;

//Lancaster,  OH
var lanoht = "42.8" ;
var diflanoh =  (lanoht - washdc );
diflanoh = Math.round(diflanoh);
var lanoh = "NNE" ;

//Pittsburg, PA
var pitpat = "41.0" ;
var difpitpa =  (pitpat - washdc );
difpitpa = Math.round(difpitpa);
var pitpa = "NNE" ;

//Harrisburg, PA
var harpat = "39.2" ;
var difharpa =  (harpat - washdc );
difharpa = Math.round(difharpa);
var harpa = "---" ;

//Clarksburg, WV
var clwvt = "37.4" ;
var difclwv  =  (clwvt - washdc );
difclwv = Math.round(difclwv);
var clwv = "NNE" ;

//Elkins, WV
var elkwvt = "33.8" ;
var difelkwv =  (elkwvt - washdc );
difelkwv = Math.round(difelkwv);
var elkwv = "NNW" ;

// Morgantown, WV
var morwvt = "39.2" ;
var difmorwv =  (morwvt - washdc );
difmorwv  = Math.round(difmorwv );
var morwv = "---" ;

//Lexington, KY
var lexkyt = "41.0" ;
var diflexky =  (lexkyt - washdc );
diflexky  = Math.round(diflexky );
var lexky = "ENE" ;

// Charlotte, NC
var charnct = "55.4" ;
var difcharnc =  (charnct - washdc );
difcharnc  = Math.round(difcharnc );
var charnc = "N" ;

//Cold Front Test

var cfoh= (difcoloh + diflanoh + difpitpa);
var cfwv= (difclwv + difelkwv + difmorwv);
var cfpa= (difharpa );

var wwx = "";
var cw = wwx.toLowerCase()

var clo= "" ;
var ww = "Overcast"; // Richmond Airport
if (ww == "Clear"           )  	    {var clo= 1 ;}
if (ww == "Few Clouds"      )     {var clo= 2 ;}
if (ww == "Scattered Clouds")  {var clo= 3 ;}
if (ww == "Broken Clouds"   )   {var clo= 4 ;}
if (ww == "Overcast"        )       {var clo= 5 ;}
if (ww == "") 		    {var cw= " the current sky condition is not available " ;}


//if (MakeDocumentWriteWork>1)   { document.write( " &nbsp a=" + a  + " &nbsp ww="  + ww + " &nbsp Clo=" + clo + " &nbsp sr=" + sr + " &nbsp max hr rate=" + srh  +  " &nbsp hr rate=" + srate  + "<BR>"+ "<BR>" );}

var wwx = "";
var wwx = wwx.toLowerCase();

if ((lwet>0) || (wwx == "fog")  || (wwx == "light rain") || (wwx == "rain mist") || (a>9&& a<15 && sr<100))    	    {var clo= 5 ;}
if (xwet>15 && (wwx == "mist") && a<10 && sr<100)    	    	{var clo= 5 ;}
if (lwet>0  && sr<100)    	    					{var clo= 5 ;}


var wwx = "";
var wwx = wwx.toLowerCase();
if (wwx=="mist" && sr==0 && rh>95 && xwet==15)     	{var clo= 5 ;}




var wwx = "";
var wwx = wwx.toLowerCase();
if (ww == "" && wwx=="mist" && sr>100)  				 			{var cw= " it is mostly clear  " ;}
if  (lwet==0  && clo>4)									{var cw= " it is overcast with no precipitation " ;}
if  ((wwx == "" && lwet==0) && clo>4)								{var cw= " it is overcast with no precipitation " ;}

var wwx = "";
var wwx = wwx.toLowerCase();
if (wwx == "" && xwet==15 && rh>85 && lwet==0 && clo>4)						{var cw= "  it is overcast with no precipitation " ;}

if (clo == 1 && lwet==0 )									{var clo= 1, cw= " it is now clear " ;}
if (clo == 2 && lwet==0 )									{var clo= 2, cw= " it is mostly clear with no precipitation " ;}
if (clo == 3 && lwet==0 )									{var clo= 3, cw= " it is partly cloudy with no precipitation " ;}
if (clo == 4 && lwet==0 )									{var clo= 4, cw= " it is partly cloudy with no precipitation " ;}



//											"At this time "

if (wwx == "" && xwet==0 && lwet==0 && rh<40&& mm>3&&mm<12)					{var cw= " it is dry and low relative humidity " ;}
if (wwx == "" && xwet==0 && lwet==0 && dsp<5&& mm>3&&mm<12)					{var cw= " it is dry   " ;}
if (wwx == "" && xwet==0 && lwet==0 && dsp>=5&& mm>3&&mm<12)					{var cw= " it is very dry ";}
if (wwx == "" && xwet==0 && lwet==0 && dsp>10&& mm>3&&mm<12)					{var cw= " it is an EXTREMELY dry ";}
if (wwx == "" && xwet==0 && lwet==0 && dsp>15&& mm>3&&mm<12)					{var cw= " it is an drought and EXTREMELY dry";}
if (wwx == "" && xwet==0 && lwet==0 && dsp>15&& mm>3&&mm<12)					{var cw= " it is an long drought and EXTREMELY dry";}
if (wwx == "" && xwet==0 && lwet==0 && dsp>20&& mm>3&&mm<12)					{var cw= " it is an seriuos drought and EXTREMELY dry";}

if (wwx == "" && xwet==0 && lwet==0 && sr>700  )							{var cw= " it is dry and a very bright sunny day " ;}
if (wwx == "" && xwet==0 && lwet==0 && sr>650  )							{var cw= " it is dry and a bright sunny day " ;}
if (wwx == "" && xwet==0 && lwet==0 && sr>600  )							{var cw= " it is dry and a sunny day " ;}
if (wwx == "" && xwet==0 && lwet==0 && sr<140 && a>9 && a<16)					{var cw= " it is dry and a dull sky " ;}
if (wwx == "" && xwet==0 && lwet==0 && sr<80 && a>9 && a<16)					{var cw= " it is dry and gloomy    " ;}
if (wwx == "" && xwet==0 && lwet==0 && dsp>6 && rh<45)						{var cw= " it is very dry and low relative humidity " ;}
if (wwx == "" && xwet==0 && lwet==0 && dsp>12 && rh<45)						{var cw= " it is extremely dry and low relative humidity " ;}

//if (MakeDocumentWriteWork>1)   { document.write( " &nbsp cw=" + cw  +                  " &nbsp lwet="  + lwet +                " &nbsp xwet=" + xwet   + "<BR>"+ "<BR>" );}

if (wwx == "" && xwet>0 && lwet==0 && dew==0 && dewx>3)					{var cw= " precipitation has stopped but there was precipitation earlier today " ;}
if (xwet>0 && lwet==0 && dewx==0)								{var cw= " it is dry but there was precipitation earlier today " ;}

if (wwx == "" && xwet>0 && lwet>0 && lwet<3 )							{var cw= " precipitation is hardly discernible " ;}
if (xwet>0 && lwet>0 && lwet<3 )								{var cw= " precipitation is hardly discernible " ;}

if (wwx == "" && xwet>0  && lwet>0 && lwet<=6 )							{var cw= " sprinkles and very light precipitation  " ;}
if (xwet>0 && lwet>0 && lwet<=6 )								{var cw= " sprinkles and very light precipitation  " ;}

if (wwx == "" && xwet>0 && lwet>6 && lwet<11)							{var cw= " light precipitation " ;}
if (wwx == "" && dewx==15 && lwet==15 )							{var cw= " it is wet  " ;}
if (wwx == "" && dewx==15 && lwet==0 && xwet>0)						{var cw= " precipitation has stopped but surfaces are wet  " ;}
if (wwx == "" && dewx>0 && dewx<12 && lwet==0 && xwet>0)					{var cw= " precipitation has stopped and surfaces are drying  " ;}
if (wwx == "" && xwet>0 && dewx==0 && lwet==0 )						{var cw= " precipitation that occurred earlier has stopped and surfaces are dry  " ;}
if (wwx == "" && xwet>0 && lwet>0 && lwet<9  && rh>90 && pr==0.000 && tempa>38)			{var cw= " drizzle or light rain " ;}
if (wwx == "" && xwet>0 && lwet>0 && rh>97 && sr<100)						{var cw= " fog, damp and wet " ;}





//MARKER Current weather discription --  1cw
if (ww == "" && cw=="mist" && sr>100) {var clo= 2 ;}

if (clo == "") 		    								{var wsk= " the current sky condition is not available " ;}
if (clo == 1 )   										{var wsk= " the sky is currently clear " ;}
if (clo == 2 )   										{var wsk= " the sky is currently mostly clear " ;}
if (clo == 3 )   										{var wsk= " the sky currently has scattered clouds " ;}
if (clo == 4 )   										{var wsk= " the sky is currently mostly cloudy " ;}
if (clo == 5 )   										{var wsk= " the sky is currently overcast " ;}




if ((a>  5 && a<12 || a>18 && a<= 24)  && brt>3 && brt<7)  {var brt = brt +1  ;}
if ((a>11 && a<19 || a<  6)                      && brt>3 && brt<7)  {var brt = brt  -1   ;}




//<!--RAINRATE-->

var pmonth = "0.59";

//<!--AVERAGE MONTH'S RAIN-->
var pr = "0.000";



//<!--PRECIP> YESTERDAY tot.today    minus    tot. yesterday   != (not equal to)-->
var ss = "2.50" ;
var wx = "2.48" ;
var pdif = "0.06"


//<!---------------------------------------------- DATE INFO-->
function dp(ss, wx) {a *= Math.pow(10, wx);ss = Math.round(a);ss /= Math.pow(10, wx);return ss;}
var yp  = (ss  - wx ) ;
yp = Math.round(yp*100)/100



var dwp = (0);

//********************
//  MORNING FROST	                  12     Discovered (dewpoint- tempa) VERY important    Not sure but a east or SE wind direction might play into evening frost
//********************
if (clo<3 && rh>78 && xwet == 0 && dewx >0 && dewx<4 && a > 20  && windx<4 && tempa <=32 && dd < 7 )     			{var dewt = " with a frost that has already started to form tonight and "   ;}
if (clo<3 && rh>78 && xwet == 0 && dewx >0 && dewx<4 && a > 20  && windx<4 && tempa <=32 && dd < 3 )     			{var dewt = " with a heavy frost forming tonight and "             ;}
if (clo<5 && xwet == 0 &&  dewx >0 && dewx <14       && windx < 4  && yp == 0 && a>3 && a<=9        && tempa <33)   		{var dewt = " with a frost this morning and "                 ;}
if (clo<5 && xwet == 0 &&                               dewx  > 0  && yp == 0 && a <=6         && tempa <33)	      			{var dewt = " with frost formation that is increasing and "              ;}
if (clo<5 && xwet == 0 && templo<35 &&     dewx == 15 && yp == 0 && a < 11  && tempa >35  )        				{var dewt = " with frost that is now melting and "                       ;}
if (clo<5 && templo>30 && templo<36 && xwet == 0 && dewx>0 && yp == 0 && a > 7 && a<10 && tempa >31 && tempa <38)   	{var dewt = " with a damp lawn from dew or from melting frost and "   ;}

if (ymw==0  && xwet==0 && templo<33    &&  dewx == 15  && a<11  && tempa >35  )        					{var dewt = " with a frost that has now melted and lawn is still wet and "        ;}



//********************
// DEW RATINGS FOR MORNING	DEWS 	   11
//********************

if (dewx == 0  )  	                               										{var dewt = "" ;}
if (lwet>0 && dewx>0)  	                               									{var dewt = "" ;}

if (lwet  == 0        && pdif > 0.00   && dewx >5 && a<=9 && tempa>30  && tempa <36 && xwet ==15)  				{var dewt = "  and frozen precipitation on sensor " ;}
if (lwet  == 0        && pdif==0.00  && dewx >5    && a<=9 && tempa>32  && tempa <36 && xwet ==0)  				{var dewt = "  and condensation or melting frost " ;}
if (ww != " overcast "  && pdif==0.00  && dewx >0  && dewx < 6   && a<=9                       && tempa >34 && xwet == 0)  		{var dewt = "   and a light morning dew "      ;}
if (ww != " overcast "  && pdif==0.00  && dewx >0  && dewx <16  && a> 9 && yeshr<19  && tempa >35 && xwet == 0)  		{var dewt = "  and the lawn still damp from condensation " ;}
if (ww != " overcast "  && pdif==0.00  && dewx >0  && dewx < 5   && a<=9                         && tempa >35 && xwet == 0)  		{var dewt = "   and a  very light morning dew " ;}
if (ww != " overcast "  && pdif==0.00  && dewx >0  && dewx < 5   && a<=9 && yeshr<19  && tempa >35 && xwet == 0)  		{var dewt = "   and a  light morning dew "      ;}
if (ww != " overcast "  && pdif==0.00  && dewx >4  && dewx <15  && a<=9  	            && tempa >35 && xwet == 0)  		{var dewt = "   and  moderate morning dew "   ;}
if (ww != " overcast "  && pdif==0.00  && dewx >4  && dewx <15  && a<=9 && yeshr<19  && tempa >35 && xwet == 0)  		{var dewt = "  and a  moderate morning dew "   ;}
if (ww != " overcast "  && pdif==0.00  && dewx == 15                     && a<=9 && yeshr<19   && tempa >35 && xwet == 0)  		{var dewt = "  and a heavy morning dew "      ;}
if (ww != " overcast "  && pdif==0.00  && dewx == 15                    && a<=9 && yeshr>20   && tempa >35 && xwet == 0)  		{var dewt = "   and a  very heavy morning dew " ;}


// EVENING	DEWS
if (lwet == 0 && dewx >0  && dewx <15  && a>17 && tempa >32 && xwet == 0)                					{var dewt = " and grass and lawn dampness from evening dew forming" ;}
if (lwet == 0 && dewx >0  && dewx <15  && a>19 && tempa >32 && dailyrain> 0.00  && phours>9)                			{var dewt = " and grass and lawn dampness from evening dew forming" ;}


if (dewx == 0  )  	                               										{var dewt = "" ;}
if (lwet>0 && dewx>0)  											{var dewt = "" ;}
if (xwet>0 && dewx>0 && lwet==0)  										{var dewt = " and the lawn is still damp from recent precipitation " ;}


//*************************************************************************************************
// Wind Direction
//************************************************************************************************
//<!--WIND  INFO FROM Hanover County Municipal AIRPORT-->

var nwd = "NNE"; // Hanover CountyAirport

if  (nwd == "---")                              	{var nwd = wdc  ;}
if (nwd == "N")                       	{var dn = 1,dtod=1,nwd= " north"    ;}   // " north"
if (nwd == "NNE")   		{var dn = 2,dtod=2,nwd= " north-northeast"   ;}   // " north-northeast"
if (nwd == "NE")  			{var dn = 3,dtod=3,nwd= " northeast"    ;}   // " northeast"
if (nwd == "ENE") 			{var dn = 4,dtod=4,nwd= " east-northeast"    ;}   // " east-northeast"
if (nwd == "E") 			{var dn = 5,dtod=5,nwd= " east"    ;}   // " east"
if (nwd == "ESE")  		{var dn = 6,dtod=6,nwd= " east-southeast"    ;}   // " east-southeast"
if (nwd == "SE") 			{var dn = 7,dtod=7,nwd= " southeast"    ;}   // " southeast"
if (nwd == "SSE")  		{var dn = 8,dtod=8,nwd= " south-southeast"    ;}   // " south-southeast"
if (nwd == "S")  			{var dn = 9,dtod=9,nwd= " south" ;}   // " south"
if (nwd == "SSW")  		{var dn = 10,dtod=10,nwd= " south-southwest"   ;}   // " south-southwest"
if (nwd == "SW") 			{var dn = 11,dtod=11,nwd= " southwest"   ;}   // " southwest"
if (nwd == "WSW") 		{var dn = 12,dtod=12,nwd= " west-southwest"  ;}   // " west-southwest"
if (nwd == "W")  			{var dn = 13,dtod=13,nwd= " west"   ;}   // " west"
if (nwd == "WNW")  		{var dn = 14,dtod=14,nwd= " west-northwest"   ;}   // " west-northwest"
if (nwd == "NW")  			{var dn = 15,dtod=15,nwd= " northwest"  ;}   // " northwest"
if (nwd == "NNW")  		{var dn = 16,dtod=16,nwd= " north-northwest"   ;}   // " north-northwest"




if (wdave   >349 || wdave<= 11)                	{var dayave = 1  ;}   // " north"
if (wdave   >11 &&  wdave <= 34)  		{var dayave = 2    ;}   // " north-northeast"
if (wdave   >34 &&  wdave <= 56) 		{var dayave = 3   ;}   // " northeast"
if (wdave   >56 &&  wdave <= 79)		{var dayave = 4   ;}   // " east-northeast"
if (wdave   >79 &&  wdave <= 101)		{var dayave = 5   ;}   // " east"
if (wdave  >101 &&  wdave <= 124) 		{var dayave = 6   ;}   // " east-southeast"
if (wdave  >124 &&  wdave <= 146) 		{var dayave = 7   ;}   // " southeast"
if (wdave  >146 &&  wdave <= 169) 		{var dayave = 8   ;}   // " south-southeast"
if (wdave  >169 &&  wdave <= 191) 		{var dayave = 9   ;}   // " south"
if (wdave  >191 &&  wdave <= 214) 		{var dayave = 10  ;}   // " south-southwest"
if (wdave  >214 &&  wdave <= 236) 		{var dayave = 11  ;}   // " southwest"
if (wdave  >236 &&  wdave <= 259) 		{var dayave = 12  ;}   // " west-southwest"
if (wdave  >259 &&  wdave <= 281) 		{var dayave = 13  ;}   // " west"
if (wdave  >281 &&  wdave <= 304) 		{var dayave = 14  ;}   // " west-northwest"
if (wdave  >304 &&  wdave <= 326) 		{var dayave = 15  ;}   // " northwest"
if (wdave  >326 &&  wdave <= 349) 		{var dayave = 16  ;}   // " north-northwest"

if (wdyes   >349 || wdyes<= 11)                	{var dyes =  1  ;}   // " north"
if (wdyes   >11 &&  wdyes <= 34)  		{var dyes  = 2   ;}   // " north-northeast"
if (wdyes   >34 &&  wdyes <= 56) 		{var dyes  = 3   ;}   // " northeast"
if (wdyes   >56 &&  wdyes <= 79)		{var dyes  = 4   ;}   // " east-northeast"
if (wdyes   >79 &&  wdyes <= 101)		{var dyes  = 5   ;}   // " east"
if (wdyes  >101 &&  wdyes <= 124) 		{var dyes  = 6   ;}   // " east-southeast"
if (wdyes  >124 &&  wdyes <= 146) 		{var dyes  = 7   ;}   // " southeast"
if (wdyes  >146 &&  wdyes <= 169) 		{var dyes  = 8   ;}   // " south-southeast"
if (wdyes  >169 &&  wdyes <= 191) 		{var dyes  = 9   ;}   // " south"
if (wdyes  >191 &&  wdyes <= 214) 		{var dyes  = 8  ;}   // " south-southwest"
if (wdyes  >214 &&  wdyes <= 236) 		{var dyes  = 7  ;}   // " southwest"
if (wdyes  >236 &&  wdyes <= 259) 		{var dyes  = 6  ;}   // " west-southwest"
if (wdyes  >259 &&  wdyes <= 281) 		{var dyes  = 5  ;}   // " west"
if (wdyes  >281 &&  wdyes <= 304) 		{var dyes  = 4  ;}   // " west-northwest"
if (wdyes  >304 &&  wdyes <= 326) 		{var dyes  = 3  ;}   // " northwest"
if (wdyes  >326 &&  wdyes <= 349) 		{var dyes  = 2  ;}   // " north-northwest"

//<!-- WIND VEERING OR BACKING FROM YESTERDAY) -->
var wsvb= (dtod - dyes);

//if (MakeDocumentWriteWork>1)   { document.write(    "wdc=" + wdc +  " &nbsp dtod=" + dtod + " &nbsp wdyes=" + wdyes + " &nbsp dyes="  + dyes +  " &nbsp (dtod  - dyes)=" + wsvb   + "<BR>" ); }

if (wsvb>0 && wsvb<16)                      										{var wyes = "veering "    ;}
if (wsvb ==0 )   												{var wyes = "same "       ;}
if (wsvb<0)                           											{var wyes = "backing "  ;}
if (wyes == "same ")  											{var vb = 0   ;}   //  SAME AS YESTERDAY
if (wyes == "veering ")                  										{var vb = 2   ;}   // VEERING
if (wyes == "backing ")  											{var vb = 3   ;}   // BACKING

if ((dyes>5 && dyes<12) && (dtod>12 || dtod<3))									{var vb = 2   ;}   // VEERING as a cold front has passed since yesterday


if ( vb==0  )												{var wfu  = " direction that should change slowly " ;}
if ( vb==2  )												{var wfu  = "  that should veer " ;}
if ( vb==3  )												{var wfu  = "  that should back " ;}
if ( vb==2 && dn==1 && windx>2)										{var wfu  = " giving decreasing dew points " ;}
if ( vb==2 && dn==2 && windx>2 && clo<5)									{var wfu  = " giving increasing dew points and cloudiness ";}
if ( vb==2 && dn==2 && windx>2 && clo==5 && (mm>4 && mm<9))							{var wfu  = " giving increasing dew points and partly cloudy ";}
if ( vb==2 && dn==2 && windx>2 && clo==5 && (mm<5 || mm>8))							{var wfu  = " giving increasing dew points and continued cloudiness ";}
if ( vb==2 && dn==3 && windx>2 && clo<5)									{var wfu  = " giving increasing dew points and cloudiness ";}
if ( vb==2 && dn==4 && windx>2 && clo<5)									{var wfu  = " giving increasing dew points and continued  cloudiness " ;}
if ( vb==2 && dn==5 && windx>2 && barx>=30.00)									{var wfu  = " giving increasing dew points  temperature ";}
if ( vb==2 && dn==5 && windx>2 && barx<30.00)									{var wfu  = " giving increasing dew points and the wind is in the best direction for heavy precipitation when a low pressure is south of Virginia ";}
if ( vb==2 && dn==5 && temphi<59 && tdif>5 && dd<4 && windx>2 && tt==5)						{var wfu  = " giving a good chance of a fog or early morning moisture haze tomorrow ";}
if ( vb==2 && dn==6 && windx>2 && pdif<0.10)									{var wfu  = " giving increasing dew points and temperatures and often light precipitation ";}
if ( vb==2 && dn==7 && windx>2)										{var wfu  = " giving increasing dew points and temperatures ";}
if ( vb==2 && dn==8 && windx>2)										{var wfu  = " giving increasing dew points and temperatures ";}
if(vb==2 && dn==9 && brt==5 && bdi>5 && cfwv<-20  && windx>2 && st>3) 						{var wfu  = " giving increasing west to northwest wind as the cold front passes  within 12 to 24 hours ";}
if(vb==2 && dn==9 && brt==5 && bdi>5 && cfwv>-20   && windx>2)							{var wfu  = " giving increasing dew points and temperatures followed generally within 48 hours by a slow moving or weak cold front";}
if(vb==2 && dn==9 && brt==5 && bdi<4 && windx>2)		 						{var wfu  = " giving increasing dew points and temperatures ";}
if(vb==2 && dn==9 && brt>5 && brt<8 && windx>2)								{var wfu  = " giving increasing dew points and temperatures followed generally within 24 hours to 48 hours by a cold front";}
if(vb==2 && dn==9 && brt>7 && windx>2 && tdif>2)								{var wfu  = " giving increasing dew points and temperatures followed within 24 hours by a cold front ";}
if(vb==2 && dn==10 && windx>2)										{var wfu  = " that should later veer to the southwest then west-southwest. " ;}
if(vb==2 && dn==11 && windx>2 && clo<3)									{var wfu  = " giving increasing  temperatures and generally clear or decreasing clouds and drying conditions ";}
if(vb==2 && dn==12 && windx>2 && clo<3  && lwet==0)								{var wfu  = " giving  increasing  temperatures and generally clear or decreasing clouds and drying conditions ";}
if(vb==2 && dn==13 && barx<29.80 && brt<3 && windx>2 && clo<3)							{var wfu  = " giving windy conditions decreasing, dew points, temperature, clear or decreasing clouds and drying conditions" ;}
if(vb==2 && dn==13 && windx>2 && wmax<20 && clo<3)								{var wfu  = " giving decreasing  dew points, temperature and generally clear or decreasing clouds and drying conditions" ;}
if (vb<3   && dn==13 && wmax<18 && dsp>1  && clo>3 && bdi>5 )							{var wfu  = " Then shift west- northwest or northwest with the next cold frontal passage causing decreasing  dew points, temperature and generally clear or decreasing clouds and drying conditions" ;}
if(vb==2 && dn==14 && windx>2)										{var wfu  = " giving decreasing dew points, temperature and generally decreasing clouds and drying conditions";}
if(vb==2 && dn==15 && windx>2)										{var wfu  = " giving lower dew points, temperature and generally decreasing clouds and drying conditions" ;}
if(vb==2 && dn==16 && windx>2 && dpnow>25)									{var wfu  = " giving  decreasing dew points, and generally clouds";}
if(vb==3 && dn==1 && windx>2 && barx>30.30 )									{var wfu  = " giving decreasing dew points and increasing winds" ;}
if(vb==3 && dn==1 && windx>2 && barx<29.80)									{var wfu  = " giving decreasing dew points and increasing winds" ;}

if(vb==3 && dn==2 && windx>2  && lwet>0)									{var wfu  = " When the wind is backing after a cold frontal passage it often means there is a low on the front to the south of your area. If winds become north, northwest or  particularly west  it means the low pressure  has passed to the north of your location and you can expect  decreasing  dew points, precipitation ending and increasing winds ";}
if(vb==3 && dn==3 && windx>2 && lwet>0)									{var wfu  = " giving increasing dew points with precipitation " ;}
if(vb==3 && dn==2 && windx>2  && lwet==0)									{var wfu  = " giving decreasing dew points, and increasing winds ";}
if(vb==3 && dn==3 && windx>2 && lwet==0)									{var wfu  = " giving decreasing dew points " ;}
if (vb==3 && dn==4 && windx>2)										{var wfu  = " giving decreasing dew points ";}
if (vb==3 && dn==5 && windx>2  && dd<10)									{var wfu  = " giving increasing  dew points and precipitation " ;}

if (vb==3  &&(mm< 4 || mm>10)   && barx>30.15 && brt>5 && brt<7 && dn==5 && windx>2)					{var wfu  = " giving and precipitation will often start within 24 hours " ;}
if (vb==3  &&(mm> 3 && mm<11) && barx>30.15 && brt>5 && brt<7 && dn==5 && windx>2)					{var wfu  = " giving increasing dew points, light winds and generally no rain for several days " ;}
if (vb==3  &&(mm< 4 || mm>10)   && barx>30.15 && brt>7 && dn==5 && windx>2)						{var wfu  = " giving increasing winds and precipitation will often start when the wind sets in from the NE " ;}
if (vb==3  &&(mm> 3 && mm<11) && barx>30.15 && brt>7 && dn==5 && windx>2)					{var wfu  = " giving increasing dew points and rain probably within 12 to 24 hours " ;}
if (vb==3  &&(mm< 4 || mm>11)   && barx<29.70 && brt>7 && dn<6 && windx>10 && temphi<36)				{var wfu  = " that should later back  to the north-northeast then north often heavy snow, followed by a cold wave " ;}
if (vb==3  &&(mm> 3 && mm<11) && barx<29.80 && brt>7 && dn<6 && windx>10 && temphi<36)				{var wfu  = " that should later back  to the north-northeast then north often heavy precipitation  " ;}
if (vb==3 && dn==6 && windx>2 && tempa>=65 && sp>2)								{var wfu  = " giving increasing dew points and often precedes precipitation from a cold front " ;}
if (vb==3 && dn==6 && windx>2 && tempa<65 && sp>2)								{var wfu  = " giving decreasing dew points and often precedes precipitation from a cold front  " ;}
if (vb==3 && dn==7 && windx>2)										{var wfu  = " giving increasing dew points" ;}
if (vb==3 &&(mm> 3 && mm<11) && dn>2 && dn<8 && barx<30.00 && brt>5 && brt<7 && windx>2) 				{var wfu  = " giving increasing dew points and a longer period of precipitation" ;}
if (vb==3 &&(mm> 3 && mm<11) && dn>2 && dn<8 && barx<30.00 && brt>7 && windx>10)					{var wfu  = " giving increasing dew points  rain, with wind, followed, within 24 hours by clearing " ;}
if (vb==3 &&(mm< 4 || mm>10)   && dn>2 && dn<8 && barx<30.00 && brt>7 && windx>10)					{var wfu  = " giving increasing dew points  rain, with wind, followed, within 24 hours by clearing and colder" ;}
if (vb==3 && dn==8 && windx>2)										{var wfu  = " giving increasing dew points" ;}
if (vb==3 && dn==9 && windx>2)										{var wfu  = " giving increasing dew points" ;}
if (vb==3 && (mm> 3 && mm<11) && dn>4 && dn<10 && barx<29.70 && brt>7 && windx>10) 				{var wfu  = " giving  a strong storm followed within 24 hours, by clearing and cooler " ;}
if (vb==3 && (mm< 4 || mm>11)   && dn>4 && dn<10 && barx<29.60 && brt>7 && windx>10) 				{var wfu  = " giving  a strong storm followed within 24 hours, by clearing and much colder " ;}
if (vb==3 && (mm> 3 && mm<11) && dn>8 && dn<13 && barx<30.00 && brt>5 && brt<7 && windx>2 && clo>3 )			{var wfu  = " giving  clearing skies soon but increasing dew points and no precipitation for several days" ;}
if (vb==3 && dn==10 && windx>2)										{var wfu  = " giving  increasing  dew points" ;}
if (vb==3 && dn==11 && windx>2)										{var wfu  = " giving  increasing  dew points" ;}
if (vb==3 && dn==12 && windx>2)										{var wfu  = " giving  decreasing  dew points" ;}
if (vb==3 && dn==13 && windx>2)										{var wfu  = " giving  decreasing  dew points" ;}
if (vb==3 && dn==14 && windx>2)										{var wfu  = " giving  decreasing  dew points" ;}
if (vb==3 && dn==15 && windx>2)										{var wfu  = " giving  decreasing  dew points" ;}
if (vb==3 && dn==16 && windx>2)										{var wfu  = " giving  decreasing  dew points";}

//else {var wfu  = "" ;}


if (windx == 0 )             								{var ws  = "  with calm air, less than 1 mph from the ";}
if (windx >0 && windx <=2)    								{var ws  = "  with calm to light air from the ";}
if (windx >2 && windx <=4)    								{var ws  = "  with a light breeze from the ";}
if (windx >4 && windx <=9)   								{var ws  = "  with a gentle breeze from the ";}
if (windx >9 && windx <=15)  								{var ws  = "  with a moderate breeze from the ";}
if (windx >15 && windx <=20)  								{var ws  = "  with a fresh breeze from the ";}
if (windx >20 && windx <=25)  								{var ws  = "  with a strong breeze from the ";}
if (windx >25 && windx <=32)  								{var ws  = "  with near GALE force winds from the ";}
if (windx >32 && windx <=40)  								{var ws  = "  with GALE FORCE WINDS from the ";}
if (windx >40 && windx <=50)  								{var ws  = "  with STRONG GALE FORCE WINDS from the ";}
if (windx >50 && windx <=60)  								{var ws  = "  with STORM FORCE WINDS from the ";}
if (windx >60 && windx <=73)  								{var ws  = "  with VIOLENT STORM WINDS from the ";}
if (windx >73 )              								{var ws  = "  with HURRICANE FORCE WINDS from the ";}

//*************************************************************************************************
// Precipitation
//************************************************************************************************
if (mm == 1)  {var pma = 3.36 , ddm=31 , mn= " January" ;}
if (mm == 2)  {var pma = 3.00 , ddm=28 , mn= " February" ;}
if (mm == 3)  {var pma = 3.75 , ddm=31 , mn= " March" ;}
if (mm == 4)  {var pma = 3.07 , ddm=30 , mn= "April" ;}
if (mm == 5)  {var pma = 3.85 , ddm=31 , mn= " May" ;}
if (mm == 6)  {var pma = 3.48 , ddm=30 , mn= " June" ;}
if (mm == 7)  {var pma = 4.35 , ddm=31 , mn= " July" ;}
if (mm == 8)  {var pma = 4.08 , ddm=31 , mn= "August" ;}
if (mm == 9)  {var pma = 3.87 , ddm=30 , mn= " September" ;}
if (mm == 10) {var pma = 3.43 , ddm=31 , mn= " October" ;}
if (mm == 11) {var pma = 3.18 , ddm=30 , mn= " November" ;}
if (mm == 12) {var pma = 3.30 , ddm=31 , mn= " December" ;}

paday=((pma)/(ddm));
pave=((paday)*(day));
pcurdepart= ((pmonth)-(pave));
if (pcurdepart >= 0.000)              {var pos = " + ";}
if (pcurdepart  < 0.000)              {var pos = " negative ";}


if (tempa <6 )                                                    {var tpf  = " Frigid Arctic Cold ";}
if (tempa >5 && tempa <=11 )                                      {var tpf  = " Extremely Cold. ";}

if ((mm< 4 || mm>10) && tempa >11 && tempa<=20 && rh   <=75)  {var tpf  = " very cold ";}
if ((mm< 4 || mm>10) && tempa >11 && tempa<=20 && rh   > 75)  {var tpf  = " damp & very cold ";}
if ((mm> 3 && mm<11) && tempa >11 && tempa<=20 && rh   <=75)  {var tpf  = " extremely cold ";}
if ((mm> 3 && mm<11) && tempa >11 && tempa<=20 && rh   > 75)  {var tpf  = " damp & extremely cold ";}

if ((mm< 4 || mm>10) && tempa >20 && tempa<=30 && rh   <=80)  {var tpf  = " cold ";}
if ((mm< 4 || mm>10) && tempa >20 && tempa<=30 && rh   > 80)  {var tpf  = " damp & cold ";}
if ((mm> 3 && mm<11) && tempa >20 && tempa<=30 && rh   <=80)  {var tpf  = " very cold ";}
if ((mm> 3 && mm<11) && tempa >20 && tempa<=30 && rh   > 80)  {var tpf  = " damp & very cold ";}

if ((mm< 4 || mm>10) && (tempa >30 && tempa<=35) && rh   <=85)  {var tpf  = " very chilly ";}
if ((mm< 4 || mm>10) && tempa >30 && tempa<=35 && rh   > 85)  {var tpf  = " damp & very chilly ";}
if ((mm> 3 && mm<11) && tempa >30 && tempa<=40 && rh   <=85)  {var tpf  = " cold ";}
if ((mm> 3 && mm<11) && tempa >30 && tempa<=40 && rh   > 85)  {var tpf  = " damp & cold ";}

if ((mm< 4 || mm>10) && tempa >35 && tempa<=45 && rh   <=85)  {var tpf  = " chilly ";}
if ((mm< 4 || mm>10) && tempa >35 && tempa<=45 && rh   > 85)  {var tpf  = " damp & chilly ";}
if ((mm> 3 && mm<11) && tempa >40 && tempa<=50 && rh   <=85)  {var tpf  = " very chilly ";}
if ((mm> 3 && mm<11) && tempa >40 && tempa<=50 && rh   > 85)  {var tpf  = " damp & very chilly ";}

if ((mm< 4 || mm>10) && tempa >45 && tempa<=55 && rh   <=87)  {var tpf  = " cool ";}
if ((mm< 4 || mm>10) && tempa >45 && tempa<=55 && rh   > 87)  {var tpf  = " damp & cool ";}
if ((mm> 3 && mm<11) && tempa >50 && tempa<=60 && rh   <=87)  {var tpf  = " chilly ";}
if ((mm> 3 && mm<11) && tempa >50 && tempa<=60 && rh   > 87)  {var tpf  = " damp & chilly ";}

if ((mm< 4 || mm>10) && tempa >55 && tempa<=66 && rh   <=90)  {var tpf  = " pleasant ";}
if ((mm< 4 || mm>10) && tempa >55 && tempa<=66 && rh   > 90)  {var tpf  = " damp & pleasant ";}
if ((mm> 3 && mm<11) && tempa >60 && tempa<=66 && rh   <=90)  {var tpf  = " cool ";}
if ((mm> 3 && mm<11) && tempa >60 && tempa<=66 && rh   > 90)  {var tpf  = " damp & cool ";}

if ((mm< 4 || mm>10) && tempa >66 && tempa<=79 && rh   <=92)  {var tpf  = " warm ";}
if ((mm< 4 || mm>10) && tempa >66 && tempa<=79 && rh   > 92)  {var tpf  = " damp & warm ";}
if ((mm> 3 && mm<11) && tempa >66 && tempa<=79 && dpnow <=68)  {var tpf  = " pleasant "  ;}
if ((mm> 3 && mm<11) && tempa >66 && tempa<=79 && dpnow > 68)  {var tpf  = " pleasant but a little humid ";}

if ((mm< 4 || mm>10) && tempa >79 && tempa<=89 && dpnow <=68)  {var tpf  = " very warm ";}
if ((mm< 4 || mm>10) && tempa >79 && tempa<=89 && dpnow > 68)  {var tpf  = " hot & humid ";}
if ((mm> 3 && mm<11) && tempa >79 && tempa<=89 && dpnow <=68)  {var tpf  = " warm ";}
if ((mm> 3 && mm<11) && tempa >79 && tempa<=89 && dpnow > 68)  {var tpf  = " warm & humid ";}

if ((mm< 4 || mm>10) && tempa >89 && tempa<=93 && dpnow <=68)  {var tpf  = " hot ";}
if ((mm< 4 || mm>10) && tempa >89 && tempa<=93 && dpnow > 68)  {var tpf  = " very hot & humid ";}
if ((mm> 3 && mm<11) && tempa >89 && tempa<=93 && dpnow <=70)  {var tpf  = " hot ";}
if ((mm> 3 && mm<11) && tempa >89 && tempa<=93 && dpnow > 70)  {var tpf  = " hot & humid ";}
if (tempa >93 && tempa<=96 && dpnow <=72)  {var tpf  = " very hot ";}
if (tempa >93 && tempa<=96 && dpnow > 72)  {var tpf  = " very hot & very humid ";}
if (tempa >96 && tempa<=100 && dpnow <=74)  {var tpf  = " EXTREMELY Hot ";}
if (tempa >96 && tempa<=100 && dpnow > 74)  {var tpf  = " EXTREMELY Hot & very humid ";}
if (tempa >100 && tempa<=105 && dpnow <=76)  {var tpf  = " TORRID TROPICAL HEAT ";}
if (tempa >100 && tempa<=105 && dpnow > 76)  {var tpf  = " TORRID TROPICAL HEAT & very humid ";}
if (tempa >105 )              		           {var tpf  = " RECORD BREAKING TORRID TROPICAL HEAT ";}

if (tch < 0 )    			{var tcht = " that has fallen " + tch + " °F in the past hour ";}
if (tch ==0 )    			{var tcht = " that has stayed the same during the past hour ";}
if (tch > 0 )    			{var tcht = " that has risen " + tch + " °F in the past hour ";}


//if (MakeDocumentWriteWork>1)   { document.write(    " Wx and  temperature 	" + dan +    "<BR>"+ "<BR>" ); }


if ( a>=0  && a<=8 )    	{var tt = 1,td= " early this morning ",tx= 	"THE EARLY MORNING's  " ;}	 	   // Early morning
if ( a>8  && a<=11 )  	{var tt = 2,td= " this morning ",tx= 		"THIS MORNING'S   " ;}  		  // Morning
if ( a>11 && a<=16 )  	{var tt = 3,td= " this afternoon ",tx= 		"THIS AFTERNOON'S  " ;}	 	// Afternoon
if ( a>16 && a<=19 ) 	{var tt = 4,td= " this evening ",tx= 		"THIS EVENING'S  " ;}		 // Evening
if ( a>19 && a<25  )  	{var tt = 5,td= " tonight ",tx=            		"TONIGHT'S  "  ;} 			// Night

//*************************************************************************************************
// SYSTEM SPEED---   if current pressure is steady indicating a slow system movement but a pressure change of >0.60 should indicate fast moving systems
//*************************************************************************************************

// if (mm == 12) 					{var pma = 3.30 , ddm=31 , mn= " December" ;}

if (bc >   0.90 && wmax>25 )               			{var sp=7,  st= " and map features are moving VERY fast expect windy conditions " ;}
if (bc  >  0.60 && wmax>15 )                                  		{var sp=6,  st= " and map features are moving fast and is often associated with windy conditions" ;cc=66666 ;}
if (bc  >  0.40 &&  bc <=0.60)                  			{var sp=5,  st= " and map features are moving pretty fast" ;}
if (bc  >  0.25 &&  bc <=0.40)                  			{var sp=4,  st= " and map features are moving faster than average" ;}
if (bc  >=  0.15 &&  bc <=0.25)				{var sp=3,  st= " and map features are moving a little slower than average speed" ;}
if (bc  >=  0.01 &&  bc <=0.15 )				{var sp=2,  st= " and map features are moving slowly" ;}


if (bc  == 0.00 && lwet>0)		                 	{var sp=1,  st= " and weather conditions should change little in the next 3-6 hours" ;}
if (bc  == 0.00  )		                 		{var sp=1,  st= " and map features are nearly stationary" ;}

if (bc  <= -0.01 && bc >=-0.15)				{var sp=2,  st= " and map features are moving very slowly" ;}
if (bc  <= -0.15 && bc >=-0.25)				{var sp=3,  st= " and map features are moving near average speed" ;}
if (bc  < -0.25 && bc >= -0.40)                 			{var sp=4,  st= " and map features are moving faster than average" ;}
if (bc  < -0.40 && bc >= -0.60)                  			{var sp=5,  st= " and map features are moving pretty fast" ;}
if (bc  < -0.60 && wmax>15 )                                   		{var sp=6,  st= " and map features are moving fast and is often associated with windy conditions" ;}
if (bc  < -0.90 && wmax>25 )               			{var sp=7,  st= " and map features are moving VERY fast expect windy conditions" ;}

if (brt<3||brt>7 && wmax>20 )				{var sp=7,  st= " and map features are moving VERY fast expect windy conditions" ;}
if (brt<3||brt>6 && wmax>29 && bdi>6)			{var sp=6,  st= " and map features are moving fast and is often associated with windy conditions" ;}



if (day<10) {day = "0" + day;}
if (mm<10) {mm = "0" + mm;}





if (MakeDocumentWriteWork>1){document.write("if((tt=="+tt+" || tt==" +(tt+1)+")&& "+" vb<"+(vb+1)+"&& "+" brt=="+ brt +" && "+" bdi>"+(bdi -2)+"&& "+" bdi<" +(bdi+2)+"&& " + " dn>" + (dn-2) +"&& " + " dn<" +  (dn+2) + " && barx>" + barxtwodecimalslowerbound  + " && barx<" + barxtwodecimalsupperbound  +" && "+" xwet=="+ xwet +" && "+ " lwet==" + lwet +" && "+" wmax<" + (parseInt(wmax) + 5) +" && "+" tdif>" +(tdif-3) +" && "+" tdif<" + (tdif+3) +" && "+ " dpdif>"+(dpdif-3) +" && "+ " dpdif<" + (dpdif+3) +  " &&" + " tempa>"+ (tempa-10) + " && " + " tempa<"+  (tempa+10)  +  " && " + " dd<" +(dd +8) +" && " + " rh<"+(parseInt(rh) + 10)+ " && " +" rhy>" +(parseInt(rhy)-10) +" && "+" rhy<" +(parseInt(rhy)+10) + " && " +" tran>" +(parseInt(tran)-4)+" && "+" tran<" +(parseInt(tran)+5)+" && "+ " sp<" + (sp +1)+ " && " + " clo<" + ( clo +1) + " && "+" dpnow>"+(parseInt(dpnow)-7) +" && "+" dpnow<" +(parseInt(dpnow)+7) + ')  {var fn fnum = 2222 , fz fx =  "   "   ' + " ; }" + " // " + mm + "/" + day + "/" + year + "-" + a + ":" + min + '   ' + "<BR>"+ "<BR>"  ) ;}







//if (MakeDocumentWriteWork>1){document.write("&nbsp &nbsp tt="+tt+"&nbsp" +  "vb="   +vb+"&nbsp" +   " brt="     +brt+"&nbsp"+   " bdi="   +bdi+"&nbsp"+"dn= " + dn  +" bar= "+ barx +"<BR>" +" xwet="+ xwet +"&nbsp"+ " lwet==" + lwet +"&nbsp"+" wmax=" + parseInt(wmax) +"&nbsp"+" tdif=" + tdif +"<BR>"+ " dd="+dd+ "&nbsp"+" dpdif=" +  dpdif + "&nbsp"+" tempa="+  tempa + "&nbsp" + " dd=" + dd  +"&nbsp" + " rh="+parseInt(rh) + "&nbsp"+ "rhy=" +parseInt(rhy)  +"<BR>" +" tran=" +parseInt(tran)+"&nbsp"+ " sp=" + sp + "&nbsp"+ " clo=" + clo + "&nbsp"+" dpnow="+parseInt(dpnow)   + "<BR>"+ "<BR>"  ) ;}


//*************************************************************************************************
//original
//if (MakeDocumentWriteWork>1) {document.write  ( "if (a>"  + (a-3) + " && a<" + (a+4) + " && "  + " vb==" + vb + " && barx>" + barxtwodecimalslowerbound  + " && barx<" + barxtwodecimalsupperbound  + " && " + " clo==" + clo   + " && " + " bdi==" + bdi + " && " + " brt==" + brt + " && "  + " dn>" +  (dn-2)  + " && " + " dn<" +  (dn+2) +  " && " + " tdif>" + (tdif-3) + " && " + " tdif<" + (tdif+3) + " && " + " dpdif>" + (dpdif-3) + " && " + " dpdif<" + (dpdif+3) + " && " + " tempa>"+ (tempa-10) + " && " + " tempa<"+  (tempa+10)  + " && " + " pdif==" + pdif + " && " + " maxwet==" + maxwet + " && "   + " windx<"  + (windx +5)  + ') {document.write ("    ' + " - " + mm + "-" + day + "-" + year + "-" + a + ":" + min + ' " ); } '  ) ;}

//Lattest Back up
//if (MakeDocumentWriteWork>1){document.write("if((tt=="+tt+" || tt==" +(tt+1)+")&& "+" vb<"+(vb+1)+"&& "+" brt=="+ brt +" && "+" bdi>"+(bdi -2)+"&& "+" bdi<" +(bdi+2)+"&& " + " dn>" + (dn-2) +"&& " + " dn<" +  (dn+2) + " && barx>" + barxtwodecimalslowerbound  + " && barx<" + barxtwodecimalsupperbound  +" && "+" xwet=="+ xwet +" && "+ " lwet==" + lwet +" && "+" wmax<" + (parseInt(wmax) + 5) +" && "+" tdif>" +(tdif-3) +" && "+" tdif<" + (tdif+3) +" && "+ " dpdif>"+(dpdif-3) +" && "+ " dpdif<" + (dpdif+3) +  " &&" + " tempa>"+ (tempa-10) + " && " + " tempa<"+  (tempa+10)  +  " && " + " dd<" +(dd +8) +" && " + " rh<"+(parseInt(rh) + 10)+ " && " +" rhy>" +(parseInt(rhy)-10) +" && "+" rhy<" +(parseInt(rhy)+10) + " && " +" tran>" +(parseInt(tran)-4)+" && "+" tran<" +(parseInt(tran)+5)+" && "+ " sp<" + (sp +1)+ " && " + " clo<" + ( clo +1) + " && "+" dpnow>"+(parseInt(dpnow)-7) +" && "+" dpnow<" +(parseInt(dpnow)+7) + ')  {var fn fnum = 2222 , fz fx =  "   "   ' + " ; }" + " // " + mm + "/" + day + "/" + year + "-" + a + ":" + min + '   ' + "<BR>"+ "<BR>"  ) ;}

//Back up
//if(MakeDocumentWriteWork>1) {document.write ("if((tt=="+tt+" || tt==" +(tt+1)+ ")&& "+" vb<"+(vb+1)+"&& "+" brt=="+ brt +" && "+ " bdi>"+(bdi -2)+"&& "+" bdi<" +(bdi+2)+"&& " + " dn>" +  (dn-2)  + "&& " + " dn<" +  (dn+2) + " && barx>" + barxtwodecimalslowerbound  + " && barx<" + barxtwodecimalsupperbound  +" && "+" xwet=="+ xwet +" && "+ " lwet==" + lwet +" && "+" wmax<" + (parseInt(wmax) + 5) +" && "+" tdif>" +(tdif-3) +" && "+" tdif<" + (tdif+3) +" && "+ " dpdif>"+(dpdif-3) +" && "+ " dpdif<" + (dpdif+3) +  " &&" + " tempa>40 " +  " && " + " dd<" +(dd +8) +" && " + " rh<"+(parseInt(rh) + 10)+ " && " +" rhy>" +(parseInt(rhy)-10) +" && "+" rhy<" +(parseInt(rhy)+10) + " && " +" tran>" +(parseInt(tran)-4)+" && "+" tran<" +(parseInt(tran)+5)+" && "+ " sp<" + (sp +1)+ " && " + " clo<" + ( clo +1) + " && "+" dpnow>"+(parseInt(dpnow)-7) +" && "+" dpnow<" +(parseInt(dpnow)+7) + ')   {var fn fnum = 2222 , fz fx =  "      "   ' + " ; }" + " // " + mm + "/" + day + "/"+ year + "-" + a + ":" + min + '   ' + "
//if(MakeDocumentWriteWork>1){document.write("if((tt=="+tt+" || tt==" +(tt+1)+")&& "+" vb<"+(vb+1)+"&& "+" brt=="+ brt +" && "+" bdi>"+(bdi -2)+"&& "+" bdi<"+(bdi+2)+"&& " +" dn>" + (dn-2) +"&& " + " dn<" +  (dn+2) + " && barx>" + barxtwodecimalslowerbound  + " && barx<" + barxtwodecimalsupperbound  +" && "+" xwet=="+ xwet +" && "+ " lwet==" + lwet +" && "+" wmax<" + (parseInt(wmax) + 5) +" && "+" tdif>" +(tdif-3) +" && "+" tdif<" + (tdif+3) +" && "+ " dpdif>"+(dpdif-3) +" && "+ " dpdif<" + (dpdif+3) +  " &&" + " tempa>40 " +  " && " + " dd<" +(dd +8) +" && " + " rh<"+(parseInt(rh) + 10)+ " && " +" rhy>" +(parseInt(rhy)-10) +" && "+" rhy<" +(parseInt(rhy)+10) + " && " +" tran>" +(parseInt(tran)-4)+" && "+" tran<" +(parseInt(tran)+5)+" && "+ " sp<" + (sp +1)+ " && " + " clo<" + ( clo +1) + " && "+" dpnow>"+(parseInt(dpnow)-7) +" && "+" dpnow<" +(parseInt(dpnow)+7) + ')  {var fn fnum = 2222 , fz fx =  "   "   ' + " ; }" + " // " + mm + "/" + day + "/" + year + "-" + a + ":" + min + '   ' + "<BR>"+ "<BR>"  ) ;}

// VARIABLES
//*************************************************************************************************
//if (xwet ==15)  			{ document.write ( "<B>"  +  " * * prr= "     +   prr     +  " * * pr rate="    + pr           +   " * * pcr rate="    + pcr                                                                                                    														              +  "<BR>" +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +  " * * tt="        +   tt       +  " * * Vb="           + vb          +   " * * brate="       + brate        +   " * * Brt="         + brt            +  " * *Bdi="  	+ bdi           +    " * * Dn="               + dn        +   " * * barx="     + barx       +  " * * Xwet="          + xwet        				+  "<BR>"   +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +  " * * Lwet= "   +  lwet    +  " * * Wmax="    + wmax    +   " * * tdif= "         + tdif           +   " *  dpdif="       + dpdif          +  " * dd="         + dd            +    " *  rh ="                + rh        +   " *  rhy="      + rhy         +  " *  Clos ="          +  clo 				+  "<BR>"   +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +  " * * tran="     +  tran    +   " * * sp="          + sp           +  " * * ymw="        + ymw        +   " * * tch ="         + tch            +  " * *dch=" 	+ dch           +    " * * dsp="             +  dsp      +   " * * sr ="       +   sr           +  " * * dpnow="       +  dpnow				+  " <BR>"   +  " <BR>"  +  "</B>" ); }


if (xwet==15 )    			{ document.write ( "<B>"  +   "cw="   		+ cw   	+ " &nbsp KOFP= "    	+ ww     		+ "  &nbsp Maxprecrate = "  + mpr  		+ " mprt = "  + mprt 						+"<BR>" + "</B>" ); }
if (xwet==15 )      			{ document.write ( "<B>"  +   "Hr Prec started="   	+ yeshr  	+ " &nbsp Hrs. tothr= " 	+ tothr  		+ " &nbsp  Last trip = "  	+ lastphr  									+"<BR>" + "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "Max sr Change="  	+  srh    	+  " &nbsp 24h=" 		+ sryes  		 													+"<BR>" + "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "Dir.nwd ="    		+ nwd     +  " &nbsp  Past hr.="  	+ wdch 		+ " &nbsp 24h=" 		+ wdif 		+ " degs  &nbsp "  + wyes   						+"<BR>" +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "wdc="        		+ wdc 	+  " &nbsp dtod="  	+ dtod 		+ " &nbsp wdyes=" 	+ wdyes 		+ " &nbsp dyes="  + dyes 	+  "(dtod-dyes)=" + wsvb + "  B/V=" + wyes  +"<BR>" +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "Temp Max=" 		+ temphi +  " &nbsp  Current =" 	+  tempa 	+ " rhy="   		+ rhrate   	+   "  - dpnow="      	+ dpnow 					+"<BR>" +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "Windx="   		+ windx  	+  " &nbsp Past hr="  	+  wrate  	+ " &nbsp 24h=" 		+ wsp 		+ " mph "  							+"<BR>" +  "</B>" ); }
if (xwet==15 )   			{ document.write ( "<B>"  +   "Pr="   			+ pr          +  "&nbsp pcr="  		+  pcr  		+ " pdif=" 		+ pdif   		+ " prr ="  	+ prr  						+"<BR>" +  "</B>" ); }
if (dewh>0)   			{ document.write ( "<B>"  +   "Dew=    "   		+ dewx     + " &nbsp dewh=  " 	+ dewh 		+ " &nbsp  past hr= " 	+ lrate  		+  "  24h="  	+ dewd   						+"<BR>" +  "</B>" ); }
if (xwet==15 )    			{ document.write ( "<B>"  +   "Heated past hr= " 	+  rrate    + " &nbsp Past 24h=" 	+ wetdif    	+ " &nbsp  YesPrecip=" 	+  yp 										+"<BR>" +  "</B>" ); }
//if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +    "Soil 5 inches="                  + tsoil5     +   "&nbsp Past 24h=" 	+ tdsoil5   																+"<BR>"  +  "</B>" ); }
//if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "W.Dir.-Columbus,  OH="    +  coloht    + "&nbsp" 		+ difcoloh 	+  "&nbsp &nbsp"  	+ coloh  		+  " &nbsp Lancaster, OH=  "    + lanoht +  " &nbsp"  + diflanoh    +  " &nbsp &nbsp"   + lanoh  	+"<BR>"  +  "</B>" ); }
//if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "W.Dir.-Pittsburg,  PA="     +  pitpat     + "&nbsp" 		+ difpitpa 	+  "&nbsp &nbsp"  	+ pitpa   		+  "&nbsp Harrisburg, PA=  "     + harpat +  " &nbsp"  + difharpa  +  " &nbsp &nbsp"    + harpa  	+"<BR>"  +  "</B>" ); }
//if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "W.Dir.- Clarksburg, WV="  +  clwvt      + "&nbsp" 		+ difclwv 		+  "&nbsp &nbsp"  	+ clwv     		+ "&nbsp Elkins, WV=  "             + elkwvt +  " &nbsp"  + difelkwv  +  " &nbsp &nbsp"    + elkwv  	+"<BR>"  +  "</B>" ); }
//if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "W.Dir.- Morgantown, WV="+ morwvt  + "&nbsp"  		+ difmorwv 	+ "&nbsp &nbsp"  		+ morwv 	+  "&nbspCFtestoh="                 + cfoh     +  " &nbsp"   + cfwv        +  " &nbsp &nbsp"    + cfpa    	+"<BR>"  +  "</B>" ); }
//if (MakeDocumentWriteWork>1)   	{ document.write ( "<B>"  +   "W.Dir.- Lexington,  KY="    +  lexkyt    + "&nbsp" 		+ diflexky 	+  "&nbsp &nbsp"  	+ lexky    	+ "&nbsp Charlotte, NC=  "        + charnct + " &nbsp"   + difcharnc +  " &nbsp &nbsp"    + charnc +"<BR>"  +  "</B>" ); }
if (MakeDocumentWriteWork>1)   	{ document.write(    "_____________________________________________________________________"       															+ "<BR>"  + " <BR>" ); }



// Marker  1h  h1




// --EARLIER    POORLY DEFINDED FEATURE  700's ------------------------------------------------------------------------------------------------------
if (vb<4 && brt<6 && clo==1 && barx>30.20 && wmax<10  )  																																	{var fn= 682 , fz  = "A strong high pressure of (" + barhi + " inches the maximum for today so far) is in control of the Glen Allen area weather giving clear skies and light to calm winds. "; cc=50;}
if (vb<4 && brt<6 && clo==1 && barx>29.99 && barx<30.15 && wmax<10  )  																															{var fn= 683 , fz  = "A weak high pressure of (" + barhi + " inches the maximum for today so far) is in control of the Glen Allen area weather giving clear skies and light to calm winds. "; cc=50;}
if (vb<4 && brt<6 && clo<3 && barx>30.20  && wmax<10 && lwet==0 )  																																{var fn= 684 , fz  = "A strong high pressure of (" + barhi + " inches the maximum for today so far) is in control of the Glen Allen area weather giving mostly clear skies and light to calm winds. "; cc=50;}
if (vb<4 && brt<6 && clo<3 && barx>29.99 && barx<30.15 && wmax<10  && sp>5 )  																														{var fn= 685 , fz  = "A weak  high pressure  of (" + barhi + " inches the maximum for today so far) is in control of the Glen Allen area weather giving mostly clear skies and light to calm winds but expect fast changes in the weather with clouds in less than  24 hours and increasing  temperatures ahead of the next front. "; cc=50;}




if  ((mm<4 || mm>9) && brt==5 && ( bdi==5 || bdi==6)   &&   xwet==0 && lwet==0 		          && barx>29.90 && barx<30.11  	      && wmax<12)  																								{var fn= 700 , fz = "" +tx+ " WEAK FEATURE OR FEATURE IS IN TRANSITION. ";cc=50;}
if  (                                                  		          		                       dn<17	 	&& barx>30.10 && barx<30.20  &&  xwet==0 	&& lwet==0   && sr>200 && wmax<10) 																			{var fn= 701 , fz  = "A weak high pressure is causing very light " + nwd  + " wind. ";cc=50;}

if  (vb<3 &&(mm>3 || mm<10)&&  brt>5 && bdi>5  		&& dn>4 && dn<9 	&& barx<29.90   && wmax>18  && xwet==0 && dpnow<65)                                                                                                																			{var fn= 710 , fz  = "A low pressure is moving toward the area. ";cc=50;}
if  (vb<3 &&(mm<4 || mm>9)  &&  brt<5 && bdi<4 		&& dn>2 && dn<6 	&& barx>30.25                               && xwet==0    && lwet==0   && clo<4  && (sp==2 || sp==3))  																					{var fn= 720, fz  = "A high pressure is still building into the Atlantic Coast and should pass to the east of the Glen Allen or the Central Virginia area in the next 24 hours. ";cc=50;}  //    JANUARY 01, 2009   08:27 AM    MARCH 04, 2009   10:22 AM
if  (vb<3 &&(mm<4 || mm>9)  &&  brt<0 && bdi>4 		          			&& barx<29.80                               && xwet==0     && lwet==0)  																							{var fn= 721 , fz  = "A low pressure is moving away from the area. ";cc=50;}
if  (vb<3 &&(mm<4 || mm>9)  &&  brt>6 && bdi<5 	           	&& dn>11 && dn<15  	&& barx<29.80                               && xwet==0     && lwet==0  && rhy<-25 && wmax>18)  																					{var fn= 722 , fz  = "A low pressure in New England is moving away from the Glen Allen area giving windy conditions and lower temperatures and much lower relative humidity.";cc=50;}
if  (vb<3 &&(mm<4 || mm>9)  &&  brt==5 && bdi==5  		&& dn>12 && dn<15  	&& barx>29.85 && barx<30.20   && xwet==0     && lwet==0)  					                																	{var fn= 723 , fz  = "A weak feature or a feature in transition. ";cc=50;}
if  (vb<3 &&(mm<4 || mm>9)  &&  brt>5   && bdi<3  	&& dn<15          		&& barx>29.80 && barx<30.25   && xwet==0     && lwet==0 && clo>3)  					  																			{var fn= 724 , fz  = "A high pressure has built into the area and is now in transition as it starting to moving away from the area. ";cc=50;}


// Winter Highs   6A
if  (vb<3 &&(mm<4 || mm>9)   						&& barx>=30.35 && barx<=30.50 	&& wmax<10				&& (sr>300 || clo<3) )  																			{var fn= 735 , fz  = "A strong high pressure (" + barhi + " inches the maximum for today) is near the Glen Allen area thus wind speeds are currently light. "; cc=50;}
if  (vb<3 &&(mm<4 || mm>9) 	&&  brt>5  				&& barx>=30.50 && barx<=30.80 						&& sr>200  )  																				{var fn= 736 , fz  = "A VERY strong high pressure (" + barx + " inches) is near but is now moving away Glen Allen area and expect  temperatures to moderate in the next 24 hours. "; cc=50;}
if  (vb<3 &&(mm<4 || mm>9) 	&&  brt>6 && bdi>6			&& barx>30.30 && barx<=30.40 	&& xwet==0  && tdif>0 && dpdif>6)  																								{var fn= 737 , fz  = "A strong high pressure (" + barx + " inches) is near but is now moving away Glen Allen area.  "; cc=50;}
if  (vb<3 &&(mm<4 || mm>9) 			            && dn>10 && dn<13 && barx>=29.99 			&& xwet==0 	  			&& sr>250 && tempa>55 && tempa<80 )  																	{var fn= 738 , fz  = "A SE high pressure (" + barx + " inches) is moving away from Glen Allen and is giving favorable weather conditions with warmer  temperatures on southwesterly flow. ";cc=50;}
if  ((tt==2 || tt==3)&& vb<3 &&(mm<4 || mm>9) 	&& brt<5 && bdi>6	&& barx>29.75 && barx<29.90	&& xwet==0 && tdif<4 &&dpdif>5 &&dpdif<12 && (sr>120 || clo<3)&& rhy<0 && lwet==0  && rh<75) 																			{var fn= 739 , fz  = "A high pressure building into the Glen Allen area after the recent passage of a cold front ";cc=50;}// This should work for a recent cold front where the wind is light and the direction is wrong !    DECEMBER 24, 2007   09:37 AM

// Winter Lows    6B
if  (		vb<3 	&&(mm<4 || mm>9) 	&& brt==5          && (bdi==4 || bdi==5) 	       && barx>29.80 && barx<=30.25 && wmax<13)  																								{var fn= 750 , fz  = "A weak feature or a slow moving air mass. ";cc=50;}
if  (		vb<4 	&&(mm<4 || mm>9) 	&& brt>5   		&& bdi>7              	&&  dn>3 && dn<6  &&  barx<29.80 )  		 																							{var fn= 751 , fz  = "A low pressure is now south of the Glen Allen area. ";cc=50;}  //  DECEMBER 05, 2007   03:14 PM
if  (		vb<3 	&&(mm<4 || mm>9) 	&& brt>5  		&& bdi>5                &&  dn>5 && dn<9 	&& xwet==15	  && lwet==0    && pdif>8 && tdif>3  &&  dewd>5 )  																			{var fn= 752 , fz  = "A low pressure is now located to the SW of the  Glen Allen area on a north to south cold front located to the west of Glen Allen. ";cc=50;}
if  (		vb<3 	&&(mm<4 || mm>9) 	&& brt>2 && brt<5   	&& bdi<5  	           		&& barx<29.80 && dpdif<22  && xwet==0  && dd<25 	&& windx>7 && wmax>18 && 	rhy<-20)  																	{var fn= 753 , fz  = "A low pressure (" + barx + " inches) is moving away from the Glen Allen area giving breezy conditions and a large decrease in relative humidity. ";cc=50;}
if  (		vb<3 	&&(mm<4 || mm>9) 	&& brt<  5   		&& bdi<5    			&& barx<29.80  		  && xwet==15 && lwet==0 					&& pdif>0.05 )  															{var fn= 754 , fz  = " The low pressures and its associated front is now starting to move away from the Glen Allen area. "  ;}  //03/14/10
if  (		vb<3 	&&(mm<4 || mm>9) 	&& brt<5   		&& bdi<3   			&& barx<29.80  && dpdif<-5  && xwet==0   && lwet==0 && wmax>18 			&& rhy<-20)  																{var fn= 755 , fz  = "A low pressure (" + barx + " inches) is moving away from the Glen Allen area giving breezy conditions and a large decrease in relative humidity. ";cc=50;}




//  000  Winter Pressure Test

if  (		vb<3	&&(mm<4 || mm>9) 	&& brt>6               	 	&& bdi>6                                                      && barx<29.91                                               		&& lwet==0 && wmax>10 			 && rhy>20)  														{var fn= 800054 , fz  = "A low pressure is  appraoching the Glen Allen area and expect  cloudy unsettled weather with  precipitation and an increase in  temperature. ";cc=50;}  										// test condition 1 - Barometric pressure decrease indicates coming cloudy unsettled weather with  precipitation
if  (		vb<3	&&(mm<4 || mm>9) 	&& brt<3               	 	&& bdi<6                    && (dn>14 || dn<2)                               && barx>29.75                                && lwet==0 && wmax>15 			 && rhy<-10)  															{var fn= 800055 ,     fz  = "A low pressure is  leaving the Glen Allen area and a high pressure is building in from a westward direction expect breezy conditions with fair dry conditions and a decrease in  temperatures and dew points. ";cc=50;}  				// test condition 2 - Barometric pressure rise indicates fair dry and colder weather
if  (		 vb==3    &&(mm<4 || mm>9) 	&& brt>5  && brt<8               && bdi<6  && bdi<8  &&  dn>6 && dn<9                                  && barx>29.80   && barx<30.30                    	&& lwet==0 && wmax>10 			 && rhy>10)  													{var fn= 800056 , fz  = "A low pressure is  west of the Glen Allen area and is weak or at a distance as the pressure is still high and expect cloudy conditions and a smaller temperature range with warmer nights higher dew point  temperatures";cc=50;}                                                                                 	 	// test condition 3 -A slow, regular and moderate fall and pressure indicates a low pressure area is passing at a distance to the south of Glen Allen
if  (		 vb<3      &&(mm<4 || mm>9) 	&& brt>5  && brt<8               && bdi<6  && bdi<8                                   && barx>29.80   && barx<30.35                    	&& lwet==0 && wmax>19 	&& sp>2		 && rhy>10)  															{var fn= 800057 , fz  = "A low pressure is  passing the Glen Allen area at a distance and expect breezy conditions and the passage of a average or weak cold front then fair dry weather with a decrease in  temperature and dew point  temperatures. ";cc=50;}  		// test condition 3 - A slow, regular and moderate fall and pressure indicates a low pressure area is passing at a distance to the north of Glen Allen
if  (		 vb<3      &&(mm<4 || mm>9) 	&& brt>9               && bdi<3                                   		     && barx<30.50                    			&& lwet==0 && wmax>19 	&& sp>2		 && rhy>10)  															{var fn= 800058 , fz  = "A rapid increase in pressure indicates the passage of a nearby disturb or a smaller low pressure normally brings windy conditions and short periods of precipitation followed by a cooler temperatures and clearing conditions. ";cc=50;}  		// test condition 4 - A  sudden pressure increase, then if small, indicates a nearby disturb its this normally brings windy conditions and short periods of precipitation.
if  (		 vb<3      &&(mm<4 || mm>9) 	&& brt<3               && bdi>8                                   		     && barx>29.00                        			&& lwet==15 && wmax>10 		&& rhy>20)  																{var fn= 800059 , fz  = "A rapid decrease in pressure indicates the approach of a nearby disturbance or a smaller low pressure normally brings windy conditions to be followed by a short but heavy interval of precipitation followed by additional precipitation. ";cc=50;}  		// test condition 4 - A  sudden pressure decrease, then if small, indicates a nearby disturb its this normally brings windy conditions and short periods of precipitation.
if  (		vb==3 	&&(mm<4 || mm>9) 	&& brt>9  && brt<11	&& bdi>7 && bdi<10 &&  dn>2 && dn<6  && barx<30.50  && dpdif>2  	&& xwet==0   	&& lwet==0 && wmax>15 			&& rhy>10)  															{var fn= 800060 , fz  = "A strong low pressure is approaching the Glen Allen area from the south or southeast giving breezy conditions and precipitation should follow in 6-9 hours. ";cc=50;}  									// test condition 5 - Quick pressure drop a fast change to stormy conditions
if  (		vb==3 	&&(mm<4 || mm>9) 	&& brt>5  && brt<8 	&& bdi>5 && bdi<8  &&   dn>2 && dn<6  && barx<30.00  && dpdif>0  	&& xwet==0   	&& lwet==0 && wmax>10 			&& rhy>0)  																{var fn= 800061 , fz  = "A large slow moving low pressure is approaching the Glen Allen area from the south or southeast giving a slow onset of precipitation but that should be steady and of long duration. ";cc=50;}  						// test condition 6 - A large, slow and sustained decrease indicates a long period of poor weather drop a slow change to stormy conditions but of a long duration
if  (		vb<3 	&&(mm<4 || mm>9) 	&& brt<3                       	&& bdi<3                                                      && barx>30.10 && barx<30.70     && xwet==0   	&& lwet==0 && wmax>10			&& rhy<-10)  															{var fn= 800062 , fz  = "A large area of high pressure is now building into Glen Allen - Springfield Park area.  ";cc=50;}  																// test condition 7 - A sudden rise in pressure, when the pressure is about average or above average and the weather is clear, indicates the approach of a low pressure cell and the barometer will soon start to fall ---   DECEMBER 16, 2009   08:39 AM Not true
if  (		vb<3	&&(mm<4 || mm>9) 	&& brt<3               	 	&& bdi>7                                                      && barx<29.50                                                  	&& lwet==0 && wmax>15 	)  																		{var fn= 800063 , fz  = "A low pressure is rapidly leaving the Glen Allen area and expect very windy conditions and rapid clearing and fair weather of SHORT duration. ";cc=50;} 										// test condition 8 - Rapid rise when the pressure is low, announces a short period of fair weather
if  (		vb<3	&&(mm<4 || mm>9) 	&& brt>3 && brt<5               && bdi>2 && bdi<5                                     && barx>30.15   &&     sp<3   	&& xwet==0   	&& lwet==0 && wmax<15 && dsp>3 && rhy>-20 && rhy<30)  																{var fn= 800064 , fz  = "A high pressure is moving slowly  expect little wind and a long duration of fair weather. ";cc=50;} 											 					// test condition 9 -Pressure's is great and prolonged, count on many days of good weather ahead
if((tt>3)    &&        vb<3        &&(mm<4 || mm>9)            && brt>5 		&& bdi>5&& bdi<9     && dn>8&& dn<12 && barx>30.05 && barx<30.25 && xwet==0 && lwet==0 && wmax>19 && tdif>6 && tdif<12 && dpdif>8 && dpdif<14 && tempa>54 && tempa<74 && dd<34 && rh<49 && rhy>-6 && rhy<14 && tran>27 && tran<36 && sp<3 && clo<3 && wdch>100 && tran>26) 	{var fn= 800065 , fz = "A high pressure ridge axis has passed the Glen Allen area and the southerly winds on the back side of the axis has caused a large  temperature increase today. " ; } // 11/07/09-15:13


// Summer Highs   6C
if((mm>3 && mm<10)&& brt==5 && (bdi==4 || bdi==5 )  && tempa<89 && rh>60				&& lwet==0 && sp<3 && dpnow>=60 && dpnow<70)  																						{var fn= 760 , fz  = "A slow moving humid and confortable air mass is in place over Glen Allen - Springfield Park area for the summer season and expect little change in the weather features in the next 48 hours. Then except a slow warming trend. ";cc=50;}
if((mm>3 && mm<10)&& brt==5 && (bdi==4 || bdi==5 ) 						&& lwet==0 && sp<3 && dpnow<60)  																								{var fn= 761 , fz  = "A slow moving damp and confortable air mass is in place over Glen Allen - Springfield Park area for the season and expect little change in the weather features in the next 24 hours.    ";cc=50;}
if((mm>3 && mm<10)&& brt==5 && (bdi==4 || bdi==5) 						&& lwet==0 && sp<3 && clo<4)  																								{var fn= 762 , fz  = "A slow moving high pressure air mass is in place over Glen Allen - Springfield Park area giving little change in the weather features in the next 48 hours. ";cc=50;}
if((mm>3 && mm<10)&& brt==5 && (bdi==4 || bdi==5 ) 						&& lwet==0 && sp<3 && dpnow>67)  																								{var fn= 763 , fz  = "A slow moving humid air mass is in place over Glen Allen - Springfield Park area giving little change in the weather features in the next 48 hours. ";cc=50;}
if((mm>5 && mm<9)&& brt==5 && bdi>5 && dsp>5 && rh<40 && dn>11 &&dn<15 	&& tempa>90 && lwet==0 && sp<3 && dpnow<65)  																									{var fn= 764 , fz  = "A slow moving hot and arid air mass generally associated with drought conditions is now in place over the Glen Allen area giving drying heat and very little chance for any rain";cc=50;}

if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>7&& dn<11 && barx>30.05 && barx<30.25 && xwet==15 && lwet==0 && wmax<21 && tdif>-6 && tdif<0 && dpdif>-3 && dpdif<3 && tempa>40 && dd<18 && rh<81 && rhy>2 && rhy<12 && tran>14 && tran<22 && sp<3 && clo<5 && dpnow>64 && dpnow<78) 							{var fn= 766 , fz = "A slow moving humid tropical air mass is in place over Glen Allen - Springfield Park area giving very isolated scattered downpours in the central and SE part of Virginia.   A stationary front is over the SE coast running SW to NE giving a slow change in weather features over the next 48 hours. " ; } // 8/14/09-17:29  0.50 inches here in an isolated shower/ few areas had rain
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>7&& dn<11 && barx>30.05 && barx<30.25 && xwet==15 && lwet==0 && wmax<22 && tdif>-6 && tdif<0 && dpdif>0 && dpdif<6 && tempa>40 && dd<16 && rh<86 && rhy>8 && rhy<18 && tran>14 && tran<22 && sp<3 && clo<5 && dpnow>65 && dpnow<79) 							{var fn= 767 , fz = " A slow moving humid tropical air mass is in place over Glen Allen - Springfield Park area giving very isolated scattered downpours in the central and SE part of Virginia.   A stationary front is over the SE coast running SW to NE giving a slow change in weather features over the next 48 hours. " ; } // 8/14/09-18:10  0.50 inches here in an isolated shower/ few areas had rain

if(vb<3&& brt==5 && bdi>2&& bdi<6  && dn>13 && barx>30.19 && xwet==0 && lwet==0 && wmax<15 && tdif>-6 && tdif<0   && tempa<38 && dd<16 && rh<75 && tran<22 && sp<3 && clo<3  && dpnow<17) 																		{var fn= 770 , fz = " A slow moving dry arctic air mass is in place over Glen Allen - Springfield Park area giving very low dew point  temperatures. The current dew point temperature is " + dpnow + "°F.  Expect cold dry conditions and little change in weather features over the next 48 hours. " ; } // winter airmass conditions


if((mm>3 && mm<10)&& brt==5 &&  (bdi==4 || bdi==5) 						&& lwet==0 && sp>=3)  																									{var fn= 780 , fz  = "A weak feature.   ";cc=50;}
if((mm>3 && mm<10) && (brt==4 || brt==5) &&  (bdi==4 || bdi==5) && xwet==0 && lwet==0 && barx>29.91 && barx<=30.15 && wmax<14 	&& sr>200)  																							{var fn= 781 , fz  = "A weak high pressure is near the Glen Allen area. ";cc=50;}
if((mm>3 && mm<10)&&(brt==6||brt==7)&& xwet==0 && lwet==0	&& barx>30.12 && barx<=30.15 	&& sr>200)  																										{var fn= 782 , fz  = "High pressure  is now starting to move away from the Glen Allen area as the pressure is starting to fall. ";cc=50;}
if((mm>3 && mm<10)&& dn<5 && dd<3	&& barx>30.12 && barx<=30.30  			&& xwet>10)  																											{var fn= 783 , fz  = "A northern high pressure is pulling damp Atlantic air inland. ";cc=50;}
if((mm>3 && mm<10)  			&& barx>30.20 && barx < 30.40  	&& sr>200)  																												{var fn= 784 , fz  = "A strong high pressure (" + barx + " inches) is near the Glen Allen area. ";cc=50;}
if((mm>3 && mm<10)  			&& barx>30.40 && barx < 30.80  	&& sr>200)  																												{var fn= 785 , fz  = "A VERY strong high pressure (" + barx + " inches) is near the Glen Allen area. ";cc=50;}
if((mm>3 && mm<10)  			&& barx>29.90 && barx < 30.12  	&& sr>400 && dpnow>45 && dpnow<63  && rhy<-10 && lwet==0)  																							{var fn= 786 , fz  = "A high pressure with favorable weather conditions and lower relative humidy than yesterday at this time. ";cc=50;}
if((mm>3 && mm<10)  			&& barx>29.90 && barx < 30.12  	&& sr>300 && dpnow>45 && dpnow<61 && tempa>92 && tempa<100  )  																						{var fn= 787 , fz  = "A high pressure is the dominant weather feature with  hot conditions  for " +mn + " but with low dew point  temperatures. ";cc=50;} //  JULY 08, 2009   01:55 PM
if((mm>3 && mm<10)  			&& barx>29.90 && barx < 30.12  	&& sr>300 && dpnow>59 && dpnow<68 && tempa>80    )  																								{var fn= 788 , fz  = "A high pressure is the dominant weather feature with favorable weather conditions for " +mn + " with moderate dew point  temperatures. ";cc=50;} //  Sep 09, 2009   01:55 PM
if(mm>3 && mm<10     			&& barx>30.00                               	&& sr>300 && dpnow>71 && tempa>91   )  																									{var fn= 789 , fz = "A high pressure with high temperatures, dew points and unpleasant  summer weather conditions. ";cc=50;}


// Summer Lows    6D
if(vb==3 &&(mm>3 && mm<10) &&  brt==5	&& (bdi==4 || bdi==5)    && barx<=29.90  && wmax<15 && rh>79 )  																											{var fn= 800 , fz  = "A weak low pressure (" + barx + " inches) is near the Glen Allen area. ";cc=50;}
if(vb==3 &&(mm>3 && mm<10) &&  brt>5	&& (bdi==5 || bdi==6)    && barx>=29.70 && barx<30.00 && clo==5 && wmax>15) 																										{var fn= 801 , fz  = "A weak  low pressure is near the Glen Allen area.  ";cc=50;}
if(vb==3 &&(mm>3 && mm<10) &&  brt>6		      && bdi>6     && barx <  29.70  && clo>3)																												{var fn= 802 , fz  = "A strong low pressure (" + barx + " inches) is near the Glen Allen area. ";cc=50;}
if(tt==1 && vb==3 &&(mm>3 && mm<10) &&  brt<5   &&  bdi>5     && barx<29.89 	&& lwet==0    && dn>1 && dn<4 && tch>0 && rh>85 && wmax<17)  																								{var fn= 803 , fz  = "A low pressure located to the SE of Glen Allen is moving away from the area. ";cc=50;}






//           1hu                HIGH PRESSURES  UNUSUAL CONDITIONS

if (rid==1 && clo<3 && brt>5 && wdif>120 )  																																		{var fn = 808 , fz = "A high pressure ridge is building into the Glen Allen area giving a clear sky " + nwd + " winds and " + tpf  + " temperatures. "  ;}
if (rid==2 && clo>2 && brt<5 && wdif<-120)                                																																{var fn = 809 , fz = "A trough is building into the Glen Allen area giving cloudiness and " + nwd + " winds and "+ tpf  + " temperatures. " ;}
if (tt==2 	                  && vb<3 && brate>0  && bdi>8  && xwet==0  && barx>30.00    && tdif<0   && sp>5)																												{var fn = 810 , fz = "A rapid weather change as a STRONG high pressure is building into the Glen Allen area after the influence of a deep a Low Pressure yesterday. " ;}
if (tt==2 	                  && vb<3 && brate>0  && bdi<4  && xwet==0  && barx>30.30    && tdif<0 && sp<3)																												{var fn = 811 , fz = "A slow moving high pressure is continuing to build into the Glen Allen area.  " ;}
if (tt==3 	                  && vb<3 && brate<0  && brt<6 && bdi>7  && xwet==0  && barx>30.00    && tdif<0 && sp<3)																											{var fn = 812 , fz = "A slow moving low pressure is continuing to track toward the Glen Allen area. " ;}
if (tt==3 	                  && vb<3 && brate<0  && brt<6 && bdi<3  && xwet==0  && barx>30.30    && tdif<0 && tempa>50)																											{var fn = 813 , fz = "A low pressure is tracking toward the Glen Allen area after the influence of high Pressure.   " ;}
if (tt==2 	                  && vb<3 && brt==5 && bdi==5 && dn>11 && dn<15     && xwet==0  && barx<30.15 && dpdif<0   && clo<3 && tdif<0 && sp<3)		 																						{var fn = 814 , fz = "A high pressure is building into the Glen Allen area slowly from SE as a Low Pressure is in New England & both working to pull a west flow and cloudiness. " ;}
if (tt==3 	                  && vb<3 && brate<0  && bdi<4 && dn>10 && dn<14       && xwet==0  && barx<30.15 && dpdif<0   && clo<3 && tdif<0  && sp<3)		   																						{var fn = 815 , fz = "A high pressure is building into the Glen Allen area slowly from SE as a Low Pressure is in New England & both working to pull a west flow and cloudiness. " ;}
if (tt>0                      && vb<3 && brt<5      && bdi<5 && dn>11 && dn<15     && xwet==0  && barx<30.20  && dpdif>0  && clo>3  && tdif<0 &&(mm<4 || mm>9)) 																							{var fn = 816 , fz = "A high pressure is moving to the south of Glen Allen area and a Low Pressure is in New England & both working to pull a west flow and cloudiness. " ;}
if((tt==3 || tt==4)  && vb<4  && brt<5	&& bdi<4    	&&  dn>11   &&  dn<15  	&& barx>29.80 && dpdif<-5 && tdif<4 && wmax<15   		            && dd<10 && tempa>30 && tempa<50) 																		{var fn = 817 , fz  = "A high pressure is starting to build into the Glen Allen area.  " ;cc=4130;}
if (tt==3 		   && vb>1  && brt<5 	&& bc>0.20      && dn==15               	&& barx>30.10 && dpdif>0  && tdif<2 && wmax>20  && xwet==0  && clo>3 && temphi<50)																					{var fn = 818 , fz  = "A high pressure is now southwest of the Glen Allen area and a low pressure is well to the northeast of the area giving a strong NW flow across the Great lakes. " ;}  //    NOVEMBER 07, 2007
if (tt<4 		   && vb<4  && brt<4 	      		&& dn>0               		&& barx>29.80 && dpdif<-17  && tdif<-18 && wmax<10  && xwet==0  && clo>0 && tempa<50)																			{var fn = 819 , fz  = "A strong high pressure is building into the Glen Allen area after the passage of a cold front less than 30 hours ago. " ;}  //     DECEMBER 29, 2008   10:39 AM--  JANUARY 01, 2009   08:07 AM
if ((tt==3 || tt==4) && vb<4  && brt>0 	      		&& dn>0               		&& barx>29.80 && dpdif<-18  && tdif<-9 && wmax<10  && xwet==0  && clo<4 && tempa<60)																				{var fn = 820 , fz  = "A weak or distant high pressure is building into the Glen Allen area after the passage of a cold front less than 24 hours ago. " ;}  //      DECEMBER 29, 2008   12:05 PM
if ((tt==3 || tt==4) && vb<4  && brt>6 && bdi<8		&& dn<5               		&& barx>30.20 && dpdif>4  && tdif<0 && wmax<12  && xwet==15 && lwet>8  && clo==5 && tempa<33)																			{var fn = 821 , fz  = "A high pressure to the north is giving a NE flow to the Glen Allen area and a low pressure to the SW is causing overrunning of the colder air at the surface. " ;}  //       JANUARY 27, 2009   12:42 PM


//        1hbs                      HP BUILDING IN  FROM THE SOUTH or a SOUTHERLY DIRECTION


if((tt==1|| tt==2)&& vb<3  && brt<4     && bdi>2    && dn>10 && dn<14 		 && xwet==0 &&barx<30.30 		      && clo<5 	&& wmax<15  && tran>5 	                     && dd>8  && tempa<60) 					              													{var fn = 831 , fz = "A high pressure is now in a southerly direction from the  the Glen Allen area. " ;}  					//  JANUARY 03, 2009   08:39 AM
if((tt==1|| tt==2)&& vb<4  && brt<4    && bdi>2     &&  dn>10 && dn<14 		&& xwet==0 &&barx<30.30 	   	     && clo<5            && wmax<15  && tran>5 	                     && dd>8  && tempa<60) 					              													{var fn = 832 , fz = "A high pressure is now in a southerly direction from the  the Glen Allen are. " ;}  					//  JANUARY 03, 2009   08:39 AM,   JANUARY 22, 2009   08:44 AM,   JANUARY 23, 2009   08:37 AM



if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>11&& dn<15 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<20 && tdif>2 && tdif<8 && dpdif>3 && dpdif<9 && tempa>22 && tempa<42 && dd<14 && rh<90 && rhy>-7 && rhy<13 && tran>25 && tran<34 && sp<3 && clo<2 && dpnow>19 && dpnow<33) 						{var fn = 833 , fz  = "A high pressure located to the S  is building eastward and a low pressure in the NE is moving away from the area causing the pressure rise. " ; } // 12/21/09-19:16



//        1hbsw                      HP BUILDING IN  FROM THE SOUTH or a SOUTHERLY DIRECTION

if((tt==1|| tt==3)&& vb<3 && brt<5     &&  bdi>5 && bdi<9   && (dn>12 || dn<2)     && xwet==0 			&&  dpdif<0  && clo<4        	&& wmax<10 		&& tdif<0 && sp>=3) 							              											{var fn = 841 , fz = "A high pressure located to the SW  is building toward the Glen Allen area after the passage of a cold front. "  ;} 		// Catch all    DECEMBER 05, 2008   09:32 AM
if((tt==1|| tt==2)&& vb<3 && brt<4     && bdi<3    && dn<5 			&& xwet==0  && barx>30.00  	&& dpdif<3   && clo==1  	&& wmax<5  && tran<10  	&& tdif<-3  && dd<8 && tempa<20 ) 						              												{var fn = 843 , fz = "A cold high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving clear, cold, calm and frosty conditions this morning " ;}//           JANUARY 21, 2009   08:10 AM
if((tt==1|| tt==2)&& vb<3   	     &&  brt<4 &&  bdi<4  		           	&& xwet==0  && barx<30.00  	&& dpdif<7  && clo<4  	&& wmax<30 && tran>10  	&& tdif<0   && dd>10 && tempa>35 && sp==3) 				              													{var fn = 844 , fz = "A cool high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving below average  temperatures today and breezy conditions by noon. " ;}		//       APRIL 08, 2009   09:26 AM
if((tt==1|| tt==2)&& vb<3   	     &&  brt<4 &&  bdi<5 		           	&& xwet==0  && barx<30.00  	&& dpdif>4  && clo>3  	&& wmax<10 && tran<12  	&& tdif>0   && dd>2 && tempa>35 && sp==2) 				              													{var fn = 845 , fz = "A weak high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving below average  temperatures today but expect and increasing in  temperatures. " ;}		//        APRIL 09, 2009   08:07 AM
if((tt==1|| tt==2)&& vb<3   	     &&  brt<4 &&  bdi<5 		           	&& xwet==0  && barx<30.15  	&& dpdif>0  && clo<4  	&& wmax<10 && tran<12  	&& tdif>0   && dd>5 && tempa>35 && sp==2) 				              													{var fn = 846 , fz = "A weak high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving below average  temperatures today but expect and increasing in  temperatures. " ;}		//          JULY 04, 2009   07:54 AM
if((tt==1|| tt==2)&& vb<3&& brt==3 && bdi>0&& bdi<4&& dn>12&& dn<16 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<20 && tdif>-5 && tdif<1 && dpdif>-14 && dpdif<-8 && tempa>31 && tempa<51 && dd<21 && rh<69 && rhy>-35 && rhy<-15 && tran>4 && tran<13 && sp<4 && clo<3 && dpnow>21 && dpnow<35) 						{var fn = 847 , fz = "A high pressure located to the SW  is building toward the Glen Allen area after the passage of a cold front associated with a low pressure now located far to the north working together to pull a chilly NW flow. " ; } // 11/28/09-8:54
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.77 && barx<29.97 && xwet==0 && lwet==0 && wmax<18 && tdif>3 && tdif<9 && dpdif>-19 && dpdif<-13 && tempa>44 && tempa<64 && dd<37 && rh<42 && rhy>-55 && rhy<-35 && tran>4 && tran<13 && sp<4 && clo<5 && dpnow>18 && dpnow<32) 						{var fn = 848 , fz = "A high pressure located to the SW  is building toward the Glen Allen area and a low pressure now located far to the north working together to pull a chilly NW flow." ; } // 03/31/10-8:29




if((tt==2|| tt==3)&& vb<3   	     &&  brt<4 &&  bdi<3 && dn<5 		&& xwet==0  && barx>30.00  	&& dpdif<3  && clo==1  	&& wmax<5 && tran>9  	&& tdif>-1  && dd>10 && tempa<30 ) 					              													{var fn = 856, fz = "A cold high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving clear, cold, and calm  conditions today. " ;}		//           JANUARY 21, 2009   09:10 AM
if((tt==2|| tt==3)&& vb<3   	     &&  brt<4 &&  bdi<3 && (dn>14 || dn<3) 	&& xwet==0  && barx>30.00  	&& dpdif<4  && clo==1  	&& wmax<10 && tran>10  	&& tdif>0   && dd>12 && tempa<35 ) 					              													{var fn = 857 , fz = "A cold high pressure in the SW is tracking eastward and building into the Glen Allen area from the SW and is giving clear, cold, and calm  conditions today. " ;}//           JANUARY 21, 2009   10:10 AM
if((tt==2|| tt==3)&& vb<3   	     &&  brt<4 &&  bdi<3  		           	&& xwet==0  && barx>30.00  	&& dpdif<4  && clo==1  	&& wmax<10 && tran>12  	&& tdif>0   && dd>12 && tempa<35 ) 					              													{var fn = 858 , fz = "A cold high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving clear, cold, and calm  conditions today. " ;}		//           JANUARY 21, 2009   10:40 AM
if((tt==2|| tt==3)&& vb<4   	     &&  brt<5 &&  bdi<3  && (dn>14 || dn<2) 	&& xwet==0  && barx>30.00  	&& dpdif<4  && clo<3  	&& wmax<12 && tran>12  	&& tdif>0   && dd>12 && tempa<35 ) 					              													{var fn = 859 , fz = "A cold high pressure is building into the Glen Allen area from the SW and is giving clear, cold, and calm  conditions today. " ;}//           JANUARY 21, 2009   11:20 AM
if((tt==2|| tt==3)&& vb<3   	     &&  brt<4 &&  bdi<5 && (dn>14 || dn<2)   	&& xwet==0  && barx<30.00  	&& dpdif>0  && clo<4  	&& wmax<12 && tran>18  	&& tdif>4   && dd>12 && tempa>35 && sp==2) 				              													{var fn = 860 , fz = "A weak high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving below average  temperatures today but expect and increasing in  temperatures. " ;}		//        APRIL 09, 2009   11:07 AM
if((tt==2|| tt==3)&& vb<3   	     &&  brt<4 &&  bdi<5 && dn>13 && dn<16  && xwet==0  && barx<30.00  	&& dpdif<5  && clo>2 	&& wmax<10 && tran<22  	&& tdif>0   && dd>14 && tempa>55 && sp<3 && rh<60) 			              													{var fn = 861 , fz = "A weak high pressure is SW of VA and tracking toward the Glen Allen area as the pressure is rising. Expect a southerly flow to follow on the back side of the high pressure along with and increasing temperatures. " ;}		//        JUNE 25, 2009   10:41 AM
if((tt==2|| tt==3)&& vb<3   	     &&  brt<=5 && bdi>5 && dn>10 && dn<14  && xwet==0  && barx<29.90  	&& dpdif<8  && clo>3 	&& wmax<15 && tran<22  	&& tdif<3   && dd>12 && tempa>55 && sp<3 && rh<68 && dpnow>65) 		              													{var fn = 862 , fz = "A weak high pressure is SW of VA and tracking toward the Glen Allen area as the pressure is rising. Expect a southerly flow to follow on the back side of the high pressure along with and increasing temperatures until the next cold frontal passage. " ;}		//        JUNE 26, 2009   11:39 AM
if((tt==2|| tt==3)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>12&& dn<16 && barx>29.86 && barx<30.06 && xwet==0 && lwet==0 && wmax<12 && tdif>-7 && tdif<-1 && dpdif>-17 && dpdif<-11 && tempa>40 && dd<20 && rh<76 && rhy>-39 && rhy<-19 && tran>9 && tran<18 && sp<3 && clo<3 && dpnow>43 && dpnow<57) 							{var fn = 863 , fz = "A cool high pressure now located to the SW of Glen Allen and is tracking eastward and building into the Glen Allen area and is giving below average  temperatures today. " ; } // 10/4/09-9:06
if((tt==2|| tt==3)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.80 && barx<30.00 && xwet==0 && lwet==0 && wmax<12 && tdif>-3 && tdif<3 && dpdif>5 && dpdif<11 && tempa>40 && tempa<60 && dd<20 && rh<75 && rhy>7 && rhy<27 && tran>9 && tran<18 && sp<3 && clo<3 && dpnow>31 && dpnow<45) 						{var fn = 864 , fz = "A high pressure located to the SW  is building eastward and will pass to the south of the Glen Allen area and the current winds will shift counter-clockwise to west then SW increasing  temperatures over the area. " ; } // 03/19/10-9:04
if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>0&& dn<4 && barx>29.71 && barx<29.91 && xwet==15 && lwet==0 && wmax<25 && tdif>-21 && tdif<-15 && dpdif>-16 && dpdif<-10 && tempa>41 && tempa<61 && dd<14 && rh<90 && rhy>3 && rhy<23 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>38 && dpnow<52) 						{var fn = 865 , fz  = "A cold front has recently passed the area and high pressure is building in from the WSW. " ; } // 04/09/10-9:00

if((tt==3|| tt==4)&& vb<3   	     &&  brt>5 &&  bdi<5 && dn>12 && dn<16  	&& xwet==0  && barx<30.00  	&& dpdif<0  && clo>3 	&& wmax<15 && tran<18  	&& tdif>-3   && dd>10 && tempa>55 && sp<3) 				              													{var fn = 870 , fz = "A weak high pressure is SW of VA and tracking eastward and slowly moving away from the Glen Allen area and increasing temperatures from the southerly flow on the back side of the high pressure. " ;}		//       JUNE 19, 2009   01:00 PM
if((tt==3|| tt==4)&& vb<3   	     &&  brt>5 &&  bdi<=5 && dn>12 && dn<16  && xwet==0  && barx<30.00  	&& dpdif<0  && clo>3 	&& wmax<15 && tran<18  	&& tdif>-5   && dd>10 && tempa>55 && sp<3) 				              													{var fn = 871 , fz = "A weak high pressure is SW of VA and tracking eastward and slowly moving away from the Glen Allen area and increasing temperatures from the southerly flow on the back side of the high pressure. " ;}		//       JUNE 19, 2009   01:55 PM
if((tt==3|| tt==4)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.84 && barx<30.04 && xwet==0 && lwet==0 && wmax<14 && tdif>-1 && tdif<5 && dpdif>1 && dpdif<7 && tempa>40 && dd<27 && rh<61 && rhy>-6 && rhy<14 && tran>15 && tran<24 && sp<4 && clo<5 && dpnow>45 && dpnow<59) 							{var fn = 872 , fz = "A cool high pressure now located to the SW is tracking eastward and building into the Glen Allen area and is giving below average  temperatures today and breezy conditions by noon. " ; } // 9/30/09-12:02 hp in AR & LP in QU
if((tt==3|| tt==4)&& vb<3&& brt==7 && bdi>0&& bdi<4&& dn>13&& dn<17 && barx>29.85 && barx<30.05 && xwet==0 && lwet==0 && wmax<20 && tdif>-3 && tdif<3 && dpdif>-10 && dpdif<-4 && tempa>43 && tempa<63 && dd<31 && rh<51 && rhy>-23 && rhy<-3 && tran>16 && tran<25 && sp<5 && clo<3 && dpnow>23 && dpnow<37) 						{var fn = 873 , fz = "A high pressure located to the SW  is building toward the Glen Allen area after the passage of a cold front associated with a low pressure now located far to the north working together to pull a chilly NW flow. " ; } // 11/28/09-12:04
if((tt==3|| tt==4)&& vb<3&& brt==7 && bdi>0&& bdi<4&& dn>12&& dn<16 && barx>29.82 && barx<30.02 && xwet==0 && lwet==0 && wmax<20 && tdif>3 && tdif<9 && dpdif>-7 && dpdif<-1 && tempa>46 && tempa<66 && dd<31 && rh<52 && rhy>-29 && rhy<-9 && tran>19 && tran<28 && sp<5 && clo<2 && dpnow>26 && dpnow<40) 						{var fn = 874 , fz = "A high pressure located to the SW  is building toward the Glen Allen area after the passage of a cold front associated with a low pressure now located far to the north working together to pull a chilly NW flow." ; } // 11/28/09-13:38
if((tt==3|| tt==4)&&vb<3&&(brt==2||brt==3)&& bdi>2&& bdi<6&& dn>11&& dn<15 && barx>29.97 && barx<30.17 && xwet==0 && lwet==0 && wmax<20 && tdif>0 && tdif<6 && dpdif>2 && dpdif<8 && tempa>30 && tempa<50 && dd<21 && rh<69 && rhy>-5 && rhy<15 && tran>25 && tran<34 && sp<3 && clo<4 && dpnow>20 && dpnow<34) 					{var fn = 875 , fz = "A high pressure located to the SSW  is building eastward and a low pressure in the NE is moving away from the area causing the pressure rise and are working together to pull a west flow." ; } // 12/21/09-16:24
if((tt==3|| tt==4)&& vb<3&& brt==5 && bdi>0&& bdi<4&& dn>12&& dn<16 && barx>29.83 && barx<30.03 && xwet==0 && lwet==0 && wmax<20 && tdif>4 && tdif<10 && dpdif>-10 && dpdif<-4 && tempa>46 && tempa<66 && dd<34 && rh<46 && rhy>-35 && rhy<-15 && tran>20 && tran<29 && sp<5 && clo<2 && dpnow>23 && dpnow<37) 						{var fn = 876 , fz = "A high pressure located to the SW  is building toward the Glen Allen area after the passage of a cold front associated with a low pressure now located far to the north working together to pull a chilly NW flow." ; } // 11/28/09-14:00




if((tt==4|| tt==5)&&  vb==2             &&  brt<4 		&& bdi<4 &&   dn>12 && dn<16     	&& barx>30.10 		&& xwet==0          && tran>15    	&& clo>3           && wmax>15   		&&  dpdif<5     && tdif<0)  														{var fn = 880 , fz = "A high pressure now located to the SW is building into the Glen Allen area. ";cc=50;} //       FEBRUARY 20, 2009   09:07 PM
if((tt==4|| tt==5)&& vb<3 		     && brt<4  && bdi<4  &&  dn>14      && xwet==0 && barx>29.90 && barx<30.30  	      && clo<4          && wmax>15  && tran>9   && tdif<-1 && dd>8   )								              											{var fn = 881 , fz = "A low pressure is moving away and a high pressure is building in from the west or SW into Glen Allen area and skies are clearing. " ;}   //       FEBRUARY 04, 2009   09:01 PM
if((tt==4|| tt==5)&& vb<3  	     &&  brt<4 &&  bdi<4 && (dn>13 || dn<2) 	&& xwet==0  && barx>30.00  	&& dpdif<3  && clo<3  	&& wmax<15 && tran>19  	&& tdif<3  && dd>12 && tempa<32 ) 					              													{var fn = 882 , fz = "A cold high pressure in the SW is tracking eastward and building into the Glen Allen area and is giving clear, cold, and calm  conditions tonight. " ;}//            JANUARY 21, 2009   07:22 PM
if((tt==4|| tt==5)&& vb<3 && brate>0 &&  bdi>5 	         && (dn>14 || dn<2) 	&& xwet==0  && barx<30.20  	&& dpdif<8  && clo<3   	&& wmax>15 && tran>20) 										              												{var fn = 883 , fz = "A  high pressure is located to the SW and tracking eastward and starting to build into the Glen Allen area. " ;}		//     NOVEMBER 20, 2008   07:12 PM
if((tt==4|| tt==5)&& vb<3 && brate>0 &&  bdi>5 && dn>10 && dn<13  		&& xwet>0     && barx<30.20  	&& dpdif<0  && clo<3  	&& wmax>15 && tran>18)  										              												{var fn = 884 , fz = "A  high pressure is located to the WSW and tracking eastward and starting to build into the Glen Allen area after a recent cold frontal passage.  " ;}		//      NOVEMBER 25, 2008   07:28 PM
if((tt==4|| tt==5)&& vb<3&& brt==3 && bdi>5&& bdi<9&& dn>12&& dn<16 && barx>29.76 && barx<29.96 && xwet==15 && lwet==0 && wmax<21 && tdif>11 && tdif<17 && dpdif>-1 && dpdif<5 && tempa>61 && tempa<81 && dd<21 && rh<73 && rhy>-44 && rhy<-24 && tran>14 && tran<23 && sp<3 && clo<4 && dpnow>51 && dpnow<65) 						{var fn = 885 , fz = "A weak high pressure is SW of VA and tracking toward the Glen Allen area as the pressure is rising and a low pressure is located to the NE and skies cleared earlier today as the low moved off.  " ; } // 10/28/09-17:01
if((tt==4|| tt==5)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.78 && barx<29.98 && xwet==15 && lwet==0 && wmax<21 && tdif>8 && tdif<14 && dpdif>-1 && dpdif<5 && tempa>58 && tempa<78 && dd<18 && rh<82 && rhy>-35 && rhy<-15 && tran>14 && tran<23 && sp<3 && clo<3 && dpnow>51 && dpnow<65) 						{var fn = 886 , fz = "A weak high pressure is SW of VA and tracking toward the Glen Allen area as the pressure is rising and a low pressure is located to the NE and skies cleared earlier today as the low moved off.  " ; } // 10/28/09-17:53
if((tt==4|| tt==5)&& vb<3&& brt==2 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.83 && barx<30.03 && xwet==15 && lwet==0 && wmax<21 && tdif>3 && tdif<9 && dpdif>-2 && dpdif<4 && tempa>52 && tempa<72 && dd<12 && rh<95 && rhy>-24 && rhy<-4 && tran>14 && tran<23 && sp<7 && clo<3 && dpnow>51 && dpnow<65) 						{var fn = 887 , fz = "A weak high pressure is SW of VA and tracking toward the Glen Allen area as the pressure is rising and a low pressure is located to the NE and skies cleared earlier today as the low moved off.  " ; } // 10/28/09-19:25
if((tt==4|| tt==5)&& vb<3&& brt==2 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.83 && barx<30.03 && xwet==15 && lwet==0 && wmax<21 && tdif>2 && tdif<8 && dpdif>-1 && dpdif<5 && tempa>52 && tempa<72 && dd<12 && rh<97 && rhy>-22 && rhy<-2 && tran>14 && tran<23 && sp<7 && clo<3 && dpnow>51 && dpnow<65) 						{var fn = 888 , fz = "A weak high pressure is SW of VA and tracking toward the Glen Allen area as the pressure is rising and a low pressure is located to the NE and skies cleared earlier today as the low moved off. " ; } // 10/28/09-19:33




//    1hbw             HIGH PRESSURES  building in from the      W E S T     (cc>3999 && cc<5000)
//	vb==2   VB<3
//	brt==5 or less
//	bdi>8    then a Hp after a strong cold front or strong LP   summer  && BDI>4
//            (DN>10 || DN<3)
//	dn HP in NW QUARTER    [ NNW=16, N=1, NNE=2 NE=3 ]          	dn HP in NE QUARTER     [  ENE=4, E=5, ESE=6, SE=7 ]
//            dn HP in SE QUARTER     [ SSE=8,  S=9, SSW=10, SW=11 ]	dn HP in SW QUARTER     [ WSW=12,  W=13,  WNW=14, NW=15 ]
//             barx building in generally less than 30.20
//	dpdif<0 and tdif<0,                                       Clo<3   use sr or relhun or rhy for Clouds
//	morning  wmax<10  afternoon  wmax>15
//	tran>10
//	&& XWET==0 	&& DPDIF<-2 && CLO>3     && WMAX>15 && TRAN>8 && TDIF<0  && DD>12

if (fn<1000 && vb==2 && brt<5 && xwet==0 && barx>30.00 && barx<30.20 && tdif<0 && dpdif<0  &&  clo<3  && wmax<15)  							                                                                                 														{var fn = 900 , fz = "A  high pressure is building into the Glen Allen - Springfield Park area.   ";}
if(tt< 6                   && vb<4 	&& brt<5   	&& bdi<5 && dn>10 && dn<13   		&& xwet==0 && barx>29.95   	&& dpdif<-5  && clo<3	&&wmax<15  &&  (mm<4 || mm>9) )  																			{var fn = 901 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<3	&& brt<5     	&& bdi<5 && dn>13                  		&& xwet==0  && barx<29.95  	&& dpdif<0  &&  clo<3   	&& tdif<0  &&wmax<10)																				{var fn = 902 , fz = "A NW high pressure is building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<3	&& brt<4     	&& bdi<4                      			&& xwet==0  && barx<30.00  	&& dpdif<0  &&  clo==1  	&&wmax<10)																					{var fn = 903 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<3 && brt<4     	&& bdi<4 && dn>10 && dn<13  		&& xwet==0  && barx<30.20  	&& dpdif<0  && clo<3  	&&wmax<10 )  																						{var fn = 904 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<3 && brt<4     	&& bdi<3 && (dn>11 || dn<2)      		&& xwet==0  && barx>30.40  	&& dpdif<-8 && clo<3                                    && tran>10  	&& tdif<0  	&& dpnow<20)																	{var fn = 905 , fz = "A high pressure is building into the Glen Allen area giving clear and very low dew point  temperatures this morning. " ;}
if((tt==1 || tt==2)&& vb<4 && brt<4     	&& bdi<4 && dn>10 && dn<13   		&& xwet==0  && barx>29.95   	&& dpdif<0   && clo<4	&&wmax<15   		&& tdif<0)  																			{var fn = 906 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<3  && brt<4      	&& bdi<3 && dn>10 && dn<14      		&& xwet==0 && barx>30.00	&&dpdif<-15 && clo<6   	&& wmax>15  		&& tdif<-8			 && rhy<-8) 																{var fn = 907 , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area. "  ;} 			//      DECEMBER 22, 2008   08:03 AM
if((tt==1 || tt==2)&& vb<3  && brt<3     	&& bdi>4 && (dn>14 || dn<2) 		&& xwet==0 &&barx<30.30 	&& dpdif>8  && clo>3            && wmax>15  && tran>2 	                     && dd>12  && tempa<60) 																		{var fn = 908 , fz = "A high pressure is now in a westerly direction from the  the Glen Allen area is just starting to build into the area. " ;}  	//    JANUARY 24, 2009   08:27 AM
if((tt==1 || tt==2)&& vb<3  && brt<4     	&& bdi<4 && dn>13                       		&& xwet==0 && barx>29.90 &&barx<30.20 && dpdif<0  && clo<4 && wmax>10  && tran>8 	&& tdif<4     && dd>9    && tempa<70) 																	{var fn = 909 , fz = "A weak high pressure located to the SW is now building into the  the Glen Allen area and a low pressure is near New England giving a west to NW flow.   " ;}  //  NOVEMBER 28, 2009   09:06 AM
if((tt==1 || tt==2)&& vb<4  && brt<4     	&& bdi>6 && dn<2                      		&& xwet==0 && barx>29.60 &&barx<29.90 && dpdif<4  && clo<3 && wmax<12  && tran>5 	&& tdif<6     && dd>5    && tempa>60) 																	{var fn = 910 , fz = "A weak high pressure located to the west is now building into the  the Glen Allen area after a weak cold frontly passage.  A low pressure is starting to form off the coast on the front that passed this  area less than 12 hours ago.   " ;}  //       JUNE 29, 2009   08:07 AM
if((tt==1 || tt==2)&& vb<3  && brt<4     	&& bdi>=5 && dn>9 && dn<13          		&& xwet==0 && barx>29.70 &&barx<29.90 && dpdif<2  && clo<4  && wmax<10  && tran>5 	&& tdif>1     && dd>4    && tempa>55) 																	{var fn = 911 , fz = "A weak high pressure located to the west is now building into the  the Glen Allen area. Glen Allen is sandwiched between a cold front approaching from the north and a stationary front to the south in the Carolinas. The weak cold front will pass Glen Allen - Springfield Park area  tonight. " ;}  //     JULY 07, 2009   08:25 AM
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>29.77 && barx<29.97 && xwet==0 && lwet==0 && wmax<5 && tdif>-10 && tdif<-4 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<9 && rh<101 && rhy>2 && rhy<12 && tran>0 && tran<8 && sp<3 && clo<5 && dpnow>62 && dpnow<76) 								{var fn = 912 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after a cold frontly passage in the past 24 hours.  The cold front has become stationary along the east coast. " ; } // 8/23/09-8:08  Hit   AUGUST 23, 2009   08:19 AM
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>29.78 && barx<29.98 && xwet==0 && lwet==0 && wmax<5 && tdif>-8 && tdif<-2 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<10 && rh<101 && rhy>-3 && rhy<7 && tran>2 && tran<10 && sp<3 && clo<5 && dpnow>63 && dpnow<77) 								{var fn = 913 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after a cold frontly passage in the past 24 hours.  The cold front has become stationary along the east coast." ; } // 8/23/09-8:30
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>1&& bdi<5&&(dn>14 || dn<3)&& barx>29.94 && barx<30.14 && xwet==15 && lwet==0 && wmax<33 && tdif>-4 && tdif<2 && dpdif>-5 && dpdif<1 && tempa>40 && dd<9 && rh<101 && rhy>-7 && rhy<3 && tran>5 && tran<13 && sp<4 && clo<4 && dpnow>58 && dpnow<72) 								{var fn = 914 , fz  = "A high pressure ridge located to the west is now building into the  the Glen Allen area.  There is also a weak stationary along the east coast. " ; } // 8/24/09-7:54
if((tt==1 || tt==2)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<6 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<8 && rh<101 && rhy>-5 && rhy<5 && tran>1 && tran<9 && sp<3 && clo<2 && dpnow>58 && dpnow<72) 								{var fn = 915 , fz  = "A weak high pressure is building into the Glen Allen area. " ; } // 8/25/09-6:58
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.92 && barx<30.12 && xwet==0 && lwet==0 && wmax<5 && tdif>-4 && tdif<4 && dpdif>-4 && dpdif<2 && tempa>40 && dd<14 && rh<99 && rhy>-14 && rhy<-4 && tran>3 && tran<12 && sp<3 && clo<2 && dpnow>52 && dpnow<66) 							{var fn = 916 , fz = "A weak high pressure is building into the Glen Allen area from the west.  " ; } // 9/14/09-8:05
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.93 && barx<30.13 && xwet==0 && lwet==0 && wmax<5 && tdif>-3 && tdif<3 && dpdif>-4 && dpdif<2 && tempa>40 && dd<14 && rh<90 && rhy>-6 && rhy<4 && tran>5 && tran<13 && sp<3 && clo<2 && dpnow>54 && dpnow<68) 								{var fn = 917 , fz = "A weak high pressure is building into the Glen Allen area from the west. " ; } // 9/14/09-8:34
if((tt==1 || tt==2)&& vb<3&& brt==6 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.88 && barx<30.08 && xwet==0 && lwet==0 && wmax<6 && tdif>0 && tdif<6 && dpdif>1 && dpdif<7 && tempa>40 && dd<10 && rh<101 && rhy>-6 && rhy<14 && tran>2 && tran<11 && sp<3 && clo<4 && dpnow>57 && dpnow<71) 								{var fn = 918 , fz = "A weak high pressure is controlling the weather of  the Glen Allen area. " ; } // 9/15/09-8:24
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<6 && tdif>-2 && tdif<4 && dpdif>1 && dpdif<7 && tempa>40 && dd<11 && rh<98 && rhy>0 && rhy<20 && tran>2 && tran<11 && sp<3 && clo<4 && dpnow>57 && dpnow<71) 								{var fn = 919 , fz = "A weak high pressure is controlling the weather of  the Glen Allen area. " ; } // 9/15/09-8:33
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.97 && barx<30.17 && xwet==0 && lwet==0 && wmax<12 && tdif>4 && tdif<10 && dpdif>1 && dpdif<7 && tempa>40 && dd<11 && rh<97 && rhy>-20 && rhy<0 && tran>2 && tran<11 && sp<3 && clo<5 && dpnow>46 && dpnow<60) 							{var fn = 920 , fz = "A high pressure is now located to the west of the Glen Allen area and the pressure is steady as an area of  low pressure is located in the SE. The high pressure will keep any precipitation out of the area as the high pressure will be slowly building towards Virginia during the day. " ; } // 10/5/09-8:22
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<12 && tdif>1 && tdif<7 && dpdif>-1 && dpdif<5 && tempa>40 && dd<13 && rh<93 && rhy>-16 && rhy<4 && tran>2 && tran<11 && sp<3 && clo<5 && dpnow>46 && dpnow<60) 								{var fn = 921 , fz = "A high pressure is now located to the west of the Glen Allen area and the pressure is steady as an area of  low pressure is located in the SE. The high pressure will keep any precipitation out of the area as the high pressure will be slowly building towards Virginia during the day." ; } // 10/5/09-8:43
if((tt==1 || tt==2)&& vb<3&& brt==2 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<22 && tdif>-23 && tdif<-17 && dpdif>-27 && dpdif<-21 && tempa>41 && tempa<61 && dd<17 && rh<81 && rhy>-24 && rhy<-4 && tran>7 && tran<16 && sp<7 && clo<5 && dpnow>35 && dpnow<49) 						{var fn = 922 , fz = "A high pressure ridge located to the west is now building rapidily into the  the Glen Allen area after a cold frontal passage in the past 24 hours. " ; } // 10/25/09-8:34
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.26 && barx<30.46 && xwet==0 && lwet==0 && wmax<10 && tdif>-7 && tdif<-1 && dpdif>-15 && dpdif<-9 && tempa>32 && tempa<52 && dd<17 && rh<81 && rhy>-36 && rhy<-16 && tran>5 && tran<14 && sp<4 && clo<3 && dpnow>26 && dpnow<40) 						{var fn = 923 , fz = "A high pressure ridge located to the west is now building rapidily into the  the Glen Allen area after a cold frontal passage in the past 24 hours." ; } // 11/04/09-8:03
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.25 && barx<30.45 && xwet==0 && lwet==0 && wmax<12 && tdif>-5 && tdif<1 && dpdif>-16 && dpdif<-10 && tempa>34 && tempa<54 && dd<19 && rh<74 && rhy>-45 && rhy<-25 && tran>5 && tran<14 && sp<4 && clo<3 && dpnow>26 && dpnow<40) 						{var fn = 924 , fz = "A high pressure ridge located to the west is now building rapidily into the  the Glen Allen area after a cold frontal passage in the past 24 hours." ; } // 11/04/09-8:28
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.22 && barx<30.42 && xwet==0 && lwet==0 && wmax<10 && tdif>1 && tdif<7 && dpdif>-6 && dpdif<0 && tempa>36 && tempa<56 && dd<17 && rh<80 && rhy>-31 && rhy<-11 && tran>5 && tran<14 && sp<3 && clo<2 && dpnow>30 && dpnow<44) 						{var fn = 925 , fz = "A high pressure ridge located to the west is now building slowly into the  the Glen Allen area after a cold frontal passage in the past 24 hours." ; } // 11/06/09-8:18
if((tt==1 || tt==2)&& vb<3&&(brt==4||brt==5)&& bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.86 && barx<30.06 && xwet==0 && lwet==0 && wmax<6 && tdif>-13 && tdif<-7 && dpdif>-12 && dpdif<-6 && tempa>34 && tempa<54 && dd<8 && rh<101 && rhy>-6 && rhy<14 && tran>2 && tran<11 && sp<3 && clo<1 && dpnow>37 && dpnow<51) 					{var fn = 926 , fz =  "A weak high pressure is just starting to build into the Glen Allen area and a distant low pressure well out in the Atlantic is pulling a weak north flow. " ; } // 11/15/09-7:39
if((tt==1 || tt==2)&& vb<4&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<6 && tdif>-10 && tdif<-4 && dpdif>-9 && dpdif<-3 && tempa>37 && tempa<57 && dd<8 && rh<101 && rhy>-7 && rhy<13 && tran>2 && tran<11 && sp<3 && clo<1 && dpnow>40 && dpnow<54) 					{var fn = 927 , fz =  "A weak high pressure is just starting to build into the Glen Allen area and a distant low pressure well out in the Atlantic is pulling a WEAK north flow. " ; } // 11/15/09-8:05
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<18 && tdif>-8 && tdif<-2 && dpdif>-12 && dpdif<-6 && tempa>44 && tempa<64 && dd<14 && rh<91 && rhy>-24 && rhy<-4 && tran>3 && tran<12 && sp<3 && clo<5 && dpnow>41 && dpnow<55) 						{var fn = 928 , fz =  "A high pressure is located to the west and is now building slowly into the  the Glen Allen area after a cold frontal passage in the past 24 hours." ; } // 11/20/09-8:14
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<18 && tdif>-7 && tdif<-1 && dpdif>-14 && dpdif<-8 && tempa>45 && tempa<65 && dd<16 && rh<85 && rhy>-30 && rhy<-10 && tran>3 && tran<12 && sp<3 && clo<5 && dpnow>40 && dpnow<54) 						{var fn = 929 , fz =  "A high pressure is located to the west and is now building slowly into the  the Glen Allen area after a cold frontal passage in the past 24 hours." ; } // 11/20/09-8:47
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.06 && barx<30.26 && xwet==0 && lwet==0 && wmax<8 && tdif>-14 && tdif<-8 && dpdif>-11 && dpdif<-5 && tempa>32 && tempa<52 && dd<10 && rh<101 && rhy>-1 && rhy<19 && tran>2 && tran<11 && sp<3 && clo<5 && dpnow>33 && dpnow<47) 						{var fn = 930 , fz = "A high pressure is located to the west and is now building slowly into the  the Glen Allen area and a large low pressure is in the Gulf of Mexico. " ; } // 11/21/09-8:21
if((tt==1 || tt==2)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.06 && barx<30.26 && xwet==0 && lwet==0 && wmax<8 && tdif>-14 && tdif<-8 && dpdif>-11 && dpdif<-5 && tempa>33 && tempa<53 && dd<11 && rh<98 && rhy>-1 && rhy<19 && tran>2 && tran<11 && sp<3 && clo<5 && dpnow>33 && dpnow<47) 						{var fn = 931 , fz  = "A high pressure is located to the west and is now building slowly into the  the Glen Allen area and a large low pressure is in the Gulf of Mexico. " ; } // 11/21/09-8:34
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<8 && tdif>2 && tdif<8 && dpdif>-7 && dpdif<-1 && tempa>26 && tempa<46 && dd<23 && rh<64 && rhy>-32 && rhy<-12 && tran>6 && tran<15 && sp<3 && clo<4 && dpnow>14 && dpnow<28) 						{var fn = 932 , fz  = "A high pressure is located to the west and is now building slowly into the  the Glen Allen area and a distant low pressure is located to the NE giving a N to NW flow between the two systems." ; } // 02/20/10-8:33



if((tt==2 || tt==3)&& vb==3	&& brt==5 	&& bdi>5    	&& dn<3			&& xwet==0  && barx<30.00 	&& dpdif>0 	       && wmax<20 && tran>10 && tdif>5   && dd>8 && sp==3 && tempa>50 && rhy<-12) 		              													{var fn = 940 , fz = "A high pressure is now located to the west of the Glen Allen area and the pressure is steady as an area of  low pressure is well off the Atlantic coast giving the cool NE breeze. The high pressure will keep any precipitation out of the area as the high pressure will be building towards Virginia during the afternoon. " ;}  //      JULY 06, 2009   11:17 AM
if((tt==2 || tt==3)&& vb<3		&& brt==5 	&& bdi>5    	&& dn<3			&& xwet==0  && barx<30.00 	&& dpdif>0 	       && wmax<20 && tran>12 && tdif>6   && dd>8 && sp<3 && tempa>50 && rhy<-12 && dsp==1) 	              												{var fn = 941 , fz = "A high pressure is now located to the west of the Glen Allen area and the pressure is steady as an area of  low pressure is well off the Atlantic coast giving the cool NE breeze. The high pressure will keep any precipitation out of the area as the high pressure will be building towards Virginia during the afternoon. " ;}  //       JULY 06, 2009   11:40 AM
if((tt==2 || tt==3)&& vb<3 && brt<=5   	&& bdi>4     && (dn>13 || dn==1)		&& xwet==0  && barx<30.00  	&& dpdif<0  &&  clo<3  	&&wmax<10)																						{var fn = 942 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==2 || tt==3)&& vb<3 && brt<5     	&& bdi<5    && (dn>12 || dn<2)     		&& xwet==0  && barx>30.20  	&&  dpdif<0 && clo<3        	&& wmax<15 && tran<15  	&& tdif<0)																				{var fn = 943 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==2 || tt==3)&& vb<3 && brt<4     	&& bdi<4    && (dn>11 || dn<2)     		&& xwet==0  && barx<30.20  	&& dpdif<0  && clo<3    		         && tran>20  	&& tdif<0   && dd>12 )  																		{var fn = 944 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==2 || tt==3)&& vb<3 && brt<5     	&& bdi<5    && dn>10 && dn<14    		&& xwet==0  && barx<30.20  	&& dpdif<0  && clo>3  		         && tran>20  	&& tdif<0)  																			{var fn = 945 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==2 || tt==3)&& vb<3 && brt<5     	&& bdi<5    && dn>13 && tdif<-5   		&& xwet==0  && barx>30.20   	&& dpdif<0 && clo<3                                                             && tdif<0)																				{var fn = 946 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==2 || tt==3)&& vb<3 && brt<=5   	&& bdi>4                       			&& xwet==0  && barx<30.00  	&& dpdif<0  &&  clo<3  	&&wmax<10)																						{var fn = 947 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==2 || tt==3)&& vb<3  && brt<4     	&& bdi>=5 && dn>9 && dn<13          	&& xwet==0 && barx>29.70 &&barx<29.90 	&& dpdif>0  && clo<3           && wmax<10  && tran>15 	&& tdif>5     && dd>12    && tempa>55) 																{var fn = 948 , fz = "A weak high pressure located to the west is now building into the  the Glen Allen area. Glen Allen is sandwiched between a cold front approaching from the north and a stationary front to the south in the Carolinas. The weak cold front will pass Glen Allen - Springfield Park area  tonight. " ;}  //     JULY 07, 2009   11:04 AM
if((tt==2 || tt==3)&& vb<3  && brt<=5    		&& bdi<4  && (dn>15 || dn<3)	&& xwet==0  &&barx<30.20 	&& dpdif<2  && clo<4           && wmax>10 && tran>10 	&& tdif<2    && dd>9     && tempa<70) 																		{var fn = 949 , fz = "A weak or distant high pressure located to the west northwest is building into the  the Glen Allen area and a weak low pressure is well to the east of the VA - NC coast giving a north flow between the two systems.  " ;}  //        FEBRUARY 15, 2009   10:27 AM
if((tt==2 || tt==3)&& vb<4 && brate>0 &&  brt<4   	&& bdi>2	 &&  bdi<5 && (dn>14 || dn<3)&& xwet==0  && barx>30.00  	&& dpdif<4  && clo>0   	&& wmax>15 && tran>5  	&& tdif<0    && dd>10) 																		{var fn = 950 , fz = "A  high pressure from the west is starting to build into the Glen Allen area after the recent passage of a cold front in the past 24 hours. " ;}		//      JANUARY 15, 2009   01:23 PM    FEBRUARY 23, 2009   09:48 AM
if((tt==2 || tt==3)&& vb<3 && brt<4     		&&  bdi>4 && (dn>14 || dn<2)  	&& xwet==0  && barx<30.20  	&& dpdif<0  && clo>3  	&&wmax>15 && tran>10 )  																						{var fn = 951 , fz = "A high pressure is located to the west  tracking SE building into the Glen Allen area. " ;}		 	//   NOVEMBER 18, 2008   09:09 AM
if((tt==2 || tt==3)&& vb<3 && brate>0 		&&  bdi<5 && (dn>14 || dn<2)  	&& xwet==0  && barx<30.20  	&& dpdif<0  && clo>3  	&&wmax>15 && tran>10 )  																						{var fn = 952 , fz = "A high pressure is located to the west  and is building into the Glen Allen area. " ;}	//   NOVEMBER 18, 2008   09:09 AM      MARCH 09, 2009   03:45 PM
if((tt==2 || tt==3)&& vb<3 && brate>0                        	&&  bdi<6 && (dn>14 || dn<3) 	&& xwet>0     && barx>29.91  	&& dpdif<0  && tdif>-4  && tdif<0  	&&wmax>10 && lwet==0	 				&& tothr>6 )														{var fn = 953 , fz = "A high pressure is located to the SW tracking eastward building into the Glen Allen area. " ;}			//    NOVEMBER 26, 2008   09:35 AM
if((tt==2 || tt==3)&& vb<3 && brate>0 		&& bdi>4                       		&& xwet==0  && barx<30.20  	&& dpdif<0  && clo<3  	&&wmax<10)																						{var fn = 954 , fz = "A high pressure is located to the SW tracking eastward building into the Glen Allen area. " ;}                               	 //    NOVEMBER 26, 2008   09:35 AM
if((tt==2 || tt==3)&& vb<3 && brt==1 		&& bdi==0  && dn>10 && dn<14      	&& xwet==0  && barx>30.10	&& dpdif<-20 && clo<6   	&& wmax>15  		&& tdif<-5			&& rhy<-10) 																{var fn = 955 , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area. "  ;} 			//       DECEMBER 22, 2008   09:20 AM  low  temperature was 18.8
if((tt==2 || tt==3)&& vb<3 && brt<3 		&& bdi<3    && dn>10 && dn<14      	&& xwet==0  && barx>30.00	&& dpdif<-20 && clo<6   	&& wmax>15  		&& tdif<-5			&& rhy<-10) 																{var fn = 956 , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area. "  ;} 			//       DECEMBER 22, 2008   10:20 AM  low  temperature was 18.8
if((tt==2 || tt==3)&& vb<3 && brt<=5  		&& bdi<3    && (dn>14 || dn<2)   	&& xwet==0   &&barx>29.85 && barx<30.15  &&(clo<3 || sr>400)&& wmax>12 && tran>18		    && dd>15)																		{var fn = 957 , fz = "A weak western high pressure is building into Glen Allen area giving mostly clear skies and  temperatures above the seasonal average. " ;}   //     FEBRUARY 13, 2009   11:45 AM
if((tt==2 || tt==3)&& vb<3 && brt<4 		&& bdi<2    &&  (dn>13 && dn<16)   	&& xwet==0 && barx<30.00	&&  dpdif<-18  && clo<3    && wmax<20 && tran>12	&& tdif<-5 && dd>19 &&sp>4 && ymw>0 ) 																{var fn = 958 , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a strong low pressure in the NE is moving away and cold air from the NW is being pulled southward between these two systems. "  ;} //             APRIL 04, 2009   11:07 AM  max 64
if((tt==2 || tt==3)&& vb<4&& brt<4     		&& bdi>6 && dn<2                      	&& xwet==0 && barx>29.60 &&barx<29.90 	&& dpdif<3  && clo<3 && wmax<15  && tran>12 && tdif<7     && dd>12 && tempa>60 && rhy<-5) 															{var fn = 959 , fz = "A weak high pressure located to the west is now building into the  the Glen Allen area after a weak cold frontal passage.  A low pressure is starting to form off the coast on the front that passed this  area less than 12 hours ago.  The  temperature is higher today tan yesterday as it is sunny but the relative humidity is lower. " ;}  //       JUNE 29, 2009   09:30 AM
if((tt==2 || tt==3)&& vb<4&& brt<=5     		&& bdi>6 && dn>1 && dn<4 	&& xwet==0 && barx>29.60 &&barx<29.90 	&& dpdif<0  && clo<4      && wmax<20  && tran>11 	&& tdif<6     && dd>20    && tempa>60) 																{var fn = 960 , fz = "A weak high pressure located to the west is now building into the  the Glen Allen area after a weak cold frontal passage.  A low pressure is starting to form off the coast on the front that passed this  area less than 12 hours ago.   " ;}  //       JUNE 29, 2009   12:07 AM
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.80 && barx<30.00 && xwet==0 && lwet==0 && wmax<18 && tdif>-4 && tdif<2 && dpdif>-9 && dpdif<-3 && tempa>40 && dd<18 && rh<81 && rhy>-20 && rhy<-10 && tran>8 && tran<16 && sp<3 && clo<4 && dpnow>61 && dpnow<75) 							{var fn = 961 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after a cold frontal passage in the past 24 hours.  The cold front has become stationary along the east coast." ; } // 8/23/09-10:16
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.96 && barx<30.16 && xwet==15 && lwet==0 && wmax<33 && tdif>-5 && tdif<1 && dpdif>-3 && dpdif<3 && tempa>40 && dd<17 && rh<83 && rhy>0 && rhy<10 && tran>6 && tran<14 && sp<4 && clo<4 && dpnow>59 && dpnow<73) 								{var fn = 962 , fz = "A high pressure ridge located to the west is now starting to build into the  the Glen Allen area after a cold frontal passage in the past 36 hours.  The cold front has become stationary off the east coast." ; } // 8/24/09-10:13 A TS last night gave 1.66 inches of rain from a lp that moved up the stat. front to the east
if((tt==2 || tt==3)&& vb<3&& brt>3 && brt<6 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.97 && barx<30.17 && xwet==15 && lwet==0 && wmax<33 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<20 && rh<77 && rhy>-5 && rhy<5 && tran>11 && tran<19 && sp<4 && clo<3 && dpnow>61 && dpnow<75) 							{var fn = 963 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after a cold frontal passage in the past 40 hours.  The cold front has become nearly stationary but is now starting to move off the east coast." ; } // 8/24/09-11:18  TS last night gave 1.66 inches of rain from a lp that moved up the stat. front to the east
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>14&& dn<18 && barx>29.95 && barx<30.15 && xwet==0 && lwet==0 && wmax<17 && tdif>3 && tdif<9 && dpdif>-5 && dpdif<1 && tempa>40 && dd<24 && rh<67 && rhy>-22 && rhy<-12 && tran>14 && tran<22 && sp<3 && clo<4 && dpnow>52 && dpnow<66) 							{var fn = 964 , fz = "A slow moving and weak high pressure located to the west is now building into the  the Glen Allen as its center passes to the north.  The high is giving partly cloudy skies and large daily temperatures with cool nights and warm days and dry conditions." ; } // 9/4/09-10:23
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.19 && barx<30.39 && xwet==0 && lwet==0 && wmax<25 && tdif>4 && tdif<10 && dpdif>-7 && dpdif<-1 && tempa>40 && tempa<60 && dd<23 && rh<67 && rhy>-41 && rhy<-21 && tran>11 && tran<20 && sp<4 && clo<2 && dpnow>28 && dpnow<42) 						{var fn = 965 , fz = "A high pressure ridge is located in a westerly direction from Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east." ; } // 10/19/09-10:05
if((tt==2 || tt==3)&& vb<3&& brt==2 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<25 && tdif>-18 && tdif<-12 && dpdif>-29 && dpdif<-23 && tempa>45 && tempa<65 && dd<22 && rh<71 && rhy>-41 && rhy<-21 && tran>7 && tran<16 && sp<7 && clo<5 && dpnow>34 && dpnow<48) 					{var fn = 966 , fz = "A high pressure ridge located to the west is now building rapidily into the  the Glen Allen area after a cold frontly passage in the past 24 hours. " ; } // 10/25/09-9:43
if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<25 && tdif>-17 && tdif<-11 && dpdif>-29 && dpdif<-23 && tempa>46 && tempa<66 && dd<23 && rh<68 && rhy>-43 && rhy<-23 && tran>7 && tran<16 && sp<5 && clo<5 && dpnow>34 && dpnow<48) 					{var fn = 967 , fz = "A high pressure ridge located to the west is now building rapidily into the  the Glen Allen area after a cold frontly passage in the past 24 hours. " ; } // 10/25/09-10:16
if((tt==2 || tt==3)&& vb<4&& brt==2 && bdi>-1&& bdi<3&& dn>1&& dn<5 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<25 && tdif>-17 && tdif<-11 && dpdif>-29 && dpdif<-23 && tempa>46 && tempa<66 && dd<22 && rh<68 && rhy>-43 && rhy<-23 && tran>7 && tran<16 && sp<7 && clo<4 && dpnow>35 && dpnow<49) 					{var fn = 968 , fz = "A high pressure ridge located to the west is now building rapidily into the  the Glen Allen area after a cold frontly passage in the past 24 hours. The backing wind indicates the possible formation of  a low pressure on the cold front that passed the area in the past 24 hours.  " ; } // 10/25/09-10:35
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.24 && barx<30.44 && xwet==0 && lwet==0 && wmax<21 && tdif>-6 && tdif<0 && dpdif>-3 && dpdif<3 && tempa>41 && tempa<61 && dd<25 && rh<62 && rhy>-5 && rhy<15 && tran>10 && tran<19 && sp<4 && clo<2 && dpnow>27 && dpnow<41) 						{var fn = 969 , fz = "A high pressure ridge located to the west is now building slowly into the  the Glen Allen area after a cold frontal passage in the past 24 hours." ; } // 11/06/09-10:04
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.23 && barx<30.43 && xwet==0 && lwet==0 && wmax<21 && tdif>-5 && tdif<1 && dpdif>-5 && dpdif<1 && tempa>42 && tempa<62 && dd<26 && rh<60 && rhy>-11 && rhy<9 && tran>11 && tran<20 && sp<4 && clo<2 && dpnow>27 && dpnow<41) 						{var fn = 670 , fz = "The leading edge of a high pressure ridge located  near but a little to the west  of  the Glen Allen area after a cold frontly passage in the past 24 hours." ; } // 11/06/09-10:25
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<8 && tdif>-10 && tdif<-4 && dpdif>-10 && dpdif<-4 && tempa>37 && tempa<57 && dd<14 && rh<88 && rhy>-11 && rhy<9 && tran>5 && tran<14 && sp<3 && clo<5 && dpnow>34 && dpnow<48) 						{var fn = 671 , fz = "A weak  high pressure is located to the west and is now building slowly into the  the Glen Allen area and a large low pressure is in the Gulf of Mexico. " ; } // 11/21/09-9:0
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>-1&& bdi<3&& dn>-1&& dn<3 && barx>30.25 && barx<30.45 && xwet==0 && lwet==0 && wmax<21 && tdif>-16 && tdif<-10 && dpdif>-31 && dpdif<-25 && tempa>31 && tempa<51 && dd<27 && rh<57 && rhy>-51 && rhy<-31 && tran>8 && tran<17 && sp<5 && clo<3 && dpnow>15 && dpnow<29) 					{var fn = 672 , fz = "A high pressure located to the west is now building into the  the Glen Allen area and a low pressure in New England is causing a light north wind after a cold frontal passage in the past 24 hours." ; } // 12/16/09-11:10
if((tt==2 || tt==3)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<10 && tdif>0 && tdif<6 && dpdif>-6 && dpdif<0 && tempa>31 && tempa<51 && dd<26 && rh<58 && rhy>-22 && rhy<-2 && tran>11 && tran<20 && sp<3 && clo<3 && dpnow>16 && dpnow<30) 						{var fn = 673 , fz = "A high pressure is located to the west and is now building slowly into the  the Glen Allen area and a distant low pressure is located to the NE giving a N to NW flow between the two systems." ; } // 02/20/10-9:14




if((tt==3 || tt==4)&& vb<3 && brt<4  		&& bdi<4    && (dn>15 || dn<4)   	&& xwet==0   &&barx>29.85 && barx<30.15  &&(clo>3 || sr>300)&& wmax>15 && tran>22	&& tdif<1   && dd>20)																		{var fn = 980 , fz = "A weak western high pressure is building into Glen Allen area giving partly cloudy skies and  temperatures above the seasonal average. " ;}   //       FEBRUARY 13, 2009   04:24 PM Max was 64 °F
if((tt==3 || tt==4)&& vb<3 && brt>5  		&& bdi<5    && (dn>14 || dn<2)    	&& xwet>0     && barx>30.20	&&  dpdif<-10 && clo<3   	&& wmax>15 && tran>12	                                 		&& rhy<-20) 															{var fn = 981 , fz = "A strong high pressure is building in from the west then tracking north-eastward passing to the north of Glen Allen area. "  ;} //          DECEMBER 25, 2008   02:35 PM  max 61
if((tt==3 || tt==4)&& vb<3 && brt<3 		&& bdi>5    && (dn>13 || dn<1)   	&& xwet==0  && barx<30.00	&&  dpdif<0  && clo<4   	&& wmax>20 && tran>8	                                		&& rhy<15) 															{var fn = 982 , fz = "A strong high pressure is building  in from the west then tracking north-eastward passing to the north of  Glen Allen area. "  ;} //          DECEMBER 25, 2008   02:35 PM  max 61
if((tt==3 || tt==4)&& vb<3 && brt<4 		&& bdi>5    &&  dn>13  	      	&& xwet>0     && barx<30.00	&&  dpdif<0  && clo<5   	&& wmax>20 && tran>8	&& tdif<-10) 																			{var fn = 983 , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area. "  ;} 				//         DECEMBER 31, 2008   03:01 PM max 53
if((tt==3 || tt==4)&& vb<3 && brt<3 		&& bdi<5    &&  dn>13  	      	&& xwet>0     && barx<30.20	&&  dpdif<-1  && clo<5   	&& wmax>20 && tran>12	&& tdif<-10 && dd>18 ) 																		{var fn = 984 , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the NE is moving away and cold air from the NW is being pulled southward between these two systems. "  ;} //           DECEMBER 31, 2008   04:33 PM max 53
if((tt==3 || tt==4)&& vb<3 && brt<=5 		&& bdi<4    &&  (dn>15 || dn<2)   	&& xwet==0     && barx>30.15	&&  dpdif<-3  && clo<4   	&& wmax>18 && tran>14	&& tdif<-2 && dd>20 ) 																		{var fn = 985 , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the NE is moving away and cold air from the NW is being pulled southward between these two systems. "  ;} //           DECEMBER 31, 2008   04:33 PM max 53
if((tt==3 || tt==4)&& vb<3 && brt<4 		&& bdi<5    &&    dn>13     		&& xwet==0     && barx<30.10	&&  dpdif<-8  && clo>2   	&& wmax>18 && tran>15	&& tdif<0 && dd>35 ) 																		{var fn = 986 , fz = "A high pressure located to the west is building eastward and starting to build into Glen Allen area giving breezy conditions and very low relative humidity and low dew point  temperature compared to the air  temperature. "  ;} //             MARCH 09, 2009   04:33 PM
if((tt==3 || tt==4)&& vb<4 && brt<=5 		&& bdi<4    &&  (dn>15 || dn<2)	&& xwet==0     && barx>29.90	&&  dpdif<0  && clo>3   	&& wmax>15 && tran<15	&& tdif>2 && dd>5 ) 																		{var fn = 987 , fz = "A weak high pressure located to the west is building eastward and starting to build into Glen Allen area giving breezy conditions and decreasing relative humidity. "  ;} //           JUNE 06, 2009   01:31 PM
if((tt==3 || tt==4)&& vb<3 && brt>0		&& bdi<4    &&   dn>12 		&& xwet==0     && barx>29.90	&&  dpdif<0  && clo>3   	&& wmax>15 && tran>12	&& tdif>5 && dd>7 && rhy<-18 ) 																	{var fn = 988 , fz = "A weak high pressure located to the west is building eastward into Glen Allen area giving decreasing clouds and relative humidity. "  ;} //          JUNE 06, 2009   04:26 PM
if((tt==3 || tt==4)&& vb<4 && brt>5    		&& bdi>7    && (dn>15 || dn<3)	&& xwet>0   &&barx<30.20 	&& dpdif>12  && clo>0        && wmax>20 && tran<7 	&& tdif<2  && dd>12  && tempa<60) 																		{var fn = 989 , fz = "A high pressure to the west is building into the Glen Allen area as an average cold front just passed the area and the winds will increase as a local low pressure is forming which is causing the current falling pressure and more precipitation can be expected. " ;}  //           FEBRUARY 22, 2009   12:30 PM
if((tt==3 || tt==4)&& vb<3 && brt<4    		&& bdi>6    && (dn>15 || dn<2)	&& xwet>0   &&barx<30.20 	&& dpdif>15  && clo>0        && wmax>18 && tran<10 	&& tdif<0  && tch<2 && dd<15  && tempa<50) 																	{var fn = 990 , fz = "A high pressure to the west is building into the Glen Allen area as an average cold front passed the area less than 3 hours ago giving increasing winds. " ;}  //            FEBRUARY 22, 2009   02:19 PM
if((tt==3 || tt==4)&& vb<3 && brt<4    		&& bdi>6    && (dn>15 || dn<2)	&& xwet>0   &&barx<30.20 	&& dpdif<4  && clo>2        && wmax>18 && tran<10	&& tdif<-2  && tch<1 && dd>15  && tempa<50) 																	{var fn = 991 , fz = "A high pressure to the west is building into the Glen Allen area giving increasing winds and clearing skies. " ;}  //            FEBRUARY 22, 2009   16:19 PM
if((tt==3 || tt==4) && vb<3 && brt==5 && bdi>1 && bdi<5 &&  dn<3 && barx>29.91 && barx<30.11 && xwet==0 && lwet==0 && wmax<22 && tdif>3 && tdif<9 && dpdif>-10 && dpdif<-4 && tempa>40 && dd<25 && rh<66 && rhy>-36 && rhy<-26 && tran>12 && tran<20 && sp<3 && clo<4) 											{var fn = 992 , fz = "A high pressure to the northwest is building into the Glen Allen area." ; } // 8-3-09-13:25
if((tt==3 || tt==4) && vb<3 && brt==7 && bdi>1 && bdi<5 && dn<3 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<22 && tdif>5 && tdif<11 && dpdif>-9 && dpdif<-3 && tempa>40 && dd<27 && rh<64 && rhy>-35 && rhy<-25 && tran>13 && tran<21 && sp<3 && clo<4) 											{var fn = 993 , fz = "A high pressure to the northwest is building into the Glen Allen area." ; } // 8-3-09-14:03
if((tt==3 || tt==4) && vb<3 && brt==5 && bdi>1 && bdi<5 && dn<3 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<22 && tdif>3 && tdif<9 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<25 && rh<67 && rhy>-30 && rhy<-20 && tran>13 && tran<21 && sp<3 && clo<4) 											{var fn = 994 , fz = "A high pressure to the northwest is building into the Glen Allen area." ; } // 8-3-09-14:14
if((tt==3 || tt==4)&& vb<4&& (brt==4 || brt==5) && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.97 && barx<30.17 && xwet==15 && lwet==0 && wmax<33 && tdif>-5 && tdif<1 && dpdif>-5 && dpdif<1 && tempa>40 && dd<23 && rh<72 && rhy>-5 && rhy<5 && tran>14 && tran<22 && sp<4 && clo<3 && dpnow>61 && dpnow<75) 							{var fn = 995 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after a cold frontal passage in the past 48 hours.  The cold front bcame a stationary front to the east but is now starting to move off the east coast and a low has formed on the front causing the winds to back." ; } // 8/24/09-13:01
if((tt==3 || tt==4)&& vb<4&& (brt==4 || brt==5) && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.97 && barx<30.17 && xwet==15 && lwet==0 && wmax<33 && tdif>-6 && tdif<0 && dpdif>-4 && dpdif<2 && tempa>40 && dd<23 && rh<71 && rhy>0 && rhy<10 && tran>14 && tran<22 && sp<4 && clo<3 && dpnow>61 && dpnow<75) 						{var fn = 996 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after a cold frontal passage in the past 48 hours.  The cold front bcame a stationary front to the east but is now starting to move off the east coast and a low has formed on the front causing the winds to back." ; } // 8/24/09-13:22
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.05 && barx<30.25 && xwet==0 && lwet==0 && wmax<20 && tdif>1 && tdif<7 && dpdif>-4 && dpdif<2 && tempa>40 && dd<25 && rh<66 && rhy>-15 && rhy<-5 && tran>17 && tran<25 && sp<3 && clo<4 && dpnow>61 && dpnow<75) 							{var fn = 997 , fz = "A northern high pressure is building into the Glen Allen area. " ; } // 8/25/09-12:59
if((tt==3 || tt==4)&& vb<3&& brt==4 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.66 && barx<29.86 && xwet==0 && lwet==0 && wmax<26 && tdif>-13 && tdif<-7 && dpdif>-16 && dpdif<-10 && tempa>40 && dd<30 && rh<55 && rhy>-17 && rhy<3 && tran>15 && tran<24 && sp<4 && clo<4 && dpnow>40 && dpnow<54) 							{var fn = 998 , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air is being pulled into Glen Allen between these two systems. " ; } // 9/29/09-13:13
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi<4&& dn>13&& dn<17 && barx>29.63 && barx<29.83 && xwet==0 && lwet==0 && wmax<28 && tdif>-15 && tdif<-9 && dpdif>-17 && dpdif<-11 && tempa>40 && dd<29 && rh<56 && rhy>-14 && rhy<6 && tran>16 && tran<25 && sp<4 && clo<5 && dpnow>41 && dpnow<55) 								{var fn = 999 , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 9/29/09-16:17
if((tt==3 || tt==4)&& vb<3&& brt==4 && bdi<4&& dn>13&& dn<17 && barx>29.64 && barx<29.84 && xwet==0 && lwet==0 && wmax<28 && tdif>-16 && tdif<-10 && dpdif>-18 && dpdif<-12 && tempa>40 && dd<30 && rh<56 && rhy>-16 && rhy<4 && tran>16 && tran<25 && sp<4 && clo<5 && dpnow>40 && dpnow<54) 								{var fn = 1000 , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 9/29/09-16:35
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<25 && tdif>7 && tdif<13 && dpdif>-8 && dpdif<-2 && tempa>49 && tempa<69 && dd<30 && rh<54 && rhy>-42 && rhy<-22 && tran>21 && tran<30 && sp<3 && clo<2 && dpnow>30 && dpnow<44) 						{var fn = 1001 , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after the center of the ridge passes the wind will shift southerly causing a large increase in  temperatures in the next 36-48 hours." ; } // 10/19/09-16:10
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<25 && tdif>-17 && tdif<-11 && dpdif>-28 && dpdif<-22 && tempa>50 && tempa<70 && dd<24 && rh<64 && rhy>-37 && rhy<-17 && tran>7 && tran<16 && sp<6 && clo<6 && dpnow>37 && dpnow<51) 					{var fn = 1002 , fz = "A high pressure ridge located near but a little to the west has rapidly built into the  the Glen Allen area after a cold frontal passage in the past 24 hours. The backing wind indicates the possible formation of  a low pressure on the cold front that passed the area in the past 24 hours. " ; } // 10/25/09-13:12
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<25 && tdif>-19 && tdif<-13 && dpdif>-29 && dpdif<-23 && tempa>50 && tempa<70 && dd<25 && rh<63 && rhy>-33 && rhy<-13 && tran>8 && tran<17 && sp<6 && clo<6 && dpnow>36 && dpnow<50) 					{var fn = 1003 , fz = "A high pressure ridge located near but a little to the west has rapidly built into the  the Glen Allen area after a cold frontal passage in the past 24 hours and is just starting to past to the east as the pressure is now falling. " ; } // 10/25/09-15:01
if((tt==3 || tt==4)&& vb<3	                   && bdi>1&& bdi<5&& dn>14&& dn<18 && barx>30.22 && barx<30.42 && xwet==0 && lwet==0 && wmax<21 && tdif>-7 && tdif<-1 && dpdif>-9 && dpdif<-3 && tempa>45 && tempa<65 && dd<30 && rh<53 && rhy>-13 && rhy<7 && tran>14 && tran<23 && sp<4 && clo<3 && dpnow>26 && dpnow<40) 					{var fn = 1004 , fz = "The leading edge of a high pressure ridge located  near but a little to the west of  the Glen Allen area after a cold frontly passage in the past 24 hours." ; } // 11/06/09-12:00
if((tt==3 || tt==4)&&vb<3&&(brt==3||brt==4)&&bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.86 && barx<30.06 && xwet==0 && lwet==0 && wmax<12 && tdif>3 && tdif<9 && dpdif>-5 && dpdif<1 && tempa>54 && tempa<74 && dd<19 && rh<76 && rhy>-31 && rhy<-11 && tran>27 && tran<36 && sp<3 && clo<4 && dpnow>46 && dpnow<60) 					{var fn = 1005 , fz = "A weak high pressure is just starting to build into the Glen Allen area and a distant low pressure well out in the Atlantic is pulling a WEAK north flow. " ; } // 11/15/09-16:56
if((tt==4 || tt==5)&& vb<4&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<12 && tdif>-2 && tdif<4 && dpdif>-5 && dpdif<1 && tempa>48 && tempa<68 && dd<14 && rh<89 && rhy>-19 && rhy<1 && tran>27 && tran<36 && sp<3 && clo<5 && dpnow>45 && dpnow<59) 					{var fn = 1006 , fz = "A weak high pressure is just starting to build into the Glen Allen area and a distant low pressure well out in the Atlantic is pulling a WEAK north flow." ; } // 11/15/09-17:56
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>3&& bdi<7&& dn>-1&& dn<3 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<20 && tdif>-4 && tdif<2 && dpdif>-18 && dpdif<-12 && tempa>52 && tempa<72 && dd<23 && rh<67 && rhy>-49 && rhy<-29 && tran>6 && tran<15 && sp<2 && clo<3 && dpnow>40 && dpnow<54) 						{var fn = 1007 , fz = "A high pressure is located to the west and is now building  into the  the Glen Allen area very slowly after a cold frontal passage in the past 24 hours as the pressure is now steady and only a little higher than it was yesterday at this time. " ; } // 11/20/09-12:24
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<20 && tdif>-6 && tdif<0 && dpdif>-22 && dpdif<-16 && tempa>52 && tempa<72 && dd<26 && rh<61 && rhy>-50 && rhy<-30 && tran>7 && tran<16 && sp<3 && clo<3 && dpnow>37 && dpnow<51) 						{var fn = 1008 , fz = "A high pressure is located to the west and is now building  into the  the Glen Allen area very slowly after a cold frontal passage in the past 24 hours as the pressure is now steady and only a little higher than it was yesterday at this time. " ; } // 11/20/09-15:14
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<20 && tdif>-9 && tdif<-3 && dpdif>-22 && dpdif<-16 && tempa>48 && tempa<68 && dd<22 && rh<68 && rhy>-47 && rhy<-27 && tran>7 && tran<16 && sp<3 && clo<3 && dpnow>37 && dpnow<51) 						{var fn = 1009 , fz = "A high pressure is located to the west and is now building  into the  the Glen Allen area very slowly after a cold frontal passage in the past 24 hours as the pressure is now steady and only a little higher than it was yesterday at this time." ; } // 11/20/09-16:25
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<10 && tdif>-7 && tdif<-1 && dpdif>-7 && dpdif<-1 && tempa>48 && tempa<68 && dd<25 && rh<63 && rhy>-10 && rhy<10 && tran>16 && tran<25 && sp<3 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 1010 , fz = "A weak  high pressure is located to the west and is now building slowly into the  the Glen Allen area and a large low pressure is in the Gulf of Mexico. " ; } // 11/21/09-14:43
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>-1&& bdi<3&& dn>14&& dn<18 && barx>30.23 && barx<30.43 && xwet==0 && lwet==0 && wmax<14 && tdif>1 && tdif<7 && dpdif>-12 && dpdif<-6 && tempa>31 && tempa<51 && dd<22 && rh<67 && rhy>-49 && rhy<-29 && tran>12 && tran<21 && sp<6 && clo<4 && dpnow>20 && dpnow<34) 						{var fn = 1011 , fz = "A strong fast moving high pressure is located to the west and is now building into the  the Glen Allen area. " ; } // 12/06/09-12:49
if((tt==3 || tt==4)&& vb<3&& brt==8 && bdi>-1&& bdi<3&& dn>6&& dn<10 && barx>30.21 && barx<30.41 && xwet==0 && lwet==0 && wmax<14 && tdif>3 && tdif<9 && dpdif>-13 && dpdif<-7 && tempa>32 && tempa<52 && dd<24 && rh<62 && rhy>-55 && rhy<-35 && tran>13 && tran<22 && sp<6 && clo<4 && dpnow>19 && dpnow<33) 						{var fn = 1012 , fz = "A strong fast moving high pressure is located near the Glen Allen area but is starting to move away from the area as the pressure is falling.  " ; } // 12/06/09-13:18


if((tt==4 || tt==5)&& vb<4		&& brt<4 	&& bdi<5    	&& dn<3			&& xwet>0     && barx>29.90 	&& dpdif<-4 	       && wmax>15 && tran<21 && tdif<0   && dd>10 && sp<3 && tempa>55 && rh<68) 		              													{var fn = 1022 , fz = "A high pressure is now located to the W of the Glen Allen area and the pressure is rising slowly and a distant low pressure to the E of Glen Allen is pulling a northerly flow between them. " ;}  //      JUNE 14, 2009   07:07 PM
if((tt==4 || tt==5)&& vb<4 && brt<4 	&& bdi<4 	         &&  dn<4 		&& xwet==0  && barx>29.90 	&& dpdif<-5  && tdif<-4     	&& wmax>9  && tran>10)  																						{var fn = 1023 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==4 || tt==5)&& vb<4 && brt<=5 &&(bdi==4 || bdi==5)	    &&  dn<4   		&& xwet>2     && barx>29.90 	&& dpdif<-10 && tdif<-15   	&& wmax>12 && tran<20)  				    																	{var fn = 1024 , fz = "A high pressure is located to the west building into Glen Allen area and tracking north-eastward. The high pressure will then pass to the north of Glen Allen. " ;} //  DECEMBER 05, 2008   08:39 PM
if((tt==4 || tt==5)&& vb<4 && brt<4  		&& bdi<4    && (dn>14  || dn<2)    	&& xwet==0   && barx>30.00 	&& dpdif<-15  		&& wmax>15 		&& tdif>-15 && tdif<0 )  																		{var fn = 1025 , fz = "A high pressure is building into the Glen Allen area from the west after the passage of a recent cold front. " ;} 	//     DECEMBER 07, 2008   07:20 PM
if((tt==4 || tt==5)&& vb<3 && brt<5   		&& bdi<5    &&  dn<4       		&& xwet==0   && barx>30.00 	&& dpdif<-10  		&& wmax>15 		&& tdif>-18 && tdif<0)  																		{var fn = 1026 , fz = "A high pressure is building into the Glen Allen area from the west after the passage of a recent cold front. " ;} 	//     DECEMBER 07, 2008   05:20 PM
if((tt==4 || tt==5)&& vb<3 && brt<4 		&& bdi<3    && dn>10 && dn<14 	&& xwet==0  && barx>30.20	&&  dpdif<-5  && clo<3   	&& wmax>15 && tran>12	&& tdif<-5			&& rhy<0) 																{var fn = 1027 , fz = "A strong high pressurelocated to the west is building eastward toward Glen Allen area. "  ;} 			//      DECEMBER 22, 2008   09:14 PM  low  temperature was 18.8
if((tt==4 || tt==5)&& vb<4 && brate>0 &&  brt<3 	&&  bdi<3   && (dn>14 || dn<3)	&& xwet==0  && barx>30.10  	&& dpdif<-5  && clo>0   	&& wmax>15 && tran>7  	&& tdif<-5  && dd>20) 																			{var fn = 1028 , fz = "A  high pressure from the west is building into the Glen Allen area. " ;}						//        JANUARY 15, 2009   05:45 PM
if((tt==4 || tt==5)&& vb==3 && brt<=5    		&& bdi<4    && (dn>15 || dn<3)	&& xwet==0   &&barx<30.25 	&& dpdif<-2  && clo<4        && wmax>20 && tran>10 	&& tdif<-2  && dd>12  && tempa<50) 																		{var fn = 1029 , fz = "A high pressure ridge to the west is building into the  the Glen Allen area and a weak or distant low pressure is to the east of the VA - NC coast giving a fairly strong north flow between the two systems.  " ;}  //         FEBRUARY 16, 2009   05:16 PM
if((tt==4 || tt==5)&& vb<3 && brt<3    		&& bdi>5    && (dn>14 || dn<2)	&& xwet>0   &&barx<30.20 	&& dpdif<3  && clo>1        && wmax>18 && tran<10 	&& tdif<-3  && tch<0 && dd>15  && tempa<50) 																	{var fn = 1030 , fz = "A high pressure to the west is building into the Glen Allen area giving clearing skies. " ;}  //            FEBRUARY 22, 2009   17:49 PM
if((tt==4 || tt==5)&& vb<4 && brt<5 		&& bdi<4    &&  (dn>15 || dn<2)   	&& xwet==0 && barx>30.20	&&  dpdif<0  && clo<3       && wmax>18 && tran>14	&& tdif<0 && dd>16 ) 																		{var fn = 1031  , fz = "A strong high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the NE is moving away and cold air from the NW is being pulled southward between these two systems. "  ;} //            FEBRUARY 23, 2009   07:16 PM  max 41
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>4&& dn<8 && barx>29.80 && barx<30.00 && xwet==15 && lwet==0 && wmax<20 && tdif>2 && tdif<8 && dpdif>-2 && dpdif<4 && tempa>40 && dd<12 && rh<95 && rhy>-15 && rhy<-5 && tran>18 && tran<26 && sp<3 && clo<5 && dpnow>65 && dpnow<79) 							{var fn = 1032  , fz = "A high pressure ridge located to the west is slowly building into the  the Glen Allen area as the air pressure is nearly steady but higher than it was yesterday.  The cold front has become stationary along the east coast and low pressures have formed on this front." ; } // 8/23/09-19:47 - we had a 5:30 pm shower of 0.08 inches.
if((tt==4 || tt==5)&& vb<4&& brt==7 && bdi>2&& bdi<6&&  dn<3 && barx>29.97 && barx<30.17 && xwet==0 && lwet==0 && wmax<20 && tdif>-4 && tdif<2 && dpdif>-3 && dpdif<3 && tempa>40 && dd<23 && rh<70 && rhy>-3 && rhy<7 && tran>18 && tran<26 && sp<3 && clo<4 && dpnow>60 && dpnow<74) 								{var fn = 1033  , fz = "A northern high pressure is building into the Glen Allen area giving a " +nwd + " breeze. " ; } // 8/25/09-17:51
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>0&& bdi<4&& dn>11&& dn<15 && barx>29.66 && barx<29.86 && xwet==0 && lwet==0 && wmax<28 && tdif>-11 && tdif<-5 && dpdif>-24 && dpdif<-18 && tempa>40 && dd<27 && rh<61 && rhy>-42 && rhy<-22 && tran>16 && tran<25 && sp<4 && clo<4 && dpnow>40 && dpnow<54) 							{var fn = 1034  , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 9/29/09-17:45
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>0&& bdi<4&& dn>11&& dn<15 && barx>29.69 && barx<29.89 && xwet==0 && lwet==0 && wmax<28 && tdif>-14 && tdif<-8 && dpdif>-10 && dpdif<-4 && tempa>40 && dd<19 && rh<77 && rhy>-3 && rhy<17 && tran>16 && tran<25 && sp<4 && clo<4 && dpnow>42 && dpnow<56) 							{var fn = 1035  , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 9/29/09-19:32
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>11&& dn<15 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<26 && tdif>-8 && tdif<-2 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<22 && rh<70 && rhy>-10 && rhy<10 && tran>22 && tran<31 && sp<3 && clo<6 && dpnow>43 && dpnow<57) 							{var fn = 1036  , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 10/4/09-19:05
if((tt==4 || tt==5)&& vb<3&& brt==6 && bdi>1&& bdi<5&& dn>11&& dn<15 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<26 && tdif>-8 && tdif<-2 && dpdif>-5 && dpdif<1 && tempa>40 && dd<19 && rh<76 && rhy>-4 && rhy<16 && tran>22 && tran<31 && sp<3 && clo<6 && dpnow>44 && dpnow<58) 							{var fn = 1037  , fz = "A high pressure located to the west is building eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 10/4/09-19:40
if((tt==4 || tt==5)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<25 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>43 && tempa<63 && dd<22 && rh<68 && rhy>-25 && rhy<-5 && tran>21 && tran<30 && sp<3 && clo<2 && dpnow>32 && dpnow<46) 						{var fn = 1038  , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after the center of the ridge passes the wind will shift southerly causing a large increase in  temperatures in the next 36 hours. "  ; } // 10/19/09-18:04
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>6&& dn<10 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<25 && tdif>-5 && tdif<1 && dpdif>-4 && dpdif<2 && tempa>36 && tempa<56 && dd<14 && rh<90 && rhy>-9 && rhy<11 && tran>21 && tran<30 && sp<3 && clo<2 && dpnow>33 && dpnow<47) 						{var fn = 1039  , fz = "A high pressure ridge located to the west is now building into the  the Glen Allen area after the center of the ridge passes the wind will shift southerly causing a large increase in  temperatures in the next 36 hours. " ; } // 10/19/09-19:43
if((tt==4 || tt==5)&& vb<1&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>0&& dn<4 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<12 && tdif>-4 && tdif<2 && dpdif>-5 && dpdif<1 && tempa>45 && tempa<65 && dd<11 && rh<100 && rhy>-13 && rhy<7 && tran>27 && tran<36 && sp<3 && clo<5 && dpnow>45 && dpnow<59) 					{var fn = 1040  , fz = "A weak high pressure is building into the Glen Allen area and a distant low pressure well out in the Atlantic is pulling a WEAK north flow." ; } // 11/15/09-19:13
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn<4 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<20 && tdif>-11 && tdif<-5 && dpdif>-23 && dpdif<-17 && tempa>46 && tempa<66 && dd<21 && rh<73 && rhy>-44 && rhy<-24 && tran>7 && tran<16 && sp<3 && clo<5 && dpnow>36 && dpnow<50) 						{var fn = 1041  , fz = "A high pressure is located to the west and is now building  into the  the Glen Allen area very slowly after a cold frontal passage in the past 24 hours as the pressure is now steady and only a little higher than it was yesterday at this time. " ; } // 11/20/09-17:02
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn<4 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<20 && tdif>-14 && tdif<-8 && dpdif>-22 && dpdif<-16 && tempa>42 && tempa<62 && dd<16 && rh<83 && rhy>-35 && rhy<-15 && tran>7 && tran<16 && sp<3 && clo<5 && dpnow>37 && dpnow<51) 						{var fn = 1042  , fz = "A high pressure is located to the west and is now building  into the  the Glen Allen area very slowly as the pressure is now steady and only a little higher than it was yesterday at this time. " ; } // 11/20/09-17:44
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>0&& dn<4 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<20 && tdif>-18 && tdif<-12 && dpdif>-21 && dpdif<-15 && tempa>38 && tempa<58 && dd<12 && rh<97 && rhy>-22 && rhy<-2 && tran>12 && tran<21 && sp<3 && clo<5 && dpnow>37 && dpnow<51) 						{var fn = 1043 ,  fz = "A high pressure is located to the west and is now building  into the  the Glen Allen area very slowly as the pressure is now steady and only a little higher than it was yesterday at this time. " ; } // 11/20/09-19:28
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.96 && barx<30.16 && xwet==0 && lwet==0 && wmax<17 && tdif>-1 && tdif<5 && dpdif>-10 && dpdif<-4 && tempa>37 && tempa<57 && dd<41 && rh<36 && rhy>-22 && rhy<-2 && tran>24 && tran<33 && sp<3 && clo<3 && dpnow>7 && dpnow<21) 						{var fn = 1044  , fz = "A high pressure is located to the SW and is now building slowly eastward and a distant low pressure is located to the NE giving a  NW flow between the two systems." ; } // 02/20/10-17:41





if((tt==5 || tt==1)&& vb<3 && brt<4    		&& bdi<5    && (dn>14 || dn<2)	&& xwet>0   &&barx>30.15 	&& dpdif<2  && clo<3        && wmax>20 && tran>15 	&& tdif<-8  && tch<-1 && dd>15  && tempa<50) 																	{var fn = 1054 , fz = "A high pressure to the SW is building into the Glen Allen area and a low pressure in the NE giving a NW wind to Glen Allen and  is moving NE. " ;}  //             FEBRUARY 22, 2009   08:59 PM
if((tt==5 || tt==1)&& vb<3 	&& brt<4    	&& bdi<4                                         		&& xwet==0  && barx<30.20  	&& dpdif<0  && clo<3        	&& wmax>15 && tran>20  	&& tdif<0)																			{var fn = 1055 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==5 || tt==1) && vb<3 	&& brt<4    	&& bdi<4                                         		&& xwet==0  && barx<30.20  	&& dpdif<0  && clo<3        	&& wmax>15 && tran>20  	&& tdif<0)																			{var fn = 1056 , fz = "A high pressure is building into the Glen Allen area. " ;}
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>4&& dn<8 && barx>30.06 && barx<30.26 && xwet==0 && lwet==0 && wmax<20 && tdif>-1 && tdif<5 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<18 && rh<81 && rhy>-25 && rhy<-15 && tran>18 && tran<26 && sp<4 && clo<6) 										{var fn = 1057 , fz = "The center of a high pressure ridge is located to the west and tracking eastward. " ; } // 8/7/09-21:15
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.82 && barx<30.02 && xwet==15 && lwet==0 && wmax<20 && tdif>1 && tdif<7 && dpdif>-2 && dpdif<4 && tempa>40 && dd<12 && rh<98 && rhy>-14 && rhy<-4 && tran>18 && tran<26 && sp<3 && clo<5 && dpnow>64 && dpnow<78) 							{var fn = 1058 , fz = "A high pressure ridge located to the west is slowly building into the  the Glen Allen area as the air pressure is nearly steady but higher than it was yesterday.  The cold front has become stationary along the east coast and low pressures have formed on this front." ; } // 8/23/09-20:39- we had a 5:30 pm shower of 0.08 inches.
if((tt==5 || tt==1)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.97 && barx<30.17 && xwet==15 && lwet==0 && wmax<33 && tdif>-3 && tdif<3 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<17 && rh<85 && rhy>-18 && rhy<-8 && tran>16 && tran<24 && sp<4 && clo<3 && dpnow>59 && dpnow<73) 							{var fn = 1059 , fz = "A high pressure ridge located to the NW is slowly building into the  the Glen Allen area as the air pressure is nearly steady but higher than it was yesterday and a stationary is along the east coast." ; } // 8/24/09-20:42
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>29.98 && barx<30.18 && xwet==15 && lwet==0 && wmax<33 && tdif>-4 && tdif<2 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<16 && rh<88 && rhy>-16 && rhy<-6 && tran>16 && tran<24 && sp<3 && clo<2 && dpnow>59 && dpnow<73)    							{var fn = 1060 , fz = "A high pressure ridge located to the NW is  building into the  the Glen Allen area as the air pressure is higher than it was yesterday and a stationary is along the east coast." ; } // 8/24/09-21:15
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>11&& dn<15 && barx>29.92 && barx<30.12 && xwet==0 && lwet==0 && wmax<22 && tdif>0 && tdif<6 && dpdif>-4 && dpdif<2 && tempa>40 && dd<20 && rh<76 && rhy>-13 && rhy<-3 && tran>19 && tran<27 && sp<3 && clo<4 && dpnow>61 && dpnow<75) 							{var fn = 1061 , fz = "A  high pressure from the west is building into the Glen Allen area." ; } // 8/26/09-20:41
if((tt==5 || tt==1)&& vb<3&& brt==6 && bdi>1&& bdi<5&& dn>11&& dn<15 && barx>29.88 && barx<30.08 && xwet==0 && lwet==0 && wmax<26 && tdif>-5 && tdif<1 && dpdif>-6 && dpdif<0 && tempa>40 && dd<19 && rh<78 && rhy>-13 && rhy<7 && tran>22 && tran<31 && sp<3 && clo<6 && dpnow>43 && dpnow<57) 							{var fn = 1062 , fz = "A high pressure located to the west is building eastward toward Glen Allen area as the pressure is rising and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 10/4/09-21:15
if((tt==5 || tt==1)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>11&& dn<15 && barx>29.88 && barx<30.08 && xwet==0 && lwet==0 && wmax<26 && tdif>-5 && tdif<1 && dpdif>-5 && dpdif<1 && tempa>40 && dd<18 && rh<80 && rhy>-11 && rhy<9 && tran>22 && tran<31 && sp<3 && clo<6 && dpnow>44 && dpnow<58) 							{var fn = 1063 , fz = "A high pressure located to the west is building slowly eastward toward Glen Allen area and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems. " ; } // 10/4/09-21:30
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>11&& dn<15 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<26 && tdif>-5 && tdif<1 && dpdif>-5 && dpdif<1 && tempa>40 && dd<17 && rh<81 && rhy>-10 && rhy<10 && tran>22 && tran<31 && sp<3 && clo<6 && dpnow>44 && dpnow<58) 							{var fn = 1064 , fz = "A high pressure located to the west is building eastward toward Glen Allen area as the pressure is rising and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems." ; } // 10/4/09-21:33
if((tt==5 || tt==1)&& vb<3&& brt==2 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.82 && barx<30.02 && xwet==15 && lwet==0 && wmax<30 && tdif>-6 && tdif<0 && dpdif>-22 && dpdif<-16 && tempa>40 && dd<29 && rh<55 && rhy>-47 && rhy<-27 && tran>13 && tran<22 && sp<7 && clo<2 && dpnow>35 && dpnow<49) 							{var fn = 1065 , fz = "A high pressure located to the west is building eastward toward Glen Allen area as the pressure is rising and a low pressure in the north is moving away and cool air from the " + nwd + " is being pulled into Glen Allen between these two systems." ; } // 10/7/09-20:10




//             1hbnw       HP BUILDING IN  FROM THE NORTHWEST
if((tt==1 || tt==2)&& vb<4 	&& brt<4      	&& bdi<4    	&& dn>1 && dn<5   	&& xwet==0  && barx>30.00 && barx<30.35  	      && clo<4        	&& wmax>5  && wmax<12                     && dd<14)																		{var fn = 1075 , fz = "A weak high pressure to the NW is building into Glen Allen area.  " ;} 				//  DECEMBER 18, 2008   08:02 AM -  JANUARY 12, 2009   08:19 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<4  	&& bdi==1   	&& dn==15		&& xwet==0 && barx>30.20 	&& dpdif<-11  && clo>0        && wmax<15  && tran<10 && tdif<-8     && dd>12  && dsp==1  && tempa<50) 															{var fn = 1076 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //     FEBRUARY 09, 2009   08:12 AM   FEBRUARY 23, 2009   08:37 AM
if((tt==1 || tt==2)&& vb<4  	&& brt<4  	&& bdi==1   	&& (dn>14 || dn<2)  	&& xwet==0 && barx>30.20 	&& dpdif<-7  && clo==1        && wmax>12  && tran>8 && tdif<3     && dd>8  && dsp==1 && sp>3 && tempa<50) 																{var fn = 1077 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //      MARCH 03, 2009   08:57 AM min  temperature 7 °F day after big snow 7' on ground now
if((tt==1 || tt==2)&& vb<3 	&& brt<4  	&& bdi<2    	&& dn<3			&& xwet==0   && barx>30.15 	&& dpdif<-16 	       && wmax<20 && tran<15 && tdif<-10   && dd>18 && sp>3 && tempa<70) 																{var fn = 1078 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards the area. There is also a  low pressure to the NE tracking away from the area giving a NNE wind. " ;}  //        APRIL 12, 2009   07:47 AM
if((tt==1 || tt==2)&& vb<3 	&& brt<4  	&& bdi<3     	&& dn<4			&& xwet==0 && barx>30.10 	&& dpdif<3  && clo<3   && wmax<10 && tran<15 && tdif<3    && dd>4  && sp==4 && tempa<70) 																{var fn = 1079 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards but passes to the north of the Glen Allen area today. " ;}  //           MARCH 31, 2009   08:10 AM
if((tt==1 || tt==2)&& vb<4		&& brt<4 	&& bdi<3    	&& dn<4			&& xwet>0     && barx>30.20 	&& dpdif<-11 	       && wmax<25 && tran<10 && tdif<-5   && dd>7 && sp<=3 && tempa>45) 																{var fn = 1080 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and a cold front has passed the Glen Allen - Springfield Park area in the past 24 hours " ;}  //         MAY 18, 2009   07:56 AM
if((tt==1 || tt==2)&& vb<3 	&& brt<4  	&& bdi<4     	&& dn<4			&& xwet==0 && barx<30.10 	&& dpdif<5  && clo<3   && wmax<10 && tran<18 && tdif<3   && dd>13 && (sp==2 || sp==3) && tempa<70) 															{var fn = 1081 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards Glen Allen  but passes to the north of the Glen Allen area. There is also a distant  low pressure in Maine tracking away from the area. " ;}  //            APRIL 05, 2009   07:39 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<4  	&& bdi<4     	&& dn<4			&& xwet==0 && barx>30.15 	&& dpdif<-10  && clo<5    && wmax>15 && tran<10 && tdif<-7    && dd>10    && sp==3 && tempa<70) 																{var fn = 1082 , fz = "A cold front has passed the area in the past 24 hours and high pressure is now located in a north-NW direction from the  the Glen Allen area and the pressure is  rising as the high builds eastward and a low pressure to the NE is moving away from Glen Allen. " ;}  //         MARCH 20, 2009   09:56 AM
if((tt==1 || tt==2)&& vb<4 	&& brt<4      	&& bdi<4    	&& dn>1 && dn<5   	&& xwet==0  && barx>30.00 && barx<30.35  	      && clo<4        	&& wmax>5  && wmax<12                     && dd<14)																		{var fn = 1083 , fz = "A weak high pressure to the NW is building into Glen Allen area.  " ;} 				//  DECEMBER 18, 2008   08:02 AM -  JANUARY 12, 2009   08:19 AM
if((tt==1 || tt==2)&& vb<3		&& brt<4 	&& bdi<5    	&& dn>8 && dn<12	&& xwet==0  && barx>30.20 	&& dpdif<-2 	       && wmax<10 && tran<15 && tdif>0   && dd>5 && sp<3 && tempa<70) 																	{var fn = 1084 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east. " ;}  //        APRIL 17, 2009   07:40 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<4    	&& bdi<5     	&& dn<5 		&& xwet==0 && barx>30.20 	&& dpdif>3  && clo==5           && wmax<15  && tran<6 	                     && dd>6  && tempa<60) 																	{var fn = 1085 , fz = "A high pressure located to the NW is building eastward and is now in northerly direction from the  the Glen Allen area giving a NE flow and building into the area. " ;}  //    JANUARY 26, 2009   09:12 AM
if((tt==1 || tt==2)&& vb==3	&& brt<4 	&& bdi<5    	&& dn<3			&& xwet>0     && barx>29.95 	&& dpdif<-1 	       && wmax<15 && tran<12 && tdif<0   && dd>5 && sp<3 && tempa>55) 																	{var fn = 1086 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and a distant low pressure to the SE (noted by backing wind) of Glen Allen is pulling a northerly flow between them. " ;}  //     JUNE 14, 2009   08:06 AM
if((tt==1 || tt==2)&& vb<4  	&& brt<4  	&& bdi>5     	&& dn==3		&& xwet==0 && barx>30.20 	&& dpdif>0  && clo<3   && wmax>15 && tran<10 && tdif>5    && dd>5    && sp==2 && tempa<70) 																	{var fn = 1087 , fz = "A cold front has passed the area in the past 12 hours and high pressure is now located to the north of the Glen Allen area and the pressure is  rising as the high builds towards the Glen Allen area. " ;}  //         MARCH 23, 2009   08:21 AM
if((tt==1 || tt==2)&& vb<4		&& brt<4 	&& bdi==6    	&& dn==1   		&& xwet==0   && barx<29.95 	&& dpdif<0 	       && wmax<10 && tran<10 && tdif<3   && dd<10 && sp<3 && tempa>60 && rh>70) 															{var fn = 1088 , fz = "A high pressure is now located to the west or NW of the Glen Allen area and the pressure is rising slowly and a cold front is to the west of Glen Allen that will pass later today. " ;}  //         JUNE 28, 2009   07:55 AM
if((tt==1 || tt==2)&& vb<3 	&& brt<4      	&& bdi<9    	&& (dn>14 || dn<2)     	&& xwet==0 			&& dpdif<0   && clo==5      	&& wmax<15 		&& tdif<5 		&& rhy<-10) 															{var fn = 1089 , fz = "A high pressure is tracking eastward and is now located to the west of the Glen Allen. "  ;} 		//   DECEMBER 20, 2008   08:33 AM
if((tt==1 || tt==2)&& vb<3		&& brt<4 	&& bdi>5    	&& dn<3			&& xwet==0  && barx>30.20 	&& dpdif>0 	       && wmax<25 && tran<15 && tdif<2   && dd>5 && sp<3 && tempa>50) 																{var fn = 1090 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east. " ;}  //         APRIL 29, 2009   08:16 AM
if((tt==1 || tt==2)&& vb<4		&& brt==5 	&& bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.91 && barx<30.11 && xwet==0 && lwet==0 && wmax<9 && tdif>-3 && tdif<3 && dpdif>-1 && dpdif<5 && tempa>40 && dd<9 && rh<107 && rhy>0 && rhy<10 && tran>3 && tran<11 && sp<3 && clo<3 && dpnow>52 && dpnow<66) 					{var fn = 1091 , fz = "A slow moving high pressure is now located to the NW of the Glen Allen area as the pressure is steady thus the high is building east very slowly. " ; } // 9/12/09-7:55
if((tt==1 || tt==2)&& vb<3&& brt<5 && bdi>4&& bdi<8&& dn>13&& dn<17 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<5 && tdif>1 && tdif<7 && dpdif>0 && dpdif<6 && tempa>40 && dd<8 && rh<100 && rhy>-6 && rhy<4 && tran>2 && tran<10 && sp<3 && clo<3 && dpnow>54 && dpnow<68) 								{var fn = 1092 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and is building into the area while a weak low pressure is in the western Atlantic off the NE coastal area giving a NW flow. " ; } // 9/13/09-7:50
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>13&& dn<17 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<5 && tdif>1 && tdif<7 && dpdif>-2 && dpdif<6 && tempa>40 && dd<12 && rh<100 && rhy>-12 && rhy<-4 && tran>3 && tran<11 && sp<3 && clo<3 && dpnow>54 && dpnow<68) 							{var fn = 1093 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and is SLOWLY building into the area while a weak low pressure low pressure is in the western Atlantic off the NE coastal area giving a NW flow. " ; } // 9/13/09-7:50
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.14 && barx<30.34 && xwet==0 && lwet==0 && wmax<12 && tdif>-4 && tdif<2 && dpdif>-8 && dpdif<-2 && tempa>29 && tempa<49 && dd<13 && rh<91 && rhy>-25 && rhy<-5 && tran>6 && tran<15 && sp<4 && clo<2 && dpnow>27 && dpnow<41) 						{var fn = 1094 , fz = "A high pressure ridge is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east giving a breezy north wind. " ; } // 10/19/09-8:11
if((tt==1 || tt==2)&& vb<4&& brt==2 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.16 && barx<30.36 && xwet==0 && lwet==0 && wmax<17 && tdif>-2 && tdif<4 && dpdif>-8 && dpdif<-2 && tempa>31 && tempa<51 && dd<15 && rh<86 && rhy>-30 && rhy<-10 && tran>6 && tran<15 && sp<7 && clo<2 && dpnow>27 && dpnow<41) 						{var fn = 1095 , fz = "A high pressure ridge  is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east giving a breezy north wind.  " ; } // 10/19/09-8:28
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.16 && barx<30.36 && xwet==0 && lwet==0 && wmax<17 && tdif>0 && tdif<6 && dpdif>-7 && dpdif<-1 && tempa>34 && tempa<54 && dd<17 && rh<82 && rhy>-33 && rhy<-13 && tran>6 && tran<15 && sp<4 && clo<2 && dpnow>28 && dpnow<42) 						{var fn = 1096 , fz = "A high pressure ridge is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east giving a breezy north wind. " ; } // 10/19/09-8:47
if((tt==1 || tt==2)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.13 && barx<30.33 && xwet==0 && lwet==0 && wmax<12 && tdif>-8 && tdif<-2 && dpdif>-2 && dpdif<4 && tempa>35 && tempa<55 && dd<11 && rh<99 && rhy>7 && rhy<27 && tran>-1 && tran<8 && sp<4 && clo<5 && dpnow>35 && dpnow<49) 						{var fn = 1097 , fz = "A high pressure located to the NW and is now moving in northeasterly direction from the  the Glen Allen area and a low is located to the SE of Glen Allen giving a northerly flow between the two systems." ; } // 10/26/09-8:15
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<17 && tdif>-3 && tdif<3 && dpdif>-10 && dpdif<-4 && tempa>38 && tempa<58 && dd<14 && rh<87 && rhy>-32 && rhy<-12 && tran>1 && tran<10 && sp<3 && clo<5 && dpnow>35 && dpnow<49) 						{var fn = 1098 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards Glen Allen but passes to the north of the Glen Allen area. There is also a weak stationary front to the south of Virginia. " ; } // 11/17/09-8:06
if((tt==1 || tt==2)&& vb<1&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.31 && barx<30.51 && xwet==0 && lwet==0 && wmax<13 && tdif>-6 && tdif<0 && dpdif>-10 && dpdif<-4 && tempa>22 && tempa<42 && dd<26 && rh<57 && rhy>-19 && rhy<1 && tran>3 && tran<12 && sp<3 && clo<5 && dpnow>7 && dpnow<21) 						{var fn = 1099 , fz = "A high pressure ridge is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east giving a light north breeze." ; } // 12/17/09-8:51
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.10 && barx<30.30 && xwet==0 && lwet==0 && wmax<20 && tdif>0 && tdif<6 && dpdif>0 && dpdif<6 && tempa>24 && tempa<44 && dd<23 && rh<63 && rhy>-9 && rhy<11 && tran>4 && tran<13 && sp<4 && clo<3 && dpnow>12 && dpnow<26) 						{var fn = 1100 , fz = "A slow moving high pressure is now located to the NW of the Glen Allen area as the pressure is rising thus the high is building eastward very slowly." ; } // 03/06/10-7:51
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.11 && barx<30.31 && xwet==0 && lwet==0 && wmax<25 && tdif>1 && tdif<7 && dpdif>0 && dpdif<6 && tempa>27 && tempa<47 && dd<25 && rh<60 && rhy>-11 && rhy<9 && tran>4 && tran<13 && sp<4 && clo<3 && dpnow>13 && dpnow<27) 						{var fn = 1101 , fz = "A slow moving high pressure is now located to the NW of the Glen Allen area as the pressure is rising thus the high is building eastward very slowly." ; } // 03/06/10-8:16
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>30.02 && barx<30.22 && xwet==15 && lwet==0 && wmax<9 && tdif>-7 && tdif<-1 && dpdif>-7 && dpdif<-1 && tempa>55 && tempa<75 && dd<12 && rh<95 && rhy>-12 && rhy<8 && tran>3 && tran<12 && sp<3 && clo<5 && dpnow>54 && dpnow<68 && pdif>0.01) 					{var fn = 1102 , fz = "A high pressure is now located to the NW of the Glen Allen area but more importantly there is a cold front that has become stationary front to the south of Virginia in the Carolinas and low pressure waves are tracking this boundary. One low passed south on this boundary last night giving the precipitation and current backing wind. The pressure is now rising as the low has passed east of a point that is south of Henrico on this southern boundary and other low pressures are likely in the next 48 hours.  " ; } // 05/16/10-8:22
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.08 && barx<30.30 && xwet==0 && lwet==0 && wmax<14 && tdif>-15 && tdif<-9 && dpdif>-14 && dpdif<-8 && tempa>43 && tempa<63 && dd<12 && rh<96 && rhy>-9 && rhy<11 && tran>5 && tran<14 && sp<4 && clo<2 && dpnow>42 && dpnow<56) 						{var fn = 1103 , fz = "A slow moving high pressure is now located to the north of the Glen Allen area as the pressure is rising as the high is building eastward very slowly.  " ; } //   SEPTEMBER 21, 2010   07:52 AM
if((tt==1 || tt==2)&& vb<1&& brt==5 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.10 && barx<30.30 && xwet==0 && lwet==0 && wmax<14 && tdif>-12 && tdif<-6 && dpdif>-14 && dpdif<-8 && tempa>47 && tempa<67 && dd<16 && rh<85 && rhy>-17 && rhy<3 && tran>5 && tran<14 && sp<4 && clo<2 && dpnow>42 && dpnow<56) 						{var fn = 1104 , fz = "A slow moving high pressure is now located to the north of the Glen Allen area as the pressure is rising as the high is building eastward very slowly." ; } // 09/21/10-8:21



if((tt==2 || tt==3)&& vb<4		&& brt<=5 	&& bdi<3    	&& dn<4			&& xwet>0     && barx>30.20 	&& dpdif<-10 	       && wmax<30 && tran<15 && tdif<3   && dd>12 && sp<=3 && tempa>45) 			              												{var fn = 1115 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and a cold front has passed the Glen Allen - Springfield Park area in the past 24 hours " ;}  //         MAY 18, 2009   09:46 AM
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<17 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<16 && rh<86 && rhy>-4 && rhy<6 && tran>5 && tran<13 && sp<3 && clo<6) 											{var fn = 1116 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and will pass to the north of VA. A weak cold front has passed the Glen Allen - Springfield Park area in the past 24 hours and a low pressure is off the NE coast and the two systems are pulling a northerly flow. " ; } // 8/13/09-11:32
if((tt==2 || tt==3)&& vb<4  	&& brt<4  	&& bdi>5     	&& dn==4		&& xwet==0 && barx>30.20 	&& dpdif<-2  && clo<3   && wmax>15 && tran<10 && tdif<4    && dd>12    && sp==2 && tempa<70) 			              														{var fn = 1117 , fz = "A cold front has passed the area in the past 24 hours and high pressure is now located to the north of the Glen Allen area and the pressure is  rising as the high builds towards the Glen Allen area. " ;}  //         MARCH 23, 2009   09:21 AM
if((tt==2 || tt==3)&& vb<3  	&& brt>4  	&& bdi<2    	&&  dn<2   		&& xwet==0 && barx>30.30 	&& dpdif>-1  && clo>3        && wmax<15 && tran>8 && tdif<-15     && dd>8    && sp>3 && tempa>40) 			              													{var fn = 1118 , fz = "A high pressure is now located in a NE direction from the  the Glen Allen area after building in behind a cold front that passed Glen Allen in the last 24 hours. " ;}  //         MARCH 10, 2009   11:11 AM
if((tt==2 || tt==3)&& vb<4		&& brt<4 	&& bdi<6    	&& dn>4 && dn<7		&& xwet==0   && barx<30.00 	&& dpdif<4 	       && wmax<16 && tran<20 && tdif<7  && dd>10 && sp<3 && tempa>65 && rh>50) 		              													{var fn = 1119 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure now moving away as the pressure is now falling slowly and a distant low pressure to the NE of Glen Allen is pulling a east flow between them. Once the high pressure passes more to the east the wind will veer to a southerly direction and  pull the station front that is now to the south back to the north as a warm front. " ;}  //           JUNE 19, 2009   11:50 AM  dn was 5
if((tt==2 || tt==3)&& vb<4 	&& brt<4    	&& bdi>3   	&& bdi<7    &&   dn<5       	&& xwet==0 			&&  dpdif<0  && clo==5      	&& wmax<15 		&& tdif<3 		&& rhy<-10) 			              												{var fn = 1120 , fz = "A high pressure  to the NW is tracking eastward now located to the north of the Glen Allen and is pushing a southern cold front farther to the south.  "  ;} 		//    DECEMBER 20, 2008   10:17 AM
if((tt==2 || tt==3)&& vb==2	&& brt<4 	&& bdi>4    	&& dn>0 && dn<3		&& xwet==0   && barx<30.00 	&& dpdif<4 	       && wmax<16 && tran<15 && tdif<5  && dd>8 && sp<3 && tempa>65 && rh>59) 		              														{var fn = 1121 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly and a distant low pressure to the NE of Glen Allen is pulling a north flow between them. Once the high pressure passes more to the east the return southerly flow should  pull the station front that is now to the south back to the north as a warm front. " ;}  //         JUNE 19, 2009   10:43 AM   dn was 1
if((tt==2 || tt==3)&& vb<4  	&& brt>0  	&& bdi==1   	&& (dn>14 || dn<2)  	&& xwet==0 && barx>30.20 	&& dpdif<-3  && clo<4        && wmax>12  && tran>15 && tdif>0     && dd>8  && dsp==1 && sp==4 && tempa<50) 	               														{var fn = 1122 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //      MARCH 03, 2009   1205 AM min  temperature 7 °F day after big snow 7' on ground now
if((tt==2 || tt==3)&& vb<4		&& brt<3 	&& bdi>5    	&& dn>1 && dn<5		&& xwet==0  && barx>30.20 	&& dpdif>5 	       && wmax<25 && tran<15 && tdif<-5   && dd>7 && sp<3 && tempa>50) 			              													{var fn = 1123 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east and a cold front recently passed the Glen Allen - Springfield Park area " ;}  //           APRIL 29, 2009   10:46 AM
if((tt==2 || tt==3)&& vb<4  	&& brt<4  	&& bdi==1   	&& (dn>14 || dn<2)  	&& xwet==0 && barx>30.20 	&& dpdif<-4  && clo<3        && wmax>12  && tran>11 && tdif<4     && dd>8  && dsp==1 && sp==4 && tempa<50) 	              														{var fn = 1124 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //      MARCH 03, 2009   10:57 AM min  temperature 7 °F day after big snow 7' on ground now
if((tt==2 || tt==3)&& vb<3 	&& brt<4  	&& bdi<3     	&& dn>2 && dn<6		&& xwet==0 && barx>30.10 	&& dpdif<3  && clo<3   && wmax<15 && tran<15 && tdif<2    && dd>10  && sp==4 && tempa<70) 			              													{var fn = 1125 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards but passes to the north of the Glen Allen area today. " ;}  //           MARCH 31, 2009   09:10 AM
if((tt==2 || tt==3)&& vb<4		&& brt<4 	&& bdi<3    	&& dn<4			&& xwet>0     && barx>30.20 	&& dpdif<-10 	       && wmax<30 && tran<15 && tdif<3   && dd>12 && sp<=3 && tempa>45) 			              													{var fn = 1126 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and a cold front has passed the Glen Allen - Springfield Park area in the past 24 hours " ;}  //         MAY 18, 2009   09:46 AM
if((tt==2 || tt==3)&& vb==3	&& brt<4 	&& bdi<5    	&& dn<3			&& xwet>0     && barx>29.95 	&& dpdif<-2 	       && wmax>15 && tran<18 && tdif<3   && dd>7 && sp<3 && tempa>55 && rh>55) 		              														{var fn = 1127 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and a distant low pressure to the SE (noted by backing wind) of Glen Allen is pulling a northerly flow between them. " ;}  //     JUNE 14, 2009   11:08 AM
if((tt==2 || tt==3)&& vb<4 	&& brt<5  	&& bdi<4  	&&  dn<6   		&& xwet==0   && barx>30.10 && barx<30.40  && clo>0        	&& wmax<12 && tran<12		    && dd<8)					              												{var fn = 1128 , fz = "A high pressure to the NW is building into Glen Allen area but skies are still cloudy. " ;}   		//   DECEMBER 18, 2008   10:18 AM
if((tt==2 || tt==3)&& vb<4  	&& brt<5  	&& bdi==1   	&& (dn>14 || dn<2)  	&& xwet==0 && barx>30.20 	&& dpdif<-3  && clo<4        && wmax>12  && tran>15 && tdif>0     && dd>8  && dsp==1 && sp==4 && tempa<50) 	              														{var fn = 1129 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //      MARCH 03, 2009   11:54 AM min  temperature 7 °F day after big snow 7' on ground now
if((tt==2 || tt==3)&& vb<1&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.18 && barx<30.38 && xwet==0 && lwet==0 && wmax<25 && tdif>5 && tdif<11 && dpdif>-8 && dpdif<-2 && tempa>40 && tempa<60 && dd<24 && rh<65 && rhy>-46 && rhy<-26 && tran>10 && tran<19 && sp<4 && clo<2 && dpnow>27 && dpnow<41) 						{var fn = 1130 , fz = "A high pressure ridge is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east giving a breezy north wind. " ; } // 10/19/09-9:55
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>30.19 && barx<30.39 && xwet==0 && lwet==0 && wmax<25 && tdif>4 && tdif<10 && dpdif>-7 && dpdif<-1 && tempa>40 && tempa<60 && dd<23 && rh<67 && rhy>-41 && rhy<-21 && tran>11 && tran<20 && sp<4 && clo<2 && dpnow>28 && dpnow<42) 						{var fn = 1131 , fz = "A high pressure ridge is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east giving a breezy north wind." ; } // 10/19/09-10:05



if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>0&& bdi<4&& dn>0&& dn<4 && barx>30.02 && barx<30.22 && xwet==15 && lwet==0 && wmax<22 && tdif>-21 && tdif<-15 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<15 && rh<88 && rhy>24 && rhy<34 && tran>4 && tran<12 && sp<4 && clo<6 && dpnow>54 && dpnow<68) 							{var fn = 1149 , fz = "A high pressure is now located NW of the Glen Allen area and the pressure has risen since yesterday as the high is building into the area and there is a diagonal SW to NE stationary front off the SE Virginia coast.  The rainfall has ended as the low pressure on the SE front has passed to the north. " ; } // 8/31/09-15:07
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>29.96 && barx<30.16 && xwet==0 && lwet==0 && wmax<17 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>40 && dd<24 && rh<70 && rhy>-19 && rhy<-9 && tran>11 && tran<19 && sp<3 && clo<6) 										{var fn = 1150 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and will pass to the north of VA. A weak cold front has passed the Glen Allen - Springfield Park area in the past 24 hours and a low pressure is off the NE coast and the two systems are pulling a northerly flow." ; } // 8/13/09-16:30
if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<25 && tdif>-19 && tdif<-13 && dpdif>-30 && dpdif<-24 && tempa>50 && tempa<70 && dd<25 && rh<64 && rhy>-38 && rhy<-18 && tran>8 && tran<17 && sp<6 && clo<6 && dpnow>36 && dpnow<50) 					{var fn = 1151 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and will pass to the north of VA. A average cold front has passed the Glen Allen - Springfield Park area in the past 24 hours and a low pressure is off the SE coast and the two systems are pulling a northeasterly flow." ; } // 10/25/09-16:24
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<18 && tdif>-15 && tdif<-9 && dpdif>-12 && dpdif<-6 && tempa>50 && tempa<70 && dd<24 && rh<67 && rhy>-6 && rhy<14 && tran>8 && tran<17 && sp<4 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 1152 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards Glen Allen but passes to the north of the Glen Allen area. There is also a weak stationary front to the south of Virginia." ; } // 11/17/09-12:47
if((tt==3 || tt==4)&& vb<4&& brt==8 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.25 && barx<30.45 && xwet==0 && lwet==0 && wmax<18 && tdif>-6 && tdif<0 && dpdif>-11 && dpdif<-5 && tempa>30 && tempa<50 && dd<34 && rh<43 && rhy>-18 && rhy<2 && tran>12 && tran<21 && sp<3 && clo<3 && dpnow>7 && dpnow<21) 						{var fn = 1153 , fz = "A high pressure is still located to the NW of the Glen Allen area and the pressure is steady or falling as the high has stopped building toward the area and is lifting toward the northeast. " ; } // 12/17/09-12:37
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.85 && barx<30.05 && xwet==0 && lwet==0 && wmax<29 && tdif>-16 && tdif<-10 && dpdif>-37 && dpdif<-31 && tempa>17 && tempa<37 && dd<32 && rh<45 && rhy>-62 && rhy<-42 && tran>6 && tran<15 && sp<3 && clo<3 && dpnow>-4 && dpnow<10) 					{var fn = 1154 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high is tracking toward the east. A cold front passed the Glen Allen - Springfield Park area in the past 24 hours and a low pressure is off the NE coast and the two systems are pulling a northerly flow." ; } // 01/02/10-16:48 very cold day max  temp. was 31 °F
if((tt==3 || tt==4)&& vb<1&& brt==5 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>30.04 && barx<30.24 && xwet==0 && lwet==0 && wmax<26 && tdif>2 && tdif<8 && dpdif>-8 && dpdif<-2 && tempa>43 && tempa<63 && dd<46 && rh<32 && rhy>-21 && rhy<-1 && tran>21 && tran<30 && sp<3 && clo<2 && dpnow>8 && dpnow<22) 						{var fn = 1155 , fz = "A slow moving high pressure is now located to the NW of the Glen Allen area and is building eastward very slowly. " ; } // 03/06/10-15:45
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.04 && barx<30.24 && xwet==0 && lwet==0 && wmax<26 && tdif>0 && tdif<6 && dpdif>-9 && dpdif<-3 && tempa>42 && tempa<62 && dd<46 && rh<32 && rhy>-20 && rhy<0 && tran>21 && tran<30 && sp<3 && clo<2 && dpnow>7 && dpnow<21) 						{var fn = 1156 , fz  = "A slow moving high pressure is now located to the NW of the Glen Allen area and is building eastward very slowly. " ; } // 03/06/10-16:40



if((tt==4 || tt==5)&& vb<3 	&& brt<4  	&& bdi>5  	&& (dn>13 || dn<2)    	&& xwet==0 && barx>29.90 && barx<30.30  	      && clo<4          && wmax>15  && tran>15   && tdif<-1 && dd>20   )					              												{var fn = 1161 , fz = "A high pressure is building in from the west or NW into Glen Allen area after the passage of a weak cold front and skies are clearing. " ;}   //       FEBRUARY 08, 2009   07:39 PM
if((tt==4 || tt==5)&& vb<3 	&& brt<3  	&& bdi<5  	&& (dn>13 && dn<16)	&& xwet==0 && barx>29.50 && barx<30.00 	      && clo<5          && wmax>20  && tran>14   && tdif<-3 && dd>14   )					              												{var fn = 1162 , fz = "A high pressure is building in from the west or SW into Glen Allen area and a low pressure in New England is moving northeastward. " ;}   //         FEBRUARY 19, 2009   05:56 PM & Dec.10, 2009
if((tt==4 || tt==5)&& vb<3 && brate>0 &&  brt<=5 	&&  bdi<4 	&& (dn>12 || dn<2)	&& xwet==0  && barx>30.30  	&& dpdif<-7  && clo>0  	&& wmax>12 && tran>10  	&& tdif<-3  && dd>24   ) 					              													{var fn = 1163 , fz = "A  strong arctic high pressure is still building into the Glen Allen area and should be centered over the area in the next 12 hours. " ;}//          JANUARY 16, 2009   05:13 PM
if((tt==4 || tt==5)&& vb<4 	&&  brt<=5 	&&  bdi<4 	&& (dn>13 || dn<3)	&& xwet==0  && barx>30.30  	&& dpdif<-1  && clo>0  	&& wmax>12 && tran>10  	&& tdif<-4  && dd>16   ) 					              													{var fn = 1164 , fz = "A  strong arctic high pressure is still building into the Glen Allen area and should be centered over the area in the next 12 hours. " ;}//            JANUARY 16, 2009   07:48 PM
if((tt==4 || tt==5)&& vb<3 	&& brt<4  	&&  bdi<5  	&& (dn>14 || dn<2)  	&& xwet>0    && barx<30.20  	&& dpdif<-5 && clo<3   	&& wmax>20 && tran>20)  								              													{var fn = 1165 , fz = "A  high pressure located to the NW is building towards the SE an is building into the Glen Allen area. " ;}	//     NOVEMBER 18, 2008   05:06 PM
if((tt==4 || tt==5)&& vb<4 	&& brt<4  	&& bdi<4  	&&  dn<4   	               && xwet==15 && barx>29.90 && barx<30.30  	      && clo>3          && wmax>15  		&& tdif<-5 && dd>5   && tran>10)				              											{var fn = 1166 , fz = "A high pressure to the NW is building into Glen Allen area but skies are still cloudy. " ;}   					//     JANUARY 11, 2009   08:15 PM
if((tt==4 || tt==5)&& vb<4  	&& brt<4  	&& bdi<3      	&& (dn>15 || dn<2)  	&& xwet==0 && barx>30.25 	&& dpdif<3  && clo==1        && wmax>12  && tran>20 && tdif<3     && dd>4  && dsp==1 && sp<4 && tempa<40) 	              														{var fn = 1167 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //        MARCH 03, 2009   07:16 PM AM min  temperature 7 °F day after big snow 7' on ground now
if((tt==4 || tt==5)&& vb<4  	&& brt<4  	&& bdi<3      	&& (dn>15 || dn<2)  	&& xwet==0 && barx>30.30 	&& dpdif>-2  && clo==1        && wmax>12  && tran>20 && tdif<7     && dd<7  && dsp==1 && sp<4 && tempa<40) 	              														{var fn = 1168 , fz = "A high pressure is now in a NW direction from the  the Glen Allen area and a low pressure is in the New England area giving a cold NW flow. This map scenario gives the lowest  temperatures for the season particulary if both the pressure systems are strong.   " ;}  //        MARCH 03, 2009   07:16 PM AM min  temperature 7 °F day after big snow 7' on ground now
if((tt==4 || tt==5)&& vb<3  	&& brt<4  	&& bdi<2     	&& dn>2 && dn<7		&& xwet==0 && barx>30.30 	&& dpdif<-14  && clo==5  && wmax>19 && tran>12 && tdif<-13     && dd>15    && sp==4 && tempa<50) 		              													{var fn = 1169 , fz = "A high pressure is now located in a NW direction from the  the Glen Allen area and the pressure is still rising as the high builds eastward. " ;}  //        MARCH 12, 2009   07:53 PM
if((tt==4 || tt==5)&& vb<4 	&& brt<4  	&& bdi<4    	&& dn<3			&& xwet==15 && barx<30.05 	&& dpdif<2  && clo<4   && wmax>25 && tran<15 && tdif<-10   && dd<12 && sp<3 && tempa<70) 			              													{var fn = 1170 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards the area. There is also a  low pressure to the NE tracking away from the area giving a NNE wind. " ;}  //          APRIL 11, 2009   7:25 PM
if((tt==4 || tt==5)&& vb<4		&& brt<=5  	&& bdi<4    	&& dn<3			&& xwet==0   && barx>30.10 	&& dpdif<-10 	       && wmax<30 && tran>20 && tdif>0   && dd>20 && sp==3 && tempa<70) 			              												{var fn = 1171 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is steady or falling as the high has stopped building toward the area and started to move to the east. There is also a  low pressure to the NE tracking away from the area giving a cool northerly wind. " ;}  //      APRIL 12, 2009   07:27 PM
if((tt==4 || tt==5)&& vb<4		&& brt<=5 	&& bdi<4    	&& dn<3			&& xwet==0  && barx>29.85 	&& dpdif<0 	       && wmax<20 && tran<22 && tdif<-2   && dd>15 && sp<3 && tempa>55 && rh<60) 		              												{var fn = 1172 , fz = "A high pressure is now located to the NW of the Glen Allen area and a distant low pressure is located to the NE of Glen Allen is pulling a northerly flow between them giving  temperatures that are below the average for the season. " ;}  //      JULY 08, 2009   05:17 PM
if((tt==4 || tt==5)&& vb<4		&& brt<4 	&& bdi<4    	&& dn>1 && dn<4		&& xwet==0  && barx>29.85 	&& dpdif<-1 	       && wmax<20 && tran<22 && tdif<-2   && dd>18 && sp==3 && tempa>55 && rh<60) 		              													{var fn = 1173 , fz = "A high pressure is now located to the NW of the Glen Allen area and a distant low pressure is located to the NE of Glen Allen is pulling a northerly flow between them giving  temperatures that are below the average for the season. " ;}  //      JULY 08, 2009   05:17 PM
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>3&& dn<7 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<20 && tdif>-10 && tdif<-4 && dpdif>-11 && dpdif<-5 && tempa>41 && tempa<61 && dd<14 && rh<91 && rhy>-14 && rhy<6 && tran>9 && tran<18 && sp<4 && clo<5 && dpnow>38 && dpnow<52) 						{var fn = 1174 , fz = "A high pressure is now located to the N of the Glen Allen area and the pressure is rising as the high builds towards Glen Allen but passes to the north of the Glen Allen area. There is also a weak stationary front to the south of Virginia." ; } // 11/17/09-19:00
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<29 && tdif>-15 && tdif<-9 && dpdif>-34 && dpdif<-28 && tempa>14 && tempa<34 && dd<28 && rh<53 && rhy>-65 && rhy<-45 && tran>6 && tran<15 && sp<3 && clo<2 && dpnow>-3 && dpnow<11) 					{var fn = 1175 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high is tracking toward the east. A cold front passed the Glen Allen - Springfield Park area in the past 30 hours and a low pressure is off the NE coast and the two systems are pulling a northerly flow." ; } // 01/02/10-19:38 very cold day max  temp. was 31 °F
if((tt==4 || tt==5)&& vb<3 && brt>2 && brt<6 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<26 && tdif>-3 && tdif<3 && dpdif>-8 && dpdif<-2 && tempa>28 && tempa<48 && dd<29 && rh<51 && rhy>-20 && rhy<0 && tran>21 && tran<30 && sp<3 && clo<2 && dpnow>10 && dpnow<24) 					{var fn = 1176 , fz = "A slow moving high pressure is now located to the NW of the Glen Allen area and is building eastward very slowly. " ; } // 03/06/10-19:54





if((tt==5 || tt==1)&& vb<3 	&& brt<4  	&& bdi<4    	&& dn<3			&& xwet==15 && barx<30.15 	&& dpdif<-3 	       && wmax>25 && tran<20 && tdif<-10   && dd<6 && sp==3 && tempa<70) 			              													{var fn = 1188 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards the area. There is also a  low pressure to the NE tracking away from the area giving a NNE wind. " ;}  //          APRIL 11, 2009   21:25 PM
if((tt==5 || tt==1)&& vb<3		&& brt<4 	&& bdi<4    	&& dn>4	&& dn<7		&& xwet>0     && barx>30.15 	&& dpdif<-3 	       && wmax<25 && tran>20 && tdif>6   && dd>11 && sp==3 && tempa<70) 			              													{var fn = 1189 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high is building toward the area and tracking toward the east. There is also a  low pressure to the NE tracking away from the area. " ;}  //        APRIL 16, 2009   09:10 PM
if((tt==5 || tt==1) && vb<4 && brt==5 && bdi>2 && bdi<6 && dn>3 && dn<7 && barx>29.88 && barx<30.08 && xwet==0 && lwet==0 && wmax<22 && tdif>-2 && tdif<4 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<19 && rh<80 && rhy>-16 && rhy<-6 && tran>13 && tran<21 && sp<3 && clo<4) 										{var fn = 1190 , fz = "A high pressure is now located to the NW of the Glen Allen area and tracking toward the east. There is also a  low pressure to the SE on the cold front that passed earlier but the pressure is not falling thus the low pressure will not be significant. " ; } // 8-3-09-20:30
if((tt==5 || tt==1)&& vb<1&& brt==3 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.15 && barx<30.35 && xwet==0 && lwet==0 && wmax<20 && tdif>-11 && tdif<-5 && dpdif>-11 && dpdif<-5 && tempa>39 && tempa<59 && dd<13 && rh<95 && rhy>-11 && rhy<9 && tran>9 && tran<18 && sp<4 && clo<5 && dpnow>37 && dpnow<51) 						{var fn = 1191 , fz = "A high pressure is now located to the N of the Glen Allen area and the pressure is rising as the high builds towards Glen Allen but passes to the north of the Glen Allen area. There is also a weak stationary front to the south of Virginia." ; } // 11/17/09-21:27


//             1hbn      HP BUILDING IN  FROM THE NORTH
if((tt==1 || tt==2)&& vb<3  	&& brt<4  	&& bdi>3     	&&  dn<4		&& xwet==0 && barx>30.15 	&& dpdif>0   && clo==5    && wmax<10 && tran<5 && tdif>0     && dd<5    && sp<3 && tempa<60) 																	{var fn = 1200 , fz = "A high pressure is now located in a north direction from the  the Glen Allen area and the pressure is still rising as the high builds south-eastward. " ;}  //         MARCH 16, 2009   08:31 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<4    	&& bdi<4     	&& dn>4 && dn<8		&& xwet==0 && barx>30.20 	&& dpdif<0  && clo<4           && wmax<10  && tran>12 && tdif<-7     && dd>2  && tempa<70) 																{var fn = 1201 , fz = "A high pressure is now in a northerly direction from the  the Glen Allen area giving an easterly flow and building into the area. " ;}  //     FEBRUARY 09, 2009   08:12 AM
if((tt==1 || tt==2)&& vb<3		&& brt<4 	&& bdi<3    	 && dn<4  		&& xwet==0  && barx>30.10 	&& dpdif>0 	       && wmax<10 && tran<10 && tdif>-1   && dd<10 && sp==3 && tempa>50) 			                												{var fn = 1202 , fz = "A high pressure is now located in New England, north of the Glen Allen area and the pressure is rising as the high is building eastward. The high is providing a cool and damp NE flow and also giving mostly cloudy skies. " ;}  //      JULY 10, 2009   07:31 AM
if((tt==1 || tt==2)&& vb<3		&& brt==5 	&& bdi>1&& bdi<5&& dn>0&& dn<4 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<10 && tdif>-4 && tdif<2 && dpdif>-2 && dpdif<4 && tempa>40 && dd<9 && rh<109 && rhy>3 && rhy<13 && tran>0 && tran<8 && sp<3 && clo<4) 								{var fn = 1203 , fz = "A high pressure is now located north of the Glen Allen area and the pressure is steady or rising slowly as the high is building southard. The high is providing a morning fog and a damp NE flow." ; } // 8/14/09-7:23
if((tt==1 || tt==2)&& vb<3		&& brt==5 	&& bdi>2&& bdi<6&& dn>0&& dn<4 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<5 && tdif>-1 && tdif<5 && dpdif>-1 && dpdif<5 && tempa>40 && dd<8 && rh<109 && rhy>-5 && rhy<5 && tran>-1 && tran<7 && sp<3 && clo<4 && dpnow>64 && dpnow<78) 					{var fn = 1204 , fz = "A high pressure is now located north of the Glen Allen area and the pressure is steady or rising slowly as the high is building southard. The high is providing a damp NE flow." ; } // 8/15/09-7:57
if((tt==1|| tt==2)&&(mm>3 || mm<10)&& brt<5 && bdi<6  && dn>2 && dn<5 	&& xwet==0 && barx>30.10 && barx<30.20  	&& dpdif<0  &&  clo<3            && wmax<12)  										              											{var fn = 1205 , fz = "A high pressure located to the north of central VA and is building into the area. ";} 					//  DECEMBER 29, 2008   08:06 AM
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<12 && tdif>-30 && tdif<-24 && dpdif>-29 && dpdif<-23 && tempa>37 && tempa<57 && dd<10 && rh<103 && rhy>-9 && rhy<11 && tran>7 && tran<16 && sp<5 && clo<4 && dpnow>38 && dpnow<52) 						{var fn = 1206 , fz = "A high pressure is now located in a north direction from  the Glen Allen area and the pressure is still rising as the high builds south-eastward. " ; } // 10/11/09-8:19
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<10 && tdif>0 && tdif<6 && dpdif>3 && dpdif<9 && tempa>35 && tempa<55 && dd<14 && rh<91 && rhy>-2 && rhy<18 && tran>4 && tran<13 && sp<4 && clo<2 && dpnow>32 && dpnow<46) 						{var fn = 1207 , fz = "A high pressure is now located in New England and the pressure is steady now but will soon start to fall as the high moves eastward.  " ; } // 11/05/09-8:18
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>30.21 && barx<30.41 && xwet==9 && lwet==0 && wmax<18 && tdif>-3 && tdif<3 && dpdif>1 && dpdif<7 && tempa>39 && tempa<59 && dd<11 && rh<101 && rhy>3 && rhy<23 && tran>-2 && tran<7 && sp<3 && clo<5 && dpnow>39 && dpnow<53) 						{var fn = 1208 , fz = "A high pressure is now located in New England and the pressure is still rising as the high builds south-eastward and a low pressure is located to the SW giving the backing winds." ; } // 11/18/09-8:20
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.85 && barx<30.05 && xwet==0 && lwet==0 && wmax<21 && tdif>-9 && tdif<-3 && dpdif>-12 && dpdif<-6 && tempa>8 && tempa<28 && dd<25 && rh<57 && rhy>-18 && rhy<2 && tran>-1 && tran<8 && sp<3 && clo<2 && dpnow>-6 && dpnow<8) 						{var fn = 1209 , fz = "A high pressure is now located well to the NW of the Glen Allen area and the pressure is nearly steady as the high is building into the midwest area and is moving slowly. There is also a deep low pressure to the NE tracking very slowly to the NE. Both of these systems are working together to pull down cold air out of Canada. " ; } // 01/03/10-7:58 Cold weather low 16 °F
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>0&& bdi<4&& dn>0&& dn<4 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<12 && tdif>-4 && tdif<2 && dpdif>-9 && dpdif<-3 && tempa>53 && tempa<73 && dd<21 && rh<74 && rhy>-23 && rhy<-3 && tran>2 && tran<11 && sp<4 && clo<5 && dpnow>43 && dpnow<57) 						{var fn = 1210 , fz = "A weak high pressure is now located near but a little to the north of the Glen Allen area. " ; } // 06/08/10-7:59
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>0&& bdi<4&& dn>0&& dn<4 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<17 && tdif>-6 && tdif<0 && dpdif>-8 && dpdif<-2 && tempa>53 && tempa<73 && dd<20 && rh<74 && rhy>-15 && rhy<5 && tran>2 && tran<11 && sp<4 && clo<5 && dpnow>44 && dpnow<58) 						{var fn = 1211 , fz  = "A weak high pressure is now located near but a little to the north of the Glen Allen area. " ; } // 06/08/10-8:11



if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>30.14 && barx<30.34 && xwet==0 && lwet==0 && wmax<17 && tdif>-3 && tdif<3 && dpdif>-8 && dpdif<-2 && tempa>47 && tempa<67 && dd<12 && rh<94 && rhy>-26 && rhy<-6 && tran>3 && tran<12 && sp<5 && clo<6 && dpnow>46 && dpnow<60) 						{var fn  = 1220 , fz = "A high pressure is now located well northly of Glen Allen area and the pressure is still rising as the high builds south-eastward." ; } // 10/29/09-10:24
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>13&& dn<17 && barx>29.81 && barx<30.01 && xwet==0 && lwet==0 && wmax<12 && tdif>2 && tdif<8 && dpdif>7 && dpdif<13 && tempa>17 && tempa<37 && dd<24 && rh<61 && rhy>1 && rhy<21 && tran>6 && tran<15 && sp<3 && clo<3 && dpnow>4 && dpnow<18) 						{var fn  = 1221 , fz = "A high pressure is now located well to the NW of the Glen Allen area and the pressure is nearly steady as the high is building into the midwest area and is moving slowly. There is also a deep low pressure to the NE tracking very slowly to the NE. Both of these systems are working together to pull down a cold northerly flow of air out of Canada." ; } // 01/04/10-9:11 Cold weather low 17 °F
if((tt==2 || tt==3)&& vb<3&&(brt==6||brt==7)&& bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.82 && barx<30.02 && xwet==0 && lwet==0 && wmax<16 && tdif>4 && tdif<10 && dpdif>10 && dpdif<16 && tempa>23 && tempa<43 && dd<29 && rh<51 && rhy>1 && rhy<21 && tran>13 && tran<22 && sp<3 && clo<3 && dpnow>5 && dpnow<19) 					{var fn  = 1222 , fz = "The NW flow around the low pressure to the northeast has caused a trough to develope to our west giving some cloudiness and a decrease in the air pressure with no other importance in conditions." ; } // 01/04/10-11:00
if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.83 && barx<30.03 && xwet==0 && lwet==0 && wmax<9 && tdif>-1 && tdif<5 && dpdif>0 && dpdif<6 && tempa>19 && tempa<39 && dd<22 && rh<66 && rhy>-8 && rhy<12 && tran>5 && tran<14 && sp<3 && clo<6 && dpnow>8 && dpnow<22) 						{var fn  = 1223 , fz = "A cold high pressure is now located to the northwest of the Virginia and a low pressures is located in distant NE that is now moving away toward the NE and the pressure is  rising as the high builds towards the Glen Allen area. " ; } // 01/05/10-9:22
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.82 && barx<30.02 && xwet==0 && lwet==0 && wmax<21 && tdif>-4 && tdif<2 && dpdif>-3 && dpdif<3 && tempa>21 && tempa<41 && dd<26 && rh<57 && rhy>-8 && rhy<12 && tran>8 && tran<17 && sp<3 && clo<6 && dpnow>6 && dpnow<20) 						{var fn  = 1224 , fz = "The NW flow around the low pressure to the northeast has caused a trough to develope to our west giving some cloudiness and a decrease in the air pressure with no other importance in conditions. " ; } // 01/05/10-10:59  Min. temperature was 20 °F
if((tt==2 || tt==3)&& vb<3&& brt==2 && bdi>-1&& bdi<3&& dn>1&& dn<5 && barx>30.13 && barx<30.33 && xwet==0 && lwet==0 && wmax<12 && tdif>-2 && tdif<4 && dpdif>-10 && dpdif<-4 && tempa>27 && tempa<47 && dd<16 && rh<81 && rhy>-37 && rhy<-17 && tran>4 && tran<13 && sp<7 && clo<3 && dpnow>22 && dpnow<36) 					                {var fn  = 1225 , fz = "A high pressure is now located in a northly direction from the  the Glen Allen area and the pressure is rising as the high builds eastward but will past to the north of the Glen Allen." ; } // 01/23/10-9:04






if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>3&& dn<7 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<21 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>40 && dd<24 && rh<69 && rhy>-18 && rhy<-8 && tran>13 && tran<21 && sp<3 && clo<6 && dpnow>61 && dpnow<75) 								{var fn = 1235 , fz = "A high pressure is now located north of the Glen Allen area and the pressure is steady or rising slowly as the high is building eastward. The high is providing a temperature decrease and a humid east flow that will veer to SE and followed by increasing temperatures." ; } // 8/14/09-12:47
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>3&& bdi<7&& dn>-1&& dn<3 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<17 && tdif>-2 && tdif<4 && dpdif>-5 && dpdif<1 && tempa>40 && dd<22 && rh<73 && rhy>-12 && rhy<-2 && tran>12 && tran<20 && sp<2 && clo<5 && dpnow>63 && dpnow<77) 							{var fn = 1236 , fz = "A high pressure is now located north of the Glen Allen area and the pressure is falling as the high is building eastward and there is a diagonal SW to NE stationary front off the SE Virginia coast. The wind will veer to SE and be followed by increasing temperatures." ; } // 8/15/09-12:00
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>-1&& bdi<3&& dn>3&& dn<7 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<17 && tdif>-12 && tdif<-6 && dpdif>-8 && dpdif<-2 && tempa>51 && tempa<71 && dd<15 && rh<90 && rhy>-2 && rhy<18 && tran>6 && tran<15 && sp<5 && clo<6 && dpnow>47 && dpnow<61) 						{var fn = 1237 , fz = "A high pressure is now located well north of Glen Allen area and the pressure is steady now as the high tracks slowly eastward." ; } // 10/29/09-12:51
if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>-1&& bdi<3&& dn>2&& dn<6 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<17 && tdif>-16 && tdif<-10 && dpdif>-6 && dpdif<0 && tempa>51 && tempa<71 && dd<14 && rh<91 && rhy>15 && rhy<35 && tran>7 && tran<16 && sp<5 && clo<6 && dpnow>48 && dpnow<62) 						{var fn = 1238 , fz = "A high pressure is now located well north of Glen Allen area and the pressure is still rising as the high builds south-eastward." ; } // 10/29/09-15:07
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>-1&& bdi<3&& dn>1&& dn<5 && barx>30.11 && barx<30.31 && xwet==0 && lwet==0 && wmax<17 && tdif>-16 && tdif<-10 && dpdif>-5 && dpdif<1 && tempa>51 && tempa<71 && dd<14 && rh<93 && rhy>16 && rhy<36 && tran>7 && tran<16 && sp<5 && clo<6 && dpnow>48 && dpnow<62) 						{var fn = 1239 , fz = "A high pressure is now located well north of Glen Allen area and the pressure is now falling as the high moves eastward." ; } // 10/29/09-15:23
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>-1&& bdi<3&& dn>1&& dn<5 && barx>30.11 && barx<30.31 && xwet==0 && lwet==0 && wmax<17 && tdif>-16 && tdif<-10 && dpdif>-6 && dpdif<0 && tempa>51 && tempa<71 && dd<14 && rh<92 && rhy>15 && rhy<35 && tran>7 && tran<16 && sp<5 && clo<6 && dpnow>48 && dpnow<62) 						{var fn = 1240 , fz = "A high pressure is now located well north of Glen Allen area and the pressure is now falling as the high moves eastward the damp NE flow will become a SE flow and be followed by increasing temperatures. " ; } // 10/29/09-15:25
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>3&& dn<7 && barx>30.14 && barx<30.34 && xwet==9 && lwet==0 && wmax<22 && tdif>0 && tdif<6 && dpdif>4 && dpdif<10 && tempa>50 && tempa<70 && dd<16 && rh<85 && rhy>0 && rhy<20 && tran>11 && tran<20 && sp<3 && clo<6 && dpnow>45 && dpnow<59) 						{var fn = 1241 , fz = "A high pressure is now located in New England is holding a front to the SW from advancing but yielding a cloudy sky.  " ; } // 11/18/09-16:10
if((tt==3 || tt==4)&& vb<3&&(brt==6||brt==7)&& bdi>2&& bdi<6&& dn>11&& dn<15 && barx>29.76 && barx<29.96 && xwet==0 && lwet==0 && wmax<20 && tdif>0 && tdif<6 && dpdif>6 && dpdif<12 && tempa>25 && tempa<45 && dd<30 && rh<50 && rhy>0 && rhy<20 && tran>15 && tran<24 && sp<3 && clo<5 && dpnow>6 && dpnow<20) 					{var fn = 1242 , fz = "The NW flow around the low pressure to the northeast has caused a trough to develope to our west giving some cloudiness and a decrease in the air pressure with no other importance in conditions." ; } // 01/04/10-13:33  min today was 17 °F





if((tt==4 || tt==5)&& vb<3&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>3&& dn<7 && barx>30.15 && barx<30.35 && xwet==9 && lwet==0 && wmax<22 && tdif>2 && tdif<8 && dpdif>4 && dpdif<10 && tempa>49 && tempa<69 && dd<15 && rh<87 && rhy>-5 && rhy<15 && tran>11 && tran<20 && sp<3 && clo<6 && dpnow>45 && dpnow<59) 					{var fn =  1259 , fz = "A high pressure is now located in New England area and the pressure is still rising as the high builds south-eastward holding a front to the SW from advancing but yielding a cloudy sky. " ; } // 11/18/09-17:52
if((tt==4 || tt==5)&& vb<3		&& brt<5 	&& bdi<4    	&& dn>1 && dn<5  	&& xwet>0  && barx>30.00 	&& dpdif<1 	       && wmax<20 && tran<22 && tdif<0   && dd>10 && sp==3 && tempa>50) 			              														{var fn =  1260 , fz = "A high pressure is now located in New England, north of the Glen Allen area and the pressure is rising as the high is building eastward. The high is providing a cool and damp NE flow and also giving all day general cloudiness. " ;}  //            JULY 09, 2009   05:53 PM  gave sprinkles here abt 1700 & showers in the mountains
if((tt==4 || tt==5) && vb<4 && brt==5 && bdi>1 && bdi<5 && dn>3 && dn<7 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<22 && tdif>0 && tdif<6 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<26 && rh<66 && rhy>-23 && rhy<-13 && tran>13 && tran<21 && sp<3 && clo<4)										{var fn =  1261 , fz = "A high pressure is now located in New England, north of the Glen Allen area and the pressure is rising as the high is building eastward. " ; } // 8-3-09-17:13
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>30.10 && barx<30.30 && xwet==15 && lwet==0 && wmax<20 && tdif>-19 && tdif<-13 && dpdif>-14 && dpdif<-8 && tempa>40 && dd<12 && rh<95 && rhy>2 && rhy<22 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>53 && dpnow<67) 							{var fn  = 1262 , fz = "A high pressure is now located in New England, north of the Glen Allen area and the pressure is rising as the high is building into the area. " ; } // 9/25/09-19:45
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.11 && barx<30.31 && xwet==0 && lwet==0 && wmax<18 && tdif>-5 && tdif<1 && dpdif>-6 && dpdif<0 && tempa>49 && tempa<69 && dd<19 && rh<77 && rhy>-13 && rhy<7 && tran>22 && tran<31 && sp<3 && clo<3 && dpnow>41 && dpnow<55) 						{var fn  = 1263 , fz = "A high pressure is now located to the NW of the Glen Allen area and tracking toward the east and will pass to the north of Glen Allen. " ; } // 10/11/09-19:08
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<18 && tdif>-5 && tdif<1 && dpdif>-5 && dpdif<1 && tempa>48 && tempa<68 && dd<18 && rh<79 && rhy>-11 && rhy<9 && tran>22 && tran<31 && sp<4 && clo<3 && dpnow>41 && dpnow<55) 						{var fn  = 1264 , fz = "A high pressure is now located to the NW of the Glen Allen area and the pressure is rising as the high builds towards the east but the high will pass to the north of Glen Allen. " ; } // 10/11/09-19:19
if((tt==4 || tt==5)&& vb<1&& brt==3 && bdi>-1&& bdi<3&& dn>4&& dn<8 && barx>30.14 && barx<30.34 && xwet==0 && lwet==0 && wmax<17 && tdif>-8 && tdif<-2 && dpdif>-7 && dpdif<-1 && tempa>48 && tempa<68 && dd<12 && rh<96 && rhy>-7 && rhy<13 && tran>7 && tran<16 && sp<5 && clo<6 && dpnow>47 && dpnow<61) 						{var fn  = 1265 , fz = "A high pressure is now located well north of Glen Allen area and the pressure is still rising as the high builds south-eastward. " ; } // 10/29/09-19:12
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.79 && barx<29.99 && xwet==0 && lwet==0 && wmax<20 && tdif>-1 && tdif<5 && dpdif>2 && dpdif<8 && tempa>20 && tempa<40 && dd<26 && rh<58 && rhy>-4 && rhy<16 && tran>16 && tran<25 && sp<3 && clo<5 && dpnow>5 && dpnow<19) 						{var fn  = 1266 , fz = "A cold high pressure is now located to the northwest of the Glen Allen area and the pressure is  rising as the high builds towards the Glen Allen area. " ; } // 01/04/10-18:15
if((tt==4 || tt==5)&& vb<3&& brt==4 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.75 && barx<29.95 && xwet==0 && lwet==0 && wmax<21 && tdif>-3 && tdif<3 && dpdif>-1 && dpdif<5 && tempa>22 && tempa<42 && dd<26 && rh<57 && rhy>-7 && rhy<13 && tran>14 && tran<23 && sp<3 && clo<4 && dpnow>7 && dpnow<21) 						{var fn  = 1267 , fz  = "A cold high pressure is now located to the northwest of the Glen Allen area and the pressure is  rising as the high builds towards the Glen Allen area. " ; } // 01/05/10-17:04
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.76 && barx<29.96 && xwet==0 && lwet==0 && wmax<21 && tdif>-4 && tdif<2 && dpdif>-2 && dpdif<4 && tempa>20 && tempa<40 && dd<24 && rh<61 && rhy>-5 && rhy<15 && tran>14 && tran<23 && sp<3 && clo<4 && dpnow>7 && dpnow<21) 						{var fn  = 1268 , fz  = "A cold high pressure is now located to the northwest of the Glen Allen area and the pressure is  rising as the high builds towards the Glen Allen area an clearing skies tonight. " ; } // 01/05/10-17:50






if((tt==5 || tt==1)&& vb<3  	&& brt<4  	&& bdi>3     	&& dn>2 && dn<6		&& xwet==15 &&barx>30.15 	&& dpdif>-1  && clo==5    && wmax<10 && tran<9 && tdif>-1    && dd<4    && sp<3 && tempa<60) 																{var fn = 1280 , fz = "A high pressure is now located in a north direction from the  the Glen Allen area and the pressure is still rising as the high builds south-eastward and a low pressure to the SE is giving the precipitation. " ;}  //         MARCH 16, 2009   08:47 PM 0.19 inches so far today
if((tt==5 || tt==1)&& vb<3 	&& brt<4  	&& bdi<5     	&& dn==4		&& xwet==0 && barx>30.20 	&& dpdif<-7  && clo<3   && wmax>18 && tran>15 && tdif<-4    && dd>18  && sp==2 && tempa<70) 			              														{var fn = 1281 , fz = "A cold high pressure is now located to the north of the Glen Allen area and the pressure is  rising as the high builds towards the Glen Allen area. " ;}  //         MARCH 23, 2009   09:23 PM
if((tt==5 || tt==1)&& vb<3		&& brt<=5 	&& bdi<3    	&& dn>3 && dn<6  	&& xwet>0  && barx>30.00 	&& dpdif>3 	       && wmax<20 && tran<22 && tdif<1   && dd>8 && sp==3 && tempa>50) 			              													{var fn = 1282 , fz = "A high pressure is now located in New England, north of the Glen Allen area and the pressure is rising as the high is building eastward. The high is providing a cool and damp NE flow and also giving general cloudiness. " ;}  //             JULY 09, 2009   08:17 PM  gave sprinkles here abt 1700 & showers in the mountains
if((tt==5 || tt==1)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>4&& dn<8 && barx>30.14 && barx<30.34 && xwet==0 && lwet==0 && wmax<22 && tdif>-7 && tdif<-1 && dpdif>-8 && dpdif<-2 && tempa>40 && dd<14 && rh<89 && rhy>-15 && rhy<5 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>52 && dpnow<66) 								{var fn = 1283 , fz = "A high pressure is now located in a north direction from the  the Glen Allen area and the pressure is still rising as the high builds toward the Gen Allen area. " ; } // 9/19/09-20:48


//             1hbne      HP BUILDING IN  FROM THE NORTHEAST
if((tt==1 || tt==2)&& vb<3		&& brt<4 	&& bdi<5    	&& dn>6 && dn<10	&& xwet==0   && barx>29.95 	&& dpdif<3 	       && wmax<13 && tran<5 && tdif<5   && dd<10 && sp<3 && tempa>60 && rh>70) 																{var fn = 1298 , fz = "A high pressure is now located to the NE of the Glen Allen area and the pressure is rising slowly and a distant low pressure to the W of Glen Allen is pulling a SE flow between them. Once the high pressure passes more to the east the return southerly flow should  pull the station front that is now to the south back to the north as a warm front. " ;}  //       JUNE 16, 2009   08:14 AM
if((tt==1 || tt==2)&& vb<4		&& brt<4 	&& bdi>5    	&& dn<3			&& xwet==0  && barx<30.00 	&& dpdif>0 	       && wmax<15 && tran<10 && tdif<1   && dd<8 && sp==3 && tempa>50) 																{var fn = 1299 , fz = "A high pressure is now located to the west of the Glen Allen area and the pressure is rising as the high is building toward the area and low pressure waves are moving along a west to east stationary front in NC. The low to the south is providing a cool NE flow but the high pressure will keep any precipitation out of the area as the high pressure builds into Virginia. " ;}  //         JULY 06, 2009   07:49 AM
if((tt==1 || tt==2)&& vb<3		&& brt<=5 	&& bdi<4    	&& dn>1 && dn<5  	&& xwet==0  && barx>30.00 	&& dpdif>0 	       && wmax<10 && tran<10 && tdif<1   && dd<10 && sp==3 && tempa>50) 																{var fn = 1300 , fz = "A high pressure is now located in New England, north of the Glen Allen area and the pressure is rising as the high is building eastward. The high is providing a cool and damp NE flow and also giving mostly cloudy skies. " ;}  //         JULY 09, 2009   07:27 AM



if((tt==2 || tt==3)&& vb<3		&& brt<4 	&& bdi<5    	&& dn>5 && dn<9		&& xwet==0   && barx>30.00 	&& dpdif<3 	       && wmax<13 && tran<10 && tdif<8  && dd>8 && sp<3 && tempa>65 && rh>59) 		              													{var fn = 1306 , fz = "A high pressure is now located to the NE of the Glen Allen area and the pressure is rising slowly and a distant low pressure to the W of Glen Allen is pulling a SE flow between them. Once the high pressure passes more to the east the return southerly flow should  pull the station front that is now to the south back to the north as a warm front. " ;}  //       JUNE 16, 2009   10:19 AM    dn was 7
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>30.16 && barx<30.36 && xwet==15 && lwet==0 && wmax<35 && tdif>-12 && tdif<-6 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<12 && rh<97 && rhy>9 && rhy<19 && tran>-2 && tran<6 && sp<3 && clo<6 && dpnow>54 && dpnow<68) 							{var fn = 1307 , fz = "A strong high pressure is in Maine (30.48 inches there) and is building in as the pressure is rising and a low pressure is off the VA east coast is pulling a strong damp and cool NE flow between them with winds 15-25 mph." ; } // 9/10/09-10:49
if((tt==2 || tt==3)&& vb<4&& brt>3&& brt<6&& bdi>1&& bdi<5&& dn>1&& dn<5 && barx>30.16 && barx<30.36 && xwet==15 && lwet==0 && wmax<33 && tdif>-12 && tdif<-6 && dpdif>-6 && dpdif<0 && tempa>40 && dd<13 && rh<94 && rhy>12 && rhy<22 && tran>-2 && tran<6 && sp<3 && clo<6 && dpnow>54 && dpnow<68) 							{var fn = 1308 , fz = "A strong high pressure is in Maine (30.48 inches there) and is nearly stationary as the pressure is steady or rising very slowly and a low pressure is off the VA east coast is pulling a strong damp and cool NE flow between them with winds 15-25 mph." ; } // 9/10/09-11:38
if((tt==2 || tt==3)&& vb<3  	&& brt>6  	&& bdi<2    	&& dn>9 && dn<13	&& xwet==0 && barx>30.25 	&& dpdif<0  && clo>3        && wmax<15 && tran>8 && tdif<-15     && dd>8    && sp>3 && tempa>40) 			              														{var fn = 1309 , fz = "A high pressure is now located in a NE direction from the  the Glen Allen area after building in behind a cold front that passed Glen Allen in the last 24 hours.  Once the high pressure passes off the coast the return southerly flow should  pull the recently passed cold front back to the north as a warm front. " ;}  //      MARCH 10, 2009   11:50 AM



if((tt==3 || tt==4)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>30.16 && barx<30.36 && xwet==15 && lwet==0 && wmax<33 && tdif>-13 && tdif<-7 && dpdif>-6 && dpdif<0 && tempa>40 && dd<13 && rh<94 && rhy>12 && rhy<22 && tran>-2 && tran<6 && sp<3 && clo<6 && dpnow>53 && dpnow<67) 							{var fn = 1319 , fz = "A strong high pressure is in Maine (30.48 inches there) and is building in as the pressure is rising and a low pressure is off the VA east coast is pulling a strong damp and cool NE flow between them with winds 15-25 mph." ; } // 9/10/09-12:03
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>30.12 && barx<30.32 && xwet==15 && lwet==0 && wmax<33 && tdif>-9 && tdif<-3 && dpdif>-4 && dpdif<2 && tempa>40 && dd<21 && rh<72 && rhy>4 && rhy<14 && tran>5 && tran<13 && sp<3 && clo<5 && dpnow>51 && dpnow<65) 								{var fn = 1320 , fz = "A strong high pressure is 	just off the Maine Coast(30.48 inches there) in as the pressure is rising and a low pressure is off the VA east coast is pulling a strong damp and cool NE flow between them with winds 15-25 mph." ; } // 9/10/09-16:05
if((tt==3 || tt==4)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>30.12 && barx<30.32 && xwet==15 && lwet==0 && wmax<33 && tdif>-10 && tdif<-4 && dpdif>-4 && dpdif<2 && tempa>40 && dd<18 && rh<79 && rhy>8 && rhy<18 && tran>5 && tran<13 && sp<3 && clo<5 && dpnow>52 && dpnow<66) 							{var fn = 1321 , fz = "A strong high pressure is off the Maine Coast(30.48 inches there) and is building south as the pressure is rising and its clockwise flow is pulling the low pressure that is off the VA coast northwestward back into the coast.  There has been a cool NE flow between the two system all day with winds as high as 28 mph." ; } // 9/10/09-16:53
if((tt==3 || tt==4)&& vb<4&&(brt==4||brt==5)&& bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<20 && tdif>-10 && tdif<-4 && dpdif>-6 && dpdif<0 && tempa>40 && dd<12 && rh<97 && rhy>1 && rhy<21 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 							{var fn = 1322 , fz = "A weak high pressure is now located to the NE of the Glen Allen area and the pressure is rise slowly or is nearly steady thus it is moving slowly.  " ; } // 9/17/09-16:50


if((tt==4 || tt==5)&& vb<3  	&& brt<=5		&& bdi>6 &&  dn>7 && dn<11  	&&barx>30.10 		&& xwet==0   	&& tran>20 	&& clo>1           && wmax>20  && tempa<70 && dd>10 && tdif>5 && dpdif>18 && dpnow>35) 												{var fn = 1329 , fz = "A high pressure is now off the Atlantic NE coast and a low pressure is to the north giving a strong southerly flow and a large warm up to the Glen Allen area. " ;} //        FEBRUARY 26, 2009   07:24 PM
if((tt==4 || tt==5)&& vb<4 		&& brt>6   	&& bdi<3  &&  dn<5              		&&barx>30.25 		&& xwet==0  			&& clo>4          && wmax<15  		&&  dpdif<-12 && tdif<-9 && rhy<-10)														{var fn = 1330 , fz = "A high pressure  is building toward the east and away from Glen Allen area but the NE winds are dropping the  temperature. "  ;} //    DECEMBER 20, 2008   06:14 PM
if((tt==4 || tt==5)&& vb==2  	&& brt> 0		&& bdi>0  &&  dn<6		&&barx>30.25 		&& xwet==0   	&& tran>19 	&& clo>3           && wmax>12  && tempa<60 ) 																			{var fn = 1331 , fz = "A high pressure is now located to the NE and is moving away from Glen Allen - Springfield Park area  giving increasing clouds.    " ;}
if((tt==4 || tt==5)&& vb<3  	&& brt<=5		&& bdi<5  &&  dn>6 && dn<12	&&barx>30.25 		&& xwet>0   	&& tran>5 	&& clo==5         && wmax<15  && tempa<40 && dd>10 && dpnow<25) 																{var fn = 1332 , fz = "A high pressure is now moving away from Virginia and is off the Maryland coast giving southerly and SE flow over Glen Allen. " ;} //       JANUARY 26, 2009   05:13 PM
if((tt==4 || tt==5)&& vb<3  	&& brt<4  	&& bdi<5  	&& (dn>13 || dn<2)    	&& xwet==0 && barx>29.98 && barx<30.25  	      && clo<4          && wmax>15  && tran>15   && tdif<-4 && dd>12   )					              												{var fn = 1333 , fz = "A high pressure is building into Glen Allen area. " ;}   //      FEBRUARY 20, 2009   05:17 PM
if((tt==4 || tt==5)&& vb<3  	&& brt>6  	&& bdi<3    	&& dn>6 && dn<10	&& xwet==0 && barx>30.15 	&& dpdif>0  && clo>3        && wmax>18 && tran>10 && tdif<-20     && dd>8    && sp==3 && tempa>40) 		              														{var fn = 1334 , fz = "A high pressure is now located in a NE direction from the  the Glen Allen area. Once the high pressure passes off the coast the return southerly flow should  pull the recently passed cold front back to the north as a warm front. " ;}  //        MARCH 10, 2009   05:13 PM
if((tt==4 || tt==5)&& vb<4		&& brt==5 	&& bdi<5    	&& dn>3 && dn<7		&& xwet==0  && barx>30.20 	&& dpdif>3 	       && wmax<25 && tran<12 && tdif<-8   && dd>8 && sp<3 && tempa>50) 			              												{var fn = 1335 , fz = "A high pressure is now located to the NE of the Glen Allen area and the pressure is rising slowly as the high is tracking toward the east and a cold front has passed the Glen Allen - Springfield Park area in the past 24 hours. " ;}  //            APRIL 29, 2009   06:10 PM
if((tt==4 || tt==5)&& vb<1&& brt==5 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>30.12 && barx<30.32 && xwet==15 && lwet==0 && wmax<33 && tdif>-9 && tdif<-3 && dpdif>-4 && dpdif<2 && tempa>40 && dd<18 && rh<81 && rhy>7 && rhy<17 && tran>5 && tran<13 && sp<3 && clo<6 && dpnow>51 && dpnow<65) 								{var fn = 1336 , fz = "A strong high pressure is off the Maine Coast(30.48 inches there) and its clockwise flow is pulling the low pressure that is off the VA coast northwestward back into the coast.  There has been a cool NE flow between the two system all day with winds as high as 28 mph." ; } // 9/10/09-17:52
if((tt==4 || tt==5)&& vb<4&& brt==4 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<20 && tdif>-10 && tdif<-4 && dpdif>-6 && dpdif<0 && tempa>40 && dd<12 && rh<97 && rhy>1 && rhy<21 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 								{var fn = 1337 , fz = "A weak high pressure is now located to the NE of the Glen Allen area and the pressure is rise slowly thus high pressure is moving slowly.  " ; } // 9/17/09-17:58
if((tt==4 || tt==5)&& vb<4&& brt==4 && bdi>1&& bdi<5&& dn>2&& dn<6 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<20 && tdif>-10 && tdif<-4 && dpdif>-6 && dpdif<0 && tempa>40 && dd<12 && rh<97 && rhy>1 && rhy<21 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 								{var fn = 1338 , fz = "A weak high pressure is now located to the NE of the Glen Allen area and the pressure is rise slowly thus high pressure is moving slowly. " ; } // 9/17/09-18:13



if((tt==5 || tt==1)&& vb<3  	&& brt<=5  	&& bdi<4    	&& dn>6 && dn<10	&& xwet==0 && barx>30.15 	&& dpdif>3  && clo>3        && wmax>18 && tran>10 && tdif<-5     && dd>4    && sp==2 && tempa>38) 		              															{var fn = 1348 , fz = "A high pressure is now located in a NE direction from the  the Glen Allen area. Once the high pressure passes off the coast the return southerly flow may  pull a warm front through the Glen Allen area. " ;}  //        MARCH 10, 2009   05:13 PM
if((tt==5 || tt==1)&& vb<3&& brt>2 && bdi>0&& bdi<4&& dn>4&& dn<8 && barx>30.17 && barx<30.37 && xwet==0 && lwet==0 && wmax<17 && tdif>-6 && tdif<0 && dpdif>-5 && dpdif<1 && tempa>47 && tempa<67 && dd<11 && rh<99 && rhy>-8 && rhy<12 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>47 && dpnow<61) 						{var fn = 1349 , fz = "A high pressure is now located in a NE direction from the  the Glen Allen area. Once the high pressure passes off the coast the return southeasterly flow giving an increase in  temperature. " ; } // 10/29/09-21:06



//                 1hrn      HP  MOVING AWAY  BUT PASSING TO THE TO NORTH wind is almost always dn<6 & cloudy          if (tt>1 tt<5 and tran<10 && rh>75)

if((tt==1 || tt==2)&& vb<3  	&& brt<4			&& bdi>0  &&  dn<4		&&barx<30.30 		&& xwet==0   	&& tran>5 	&& clo<5           && wmax>9 && wmax<15  && tempa<60 && dd>8 && rh>50) 															{var fn = 1355 , fz = "A high pressure is now located to the north of the Glen Allen area and tracking eastward.  " ;} //  JANUARY 03, 2009   08:00 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<4			&& bdi>6 &&  dn>8 && dn<12  	&&barx>30.25 		&& xwet==0   	&& tran>3 	&& clo>3           && wmax>20  && tempa<70 && dd>18 && tdif>6 && dpdif>2 && dpnow<30) 												{var fn = 1356 , fz = "A high pressure is now off the Atlantic coast and a low pressure is to the north giving a strong southerly flow and a large warm up to the Glen Allen area. " ;} //        FEBRUARY 26, 2009   08:27 AM
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.16 && barx<30.36 && xwet==0 && lwet==0 && wmax<9 && tdif>-2 && tdif<4 && dpdif>-2 && dpdif<4 && tempa>40 && dd<8 && rh<109 && rhy>-9 && rhy<11 && tran>5 && tran<14 && sp<3 && clo<4 && dpnow>47 && dpnow<61) 								{var fn = 1357 , fz = "A high pressure is now located to the north of the Glen Allen area and tracking eastward. " ; } // 9/21/09-8:14
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.16 && barx<30.36 && xwet==0 && lwet==0 && wmax<9 && tdif>-2 && tdif<4 && dpdif>-2 && dpdif<4 && tempa>40 && dd<8 && rh<109 && rhy>-9 && rhy<11 && tran>5 && tran<14 && sp<3 && clo<4 && dpnow>47 && dpnow<61) 								{var fn = 1358 , fz = "A high pressure is now located to the north of the Glen Allen area and tracking eastward. " ; } // 9/21/09-8:56
if((tt==1 || tt==2)&& vb<1&& brt==7 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>30.18 && barx<30.38 && xwet==0 && lwet==0 && wmax<10 && tdif>2 && tdif<8 && dpdif>1 && dpdif<7 && tempa>39 && tempa<59 && dd<10 && rh<103 && rhy>-13 && rhy<7 && tran>-1 && tran<8 && sp<3 && clo<5 && dpnow>40 && dpnow<54) 						{var fn = 1359 , fz = "A high pressure is now located to the north of the Glen Allen area and tracking eastward and the pressure is starting to fall.  " ; } // 10/12/09-7:51
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>2&& dn<6 && barx>30.19 && barx<30.39 && xwet==0 && lwet==0 && wmax<13 && tdif>2 && tdif<8 && dpdif>0 && dpdif<6 && tempa>40 && tempa<60 && dd<11 && rh<99 && rhy>-16 && rhy<4 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 1360 , fz  = "A high pressure is now located to the north of the Glen Allen area and is slowly tracking eastward and the pressure will soon start to fall. " ; } // 10/12/09-8:16

if((tt==2 || tt==3)&& vb<4  	&& brt> 6		&& bdi<3  	&&  dn<4		&&barx>30.35 		&& xwet==0   	&& tran>15 	&& sr>175        && wmax<18  && tempa<59 ) 																		{var fn = 1368 , fz = "A high pressure is now located to the north of Glen Allen and is now staring to move away from Glen Allen. " ;}  //  FEBRUARY 09, 2009   12:59 PM
if((tt==2 || tt==3)&& vb<3 	&& brt>5 		&& bdi<5                && dn<3    		&& barx>30.00  		&& xwet==0 	&& dpdif<5  	&& tdif>7    && wmax>12 && (clo<4 || sr>300)	&& dd>15)    															{var fn = 1369 , fz  = "A weak high pressure is in a northerly direction from Central Virginia giving a northerly wind flow.   " ;}
if((tt==2 || tt==3)&& vb<3  	&& brt<5			&& bdi<5 	&&  dn>2 && dn<6  	&&barx>30.30 		&& xwet==15   	&& tran<14 	&& clo==5         && wmax<10  && tempa<40 && dd<5 && tdif<-6 && dpdif>10 && dpnow<38 && sp<3) 													{var fn = 1370 , fz = "A high pressure is now is now north of the Glen Allen area and a stationary front is located to the south of Virginia. " ;} //      MARCH 13, 2009   11:32 AM  0.5 inches of snow
if((tt==2 || tt==3)&& vb<3  	&& brt<=5		&& bdi<5 &&  dn>2 && dn<6  	&&barx>30.30 		&& xwet==15   	&& tran<14 	&& clo==5         && wmax<10  && tempa<40 && dd<5 && tdif<-6 && dpdif>9 && dpnow<38 && sp<3) 													{var fn = 1371 , fz = "A high pressure is now is now north of the Glen Allen area and a stationary front is located to the south of Virginia. " ;} //      MARCH 13, 2009   11:47 AM  0.5 inches of snow
if((tt==2 || tt==3)&& vb<3  	&& brt>=5		&& bdi>6 &&  dn>8 && dn<12  	&&barx>30.25 		&& xwet==0   	&& tran>8 	&& clo>3           && wmax>20  && tempa<70 && dd>20 && tdif>4 && dpdif>5 && dpnow<30) 												{var fn = 1372 , fz = "A high pressure is now off the Atlantic coast and a low pressure is to the north giving a strong southerly flow and a large warm up to the Glen Allen area. " ;} //        FEBRUARY 26, 2009   08:27 AM
if((tt==2 || tt==3)&& vb<3   	&& brt==7   	 	&& bdi<5 && dn>2 && dn<6  	&& barx>30.30  		&& xwet==0 	&& tran>12	&& clo<4	           && wmax<22  && tempa<70 && dd>20	&& tdif<0 && dpdif<-5  && dpnow<25  && rh<35  && sp<3)											{var fn = 1373 , fz  = "A high pressure is located to the north of Glen Allen and is SLOWLY move away from the area and a distant warm front is approaching from the SW. " ;} //        MARCH 24, 2009   11:59 AM
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>30.21 && barx<30.41 && xwet==0 && lwet==0 && wmax<16 && tdif>-8 && tdif<-2 && dpdif>-2 && dpdif<4 && tempa>42 && tempa<62 && dd<13 && rh<93 && rhy>6 && rhy<26 && tran>1 && tran<10 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 1374 , fz  = "A high pressure is now located to the north of the Glen Allen area and is slowly tracking eastward and the pressure will soon start to fall. " ; } // 10/12/09-9:37
if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>30.23 && barx<30.43 && xwet==0 && lwet==0 && wmax<17 && tdif>-9 && tdif<-3 && dpdif>-3 && dpdif<3 && tempa>43 && tempa<63 && dd<14 && rh<90 && rhy>6 && rhy<26 && tran>2 && tran<11 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 1375 , fz  = "A high pressure is now located to the north of the Glen Allen area and is slowly tracking eastward and the pressure is still rising now but will soon start to fall. " ; } // 10/12/09-10:19




if((tt==3 || tt==4)&& vb==2             && brt> 0 		&& bdi<5  &&  dn>7 && dn<11 	&&barx>30.00 		&& xwet==0   	&& tran>16 	&& clo>3       && wmax<15 		                && dpdif>0  && tdif>-3 )														{var fn = 1386 , fz = "A high pressure is moving away from Glen Allen area and passing to the north of Glen Allen.  " ;}
if((tt==3 || tt==4)&& vb<4  	&& brt>6			&& bdi<5 &&  (dn>14 || dn<2) 	&&barx>30.30 		&& xwet==0   	&& tran>20 	&& clo>3            && wmax<15  && tempa<70 && dd>25 && tdif<5 && dpdif<-4 && dpnow<35 && sp==3)												{var fn = 1387 , fz = "A high pressure is now is now north of the Glen Allen area and tracking southeastward. " ;} //        MARCH 21, 2009   03:56 PM  SKY COVERED WITH CIRRUS
if((tt==3  || tt==4)&& vb<3 	&& brt>6  		&& bdi<5 && (dn>14 || dn<2)	&&barx>30.20		&& xwet==0  	&& tran>15  	&& clo<3            && wmax>15 && tempa<70  && dd>20 && tdif<-4 && dpdif<-8 && dpnow<20 && sp==2 )												{var fn = 1388 , fz = "A cold front has passed the area in the past 24 hours and high pressure built in during the morning from the north of the Glen Allen but the pressure is now falling as the high recedes from the Glen Allen area. " ;}  //          MARCH 23, 2009   04:56 PM
if((tt==3 || tt==4)&& vb<4   	&& brt==7   	 	&& bdi<5 &&  dn<3  		&& barx>30.30  		&& xwet==0 	&& tran>15	&& clo>3	           && wmax<22  && tempa<70 && dd>20	&& tdif<0 && dpdif<-2  && dpnow<25  && rh<35  && sp<3)										{var fn = 1389 , fz = "A high pressure is located to the north of Glen Allen and is SLOWLY move away from the area and a distant warm front is approaching from the SW. " ;} //        MARCH 24, 2009   11:59 AM
if (tt>3 	         	&&  vb==2 	&& brt>=5   	           	&& bdi<6  &&  dn<6   		&&barx>30.30 		&& xwet==0 		      	&& clo==5       && wmax<15  && tempa<50) 																{var fn = 1390 , fz = "A northern high pressure is giving damp and cloudy conditions from the easterly flow off the Atlantic. " ;}
if (tt>3 	        	&&  vb==2  	&& brt> 0   	            	&& bdi<6  &&  dn>0 		&&barx>30.25 		&& xwet==15 	&& tran<12 	&& clo==5       && wmax<15  && tempa<60    && pdif<0.10) 															{var fn = 1391 , fz = "A northern high pressure is giving damp and cloudy and light rain and unsettled conditions.   " ;}
if (tt>3 	        	&&  vb==2  	&& brt>=5  	            	&& bdi<5  &&  dn>0 		&&barx>30.25 		&& xwet==0   	&& tran>18 	&& clo>3          && wmax>12  && tempa<60    && rh>75) 															{var fn = 1392 , fz = "A northern high pressure is giving damp and cloudy.    " ;}



if((tt==4 || tt==5)&& vb==3  	&& brt<5			&& bdi>2 &&  dn<6		&&barx<30.30 		&& xwet>0   	&& tran>5 	&& clo==5        && wmax<15  && tempa<60 && dd<8 && tch<0 && dch<0 && pdif>0)														{var fn = 1402 , fz = "A weak high pressure is located to the northwest or north tracking eastward and building into the Glen Allen area. Also a weak low pressure is on a slow moving cold front that has passed south of the area giving precipitation earlier today. " ;}  //   JANUARY 05, 2009   07:51 PM
if((tt==4 || tt==5)&& vb<4  	&& brt>6			&& bdi>6  &&  (dn>14 || dn<3)	&&barx>30.20 		&& xwet==0   	&& tran>18 	&& clo>3           && wmax>15  && tempa<40 && dd>19 && dpnow<15) 																{var fn = 1403 , fz = "A high pressure is now moving away from Virginia. " ;} //       JANUARY 17, 2009   05:56 PM
if((tt==4 || tt==5)&& vb<3  	&& brt>6			&& bdi>7  &&  dn>7 && dn<11	&&barx>30.25 		&& xwet==0   	&& tran>18 	&& clo>3           && wmax>15  && tempa<40 && dd>18 && dpnow<15) 																{var fn = 1404 , fz = "A high pressure is now moving away from Virginia. " ;} //       JANUARY 17, 2009   05:56 PM
if((tt==4 || tt==5)&& vb<4  	&& brt<=5		&& bdi<5   &&  dn<3         		&&barx>30.25 		&& xwet==0   	&& tran>20 	&& clo<3           && wmax<18  && tempa<60 && dd>20 && dpnow<12) 															{var fn = 1405 , fz = "A high pressure is now near Glen Allen giving a light breeze and has just started to move away from Virginia towards the coast giving clear skies over the Glen Allen area. " ;} //         FEBRUARY 24, 2009   07:26 PM




if(tt<6             	&&  vb==2 	&& brt>=5 && brt<7 	&& bdi>5  &&  dn<6   		&&barx>30.15 		&& xwet>1    && lwet==0	&& tran>10 	&& clo>0	      && wmax<15)																	{var fn = 1410 , fz = "A high pressure to the north is moving away from Glen Allen off the northeast coast. The wind should veer from the north to NE to ENE.  " ;}
if(tt<6 	          	&&  vb < 3 	&& brt>=5 && brt<7 	&& bdi<4  &&  dn<6   		&&barx>30.20 		&& xwet==0  	&& tran<10 	&& clo>0	      && wmax<15       		&& dpdif<-3 && tch<0 && tdif<-3)												{var fn = 1411 , fz = "A high pressure to the north is moving away from Glen Allen off the northeast coast. The wind should veer from the north to NE to ENE.  " ;}
if(tt<6     	&&  vb<3   	&& brt>5      	           	&& bdi<5  &&  dn<6  		&&barx>29.00		&& xwet==0  		            	&& clo>0        && wmax<5 )																			{var fn = 1412 , fz = "A high pressure that was north of the Glen Allen area and is now moving off to the east coast and away from the Glenn Allen area. " ;}
if(tt<6    		&&  vb==2 	&& brt>=5   	           	&& bdi<6  &&  dn<6   		&&barx>30.45 		&& xwet==0 			&& clo>0         && wmax<15  && temphi<38)																{var fn = 1413 , fz = "A high pressure to the north if followed by or particularly in conjunction with a coastal low is one of the best indication of a significant snowfall. " ;}
if(tt<6    		&&  vb==2 	&& brt>=5                    	&& bdi<6  &&  dn<6   		&&barx>30.40 		&& xwet==0 			&& clo>0         && wmax<15  && temphi<40)																{var fn = 1414 ,  fz = "Precipitation generally occurres in the form of snow around 14 hours after the peak pressure occurres with the passage of the northern high pressure. " ;}



if(tt<5     	&&  vb==2 	&& brt>=5   	           	&& bdi>5  &&  dn>1 && dn<5   	&&barx<30.30 		&& xwet==15 		            	&& clo>0       && wmax<10                                         	&& lwet>1 )														{var fn = 1420 , fz = "A low pressure is located to the south of Glen Allen and a high pressure to the north is moving away from Glen Allen off the northeast coast. The wind should veer from the NE to E.  " ;}






//                 1hrne      HP  MOVING AWAY  BUT PASSING TO THE TO NE

if(tt==1 	          	&&  vb<3  	&& brt<=5  	       	&& bdi<5  &&  dn<5   		&&barx>30.15 		&& xwet==0  	&& tran>20 	&& clo>3      && wmax<15 )																		{var fn = 1423 , fz = "A high pressure is moving to the north of Glen Allen off the northeast coast. The Atlantic moisture from the easterly wind is causing the cloud cover. " ;}
if((tt==1 || tt==2)&& vb==2  	&& brt> 0		&& bdi<4  && (dn==4|| dn===5)		&&barx>30.30 		&& xwet==0   	&& tran>6 	&& clo<5           && wmax<15  && tempa<60 && dd>5 ) 																{var fn = 1424 , fz = "A high pressure is now located to the NE of the Glen Allen area.   " ;}
if((tt==1 || tt==2)&& vb<3  	&& brt<5			&& bdi>0  &&  dn<6		&&barx>30.30 		&& xwet==0   	&& tran>4 	&& clo<5           && wmax<10  && tempa<30 && dd>5 && dpnow<10) 																{var fn = 1426 , fz = "A high pressure is now located near Virginia and is tracking northeastward.  " ;} //    JANUARY 17, 2009   08:23 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<5			&& bdi>0  &&  dn>5 && dn<10	&&barx>30.30 		&& xwet==0   	&& tran>5 	&& clo<5           && wmax<10  && tempa<35 && dd>8 && dpnow<12) 																{var fn = 1427 , fz = "A high pressure is now located near Virginia and is starting to track northeastward away from Virginia. " ;} //      JANUARY 17, 2009   08:34 AM
if((tt==1 || tt==2)&& vb<3  	&& brt<=5		&& bdi>4  &&  dn>5 && dn<12	&&barx>30.30 		&& xwet==0   	&& tran>5 	&& clo<5           && wmax<10  && tempa<35 && dd>8 && dpnow<12) 																{var fn = 1428 , fz = "A high pressure is now located near Virginia and is starting to track northeastward away from Virginia. " ;} //        JANUARY 17, 2009   08:58 AM



if((tt==2 || tt==3)&& vb<3  	&& brt>6			&& bdi>4  &&  dn>7 && dn<11	&&barx>30.30 		&& xwet==0   	&& tran>10 	&& clo<5           && wmax<15  && tempa<40 && dd>12 && dpnow<12) 																{var fn = 1431 , fz = "A high pressure is now moving northeastward away from Virginia. " ;} //       JANUARY 17, 2009   11:06



if((tt==3 || tt==4)&& vb<1&& brt==7 && bdi>3&& bdi<7&& dn>4&& dn<8 && barx>30.06 && barx<30.26 && xwet==0 && lwet==0 && wmax<18 && tdif>-1 && tdif<5 && dpdif>-2 && dpdif<4 && tempa>40 && dd<25 && rh<67 && rhy>-5 && rhy<5 && tran>14 && tran<22 && sp<2 && clo<4 && dpnow>63 && dpnow<77) 								{var fn = 1436 , fz = "A high pressure is located to the NE of Glen Allen and is SLOWLY move away from the area and a distant diagonal SW to NE stationary front is located off the SE coast of Virginia. " ; } // 8/15/09-13:51
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>4&& dn<8 && barx>30.04 && barx<30.24 && xwet==0 && lwet==0 && wmax<18 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>40 && dd<30 && rh<59 && rhy>-16 && rhy<-6 && tran>15 && tran<23 && sp<3 && clo<4 && dpnow>59 && dpnow<73) 								{var fn = 1437 , fz = "A high pressure is located to the NE of Glen Allen and is SLOWLY move away from the area and a distant diagonal SW to NE stationary front is located off the SE coast of Virginia." ; } // 8/15/09-14:33
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.16 && barx<30.36 && xwet==0 && lwet==0 && wmax<9 && tdif>-2 && tdif<4 && dpdif>-2 && dpdif<4 && tempa>40 && dd<8 && rh<109 && rhy>-9 && rhy<11 && tran>5 && tran<14 && sp<3 && clo<6 && dpnow>47 && dpnow<61) 								{var fn = 1438 , fz = "A high pressure is now located to the NE of the Glen Allen area and tracking eastward and a low pressure is to the SE causing the backing easterly wind flow. " ; } // 9/21/09-13:00
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.16 && barx<30.36 && xwet==0 && lwet==0 && wmax<9 && tdif>-2 && tdif<4 && dpdif>-2 && dpdif<4 && tempa>40 && dd<8 && rh<109 && rhy>-9 && rhy<11 && tran>5 && tran<14 && sp<3 && clo<6 && dpnow>47 && dpnow<61) 								{var fn = 1439 , fz = "A high pressure is now located to the NE of the Glen Allen area and and the pressure is falling as the high pressure is tracking eastward away from the area and a distant low pressure is off the SE coast. " ; } // 9/21/09-13:45



if((tt==4 || tt==5)&& vb<4&& brt==5 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<18 && tdif>0 && tdif<6 && dpdif>4 && dpdif<10 && tempa>40 && dd<20 && rh<75 && rhy>-2 && rhy<18 && tran>23 && tran<32 && sp<3 && clo<4 && dpnow>55 && dpnow<69) 								{var fn = 1445 , fz = "A high pressure is off of the NE coast and a low pressure is off the SE coast pulling a NE flow off of the Atlantic. " ; } // 9/21/09-19:20


//                   1hre                          HP E         AND MOVING AWAY

if((tt==1 || tt==2)&& vb<4  	&& brt<5		&& bdi<6            && dn>11 && dn<16  &&barx>30.25 	&& xwet==0 && dpdif>0 && tdif>4   && wmax<15 && tran>5 	&& clo>2             && tempa<60 && dd>10 && dpnow<20) 																{var fn = 1450 , fz  = "A high pressure is now near but east Glen Allen  and has just started to move away from Virginia towards the coast giving increasing cirrus clouds over the Glen Allen area. " ;} //      FEBRUARY 25, 2009   08:56 AM


if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>7&& dn<11 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<21 && tdif>-6 && tdif<0 && dpdif>-3 && dpdif<3 && tempa>48 && tempa<68 && dd<15 && rh<87 && rhy>-2 && rhy<18 && tran>5 && tran<14 && sp<3 && clo<6 && dpnow>44 && dpnow<58) 						{var fn = 1453 , fz  = "A high pressure is now just east Glen Allen  and has just started to move away from Virginia towards the coast giving increasing cirrus clouds over the Glen Allen area. " ; } // 04/03/10-9:16




if((tt==3 || tt==4)&& vb<3  	&& brt>5			&& bdi<4   && (dn>15 || dn<1)	&&barx>30.25 		&& xwet==0   	&& tran>20 	&& clo<3           && wmax<18  && tempa<60 && dd>28 && dpnow<15) 																{var fn = 1456 , fz = "A high pressure is now near Glen Allen giving a light breeze and has just started to move away from Virginia towards the coast giving clear skies over the Glen Allen area. " ;} //        FEBRUARY 24, 2009   04:21 PM
if((tt==3 || tt==4)&& vb<3  	&& brt>6			&& bdi<5   && (dn>15 || dn<1)	&&barx>30.30 		&& xwet==0   	&& tran>15 	&& clo>3           && wmax<15  && tempa<60 && dd>20 && dpnow<18) 																{var fn = 1457 , fz = "A high pressure is now near Glen Allen and has just started to move away from Virginia towards the coast and will give an increase in cirrus clouds over Glen Allen tomorrow. " ;} //      FEBRUARY 24, 2009   12:33 PM
if((tt==3 || tt==4) && vb<3 && brt>5 	&& bdi<5 	&& dn>7 && dn<11 	&& barx>30.00 	&& dpdif<-5   	&& tdif<-4  && xwet>0      && wmax<15 && clo==5)																							{var fn = 1458 , fz  = "A high pressure is now tracking north to south to the east from Glen Allen area. " ;}   //    DECEMBER 18, 2008   04:32 PM
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>4&& dn<8 && barx>30.05 && barx<30.25 && xwet==15 && lwet==15 && wmax<21 && tdif>-10 && tdif<-4 && dpdif>1 && dpdif<7 && tempa>40 && dd<11 && rh<98 && rhy>21 && rhy<31 && tran>14 && tran<22 && sp<3 && clo<6 && dpnow>66 && dpnow<80) 							{var fn = 1459 , fz = "A high pressure is now in eastern Maryland and a low pressure is located in west central VA and a diagonal stationary front running SW to NE is near the SE coast of VA . Small tropical pop-up rain showers are moving NE to SW across SE VA. " ; } // 8/14/09-16:15 total rain so far is 0.49 inches.
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>4&& dn<8 && barx>30.05 && barx<30.25 && xwet==15 && lwet>0 && wmax<21 && tdif>-8 && tdif<-2 && dpdif>0 && dpdif<6 && tempa>40 && dd<15 && rh<91 && rhy>15 && rhy<25 && tran>14 && tran<22 && sp<3 && clo<6 && dpnow>65 && dpnow<79)       							{var fn = 1460 , fz = "A high pressure is now in eastern Maryland and a low pressure is located in west central VA and a diagonal stationary front running SW to NE is near the SE coast of VA . Small tropical pop-up rain showers are moving NE to SW across SE VA giving heavy rainfall for short periods. " ; } // 8/14/09-16:48
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>7&& dn<11 && barx>29.96 && barx<30.16 && xwet==0 && lwet==0 && wmax<21 && tdif>-4 && tdif<2 && dpdif>0 && dpdif<6 && tempa>59 && tempa<79 && dd<22 && rh<70 && rhy>-2 && rhy<18 && tran>16 && tran<25 && sp<3 && clo<1 && dpnow>48 && dpnow<62) 						{var fn = 1461 , fz = "A high pressure is now just east Glen Allen  and has just started to move away from Virginia towards the coast giving increasing cirrus clouds over the Glen Allen area.  " ; } // 04/03/10-12:30


if((tt==4 || tt==5)&& vb<3  	&& brt<5	 	&& bdi>5            && dn>7 && dn<12  &&barx>30.25 	&& xwet==0 && dpdif>3 && tdif>8   && wmax>15 && tran>28 	&& clo<3            && tempa<70 && dd>15 && dpnow<20) 															{var fn = 1469 , fz  = "A high pressure is now just off the east coast giving increasing  temperatures and increasing cirrus clouds over the Glen Allen area. " ;} //      FEBRUARY 25, 2009   07:11 PM

if((tt==5|| tt==1)&& vb<4  	&& brt<5			&& bdi<5   && dn<5		&&barx>30.30 		&& xwet>0   	&& tran>5 	&& clo==5         && wmax<15  && tempa<40 && dd>10 && dpnow<25) 																{var fn= 1476 , fz = "A high pressure is now moving away from Virginia and is off the New Jersey coast giving  easterly flow over Glen Allen. " ;} //         JANUARY 26, 2009   08:32 PM


//               1hrse                           HP SE AND MOVING AWAY -- WIND IS DEFINING GENERALLY DN>6 && DN<12   Best wind is 10 for this location

//    vb<3     TIF>0    DPDIF>0
//   BAR>30.00
if (fn<1 && fnum<1 && dpnow>=71 && windx<5 && mm>5 && mm<10 && dn>8 && dn<13)         																													{var fn = 1485 , fz  = "Maritime tropical air mass weather is now over the Glen Allen area and is often caused by a Bermuda High pressure. " ;}   //08-02-09,

if(tt==1  		&& vb<4 	&& brt<4		&& bdi<3  	&&  dn>7 && dn<11 &&  barx>30.00	&& xwet==0			&& wmax<10 && clo<3 	&& dd<15  )   																			{var fn = 1494 , fz  = "High pressure is still  building into the Glen Allen - Springfield Park area but the southerly wind shift indicates it will soon be sliding off the SE coast.  " ;}   //  FEBRUARY 21, 2009   07:48 AM
if((tt==1|| tt==2)&& vb<3 	&& brt==5 	&& bdi==6         && dn>9 && dn<13 && barx>30.14 && barx<30.34 && xwet==0 && wmax<95 && tdif>-2 && tdif<4 && dpdif>-5 && dpdif<1 && tempa>67 && dd==6 && rh==79 && rhy==-8 && tran==6 && clo<5)  													{var fn = 1495 , fz  = "A high pressure is now SE of the area and is slowly move away from the area. " ;} //           JULY 11, 2009   08:00 AM
if((tt==1|| tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>10&& dn<14 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<18 && tdif>4 && tdif<10 && dpdif>3 && dpdif<9 && tempa>40 && dd<14 && rh<92 && rhy>-7 && rhy<3 && tran>0 && tran<8 && sp<3 && clo<4) 											{var fn = 1496 , fz = "A high pressure is now SE of the area and is slowly move away from the area." ; } // 8/9/09-8:30
if((tt==1|| tt==2)&& vb<3 	             	                 && bdi>4          && dn>10 && dn<14  && barx>30.00  	&& xwet==0 && dpdif>9 && tdif>7       && wmax<12                    && dd>0 && tran<15 && rh>69 && sp<=2)    																	{var fn = 1497 , fz  = "A high pressure is now SE of the area and is slowly move away from the area. " ;} //           JUNE 02, 2009   07:27 AM
if((tt==1|| tt==2)&& vb<3 	             	                 && bdi>5          && dn>8 && dn<11  && barx>29.90  	&& xwet==0 && dpdif>9 && tdif>7       && wmax<12                    && dd>0 && tran<15 && rh>69 && sp<=2)    																	{var fn = 1498 , fz  = "A high pressure is now SE of the area and is slowly move away from the area. " ;} //            JUNE 03, 2009   09:01 AM
if((tt==1|| tt==2)&& vb<3   	             		&& bdi>4 && bdi<7          && dn>9 && dn<14  && barx>30.20  	&& xwet==0 && dpdif>6 && tdif>6       && wmax<10                    && dd>7 && tran>5 && rh<70  && sp<3)    																{var fn = 1499 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is SLOWLY move away from the area. " ;} //          FEBRUARY 07, 2009   08:33 AM
if((tt==1|| tt==2) && vb<3 && brt>2 	&& bdi<5 	&& dn>6 && dn<10 	&& barx>30.00 	&& dpdif>0   	&& tdif>8   && xwet==0    && wmax<20 && clo>2 )																							{var fn = 1501 , fz  = "A high pressure is now moving away from Glen Allen - Springfield Park area towards the SE. " ;}   //  DECEMBER 14, 2008   08:05 AM
if((tt==1|| tt==2) && vb<3 && brt<5 	&& bdi>5 	&& dn>7 && dn<11 	&& barx>30.00 	&& dpdif>8   	&& tdif>7   && xwet==0    && wmax<15 && sr<100)																							{var fn = 1502 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast. " ;}   //        DECEMBER 27, 2008   07:56 AM
if((tt==1|| tt==2) && vb<3 && brt==5 	&& bdi>5 	&& dn>7 && dn<12 	&& barx>30.00 	&& dpdif>8   	&& tdif>7   && xwet==0    && wmax<15 && sr<100)																							{var fn = 1503 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast. " ;}   //        DECEMBER 27, 2008   07:56 AM
if((tt==1|| tt==2) && vb<3 && brt<5	&& bdi>5 	&& dn>6 && dn<11	&& barx>30.20 	&& dpdif>0   	&& tdif>7 && xwet==0    && wmax<10 && clo<4  && dd>8 && tran>10 && sp==2)																				{var fn = 1504 , fz  = "A high pressure is now off the SE coast and slowly moving away from Glenn Allen area. " ;}   //        MARCH 05, 2009   08:32 AM
if((tt==1|| tt==2) && vb<3 && brt<=5	&& bdi>5 	&& dn>8 && dn<12	&& barx>30.15 	&& dpdif>7 && tch>0 && tdif>12 && xwet==0    && wmax>15 && clo>3  && dd>6 && tran<10 && sp==3)																			{var fn = 1505 , fz  = "A high pressure is now off the SE coast and moving away from Glenn Allen area. " ;}   //          MARCH 06, 2009   07:55 AM
if((tt==1|| tt==2) && vb<3 && brt<5	&& bdi>5 	&& dn>13 && dn<16	&& barx>30.10 	&& dpdif>7 && tch>2 && tdif>6 && xwet==0    && wmax<18 && clo>2  && dd>4 && tran>6 && sp==2)																				{var fn = 1506 , fz  = "A high pressure is now off the SE coast and moving away from Glenn Allen area and a low pressure is located to the west on a SW to NE diagonal stationary front. " ;}   //      MARCH 07, 2009   08:48 AM
if((tt==1|| tt==2) && vb<3 && brt<5	&& bdi>5 	&& (dn>13 || dn<3)	&& barx>30.10 	&& dpdif>9 && tch>3 && tdif>8 && xwet==0    && wmax<18 && clo>2  && dd>4 && tran>8 && sp==2)																				{var fn = 1507 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a low pressure is located to the west on a SW to NE diagonal stationary front. " ;}   //      MARCH 07, 2009   08:48 AM
if((tt==1|| tt==2) && vb<3 && brt<4	&& bdi>6 	&& dn>11 && dn<14	&& barx>29.90 	&& dpdif>0                 && tdif>5 && xwet==0    && wmax<20 && clo>3  && dd>8 && tran<9 && sp==3)																				{var fn = 1508 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a low pressure tracking eastward on a stationary front is just to our north is moving away to the NE. " ;}   //      MARCH 08, 2009   08:06 AM
if((tt==1|| tt==2) && vb<3 && brt>0	&& bdi>6 	&& dn>10 && dn<14	&& barx>29.85 	&& dpdif>0                && tdif>0 && xwet==0    && wmax<15 && clo>3  && dd>6 && tran>7 && sp<=3 && dsp>2)																			{var fn = 1509 , fz  = "A high pressure is now off the SE coast and is moving slowly  and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //      APRIL 19, 2009   08:01 AM
if((tt==1|| tt==2) && vb<3 && brt>2	&& bdi>5 	&& dn>8 && dn<12	&& barx>29.95 && barx<30.15 && dpdif>0 && tdif>0 && xwet==0 && wmax>10 && clo>3  && dd>2 && tran>5 && sp<3 && dsp>5)																			{var fn = 1510 , fz  = "A high pressure is now off the coast and is moving very slowly  and a distant slow moving low pressure is located to the west with its associated stationary front over Northern Virginia that will gradually move north as a warm front tomorrow. " ;}   //        MAY 26, 2009   08:01 AM
if((tt==1|| tt==2) && vb<3 && brt>2	&& bdi<5 	&& dn>7 && dn<11	&& barx>29.95 && barx<30.15 && dpdif>-2 && tdif>0 && xwet==0 && wmax>10 && clo>3  && dd>2 && tran>5 && sp<3 && dsp>5)																			{var fn = 1511 , fz  = "A high pressure is now off the coast and is moving very slowly  and a distant slow moving low pressure is located to the west with its associated stationary front over Northern Virginia that will gradually move north as a warm front tomorrow. " ;}   //          MAY 26, 2009   09:01 AM
if((tt==1|| tt==2) && vb<3 && brt>0	&& bdi<7 	&& dn>7 && dn<11	&& barx>29.85 && barx<30.10 && dpdif>0 && tdif>3 && xwet==0 && wmax<12 && clo<5  && dd>5 && tran<10 && sp<3 && dsp>3 && dpnow>65)																	{var fn = 1512 , fz  = "A high pressure is now off the coast and is moving very slowly  and a distant very slow moving cold front is located to the north that will become a stationary front tomorrow still to the north of central VA. " ;}   //     JUNE 09, 2009   08:14 AM
if((tt==1|| tt==2)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>8&& dn<12 && barx>30.12 && barx<30.32 && xwet==0 && lwet==0 && wmax<17 && tdif>6 && tdif<12 && dpdif>3 && dpdif<9 && tempa>40 && tempa<60 && dd<16 && rh<83 && rhy>-17 && rhy<3 && tran>8 && tran<17 && sp<3 && clo<2 && dpnow>35 && dpnow<49) 						{var fn = 1513 , fz  = "A high pressure is now nearly stationary off the SE coast." ; } // 11/08/09-8:06
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>8&& dn<12 && barx>30.13 && barx<30.33 && xwet==0 && lwet==0 && wmax<17 && tdif>9 && tdif<15 && dpdif>4 && dpdif<10 && tempa>43 && tempa<63 && dd<18 && rh<78 && rhy>-22 && rhy<-2 && tran>8 && tran<17 && sp<3 && clo<2 && dpnow>36 && dpnow<50) 						{var fn = 1514 , fz  = "A high pressure is now nearly stationary off the SE coast." ; } // 11/08/09-8:29


if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>11&& dn<15 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<22 && tdif>8 && tdif<14 && dpdif>-1 && dpdif<5 && tempa>40 && dd<28 && rh<62 && rhy>-23 && rhy<-13 && tran>14 && tran<22 && sp<3 && clo<3)										{var fn = 1522 , fz  = "A high pressure is now SE of the area and is slowly move away from the area." ; } // 8/9/09-11:59
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>30.00 && barx<30.20 && xwet==0 && lwet==0 && wmax<20 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<22 && rh<74 && rhy>-7 && rhy<3 && tran>9 && tran<17 && sp<3 && clo<3 && dpnow>65 && dpnow<79) 								{var fn = 1523 , fz = "A high pressure is now SE of the area and is slowly move away from the area. " ; } // 8/18/09-10:22
if((tt==2 || tt==3)&& vb<3   	             		 && bdi>4          && dn>9 && dn<14  && barx>30.20  	&& xwet==0 && dpdif>9 && tdif>9       && wmax>12                   && dd>15 && tran>25 && rh<45  && sp<3)    																	{var fn = 1524 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is SLOWLY move away from the area. " ;} //          FEBRUARY 07, 2009   13:03 AM
if ((tt==2 || tt==3) && vb<3 && brt<4	&& bdi>6 	&& dn>10 && dn<14	&& barx>29.90 	&& dpdif<4                 && tdif>0 && xwet==0    && wmax<20 && clo>2  && dd>12 && tran<12 && sp==3)																			{var fn = 1525 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a low pressure tracking eastward on a stationary front is just to our north is moving away to the NE. " ;}   //       MARCH 08, 2009   10:30 AM
if ((tt==2 || tt==3) && vb<3 && brt<5	&& bdi>5 	&& (dn>13 || dn<3)	&& barx>30.10 	&& dpdif>9 && tch>3 && tdif>9 && xwet==0    && wmax<18 && clo>2  && dd>8 && tran>10 && sp==2)																			{var fn = 1526 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a low pressure is located to the west on a SW to NE diagonal stationary front. " ;}   //       MARCH 07, 2009   09:58 AM
if ((tt==2 || tt==3) && vb<3 && brt>5	&& bdi>5 	&& dn>11 && dn<14	&& barx>30.00 	&& dpdif>6 && tch>2 && tdif>12 && xwet==0    && wmax<18 && clo>2  && dd>15 && tran>25 && sp==2)																			{var fn = 1527 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a low pressure is located to the west on a SW to NE diagonal stationary front. " ;}   //       MARCH 07, 2009   09:58 AM
if ((tt==2 || tt==3) && vb<3 && brt<5	&& bdi>5 	&& dn>0			&& barx>30.20 	&& dpdif>4 && tch>1 && tdif>4 && xwet==0    && wmax<10 && clo<4  && dd>12 && tran>15 && sp==2)																		{var fn = 1528 , fz  = "A high pressure is now off the SE coast and slowly moving away from Glenn Allen area.  " ;}   //        MARCH 05, 2009   08:32 AM
if ((tt==2 || tt==3) && vb<3 && brt<5 	&& bdi>5 	&& dn>7 && dn<12 	&& barx>30.00 	&& dpdif>8   	&& tdif>7   && xwet==0    && wmax<15 && sr<200)																							{var fn = 1529 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast. " ;}   //        DECEMBER 27, 2008   07:56 AM
if ((tt==2 || tt==3) && vb<3 && brt<=5 	&& bdi>5 	&& dn>7 && dn<12 	&& barx>30.00 	&& dpdif>8   	&& tdif>7   && xwet==0    && wmax<15 && clo>2)																							{var fn = 1530 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast. " ;}   //        DECEMBER 27, 2008   07:56 AM
if ((tt==2 || tt==3) && vb<3 && brt>3	&& bdi<5 	&& dn>7 && dn<11	&& barx>29.95 && barx<30.15 && dpdif<0 && tdif>-1 && xwet==0 && wmax>10 && clo>3  && dd>6 && tran>5 && sp<3 && dsp>5 && dpnow>60)																	{var fn = 1531 , fz  = "A high pressure is now off the coast and is moving very slowly  and a distant slow moving low pressure is located to the west with its associated stationary front over Northern Virginia that will gradually move north as a warm front tomorrow. " ;}   //          MAY 26, 2009   09:01 AM
if ((tt==2 || tt==3) && vb<3 && brt>0	&& bdi<7 	&& (dn>15 || dn<2)	&& barx>29.90 && barx<30.10 && dpdif>0 && tdif>0 && xwet==0 && wmax<12 && clo>3  && dd>9 && tran>13 && sp<3 && dsp>3 && dpnow>70)																	{var fn = 1532 , fz  = "A high pressure is now off the coast and is moving very slowly  and a distant very slow moving cold front is located to the north that will become a stationary front tomorrow still to the north of central VA. " ;}   //     JUNE 09, 2009   11:51 AM
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>9&& dn<13 && barx>29.82 && barx<30.02 && xwet==0 && lwet==0 && wmax<30 && tdif>6 && tdif<12 && dpdif>12 && dpdif<18 && tempa>66 && tempa<86 && dd<24 && rh<69 && rhy>3 && rhy<23 && tran>12 && tran<21 && sp<4 && clo<4 && dpnow>53 && dpnow<67) 						{var fn = 1533 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is slowly move away from the area and a distant cold front is approaching. " ; } // 10/9/09-11:27
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>2&& bdi<6&& dn>11&& dn<15 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<13 && tdif>10 && tdif<16 && dpdif>6 && dpdif<12 && tempa>49 && tempa<69 && dd<28 && rh<57 && rhy>-17 && rhy<3 && tran>18 && tran<27 && sp<3 && clo<4 && dpnow>32 && dpnow<46) 						{var fn = 1534 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is slowly move away from the area. " ; } // 11/29/09-10:25



if((tt==3 || tt==4)&& vb<3   	&& brt==7   	 && bdi==7        && dn>9 && dn<13  && barx>30.00  	&& xwet==0 && dpdif>9 && tdif>10   && wmax>20                   && dd>25 && tran>30 && rh<45)    																		{var fn = 1542 , fz  = "A high pressure is now SE of the area and is move away from the area with a distant cold front is approaching. " ;} //         FEBRUARY 07, 2009   04:37 PM
if((tt==3 || tt==4)&& vb<3   	&& brt<7   	 && bdi>5          && dn>9 && dn<13  && barx>30.00  	&& xwet==0 && dpdif>11 && tdif>10   && wmax>20                   && dd>20 && tran>28 && rh<45  && sp<3)    																	{var fn = 1543 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is SLOWLY move away from the area and a distant cold front is approaching. " ;} //          FEBRUARY 07, 2009   03:43 PM
if((tt==3 || tt==4)&& vb<3  	&& brt>5	 	&& bdi>5            && dn>9 && dn<13  &&barx>30.20 	&& xwet==0 && dpdif<0 && tdif<-2   && wmax>25 && tran>19 	&& clo>2            && tempa>60 && dd>25 && dpnow<60) 															{var fn = 1544 , fz  = "A high pressure is now just off the southeast coast giving above average temperatures for the season and increasing cirrus clouds over the Glen Allen area. " ;} //      APRIL 28, 2009   01:21 PM
if((tt==3 || tt==4)&& vb<3 	&& brt>5       	                            && dn>7 && dn<12  && barx>29.90  	&& xwet==0 && dpdif>5  && tdif>5       && wmax<20 &&  clo>=3  && dd>20 && tran>20)    																			{var fn = 1545 , fz  = "Glen Allen is now on the back side of a high pressure giving increasing  temperatures and increasing cirrus clouds.  " ;} //  JANUARY 22, 2009   12:46 PM
if((tt==3 || tt==4)&& vb<3 	&& brt>5       	                            && dn>7 && dn<12  && barx>29.90  	&& xwet==0 && dpdif>5  && tdif>6       && wmax>18 &&  clo>=3  && dd>25 && tran>25 && rh<40)    																		{var fn = 1546 , fz  = "Glen Allen is now on the back side of a slow moving high pressure giving increasing  temperatures and decreasing relative humidity. " ;} //  JANUARY 22, 2009   02:13 PM
if((tt==3 || tt==4)&& vb<3 	&& brt>5   && brt<7                         && dn>10 && dn<15  && barx>29.90  	&& xwet==0 && dpdif>6 && tdif>7       && wmax>18 &&  clo>=2  && dd>25 && tran>26 && rh<40)    																		{var fn = 1547 , fz  = "Glen Allen is now on the back side of a slow moving high pressure giving increasing  temperatures and decreasing relative humidity. " ;} //   JANUARY 22, 2009   03:49 PM
if((tt==3 || tt==4)&& vb<3 	&& brt>=5  && brt<7  && bdi>=5   && bdi<7 && dn>10 && dn<15  && barx>29.90  && xwet==0 && dpdif>7 && tdif>6 && wmax>18 &&  clo>=2  && dd>25 && tran>26 && rh<48)    																		{var fn = 1548 , fz  = "Glen Allen is now on the back side of a slow moving high pressure giving increasing  temperatures and decreasing relative humidity. " ;} //    JANUARY 22, 2009   04:25 PM
if((tt==3 || tt==4)&& vb<3 	&& brt>5    && bdi>4 && bdi<7      && dn>12 && dn<15 && barx>29.95  	&& xwet==0 && dpdif<4 && tdif<5       && wmax<15                    && dd>7 && tran<15 && rh>60 && sp<=2)    																		{var fn = 1549 , fz  = "A high pressure is now SE of the area and is slowly move away from the area. " ;} //             JUNE 02, 2009   01:00 PM
if((tt==3 || tt==4) && vb<3 && brt>6 		&& bdi<7 && dn>8 && dn<12   && barx<30.00 && xwet==15 && wmax<20 && tdif>-1 && dpdif>0 && clo>3 && dd>5 && rhy>0 && rh>60 && sp<=2	&& tempa>80  )																	{var fn = 1550 , fz  = "A weak high pressure is moving away from the Glen Allen - Springfield Park area and is off the SE VA coast and a cold front is approaching from the west. " ;} //    JUNE 11, 2009   12:50 PM
if((tt==3 || tt==4) && vb<3 && brt>6	&& bdi>5 	&& dn>7 && dn<12	&& barx>30.25 	&& dpdif>9 && tch>1 && tdif>7 && xwet==0    && wmax<10 && clo<3  && dd>18 && tran>20 && sp==2)																			{var fn = 1551 , fz  = "A high pressure is now off the SE coast and slowly moving away from Glenn Allen area. " ;}   //        MARCH 05, 2009   08:32 AM
if((tt==3 || tt==4) && vb<4 && brt>6 	&& bdi>=5 	&& dn>8 && dn<13 	&& barx>30.00 	&& dpdif>-3   	&& tdif>2   && xwet==0    && wmax>13 && clo>2)																						{var fn = 1552 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast and winds have shifted to southerly. " ;}   //      FEBRUARY 17, 2009   04:26 PM
if((tt==3 || tt==4) && vb<3 && brt>6	&& bdi>6 	&& dn>11 && dn<15	&& barx>29.85 	&& dpdif>0                && tdif>0 && xwet==0    && wmax<20 && clo>2  && dd>20 && tran>15 && sp==3)																			{var fn = 1553 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a stationary front is just to our north. " ;}   //   MARCH 08, 2009   01:08 PM
if((tt==3 || tt==4) && vb<3 && brt>6	&& bdi<6 	&& dn>8 && dn<12	&& barx>29.75 	&& dpdif<5                && tdif>0 && xwet==0    && wmax<23 && clo<4  && dd>25 && tran>25 && sp<3 && dsp<3)																			{var fn = 1554 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //    APRIL 05, 2009   01:05 PM
if((tt==3 || tt==4) && vb<3 && brt>6	&& bdi<6 	&& dn>8 && dn<12	&& barx>29.75 	&& dpdif>0                && tdif>0 && xwet==0    && wmax<23 && clo<4  && dd>25 && tran>25 && sp<3 && dsp<3)																			{var fn = 1555 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //    APRIL 05, 2009   01:05 PM
if((tt==3 || tt==4) && vb<3 && brt>6	&& bdi<6 	&& dn>9 && dn<13	&& barx<29.85 	&& dpdif>3                && tdif>0 && xwet==0    && wmax<25 && clo<4  && dd>28 && tran>29 && sp<3 && dsp<3)																			{var fn = 1556 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //    APRIL 05, 2009   01:05 PM
if((tt==3 || tt==4) && vb<4 && brt>6	&& bdi>6 	&& dn>0		                && barx>29.85 	&& dpdif<1                && tdif>4 && xwet==0    && wmax<15 && clo<4  && dd>28 && tran>30 && sp<=3 && dsp<3)																	{var fn = 1557 , fz  = "A high pressure is now off the SE coast and is moving slowly and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //    APRIL 18, 2009   03:41 PM
if((tt==3 || tt==4)&& vb<1&& brt==7 && bdi>4&& bdi<8&& dn>7&& dn<11 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<18 && tdif>1 && tdif<7 && dpdif>3 && dpdif<9 && tempa>40 && dd<36 && rh<50 && rhy>-1 && rhy<9 && tran>20 && tran<28 && sp<3 && clo<4 && dpnow>58 && dpnow<72) 								{var fn = 1558 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area. " ; } // 8/17/09-16:40
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>7&& dn<11 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<20 && tdif>2 && tdif<8 && dpdif>-4 && dpdif<2 && tempa>40 && dd<19 && rh<79 && rhy>-25 && rhy<-5 && tran>8 && tran<17 && sp<3 && clo<6 && dpnow>57 && dpnow<71) 								{var fn = 1559 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area. " ; } // 9/18/09-13:10
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>10&& dn<14 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<20 && tdif>2 && tdif<8 && dpdif>-4 && dpdif<2 && tempa>40 && dd<19 && rh<79 && rhy>-25 && rhy<-5 && tran>8 && tran<17 && sp<3 && clo<6 && dpnow>57 && dpnow<71) 							{var fn = 1560 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area. " ; } // 9/18/09-13:19
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>10&& dn<14 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<20 && tdif>3 && tdif<9 && dpdif>-2 && dpdif<4 && tempa>40 && dd<18 && rh<82 && rhy>-22 && rhy<-2 && tran>8 && tran<17 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 							{var fn = 1561 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area. " ; } // 9/18/09-13:23
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>10&& dn<14 && barx>29.86 && barx<30.06 && xwet==0 && lwet==0 && wmax<22 && tdif>-2 && tdif<4 && dpdif>1 && dpdif<7 && tempa>40 && dd<28 && rh<60 && rhy>-4 && rhy<16 && tran>16 && tran<25 && sp<3 && clo<4 && dpnow>45 && dpnow<59) 							{var fn = 1562 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area and the barometer is falling.  " ; } // 10/5/09-16:58
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>9&& dn<13 && barx>29.79 && barx<29.99 && xwet==0 && lwet==0 && wmax<33 && tdif>9 && tdif<15 && dpdif>15 && dpdif<21 && tempa>71 && tempa<91 && dd<25 && rh<66 && rhy>3 && rhy<23 && tran>17 && tran<26 && sp<4 && clo<4 && dpnow>57 && dpnow<71) 						{var fn = 1563 , fz = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is slowly move away from the area and a distant cold front is approaching. " ; } // 10/9/09-12:40
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>8&& dn<12 && barx>30.04 && barx<30.24 && xwet==0 && lwet==0 && wmax<29 && tdif>5 && tdif<11 && dpdif>7 && dpdif<13 && tempa>52 && tempa<72 && dd<32 && rh<51 && rhy>-5 && rhy<15 && tran>27 && tran<36 && sp<3 && clo<3 && dpnow>31 && dpnow<45) 						{var fn = 1564 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area." ; } // 11/07/09-16:00
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>8&& dn<12 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<29 && tdif>7 && tdif<13 && dpdif>8 && dpdif<14 && tempa>52 && tempa<72 && dd<32 && rh<51 && rhy>-7 && rhy<13 && tran>27 && tran<36 && sp<4 && clo<3 && dpnow>31 && dpnow<45) 						{var fn = 1565 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area." ; } // 11/07/09-16:08
if((tt==3 || tt==4)&& vb<3&& brt==4 && bdi>2&& bdi<6&& dn>8&& dn<12 && barx>30.15 && barx<30.35 && xwet==0 && lwet==0 && wmax<17 && tdif>10 && tdif<16 && dpdif>6 && dpdif<12 && tempa>64 && tempa<84 && dd<34 && rh<49 && rhy>-14 && rhy<6 && tran>29 && tran<38 && sp<3 && clo<2 && dpnow>41 && dpnow<55) 						{var fn = 1566 , fz = "A high pressure is now nearly stationary off the SE coast or slowly retrograding back toward the coast. " ; } // 11/08/09-13:00
if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>2&& bdi<6&& dn>1&& dn<5 && barx>30.15 && barx<30.35 && xwet==0 && lwet==0 && wmax<17 && tdif>10 && tdif<16 && dpdif>5 && dpdif<11 && tempa>65 && tempa<85 && dd<36 && rh<47 && rhy>-16 && rhy<4 && tran>30 && tran<39 && sp<3 && clo<2 && dpnow>40 && dpnow<54) 						{var fn = 1567 , fz = "A high pressure is now nearly stationary off the SE coast or slowly retrograding back toward the coast. " ; } // 11/08/09-13:35
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>5&& dn<9 && barx>30.14 && barx<30.34 && xwet==0 && lwet==0 && wmax<17 && tdif>9 && tdif<15 && dpdif>5 && dpdif<11 && tempa>65 && tempa<85 && dd<37 && rh<46 && rhy>-13 && rhy<7 && tran>30 && tran<39 && sp<3 && clo<2 && dpnow>39 && dpnow<53) 						{var fn = 1568 , fz = "A high pressure is now nearly stationary off the SE coast. " ; } // 11/08/09-13:40
if (tt>3  		  && vb<3 && brt>=5  	&& bdi>3  	&& dn>8 && dn<13 	&& barx>30.00 	&& dpdif>0   	&& tdif>5   && xwet==0    && wmax<20 && clo<3 )																					{var fn = 1572 , fz = "A high pressure is now moving off the coast giving a southern flow and increasing temperatures that is often followed by a cold front in more than 48 hours as features are moving slowly. " ;}
if((tt==3 || tt==4)&& vb<3&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>30.15 && barx<30.35 && xwet==0 && lwet==0 && wmax<17 && tdif>7 && tdif<13 && dpdif>6 && dpdif<12 && tempa>63 && tempa<83 && dd<34 && rh<49 && rhy>-10 && rhy<10 && tran>30 && tran<39 && sp<3 && clo<2 && dpnow>40 && dpnow<54) 					{var fn = 1573 , fz  = "A high pressure is now south or off the SE coast and slowly retrograding back toward the coast. " ; } // 11/08/09-15:43
if((tt==3 || tt==4)&& vb<3&&(brt==3||brt==4)&& bdi>1&& bdi<5&& dn>6&& dn<10 && barx>30.15 && barx<30.35 && xwet==0 && lwet==0 && wmax<17 && tdif>6 && tdif<12 && dpdif>6 && dpdif<12 && tempa>61 && tempa<81 && dd<31 && rh<53 && rhy>-8 && rhy<12 && tran>30 && tran<39 && sp<3 && clo<2 && dpnow>41 && dpnow<55) 					{var fn = 1574 , fz  = "A high pressure is now south or off the SE coast and slowly retrograding back toward the coast. " ; } // 11/08/09-16:14
if((tt==3 || tt==4)&& vb<3&&(brt==7||brt==8)&& bdi>4&& bdi<8&& dn>9&& dn<13 && barx>29.83 && barx<30.03 && xwet==0 && lwet==0 && wmax<22 && tdif>13 && tdif<19 && dpdif>6 && dpdif<12 && tempa>59 && tempa<79 && dd<39 && rh<43 && rhy>-17 && rhy<3 && tran>29 && tran<38 && sp<3 && clo<3 && dpnow>31 && dpnow<45) 					{var fn = 1575 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is slowly move away from the area and a distant cold front is approaching. " ; } // 11/29/09-12:22
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>7&& dn<11 && barx>30.44 && barx<30.64 && xwet==0 && lwet==0 && wmax<24 && tdif>3 && tdif<9 && dpdif>-1 && dpdif<5 && tempa>30 && tempa<50 && dd<37 && rh<40 && rhy>-15 && rhy<5 && tran>21 && tran<30 && sp<4 && clo<6 && dpnow>4 && dpnow<18) 						{var fn = 1576 , fz  = "A high pressure has passed to the SE of Glen Allen and is now SE of the area and is now moving away from the area." ; } // 12/12/09-16:52
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>10&& dn<14 && barx>30.13 && barx<30.33 && xwet==0 && lwet==0 && wmax<10 && tdif>-3 && tdif<3 && dpdif>-1 && dpdif<5 && tempa>36 && tempa<56 && dd<26 && rh<59 && rhy>-7 && rhy<13 && tran>19 && tran<28 && sp<3 && clo<3 && dpnow>21 && dpnow<35) 						{var fn = 1577 , fz = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area and the barometer is falling and a light breeze from the SW. " ; } // 12/23/09-14:15
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>9&& dn<13 && barx>29.92 && barx<30.12 && xwet==0 && lwet==0 && wmax<17 && tdif>3 && tdif<9 && dpdif>-5 && dpdif<1 && tempa>65 && tempa<85 && dd<51 && rh<30 && rhy>-16 && rhy<4 && tran>31 && tran<40 && sp<3 && clo<3 && dpnow>25 && dpnow<39) 						{var fn = 1578 , fz = "A high pressure is now off the SE coast and slowly moving away from Glenn Allen area as the barometer is still steady with a light breeze from the SW." ; } // 03/20/10-13:00
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>11&& dn<16 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<26 && tdif>3 && tdif<9 && dpdif>3 && dpdif<9 && tempa>67 && tempa<87 && dd<49 && rh<32 && rhy>-9 && rhy<11 && tran>33 && tran<42 && sp<3 && clo<3 && dpnow>29 && dpnow<43) 						{var fn = 1579 , fz = "A high pressure is now off the SE coast and moving away from Glenn Allen area as the barometer is now falling. " ; } // 03/20/10-14:44
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<21 && tdif>5 && tdif<11 && dpdif>-3 && dpdif<3 && tempa>70 && tempa<92 && dd<50 && rh<34 && rhy>-17 && rhy<3 && tran>30 && tran<39 && sp<3 && clo<2 && dpnow>46 && dpnow<60) 						{var fn = 1580 , fz =  "A high pressure is the dominant weather feature with favorable weather conditions for " +mn + " with low dew point  temperatures. " ; } // 07/04/10-16:33
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<21 && tdif>5 && tdif<11 && dpdif>-5 && dpdif<1 && tempa>85 && tempa<105 && dd<52 && rh<33 && rhy>-18 && rhy<2 && tran>30 && tran<39 && sp<3 && clo<2 && dpnow>44 && dpnow<58) 						{var fn = 1581 , fz =  "A high pressure is now off the SE coast and is moving very slowly or nearly stationary and giving increasing  temperatures with SW winds. " ; } // 07/04/10-16:54





if((tt==4 || tt==5)&& vb<3 	 	       	&& bdi>5          && dn>10 && dn<14  && barx>29.90  	&& xwet==0 && dpdif>5 && tdif>5       && wmax>18 &&  clo<3  && dd>12 && tran>26 && rh<60)    																		{var fn = 1586 , fz  = "Glen Allen is now on the back side of a slow moving high pressure giving increasing  temperatures and decreasing relative humidity. " ;} //     JANUARY 22, 2009   07:18 PM
if((tt==4 || tt==5)&& vb<3  	&& brt>0 	&& bdi>5            && dn>9 && dn<13  &&barx>30.10 	&& xwet==0 && dpdif<-2 && tdif<0   && wmax>25 && tran>20 	&& clo>2            && tempa>60 && dd>20) 																	{var fn = 1587 , fz  = "A high pressure is now just off the southeast coast giving above average temperatures for the season and increasing cirrus clouds over the Glen Allen area. " ;} //      APRIL 28, 2009   07:55 PM
if ((tt==4 || tt==5) && vb<3 && brt<5 	&& bdi<5 	&& dn>8 && dn<12 	&& barx>30.00 	&& dpdif<0   	&& tdif<0   && xwet>0       && wmax<15 && clo>3)																							{var fn = 1588 , fz  = "A high pressure is now tracking north to south to the east from Glen Allen area. " ;}   //      DECEMBER 18, 2008   07:24 PM
if ((tt==4 || tt==5) && vb<3 && brt>6 	&& bdi>5 	                 		&& barx>30.00 	&& dpdif<0   	&& tdif>0   && xwet==0    && wmax>13 && clo>2)																						{var fn = 1589 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast. " ;}   //        FEBRUARY 17, 2009   06:04 PM
if ((tt==4 || tt==5) && vb<3 && brt>=5 	&& bdi>5 	&& dn>7 && dn<12	&& barx>30.00 	&& dpdif<2   	&& tdif>0 && xwet==0    && wmax>13 && clo>1)																							{var fn = 1590 , fz  = "A high pressure is now SE of the Glen Allen area and moving off the coast. " ;}   //        FEBRUARY 17, 2009   07:04 PM
if ((tt==4 || tt==5) && vb<3             	 	&& bdi>5 	&& dn>6 && dn<11	&& barx>30.00 	&& dpdif<2   	&& tdif>0 && xwet==0    && wmax>13 && clo>1)																						{var fn = 1591 , fz  = "A high pressure is now off the SE coast and slowly moving away from Glenn Allen area. " ;}   //        FEBRUARY 17, 2009   09:04 PM
if ((tt==4 || tt==5) && vb<3 && brt<=5	&& bdi>5 	&& dn>7 && dn<12	&& barx>30.20 	&& dpdif>4 && tch<0 && tdif>7 && xwet==0    && wmax<16 && clo<4  && dd>10 && tran>28 && sp==2)																			{var fn = 1592 , fz  = "A high pressure is now off the SE coast and slowly moving away from Glenn Allen area.  " ;}   //        MARCH 05, 2009   08:32 AM
if ((tt==4 || tt==5) && vb<3 && brt<=5	&& bdi>5 	&& dn>8 && dn<12	&& barx>29.95 	&& dpdif>0 && tch<0 && tdif>3 && xwet==0    && wmax<20 && clo>2  && dd>13 && tran>25 && sp==2)																			{var fn = 1593 , fz  = "A high pressure is now off the SE coast and is nearly stationary and a low pressure is located to the west on a SW to NE diagonal stationary front. " ;}   //       MARCH 07, 2009   09:58 AM
if ((tt==4 || tt==5) && vb<3 && brt>=5	&& bdi>6 	&& dn>13 && dn<16	&& barx>29.85 	&& dpdif<3                && tdif>1 && xwet==0    && wmax<15 && clo<5  && dd>28 && tran>30 && sp<=3 && dsp<3)																		{var fn = 1594 , fz  = "A high pressure is now off the SE coast and is moving slowly and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //      APRIL 18, 2009   07:17 PM
if((tt==4 || tt==5)&& vb<3&& brt==6 && bdi>3&& bdi<7&& dn>9&& dn<13 && barx>29.87 && barx<30.07 && xwet==0 && lwet==0 && wmax<22 && tdif>-2 && tdif<4 && dpdif>2 && dpdif<8 && tempa>40 && dd<18 && rh<80 && rhy>0 && rhy<20 && tran>16 && tran<25 && sp<2 && clo<5 && dpnow>48 && dpnow<62) 								{var fn = 1595 , fz  = "A high pressure is now south or off the SE coast and slowly moving away from Glenn Allen area and the barometer is falling.  " ; } // 10/5/09-19:07
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>5&& bdi<9&& dn>8&& dn<12 && barx>30.06 && barx<30.26 && xwet==0 && lwet==0 && wmax<29 && tdif>8 && tdif<14 && dpdif>6 && dpdif<12 && tempa>46 && tempa<66 && dd<26 && rh<61 && rhy>-12 && rhy<8 && tran>27 && tran<36 && sp<3 && clo<3 && dpnow>31 && dpnow<45) 						{var fn = 1596 , fz  = "A high pressure is now off the SE coast and is nearly stationary or retrograding back toward the coast as the pressure is rising. " ; } // 11/07/09-18:20
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>7&& dn<11 && barx>30.21 && barx<30.41 && xwet==0 && lwet==0 && wmax<17 && tdif>-1 && tdif<5 && dpdif>7 && dpdif<13 && tempa>47 && tempa<67 && dd<16 && rh<84 && rhy>10 && rhy<30 && tran>30 && tran<39 && sp<3 && clo<3 && dpnow>42 && dpnow<56) 						{var fn = 1597 , fz  = "A high pressure is now off the SE coast and is nearly stationary or retrograding back toward the coast as the pressure is rising. " ; } // 11/08/09-19:10



if (tt<6 		  && vb==3 && brt>5    	&& bdi<9		&& dn>7 && dn<12	&& barx>30.00	&& dpdif>5	&& tdif>5   && xwet==0  && wmax<15  && clo<6    && bc<0.10)																			{var fn = 1663 , fz  = "A high pressure is now SE of the Glen Allen area. " ;}  //   MAY 27, 2007   01:35 PM
if (tt<6		  && vb==3 && brt>5    	&& bdi<9		&& dn>3 && dn<12	&& barx>30.00	&& dpdif>9	&& tdif>5   && xwet==0   && wmax<20 && clo>2    && bc<0.10 )																			{var fn = 1664 , fz  = "A high pressure is now SE of the Glen Allen area. " ;}
if (tt<6  		  && vb<3 && brt>5  	&& bdi<5  	&& dn>3 && dn<12 	&& barx>30.00                      	&& tdif>0   && xwet==0   && wmax<10 && clo<3 )																						{var fn = 1665 , fz  = "A high pressure is now SE of the Glen Allen area and starting to move off the coast. " ;}
if ((tt==5 || tt==1) && vb<3 && brt>0	&& bdi>6 	&& dn>8 && dn<12	&& barx>29.85 	&& dpdif<2                && tdif>3 && xwet==0    && wmax<15 && clo<5  && dd>15 && tran<36 && sp<=3 && dsp<4)																		{var fn = 1666 , fz  = "A high pressure is now off the SE coast and is moving slowly  and a distant low pressure is located to the west are pulling a warm southern flow between the two systems. " ;}   //      APRIL 18, 2009   07:17 PM
if((tt==5 || tt==1)&& vb<3&& brt==5 && bdi>1&& bdi<5&& dn>9&& dn<13 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<14 && tdif>-2 && tdif<4 && dpdif>6 && dpdif<12 && tempa>40 && dd<22 && rh<70 && rhy>5 && rhy<25 && tran>23 && tran<32 && sp<4 && clo<5 && dpnow>42 && dpnow<56) 							{var fn = 1667 , fz  = "A high pressure is now starting to move SE of the area. " ; } // 10/8/09-20:53
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>8&& dn<12 && barx>30.23 && barx<30.43 && xwet==0 && lwet==0 && wmax<17 && tdif>-2 && tdif<4 && dpdif>7 && dpdif<13 && tempa>44 && tempa<64 && dd<14 && rh<91 && rhy>14 && rhy<34 && tran>30 && tran<39 && sp<4 && clo<3 && dpnow>41 && dpnow<55) 						{var fn = 1668 , fz  = "A high pressure is now off the SE coast and is nearly stationary or retrograding back toward the coast as the pressure is rising. " ; } // 11/08/09-20:50


//          1hrs                      S          HP MOVING AWAY AND PASS TO THE SOUTH
//  BAR>30.00   AND   BRT>5
// VB CAN BE BOTH 2 OR 3
if(tt==1   	&& vb<4   	&& brt> 0	&& bdi>0		&&  barx>=30.00 && barx<=30.15 	&& xwet==0			&& wmax<8 	 && sr>130    			   && (mm<4 || mm>9))  																{var fn = 1670 , fz  = "A weak high pressure is building into Central Virginia as the pressure gradient is small and wind speeds are light this morning. " ;}
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>11&& dn<15 && barx>29.95 && barx<30.15 && xwet==0 && lwet==0 && wmax<12 && tdif>-4 && tdif<2 && dpdif>-6 && dpdif<0 && tempa>40 && dd<13 && rh<94 && rhy>-10 && rhy<0 && tran>6 && tran<14 && sp<3 && clo<2) 										{var fn = 1671 , fz = "A high pressure is to the south of Central Virginia and a low is located the the north, both are working to pull a westerly flow over the Glen Allen area. " ; } // 8/10/09-7:35
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>11&& dn<15 && barx>29.95 && barx<30.15 && xwet==0 && lwet==0 && wmax<12 && tdif>0 && tdif<6 && dpdif>-5 && dpdif<1 && tempa>40 && dd<17 && rh<83 && rhy>-18 && rhy<-8 && tran>6 && tran<14 && sp<3 && clo<2) 										{var fn = 1672 , fz = "A high pressure is to the south of Central Virginia and a low is located the the north, both are working to pull a westerly flow over the Glen Allen area." ; } // 8/10/09-8:29


if(tt==2   	&& vb<4 	&& brt> 0	&& bdi>0	 && dn>7&& dn<12	 &&  barx>=30.00 && barx<30.15 	&& xwet==0			&& wmax<10 && sr>180    			   && (mm<4 || mm>9))  																	{var fn = 1682 , fz  = "A weak high pressure is in a southerly direction from Central Virginia. " ;}
if((tt==2 || tt==3)&& vb<4 	&& brt < 5 	&& bdi>7              && dn>7 && dn<11  && barx>30.00  	&& xwet >  0 && dpdif>0  && tdif>0    && wmax>10 && clo>3 )    																					{var fn = 1683 , fz  = "A weak high pressure is in a southerly direction from Central Virginia and moving toward the East Coast. " ;}
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>12&& dn<16 && barx>29.94 && barx<30.14 && xwet==0 && lwet==0 && wmax<12 && tdif>1 && tdif<7 && dpdif>-4 && dpdif<2 && tempa>40 && dd<25 && rh<67 && rhy>-15 && rhy<-5 && tran>15 && tran<23 && sp<3 && clo<4) 										{var fn = 1684 , fz = "A high pressure is to the south of Central Virginia and a low is located the the north, both are working to pull a westerly flow over the Glen Allen area." ; } // 8/10/09-10:07
if((tt==2 || tt==3)&& vb<3 	                   	                            && dn>7 && dn<12  && barx>30.00  	&& xwet==0 && dpdif>0  && tdif>8       && wmax<15 &&  clo>3  && dd>16 && tran>12)    																			{var fn = 1685 , fz  = "Glen Allen is now starting to enter the back side of a high pressure and the winds are now in a southerly direction.  " ;}
if((tt==2 || tt==3)&& vb<4 	&& brt>5       	                            			  && barx>30.00  	&& xwet==0 && dpdif>2  && tdif>5       && wmax<15 &&  clo>=3  && dd>20 && tran>19)    																			{var fn = 1686 , fz  = "Glen Allen is now starting to enter the back side of a high pressure and increasing  temperatures and  cirrus clouds.  " ;}



if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<20 && tdif>-2 && tdif<4 && dpdif>-1 && dpdif<5 && tempa>40 && dd<28 && rh<62 && rhy>-3 && rhy<7 && tran>14 && tran<22 && sp<3 && clo<4 && dpnow>64 && dpnow<78) 							{var fn = 1696 , fz = "A high pressure ridge is now south of the area with a west to east axis than is causing a west flow on its north side and is slowly move away from the area." ; } // 8/18/09-12:30
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>29.97 && barx<30.17 && xwet==0 && lwet==0 && wmax<20 && tdif>-1 && tdif<5 && dpdif>3 && dpdif<9 && tempa>40 && dd<29 && rh<61 && rhy>2 && rhy<12 && tran>15 && tran<23 && sp<3 && clo<4 && dpnow>65 && dpnow<79) 							{var fn = 1697 , fz = "A high pressure ridge is now south of the area with a west to east axis than is causing a west flow on its north side and is slowly move away from the area." ; } // 8/18/09-12:51
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>29.94 && barx<30.14 && xwet==0 && lwet==0 && wmax<20 && tdif>0 && tdif<6 && dpdif>0 && dpdif<6 && tempa>40 && dd<34 && rh<53 && rhy>-4 && rhy<6 && tran>18 && tran<26 && sp<3 && clo<4 && dpnow>63 && dpnow<77) 								{var fn = 1698 , fz = "A high pressure ridge is now south of the area with a west to east axis than is causing a west flow on its north side and is slowly move away from the area." ; } // 8/18/09-14:58



if((tt==4 || tt==5)&& vb<4 	&& brt>=5 	&& bdi>0	             && dn>10 && dn<15 && barx>30.20  	&& xwet==0 && dpdif>8  && tdif>7    && wmax>10 && clo>3 )    																					{var fn = 1705 , fz  = "A high pressure is in a southerly direction from Central Virginia and moving toward the East Coast. " ;}
if((tt==4 || tt==5)&& vb<4 	&& brt>=5 	&& bdi<5            && dn>7 && dn<12    && barx>30.00  	&& xwet==0 && dpdif<3  && tdif>-1    && wmax>10 &&  clo>3  && dd>11 && tran>17)    																			{var fn = 1706 , fz  = "A high pressure has moved to an easterly direction from Central Virginia and is moving off the East Coast.   " ;}
if((tt==4 || tt==5)&& vb<4 	&& brt>0 	&& bdi<5            && dn>7 && dn<12    && barx>30.00  	&& xwet==0 && dpdif<3  && tdif<3    && wmax>10 &&  clo>3  && dd>10 && tran>17)    																				{var fn = 1707 , fz  = "A high pressure has moved to an easterly direction from Central Virginia and is moving off the East Coast.   " ;}
if((tt==4 || tt==5)&& vb<3 	&& brate<0	&& bdi<4          && dn>5 && dn<10  && barx>30.35  	&& xwet==0 && dpdif<0 && tdif<0       && wmax>14 &&  clo<3  && dd>11 && tran>12 && rh<65)    																		{var fn = 1708 , fz  = "A high pressure is passing to the south of Glen Allen and is starting to move away from the area as the pressure has started to fall. " ;} //       FEBRUARY 05, 2009   09:26 PM
if((tt==4 || tt==5)&& vb<3 	             	                 && bdi>4          && dn>10 && dn<15  && barx>30.20  	&& xwet==0 && dpdif>8 && tdif>8       && wmax>14 &&  clo<3  && dd>11 && tran>28 && rh<65)    																		{var fn = 1709 , fz  = "A high pressure has passed to the south of Glen Allen and is now SE of the area and is move away from the area. " ;} //         FEBRUARY 06, 2009   09:27 PM


if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>3&& bdi<7&& dn>10&& dn<14 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<22 && tdif>-4 && tdif<2 && dpdif>2 && dpdif<8 && tempa>40 && dd<11 && rh<98 && rhy>7 && rhy<27 && tran>16 && tran<25 && sp<2 && clo<2 && dpnow>49 && dpnow<63) 							{var fn = 1715 , fz  = "A weak high pressure is in a southerly direction from Central Virginia and the barometer is still rising." ; } // 10/5/09-21:47


if(tt<6  		&&vb<4 		&& brt<=5  	&& bc>0.20    && dn>7 && dn<12 && barx>30.10     	&& xwet==0 && dpdif>1  && tdif>1    && wmax>3 	 && clo<4  )    																				{var fn = 1725 , fz  = "A weak high pressure is in a southerly direction from Central Virginia. " ;}
if(tt<6  		&&vb<4 		&& brt<=5  	&& bc>0.20    && dn>9 && dn<13	&& barx>30.10      && xwet==0 && dpdif>1  && tdif>1    && wmax<10 && clo<4 )    																				{var fn = 1726 , fz  = "A high pressure is in a southerly direction from Central Virginia. " ;}





//          1hrsw                 SW         HP MOVING AWAY AND PASS TO THE SOUTH
if((tt==1|| tt==2)&& vb<3 && brt<4     && bdi>5    && (dn>14 || dn<3)		&& xwet==0  && barx<30.20  	&& dpdif<-7  && clo<3   	&& wmax>12 && tran>8  	&& tdif<0    && dd>9 	&& rhy<-20 ) 					              												{var fn = 1734 , fz = "A  high pressure that was SW of the area is now and is starting to move away from the Glen Allen area and a cold front is near the Glen Allen Area. " ;}//     JANUARY 14, 2009   07:15 AM
if((tt==1 || tt==2)&& vb<3   	&& brt<4   	 && bdi<3          && dn>11&& dn<15  && barx<29.95  	&& xwet==0 && dpdif<-13 && tdif<-10   && wmax<20                   && dd<15 && tran<10 && rh<80  && sp==3 && ymw==15)    															{var fn = 1735 , fz  = "A high pressure to the SW will pass to the south of Glen Allen and a NE deep low pressures is tracking NE away from the area. " ;} //       MARCH 30, 2009   07:37 AM
if((tt==1 || tt==2)&& vb<3   	&& brt<4  	 && bdi<2          && dn>11&& dn<15  && barx<29.95  	&& xwet==0 && dpdif<-15 && tdif<-10   && wmax<20                   && dd>15 && tran<10 && rh<70  && sp==4 && ymw==15)    															{var fn = 1736 , fz  = "A high pressure to the SW will pass to the south of Glen Allen and a NE deep low pressures is tracking NE away from the area. " ;} //       MARCH 30, 2009   08:37 AM
if((tt==1 || tt==2)&& vb<3   	&& brt<4   	 && bdi<3           && dn>11 && dn<15  && barx>29.90  	&& xwet==0 && dpdif<-16 && tdif<-11   && wmax<15                   && dd>10 && tran<15 && rh<-25)    																		{var fn = 1737 , fz  = "A high pressure is now SW of the area and is moving eastward and will pass south of the Glen Allen area. " ;} //          FEBRUARY 20, 2009   07:45 AM
if((tt==1 || tt==2)&& vb<3&& brt==6 && bdi>6&& bdi<10&& dn>11&& dn<15 && barx>30.00 && barx<30.20 && xwet==0 && lwet==0 && wmax<13 && tdif>2 && tdif<8 && dpdif>0 && dpdif<6 && tempa>45 && tempa<65 && dd<13 && rh<92 && rhy>-15 && rhy<5 && tran>5 && tran<14 && sp<4 && clo<3 && dpnow>43 && dpnow<57) 						{var fn = 1738 , fz  = "A high pressure that  was SW of the area has moved eastward and passed south of the Glen Allen area as the pressure is falling and will be followed by a cold front. " ; } // 10/13/09-8:56
if((tt==1 || tt==2)&& vb<3&& brt==2 && bdi>-2&& bdi<2&& dn>13&& dn<17 && barx>30.18 && barx<30.38 && xwet==0 && lwet==0 && wmax<12 && tdif>-17 && tdif<-11 && dpdif>-19 && dpdif<-13 && tempa>15 && tempa<35 && dd<25 && rh<58 && rhy>-16 && rhy<4 && tran>0 && tran<9 && sp<7 && clo<5 && dpnow>1 && dpnow<15)						{var fn = 1739 , fz  = "A high pressure is SW of the area and is building into the Glen Allen area as a low pressure in the NE  is moving away from the area thus causing a  rapid rise in the air pressure and a NW flow of cold air. " ; } // 12/11/09-7:49


if((tt==2 || tt==3)&& vb<3   	&& brt<4  	 && bdi<2          && dn>11&& dn<15  && barx<29.95  	&& xwet==0 && dpdif<-18 && tdif<-7   && wmax<25                   && dd>20 && tran>10 && rh<50  &&(sp==4 ||sp==5)&& ymw==15)    															{var fn = 1744 , fz  = "A high pressure to the SW will pass to the south of Glen Allen and a NE deep low pressures is tracking NE away from the area. " ;} //       MARCH 30, 2009   10:37 AM
if((tt==2 || tt==3)&& vb<3   	&& brt<=5   	 && bdi<3           && dn>12 && dn<15  && barx>29.90  	&& xwet==0 && dpdif<-10 && tdif<-7   && wmax>15                   && dd>15 && tran>15 && rh<-5)    																		{var fn = 1745 , fz  = "A high pressure is now SW of the area and is moving eastward and will pass south of the Glen Allen area. " ;} //          FEBRUARY 20, 2009   12:05 AM
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>6&& bdi<10&& dn>11&& dn<15 && barx>30.00 && barx<30.20 && xwet==0 && lwet==0 && wmax<13 && tdif>2 && tdif<8 && dpdif>0 && dpdif<6 && tempa>47 && tempa<67 && dd<14 && rh<90 && rhy>-17 && rhy<3 && tran>6 && tran<15 && sp<4 && clo<4 && dpnow>44 && dpnow<58) 						{var fn = 1746 , fz  = "A high pressure that  was SW of the area has moved eastward and passed south of the Glen Allen area as the pressure is falling and will be followed by a cold front." ; } // 10/13/09-9:04
if((tt==2 || tt==3)&& vb<3&&(brt==6||brt==7)&& bdi>-2&& bdi<2&& dn>11&& dn<15 && barx>30.23 && barx<30.43 && xwet==0 && lwet==0 && wmax<26 && tdif>-13 && tdif<-7 && dpdif>-17 && dpdif<-11 && tempa>26 && tempa<46 && dd<35 && rh<42 && rhy>-18 && rhy<2 && tran>8 && tran<17 && sp<6 && clo<5 && dpnow>2 && dpnow<16) 					{var fn = 1747 , fz  = "A high pressure that  is SW of the Glen Allen area is moving toward the NE and the pressure is falling as the strong NW flow across the mountain has created a trough on the lee side of the mountains. " ; } // 12/11/09-11:12
if((tt==2 || tt==3)&& vb<3&&(brt==6||brt==7)&& bdi>-2&& bdi<2&& dn>11&& dn<15 && barx>30.21 && barx<30.41 && xwet==0 && lwet==0 && wmax<26 && tdif>-16 && tdif<-10 && dpdif>-20 && dpdif<-14 && tempa>24 && tempa<44 && dd<36 && rh<40 && rhy>-19 && rhy<1 && tran>8 && tran<17 && sp<6 && clo<5 && dpnow>-1 && dpnow<13) 					{var fn = 1748 , fz  = "A high pressure that  is SW of the Glen Allen area is moving toward the NE and the pressure is falling as the strong NW flow across the mountain has created a trough on the lee side of the mountains.   " ; } // 12/11/09-11:57


if((tt==3 || tt==4)&& vb<4 	&& brt>6    && bdi>2 && bdi<5      	&& (dn>15 || dn<3)   && barx<29.99  		&& xwet==0 && dpdif<4 && tdif<6       	&& wmax<15                    && dd>15 && tran>14 && rh<60 && sp<=2)    															{var fn = 1755 , fz  = "A high pressure is now located to the SW of the area and is slowly move away from the area and a low pressure is to the east giving a northerly flow. " ;} //               JUNE 25, 2009   01:30 PM
if((tt==3 || tt==4)&& vb<3 	&& brt>6    && bdi>2 && bdi<7      	&& (dn>11 || dn<1)   && barx<29.90  		&& xwet==0 && dpdif>3 && tdif<3       	&& wmax<18                    && dd>13 && tran>15 && rh>50 && sp<=3)    															{var fn = 1756 , fz  = "A weak high pressure is now located to the SW of the area and is slowly move away from the area. Expect increasing  temperatures often followed by a cold front.  " ;}  //                 JUNE 26, 2009   12:51 PM
if((tt==3 || tt==4)&& vb<3   	&& brt<=5  	 && bdi<3          	&& dn>12&& dn<16  && barx<29.95  		&& xwet==0 && dpdif<-17 && tdif<-7   	&& wmax<25 &&  clo<5  && dd>18 && tran>14 && rh<45  &&(sp==4 ||sp==5)&& ymw==15)    													{var fn = 1757 , fz  = "A high pressure to the SW will pass to the south of Glen Allen and a NE deep low pressures is tracking NE away from the area. " ;} //       MARCH 30, 2009   12:27 AM
if((tt==3 || tt==4)&& vb<3  	&& brt==7     	&& bdi==7        	&& dn>11 && dn<15 &&barx<29.75		&& xwet==0 && dpdif<-2  && clo<4     	 && wmax<20  && tran>15 && tdif<5     && dd>20    && tempa>60 && rhy<-8) 															{var fn = 1758 , fz = "A weak high pressure located to the SW is now moving away from the  the Glen Allen area after a weak cold frontly passage less than 24 hours ago.  Lower relative humidity and mostly clear skies will give a larger  temperature range today and breezy conditions.  " ;}  //       JUNE 29, 2009   12:55 PM
if((tt==3 || tt==4)&& vb<3  	&& brt==7     	&& bdi<5         	&& dn>11 && dn<15 &&barx<30.10		&& xwet==0 && dpdif<0  && clo>3     	 && wmax<20  && tran>20 && tdif>1     && dd>18    && tempa>60 && rhy<0) 															{var fn = 1759 , fz = "A weak high pressure located to the SW is now moving away from the  the Glen Allen area.  " ;}  //       JULY 04, 2009   01:58 PM
if((tt==3 || tt==4)&& vb<3	&& brt==4 	&& bdi<2		&& dn>10&& dn<14 && barx>30.21 && barx<30.41 	&& xwet==0 && lwet==0 		&& wmax<26 && tdif>-14 && tdif<-8 && dpdif>-18 && dpdif<-12 && tempa>25 && tempa<45 && dd<36 && rh<40 && rhy>-18 && rhy<2 && tran>9 && tran<18 && sp<6 && clo<5 && dpnow>0 && dpnow<14) 		{var fn = 1760 , fz = "A high pressure located to the SW is now moving toward the  the Glen Allen area. " ; } // 12/11/09-12:28
if((tt==3 || tt==4)&& vb<3	&& brt==3 	&& bdi<3		&& dn>11&& dn<15 && barx>30.24 && barx<30.44 	&& xwet==0 && lwet==0 		&& wmax<26 && tdif>-12 && tdif<-6 && dpdif>-14 && dpdif<-8 && tempa>24 && tempa<44 && dd<33 && rh<44 && rhy>-15 && rhy<5 && tran>9 && tran<18 && sp<6 && clo<5 && dpnow>2 && dpnow<16) 			{var fn = 1761 , fz = "A high pressure is SW of the area and is building into the Glen Allen area as a low pressure in the NE  is moving away from the area thus causing a rise in the air pressure and a NW flow of cold air. " ; } // 12/11/09-16:31
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>11&& dn<15 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<20 && tdif>-3 && tdif<3 && dpdif>-5 && dpdif<1 && tempa>86 && tempa<106 && dd<38 && rh<48 && rhy>-13 && rhy<7 && tran>19 && tran<28 && sp<3 && clo<5 && dpnow>59 && dpnow<73) 						{var fn = 1762 , fz = "A high pressure is the dominant weather feature with hot conditions but with moderate dew point  temperatures. " ; } // 06/23/10-15:07





if((tt==4 || tt==5)&& vb<3   	&& brt<4  	 && bdi<2         && dn>10&& dn<14  && barx<30.00 	&& xwet==0 && dpdif<-10 && tdif<-7   && wmax<25 &&  clo<5  && dd>25 && tran>20 && rh<40  &&(sp==4 ||sp==5)&& ymw==15)    															{var fn = 1769 , fz  = "A high pressure to the WSW will pass to the south of Glen Allen and a NE deep low pressures is tracking NE away from the area. " ;} //     MARCH 30, 2009   05:54 PM
if((tt==4 || tt==5)&& vb<4 	&& brt<4 	&& bdi<4            && dn>12                   && barx>29.75  	&& xwet==0 && dpdif<-9  && tdif<-4    && wmax>20 &&  clo<4  && dd>10 && tran<15)    																				{var fn = 1770 , fz  = "A high pressure is starting to build in from the SW direction toward Central Virginia and a low pressure is moving off the East Coast.   " ;}
if((tt==4 || tt==5)&& vb<3   	&& brt<4   	 && bdi<3           && dn>12 && dn<15  && barx>30.00  	&& xwet==0 && dpdif<0 && tdif<0   && wmax>15                   && dd>18 && tran>18 && rh<5)    																		{var fn = 1771 , fz  = "A high pressure is now SW of the area and is moving eastward and will pass south of the Glen Allen area. " ;} //       FEBRUARY 20, 2009   08:04 PM
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>-1&& bdi<3&& dn>11&& dn<15 && barx>30.27 && barx<30.47 && xwet==0 && lwet==0 && wmax<26 && tdif>-12 && tdif<-6 && dpdif>-10 && dpdif<-4 && tempa>21 && tempa<41 && dd<29 && rh<51 && rhy>-7 && rhy<13 && tran>9 && tran<18 && sp<6 && clo<3 && dpnow>3 && dpnow<17) 						{var fn = 1772 , fz =  "A high pressure is SW of the area and is building into the Glen Allen area as a low pressure in the NE  is moving away from the area thus causing a rise in the air pressure and a west to NW  flow of cold air. " ; } // 12/11/09-17:53
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>-1&& bdi<3&& dn>10&& dn<14 && barx>30.29 && barx<30.49 && xwet==0 && lwet==0 && wmax<26 && tdif>-10 && tdif<-4 && dpdif>-5 && dpdif<1 && tempa>20 && tempa<40 && dd<28 && rh<53 && rhy>-3 && rhy<17 && tran>9 && tran<18 && sp<6 && clo<2 && dpnow>3 && dpnow<17) 						{var fn = 1773 , fz = "A high pressure is SW of the area and is building into the Glen Allen area as a low pressure in the NE  is moving away from the area thus causing a rise in the air pressure and a west to NW  flow of cold air." ; } // 12/11/09-19:31




if((tt==5 || tt==1)&& vb<3   	&& brt<3   	 && bdi<3           && dn>12 && dn<15  && barx>30.00  	&& xwet==0 && dpdif<5 && tdif<1   && wmax>15                   && dd>18 && tran>18 && rh<15)    																		{var fn = 1780 , fz  = "A high pressure is now SW of the area and is moving eastward and will pass south of the Glen Allen area. " ;} //       FEBRUARY 20, 2009   08:54 PM
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>-1&& bdi<3&& dn>10&& dn<14 && barx>30.32 && barx<30.52 && xwet==0 && lwet==0 && wmax<26 && tdif>-7 && tdif<-1 && dpdif>-6 && dpdif<0 && tempa>19 && tempa<39 && dd<27 && rh<54 && rhy>-9 && rhy<11 && tran>9 && tran<18 && sp<6 && clo<2 && dpnow>3 && dpnow<17) 						{var fn = 1781 , fz  = "A high pressure is SW of the area but is now near Virginia and is building into the Glen Allen area causing a rise in the air pressure with a very light westward  flow as the high pressure center draws near." ; } // 12/11/09-21:00





//1hro    HIGH PRESSURES    OVER THE VA AREA               - WIND DIRECTION NOT DEFINING but less than 10 mph
// VB can be most anything
//BRT generally 5 or near 5

if(		vb<4  		&& brt==5 	&&  bdi>3 && bdi<=5 && barx>30.20	  			&& xwet==0 && wmax<10						&& clo<4 )																{var fn = 1788 , fz = "A high pressure is near or over the Glen Allen area now. " ;}
if(		vb<4 		&& brt==5 	&&  bdi>3 && bdi<=5 && barx>30.20  			&& xwet==0 && wmax<10				&& clo<4 )																			{var fn = 1789 , fz = "A high pressure is near or over the Glen Allen area now. " ;}
if(		vb<4 		&& brt==5 	&&  bdi>3 && bdi<5   && barx>30.20   && dn>10 && dn<14  	&& xwet==0 && wmax<5  		               && dpdif<-10 		&& clo<3 	&& rh<40  ) 																{var fn = 1790 , fz = "A high pressure is near or over the Glen Allen area but is now starting to move away from the area. " ;}
if(		vb<4 		&& brt==5 	&&  bdi>3 && bdi<5    && barx>30.20  && dn>10 && dn<14  	&& xwet==0 && wmax<5  						&& clo<4 	&& rh>40 && tran>20) 															{var fn = 1791 , fz = "A high pressure is near or over the area and clouds are the result of warmer air being pulled in aloft over cooler air. The high pressure starting to move away from the Glen Allen area. " ;}
if (		vb<3                       && brt<4    	&&  bdi>3 && bdi<5    && barx>30.20   			&& xwet==0 && wmax<10       && rh<60  	&& dpdif>0  		&& clo<4		&& tdif>0  )   															{var fn = 1792 , fz = "A  high pressure is in transition ,as indicated by the wind direction, it will soon pass the area and be east of the area. ";}  //  FEBRUARY 21, 2009   08:23 AM
if((tt==1 || tt==2)&& vb<4 && brt>3 && brt<=5 	&&  bdi>3 && bdi<5    && barx>30.20  && dn>11 && dn<15 	&& xwet==0 && wmax<20 	     && tdif>0           && dpdif<-4 	                && clo<4 	&& dd<10  && dewh <15 )																{var fn = 1793 , fz = "A high pressure located to the southwest of  Virginia and is still building into the Glen Allen area. " ;}  //  FEBRUARY 20, 2009   08:48 AM
if((tt==1 || tt==2)&& vb<4  	&& brt<4 	&&  bdi<4  					&& xwet==0 && wmax<5				&& clo<4   	&& dewh==15)																			{var fn = 1794 , fz = "A high pressure is now building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<4  	&& brt<4 	&&  bdi<4  					&& xwet==0 && wmax<10				&& clo<4   	&& dewh==15)																			{var fn = 1795 , fz = "A high pressure is now building into the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<4 	&& brt==5 	&&  bdi<=5  		&& barx<30.10	&& xwet==0 && wmax<7				&& clo<4 )																					{var fn = 1796 , fz = "A weak high pressure is now building into the Glen Allen area and the pressure will start to fall as the high becomes more distant. " ;}
if((tt==1 || tt==2)&& vb<4 	&& brt<5 	&&  bdi<4   && dn>8 && dn<12  			&& xwet==0 && wmax<10 	&& tdif<-5 		&& clo>3 	&& rh>40  ) 																				{var fn = 1797 , fz = "A high pressure is near or over the Glen Allen area and clouds are the result of warmer air being pulled in aloft over cooler air. " ;}
if((tt==1 || tt==2)&& vb<4 	&& brt>=5 	&&  bdi>5   && dn<5  		&& barx>30.10 	&& xwet==0 && wmax<10	&& tdif<-2 && dpdif<-4   	&& clo<3 	&& rh>50 ) 																			{var fn = 1798 , fz = "A high pressure now over the area has started to move off. " ;} //    DECEMBER 06, 2008   08:34 AM
if((tt==1 || tt==2)&& vb<4 	&& brt>=5 	&&  bdi>5   && dn<7  		&& barx>30.10 	&& xwet==0 && wmax<10	&& tdif<-2 && dpdif<-4   	&& clo>=3 	&& rh>50 ) 																		{var fn = 1799 , fz = "A high pressure now over the area has started to move off giving increasing cloudiness. " ;} //     DECEMBER 06, 2008   09:11 AM
if((tt==1 || tt==2)&& vb<4 	&& brt>=5 	&&  bdi>5   && dn>7 && dn<12  	&& barx>30.10 	&& xwet==0 && wmax<10	&& tdif<-4 && dpdif<0   	&& clo>=3 	&& rh>50 ) 																		{var fn = 1800 , fz = "A high pressure now over the area has started to move off giving increasing cloudiness. " ;} //     DECEMBER 06, 2008   09:11 AM
if((tt==1 || tt==2)&& vb==3         && (brt==4||brt==5)	&&  bdi<5   &&  dn<5 		&& barx>30.20   	&& xwet==0 && wmax<15 	&& tdif<-10 && dpdif<-8    	&& clo<3 	&& rh>45 ) 																		{var fn = 1801 , fz = "A high pressure now over the area and should start to move off to the east and expect increasing cloudiness.  The backing wind indicates a low pressure may be developing on the cold front that passed to the south yesterday. If the pressure begins a rapid fall then precipitation may occur particularly to the SE coast. " ;} //         JANUARY 25, 2009   8:35 AM
if((tt==1 || tt==2)&& vb==3         && brt<4		&&  bdi<5   &&  dn<5 		&& barx>30.20   	&& xwet==0 && wmax<15 	&& tdif<-10 && dpdif<-8    	&& clo<3 	&& rh>45 ) 																		{var fn = 1802 , fz = "A fast high pressure now building over the area and should start to move off to the east within 48 hours and expect increasing cloudiness.  " ;} //   December 6, 2009   7:35 AM
if((tt==1 || tt==2)&& vb==3	&& brt<=4	&&  bdi<5   &&  dn<5 		&& barx>30.20   	&& xwet==0 && wmax<15 	&& tdif<-10 && dpdif<-8    	&& clo>3 	&& rh>45 ) 																			{var fn = 1803 , fz = "A northern high pressure tracking eastwarn is now centered at its closest point north of the area. As the high pressures starts its move away from the area expect increasing cloudiness.  The backing wind indicates a low pressure may be developing on the cold front that passed to the south yesterday. If the pressure begins a rapid fall then precipitation may occur particularly to the SE coast. " ;} //         JANUARY 25, 2009  10:35 AM    MARCH 10, 2009   08:24 AM
if((tt==1 || tt==2)&& vb<1		&& brt<=5 	&&  bdi<5   &&  dn<5 		&& barx>30.20   	&& xwet==0 && wmax<15 	&& tdif<-10 && dpdif<-8    	&& clo>3 	&& rh>45 ) 																		{var fn = 1804 , fz = "A high pressure now over the area and should start to move off to the east and expect increasing cloudiness. " ;} //         JANUARY 25, 2009  10:45 AM
if((tt==1 || tt==2)&& vb<4		&& brt<4 	&&  bdi<4   &&  dn>1 && dn<4 	&& barx>30.20   	&& xwet==0 && wmax<15 	&& tdif<2 && dpdif<3   	&& clo<5 	&& rh>45 ) 																			{var fn = 1805 , fz = "The center of a high pressure ridge located to the north and tracking southeastward is now near the Glen Allen - Springfield Park area and should start to move off to the east and will be off the coast within 24 hours and give increasing  cloudiness by tomorrow. " ;} //          FEBRUARY 17, 2009   08:08 AM     FEBRUARY 24, 2009   07:58 AM   MARCH 21, 2009   08:19 AM
if((tt==1 || tt==2)&& vb<4		&& brt<5 	&&  bdi<4   &&  dn>1  && dn<5 	&& barx>30.25   	&& xwet==0 && wmax<12 	&& tdif<4  && dpdif>0   	&& clo<3 	&& rh>70 && sp<=3) 																		{var fn = 1806 , fz = "A slow moving high pressure is near or just north of the Virginia and is now starting to move off to the east and will be off the coast in the next 48 hours. " ;} //       MAY 19, 2009   07:52 AM
if((tt==1 || tt==2)&& vb<4		&& brt<5 	&&  bdi==4   &&  dn>0		&& barx>30.25   	&& xwet==0 && wmax<12 	&& tdif>0  && dpdif<10   	&& clo<3 	&& rh>70 && sp<3) 																			{var fn = 1807 , fz = "A slow moving high pressure is near or just north of the Virginia and is now starting to move off to the east and will be off the coast by tomorrow. " ;} //         MAY 20, 2009   07:28 AM
if((tt==1 || tt==2)&& vb<4		&& brt<5 	&&  bdi<=5   &&  dn<4		&& barx>30.25   	&& xwet==0 && wmax<12 	&& tdif>0  && dpdif<10   	&& clo<3 	&& rh>70 && sp<2) 																			{var fn = 1808 , fz = "A slow moving high pressure is near or just north of the Virginia and is now starting to move off to the east and will be off the coast by tomorrow. " ;} //         MAY 20, 2009   07:28 AM
if((tt==1 || tt==2)&& vb<4&& brt==7 && bdi>3 && bdi<7 && dn>0 && dn<4 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<8 && tdif>1 && tdif<7 && dpdif>-2 && dpdif<4 && tempa>40 && dd<13 && rh<93 && rhy>-11 && rhy<-1 && tran>3 && tran<11 && sp<2 && clo<4) 										{var fn = 1809 , fz = "A slow moving high pressure is near Glen Allen, Virginia and is now starting to move off to the east and will be off the coast by tomorrow. " ; } // 8-4-09-8:30
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>7&& dn<11 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<5 && tdif>0 && tdif<6 && dpdif>-2 && dpdif<4 && tempa>40 && dd<10 && rh<102 && rhy>-11 && rhy<-1 && tran>1 && tran<9 && sp<3 && clo<4 && dpnow>63 && dpnow<77) 								{var fn = 1810 , fz = "A slow moving weak high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area. " ; } // 8/17/09-7:49
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>8&& dn<12 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<5 && tdif>4 && tdif<10 && dpdif>-1 && dpdif<5 && tempa>40 && dd<15 && rh<91 && rhy>-20 && rhy<-10 && tran>4 && tran<12 && sp<3 && clo<4 && dpnow>64 && dpnow<78) 							{var fn = 1811 , fz = "A slow moving weak high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area." ; } // 8/17/09-8:29
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&&  dn>0 && barx>30.00 && barx<30.20 && xwet==0 && lwet==0 && wmax<10 && tdif>1 && tdif<7 && dpdif>1 && dpdif<7 && tempa>40 && dd<10 && rh<106 && rhy>-5 && rhy<5 && tran>1 && tran<9 && sp<3 && clo<4 && dpnow>62 && dpnow<76) 									{var fn = 1812 , fz = "A slow moving weak high pressure is near or over central Virginia giving calm conditions." ; } // 8/26/09-7:42
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>6&& dn<13 && barx>30.21 && barx<30.41 && xwet==0 && lwet==0 && wmax<13 && tdif>-4 && tdif<2 && dpdif>-4 && dpdif<2 && tempa>33 && tempa<53 && dd<15 && rh<87 && rhy>-9 && rhy<11 && tran>6 && tran<15 && sp<3 && clo<4 && dpnow>29 && dpnow<43) 						{var fn = 1813 , fz = "A slow moving high pressure is near Central Virginia and is now starting to move off to the east and will be off the coast by tomorrow. " ; } // 11/07/09-8:20
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>6&& dn<13 && barx>30.21 && barx<30.41 && xwet==0 && lwet==0 && wmax<18 && tdif>-3 && tdif<3 && dpdif>-2 && dpdif<4 && tempa>34 && tempa<54 && dd<14 && rh<87 && rhy>-9 && rhy<11 && tran>7 && tran<16 && sp<3 && clo<5 && dpnow>31 && dpnow<45) 						{var fn = 1814 , fz = "A slow moving high pressure is near Central Virginia and is now starting to move off to the east and will be off the coast by tomorrow." ; } // 11/07/09-8:31
if((tt==1 || tt==2)&& vb<4&& brt==5 && bdi<=5 	  && dn>7&& dn<11 		&& barx<30.10	&& xwet==0 && wmax<7				&& clo<4 )																				{var fn = 1815 , fz = "A weak high pressure is located to the south of the Glen Allen area. " ;}
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<9 && tdif>2 && tdif<8 && dpdif>1 && dpdif<7 && tempa>24 && tempa<44 && dd<17 && rh<77 && rhy>-14 && rhy<6 && tran>4 && tran<13 && sp<3 && clo<2 && dpnow>18 && dpnow<32) 							{var fn = 1816 , fz = "A weak slow moving high pressure is near Central Virginia and is now and will start moving off to the east today and will be off the coast by tomorrow." ; } // 02/21/10-8:11
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>3&& bdi<7&& dn>6&& dn<10 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<18 && tdif>9 && tdif<15 && dpdif>7 && dpdif<13 && tempa>44 && tempa<64 && dd<14 && rh<90 && rhy>-13 && rhy<7 && tran>5 && tran<14 && sp<2 && clo<3 && dpnow>41 && dpnow<55) 						{var fn = 1817 , fz = "A very slow moving high pressure is near Central Virginia and is now giving calm winds and pleasant conditions.  " ; } // 04/02/10-7:44
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>3&& bdi<7&& dn>6&& dn<10 && barx>29.98 && barx<30.18 && xwet==0 && lwet==0 && wmax<18 && tdif>5 && tdif<11 && dpdif>5 && dpdif<11 && tempa>46 && tempa<66 && dd<15 && rh<87 && rhy>-9 && rhy<11 && tran>5 && tran<14 && sp<2 && clo<3 && dpnow>42 && dpnow<56) 						{var fn = 1818 , fz = "A very slow moving high pressure is near Central Virginia and is now giving calm winds and pleasant conditions.  " ; } // 04/02/10-8:02

if((tt==2 || tt==3)&& vb<4&& brt<4		&& bdi<3 			&&  barx>30.00					&& xwet==0 && wmax>9 	 && clo<3	&& dd>15 )   																			{var fn = 1827 , fz = "A high pressure is near but still  building into the Glen Allen - Springfield Park area.  " ;}
if((tt==2 || tt==3)&& vb<4&& brt> 0	&& bdi<3				&&  barx>30.20					&& xwet==0 && wmax>10			&&dpdif<-10	&& clo<3		&& dd>12 )   														{var fn = 1828 , fz = "A high pressure is near but still  building into the Glen Allen - Springfield Park area.  " ;}
if((tt==2 || tt==3)&& vb<4&& brt>5 	&& bdi>5   && dn>6 && dn<14  	&& barx>30.35 					&& xwet==0 && wmax<10 	&& tdif>0  	&& dpdif>0 	&& clo<3 			&& rh<50  ) 													{var fn = 1829 , fz = "A high pressure has started to move away from the Glen Allen area. " ;} //  NOVEMBER 23, 2008   9:05 PM
if((tt==2 || tt==3)&& vb<4&& brt<7 	&& bdi<3   &&(dn>13||dn<2)  							&& xwet==0 && wmax<12 	&& tdif<0  	&& dpdif<-3 	&& clo>3 			&& rh<50  ) 														{var fn = 1830 , fz = "A high pressure is near or over the Glen Allen area and clouds are the result of warmer air being pulled in aloft over cooler air. " ;}
if((tt==2 || tt==3)&& vb<4&& brt>2		&& bdi<7   &&  dn<2 		&& barx>29.85 && barx<30.10 			&& xwet==0 && wmax<12  && tdif>0 	&& dpdif>0   			&& clo>3 	&& dd>9 		&& sp<3	&& tran>13  && dsp>3 && dpnow>70)								{var fn = 1831 , fz = "A slow moving weak high pressure is near or just NW of central Virginia and slow moving cold front is located to the west of this high pressure " ;} //          JUNE 09, 2009   12:03 PM
if((tt==2 || tt==3)&& vb<4&& brt<=5 	&& bdi<4   &&  dn<4 		&& barx>30.20   					&& xwet==0 && wmax<15 	&& tdif<2 	&& dpdif<3   	&& clo>3 			&& rh<45 ) 														{var fn = 1832 , fz = "A high pressure ridge is now near the Glen Allen and should start to move off to the southeast and will be off the coast by this evening that will give increasing cloudiness in the next 24 hours.  " ;} //          FEBRUARY 17, 2009   11:08 AM
if((tt==2 || tt==3)&& vb<4&& brt<=5 	&& bdi<4   &&  dn<3 		&& barx>30.30   					&& xwet==0 && wmax<15 	&& tdif<3 	&& dpdif<3   	&& clo<4 	&& dd>20	&& rh<45  ) 															{var fn = 1833 , fz = "A slow moving high pressure ridge is now near or over the area. By this time tomorrow it will be off the coast  that will give increasing  temperatures with cirrus clouds.   " ;} //          FEBRUARY 17, 2009   11:08 AM    FEBRUARY 24, 2009   11:43 AM
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>4&& bdi<8 &&  dn>8 && dn<12  	&& barx>29.80 && barx<30.00 			&& xwet==15 && wmax<22 && lwet==0  && tdif>0 && tdif<6 && dpdif>-1 && dpdif<5 && tempa>70 && dd<19 && rh<81 && rhy>-8 && rhy<2 && tran>3 && tran<11 && sp<3 && clo<3 && dpnow>68) 					{var fn = 1834 , fz = "A slow moving high pressure is off the Mid-Atlantic coast and a cold front is located to the west causing a warm moist air to flow into the Glen Allen - Springfield Park area  with a good chance of afternoon thunderstorms. " ; } // 7-29-09-9:54
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>4 && bdi<8 && dn>8 && dn<12 && barx>29.80 && barx<30.00 && xwet==15 && lwet==0 && wmax<22 && tdif>-1 && tdif<5 && dpdif>-2 && dpdif<4 && tempa>40 && dd<19 && rh<80 && rhy>-7 && rhy<3 && tran>4 && tran<12 && sp<3 && clo<3 		       && dpnow>68) 							{var fn = 1835 , fz = "A slow moving high pressure is off the Mid-Atlantic coast and a cold front is located to the west causing a warm moist air to flow into the Glen Allen - Springfield Park area  with a good chance of afternoon thunderstorms. " ; } // 7-29-09-10:13
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>10&& dn<14 && barx>30.11 && barx<30.31 && xwet==0 && lwet==0 && wmax<10 && tdif>1 && tdif<7 && dpdif>-3 && dpdif<3 && tempa>40 && dd<26 && rh<65 && rhy>-13 && rhy<-3 && tran>17 && tran<25 && sp<3 && clo<4    	&& dpnow>63 && dpnow<77) 							{var fn = 1836 , fz = "A slow moving high pressure ridge is now near or over the area and very calm conditions. By this time tomorrow it will be off the coast  that will give increasing  temperatures on a southerly flow.   " ; } // 8/16/09-11:49
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>3&& bdi<7&& dn>8&& dn<12 && barx>30.11 && barx<30.31 && xwet==0 && lwet==0 && wmax<18 && tdif>-1 && tdif<5 && dpdif>-5 && dpdif<1 && tempa>40 && dd<29 && rh<60 && rhy>-12 && rhy<-2 && tran>15 && tran<23 && sp<2  && clo<4    	&& dpnow>61 && dpnow<75) 							{var fn = 1837 , fz = "A slow moving high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area." ; } // 8/17/09-11:42
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>1&& bdi<5&& dn>0 && barx>29.97 && barx<30.17 && xwet==0 && lwet==0 && wmax<14 && tdif>-6 && tdif<0 && dpdif>-5 && dpdif<1 && tempa>40 && dd<20 && rh<73 && rhy>-7 && rhy<13 && tran>9 && tran<18 && sp<3 && clo<4 		&& dpnow>43 && dpnow<57) 							{var fn = 1838 , fz = "A slow moving high pressure ridge is now near or over the area with calm conditions. By this time tomorrow it will be off the coast  that will give increasing  temperatures on a southerly flow then followed generally a cold front. " ; } // 10/1/09-10:41
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>4&& bdi<8&& dn>6&& dn<10 && barx>30.20 && barx<30.40 && xwet==0 && lwet==0 && wmax<20 && tdif>-3 && tdif<3 && dpdif>0 && dpdif<6 && tempa>38 && tempa<58 && dd<18 && rh<77 && rhy>-3 && rhy<17 && tran>11 && tran<20 && sp<3 && clo<5 && dpnow>31 && dpnow<45) 						{var fn = 1839 , fz = "A slow moving high pressure is near Central Virginia and is now starting to move off to the east and will be off the coast by tomorrow" ; } // 11/07/09-9:07
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>8&& dn<12 && barx>30.20 && barx<30.40 && xwet==0 && lwet==0 && wmax<20 && tdif>-2 && tdif<4 && dpdif>0 && dpdif<6 && tempa>39 && tempa<59 && dd<20 && rh<75 && rhy>-5 && rhy<15 && tran>12 && tran<21 && sp<3 && clo<6 && dpnow>30 && dpnow<44) 						{var fn = 1840 , fz = "A slow moving high pressure is near Central Virginia and is now starting to move off to the east and will be off the coast by tomorrow." ; } // 11/07/09-9:22
if((tt==2 || tt==3)&& vb<3&& brt==2 && bdi>0&& bdi<4&& dn>12&& dn<16 && barx>29.68 && barx<29.88 && xwet==0 && lwet==0 && wmax<20 && tdif>3 && tdif<9 && dpdif>-18 && dpdif<-12 && tempa>34 && tempa<54 && dd<28 && rh<54 && rhy>-65 && rhy<-45 && tran>11 && tran<20 && sp<7 && clo<3 && dpnow>17 && dpnow<31) 						{var fn = 1841 , fz = "A fast moving high pressure is building in from the SW of central Virginia causing a NW flow over the  Glen Allen Springfield Park area." ; } // 12/10/09-9:23


if(tt==3  		&& vb<4 	&&(brt==6||brt==7)	&& bdi<3				&&  barx>30.20	&& xwet==0 &&dpdif<-10		&& wmax>10 && clo<3 	&& dd>12  )   																			{var fn = 1857 , fz  = "A high pressure is near but still  building into but is near the Glen Allen - Springfield Park area. " ;}
if((tt==3 || tt==4)&& vb<4 	&& brt<4 	&&  bdi<3   &&(dn>12  || dn<2)  			&& xwet==0 && wmax<15 	&& tdif<-3 && dpdif<-6 	&& clo<3 	&& rh<55  ) 																				{var fn = 1858 , fz = "A high pressure is near or over the Glen Allen area and in 24 hours expect some moderation in  temperature as the winds become southerly. " ;}
if((tt==3 || tt==4)&& vb<4		&& brt>5 	&&  bdi<5   &&  (dn>13  || dn<2) 	&& barx>30.15   	&& xwet==0 && wmax>13 	&& tdif>0 && dpdif<3   	&& clo>3 	&& rh<40 ) 																			{var fn = 1859 , fz = "A high pressure ridge is now starting to move off to the east and will be off the coast by this evening and give increasing cloudiness by tomorrow. " ;} //        FEBRUARY 17, 2009   12:45 PM
if((tt==3 || tt==4)&& vb<3		&& brt==5 	&&  bdi>5   &&  (dn>9  && dn<13) 	&& barx<30.00   	&& xwet==0 && wmax<13 	&& tdif>3 && dpdif>0   	&& clo<4 	&& rh<60 ) 																		{var fn = 1860 , fz = "A high pressure is near or over the Glen Allen area now as the barometric pressure has stopped rising. " ;} //    JULY 07, 2009   12:34 PM
if((tt==3 || tt==4) && vb<3 && brt==7 && bdi>4 && bdi<8 && dn>9 && dn<13 && barx>29.72 && barx<29.92 && xwet==15 && lwet==0 && wmax<32 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<25 && rh<68 && rhy>-4 && rhy<6 && tran>9 && tran<17 && sp<3 && clo<5) 										{var fn = 1861 , fz = "A slow moving high pressure is off the Mid-Atlantic coast and a cold front is located to the west causing a warm moist air to flow into the Glen Allen - Springfield Park area  with a good chance of afternoon thunderstorms. " ; } // 7-29-09-14:58
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>8&& dn<12 && barx>30.10 && barx<30.30 && xwet==0 && lwet==0 && wmax<18 && tdif>0 && tdif<6 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<32 && rh<55 && rhy>-17 && rhy<-7 && tran>16 && tran<24 && sp<3 && clo<4 && dpnow>59 && dpnow<73) 							{var fn = 1862 , fz = "A slow moving high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area." ; } // 8/17/09-12:28
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>8&& dn<12 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<18 && tdif>1 && tdif<7 && dpdif>-7 && dpdif<-1 && tempa>40 && dd<34 && rh<51 && rhy>-18 && rhy<-8 && tran>17 && tran<25 && sp<3 && clo<4 && dpnow>57 && dpnow<71) 							{var fn = 1863 , fz = "A slow moving high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area." ; } // 8/17/09-12:45
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>3&& bdi<7&& dn>7&& dn<11 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<18 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>40 && dd<37 && rh<49 && rhy>-14 && rhy<-4 && tran>20 && tran<28 && sp<2 && clo<4 && dpnow>57 && dpnow<71) 							{var fn = 1864 , fz = "A slow moving high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area." ; } // 8/17/09-14:03
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>12&& dn<16 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<26 && tdif>-6 && tdif<0 && dpdif>-5 && dpdif<1 && tempa>40 && dd<28 && rh<60 && rhy>-9 && rhy<11 && tran>16 && tran<25 && sp<3 && clo<4 && dpnow>44 && dpnow<58) 							{var fn = 1865 , fz = "A high pressure ridge is now starting to move off to the east and will be off the coast by this evening and give increasing cloudiness by tomorrow. " ; } // 10/1/09-14:50



if((tt==4 || tt==5)&& vb<4 	&& brt<5 	&&  bdi>5   &&  dn<6  		&& barx>30.35 	&& xwet==0 && wmax<5 	&& tdif>0  && dpdif>3 	&& clo<3 	&& rh>40  ) 																				{var fn = 1875 , fz = "A high pressure is over the Glen Allen area. " ;}
if((tt==4 || tt==5)&& vb<3 	&& brt<4 	&&  bdi<3   && (dn>14  || dn<5) 	&& barx>30.20   	&& xwet==0 && wmax<15 	&& tdif<-5 && dpdif<-5    	&& clo<3 	&& rh>50 ) 																				{var fn = 1876 , fz = "A high pressure now over the area and in 24 hours should start to move off to the east and expect increasing cloudiness tomorrow. " ;} //       DECEMBER 13, 2008   04:54 PM
if((tt==4 || tt==5)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>7&& dn<11 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<18 && tdif>-1 && tdif<5 && dpdif>5 && dpdif<11 && tempa>40 && dd<34 && rh<53 && rhy>3 && rhy<13 && tran>20 && tran<28 && sp<3 && clo<4 && dpnow>58 && dpnow<72) 							{var fn = 1877 , fz = "A slow moving high pressure is near or just SE of central Virginia causing a southern flow over the  Glen Allen Springfield Park area." ; } // 8/17/09-17:44
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>13&& dn<17 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<22 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>40 && dd<29 && rh<60 && rhy>-15 && rhy<-5 && tran>19 && tran<27 && sp<3 && clo<4 && dpnow>60 && dpnow<74) 							{var fn = 1878 , fz = "A high pressure now over the area or a little to the SW of Glen Allen and should start to move off to the east giving increasing cloudiness. " ; } // 8/26/09-17:54



if((tt==5|| tt==1) && vb<3 && brt==5 && bdi>4 && bdi<8 && dn>8 && dn<12 && barx>29.70 && barx<29.90 && xwet==15 && lwet>0 && wmax<32 && tdif>1 && tdif<7 && dpdif>-5 && dpdif<1 && tempa>60 && dd<24 && rh<69 && rhy>-18 && rhy<-8 && tran>9 && tran<17 && sp<3 && clo<2) 										{var fn = 1885 , fz = "A slow moving high pressure is off the Mid-Atlantic coast and a cold front is located to the west causing a southerly warm moist air to flow into the Glen Allen - Springfield Park area  with a good chance of afternoon thunderstorms. " ; } // 7-29-09-20:30
if((tt==5|| tt==1)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>7&& dn<11 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<18 && tdif>0 && tdif<6 && dpdif>1 && dpdif<7 && tempa>40 && dd<24 && rh<69 && rhy>-3 && rhy<7 && tran>20 && tran<28 && sp<3 && clo<5 && dpnow>61 && dpnow<75) 								{var fn = 1886 , fz = "A slow moving high pressure ridge is now starting to move off to the east and will be off the coast by tomorrow. " ; } // 8/17/09-20:58


//         1hrnodir                   HIGH PRESSURES  MOVING AWAY FROM VA AREA        NO DIRECTION GIVEN
// brt>5   && bdi>5    brx>30.00   tdif>0  dpdif>0  rh<65
//dn>6  && dn<12       wmax<15   xwet==0


if((tt==1||tt==2)&& vb<3 &&  brt<10		&& bdi>8   && dn>8 && dn<12   && barx>30.30 && xwet>0   && wmax<15  && tdif>12  && dpdif>10 && clo==5 && rh>60) 																						{var fn = 1896 , fz = "A strong high pressure is moving away from the Glen Allen area. " ;} //       DECEMBER 24, 2008   08:29 AM
if((tt==1||tt==2)&& vb<3 &&  brt>6		&& bdi>5   && dn>8 && dn<12   && barx>30.00 && xwet==0 && wmax>10  && tdif>0  && dpdif>0 && clo==5     && rh>60) 				 																		{var fn = 1897 , fz = "A high pressure is moving away from the Glen Allen area while a distant cold front is approaching the area. " ;} //       JANUARY 13, 2009   08:09 AM
if((tt==1|| tt==2)&& vb<3 && brt==5 && bdi>3 && bdi<7 && dn>7 && dn<13 && barx>29.88 && barx<30.08 && xwet==0 && lwet==0 && wmax<20 && tdif>-2 && tdif<5 && dpdif>-6 && dpdif<0 && tempa>40 && dd<12 && rh<97 && rhy>-15 && rhy<-5 && tran>-1 && tran<8 && sp<2 && clo<4) 										{var fn = 1898 , fz = "A nearly stationary high pressure is off the Atlantic coast causing above average temperatures and a moist southerly flow. " ; } // 7-28-09-7:55
if((tt==1|| tt==2)&& vb<3 && brt==2 && bdi>2 && bdi<6 && dn>8 && dn<12 && barx>29.83 && barx<30.03 && xwet==0 && lwet==0 && wmax<20 && tdif>-10 && tdif<-4 && dpdif>-5 && dpdif<1 && tempa>40 && dd<12 && rh<98 && rhy>9 && rhy<19 && tran>7 && tran<15 && sp<3 && clo<2) 										{var fn = 1899 , fz = "A slow moving high pressure is off the Mid-Atlantic coast and a stationary front is located to the west causing a southerly warm moist air to flow into the Glen Allen - Springfield Park area  with a slight chance of afternoon thunderstorms." ; } // 7-30-09-7:53




if((tt==2 || tt==3)&& vb<3 && brt<4		&& bdi>5 && dn>6 && dn<10  &&  barx>30.30 && xwet==0 && wmax<15 && tdif>2   && dpdif>3 && clo>3  && dd>13 && rhy<45 && ymw==0 && sp==2)   																			{var fn = 1900 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA coast. " ;} //        MARCH 25, 2009   10:00 AM
if((tt==2 || tt==3)&& vb<3 && brt<=5		&& bdi>5 && dn>6 && dn<10  &&  barx>30.30 && xwet==0 && wmax<15 && tdif>2   && dpdif>1 && clo>3  && dd>15 && rhy<45 && ymw==0 && sp==2)   																			{var fn = 1901 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA coast. " ;} //        MARCH 25, 2009   10:00 AM
if((tt==2 || tt==3)&& vb<3 && brt>6		&& bdi>5  		        &&  barx>30.30 && xwet==0 && wmax>10 && clo<4  && dd>18  )   																							{var fn = 1902 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area.   " ;}
if((tt==2 || tt==3)&& vb<3 && brt>6		&& bdi>5  		        &&  barx>30.30 && xwet==0 && wmax>10 && clo<4  && dd>18  )   																							{var fn = 1903 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area.   " ;}
if((tt==2 || tt==3) && vb<3 && brt==7 && bdi>4 && bdi<8 && dn>8 && dn<13 && barx>29.85 && barx<30.05 && xwet==0 && lwet==0 && wmax<21 && tdif>2 && tdif<8 && dpdif>-4 && dpdif<2 && tempa>40 && dd<20 && rh<79 && rhy>-18 && rhy<-8 && tran>9 && tran<17 && sp<3 && clo<3) 										{var fn = 1904 , fz = "A VERY slow moving high pressure is now off the Mid-Atlantic coast giving a southerly flow over the Glen Allen - Springfield Park area. " ; } // 7-28-09-10:51



if(tt==3 	     	&& vb<3 && (brt==7 || brt==8) 	&& bdi>5   && dn>6 && dn<14   && barx>30.35 && xwet==0 && wmax<10 && tdif>0  && dpdif>0 && clo<3 && rh<45 ) 																					{var fn = 1915 , fz = "A high pressure is moving away from the Glen Allen area " ;} //  NOVEMBER 23, 2008   12:05 PM
if((tt==3 || tt==4)&& vb<3 && brt>6		&& bdi>5 && dn>6 && dn<10  &&  barx>30.20 && xwet==0 && wmax<20 && tdif<2   && dpdif>2 && clo>3  && dd>18 && rhy<45 && ymw==0 && sp==2)   																			{var fn = 1916 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA coast. " ;} //        MARCH 25, 2009   10:00 AM
if((tt==3 || tt==4)&& vb<3 && brt>6		&& bdi<5 && dn>7 && dn<11   &&  barx>30.20 && xwet==0 && wmax>13 && clo>3  && dd>20  )   																								{var fn = 1917 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA and NC coast. " ;} //    FEBRUARY 09, 2009   03:59 PM
if((tt==3 || tt==4)&& vb<3 && brt>6		&& bdi<5 && dn>8 && dn<12  &&  barx>30.20 && xwet==0 && wmax<15 && tdif>5   && dpdif<4 && clo<3  && dd>18 && rhy<-10 && ymw==0 && sp==2)   																		{var fn = 1918 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the   NC coast. " ;} //     MARCH 04, 2009   03:36 PM
if((tt==3 ||tt==4)&& vb<3 && (brt==5 || brt==6) 	&& bdi>5   && dn>10 && dn<14 && barx<30.30 && xwet==0 && wmax<15 && tdif>0   && dpdif>0 && clo>3 && rh<60) 																						{var fn = 1919 , fz = "A high pressure is moving away from the Glen Allen area " ;} //    NOVEMBER 27, 2008   04:02 PM
if((tt==3 ||tt==4)&& vb<3 && (brt==5 || brt==6) 	&& bdi<5   && dn>7   && dn<11 && barx<30.30 && xwet==0 && wmax<15 && tdif>0   && dpdif>-2 && clo<4 && rh<65) 																						{var fn = 1920 , fz = "A high pressure is moving away from the Glen Allen area. " ;} //    NOVEMBER 27, 2008   04:02 PM
if((tt==3 ||tt==4)&& vb<4 && (brt==4 || brt==5) 	&& bdi<5   && dn<11                   && barx>30.34 && xwet==0 && wmax>12 && tdif>2   && dpdif>3 && clo<5 && rh<50) 																						{var fn = 1921 , fz = "A high pressure is moving away from the Glen Allen area. " ;} //     DECEMBER 23, 2008   04:25 PM


if((tt==3 || tt==4)&& vb<3 && brt>5		&& bdi<4 && dn>8 && dn<12  &&  barx<30.15 && xwet==0 && wmax<20 && tdif>-2   && dpdif>0 && clo>3  && dd>20 && rhy<45 && ymw==0 && sp<=3)   																		{var fn = 1933 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA coast and a cold front is approaching from the west. " ;} //    MARCH 31, 2009   05:02 PM
if ((tt==3 || tt==4) && vb<3 && brt==5 && bdi>4 && bdi<8 && dn>10 && dn<14 && barx>29.84 && barx<30.04 && xwet==0 && lwet==0 && wmax<21 && tdif>0 && tdif<6 && dpdif>-4 && dpdif<2 && tempa>40 && dd<22 && rh<73 && rhy>-13 && rhy<-3 && tran>12 && tran<20 && sp<3 && clo<2) 										{var fn = 1934 , fz = "A slow moving high pressure is now off the Mid-Atlantic coast giving a southerly flow over the Glen Allen - Springfield Park area. " ; } // 7-28-09-12:21
if ((tt==3 || tt==4) && vb<3 && brt==7 && bdi>4 && bdi<8 && dn>10 && dn<14 && barx>29.82 && barx<30.02 && xwet==0 && lwet==0 && wmax<21 && tdif>1 && tdif<7 && dpdif>-3 && dpdif<3 && tempa>40 && dd<25 && rh<69 && rhy>-11 && rhy<-1 && tran>14 && tran<22 && sp<3 && clo<5) 										{var fn = 1935 , fz = "A slow moving high pressure is now off the Mid-Atlantic coast giving a southerly flow over the Glen Allen - Springfield Park area." ; } // 7-28-09-13:32
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<20 && tdif>3 && tdif<9 && dpdif>-12 && dpdif<-6 && tempa>40 && dd<31 && rh<56 && rhy>-37 && rhy<-27 && tran>18 && tran<26 && sp<4 && clo<5) 										{var fn = 1936 , fz =  "A high pressure is located to the west and a low pressure is well off the east coast causing a north to NE flow. " ; } // 8/7/09-15:47
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<20 && tdif>3 && tdif<9 && dpdif>-12 && dpdif<-6 && tempa>40 && dd<30 && rh<57 && rhy>-36 && rhy<-26 && tran>18 && tran<26 && sp<4 && clo<5) 										{var fn = 1937 , fz = "A high pressure is located to the west and a low pressure is well off the east coast causing a north to NE flow." ; } // 8/7/09-15:58


if(tt==4 	     	&& vb<3 && (brt==5 || brt==6) 	&& bdi>5   && dn>10 && dn<14 && barx>30.30 && xwet==0 && wmax<10 && tdif>-1 && dpdif>0 && clo<3 && rh<55) 																					{var fn = 1950 , fz = "A high pressure is moving away from the Glen Allen area " ;} //  NOVEMBER 23, 2008   17:05 PM
if((tt==4 || tt==5)&& vb<4 && brt>=5		&& bdi>6 && dn>6 && dn<10  &&  barx>30.20 && xwet==15 && wmax<20 && tdif>0   && dpdif>5 && clo>3  && dd>18 && rhy<50 && ymw==0 && sp<=3)   																		{var fn = 1951 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA coast and a cold front is approaching from the west. " ;} //    MARCH 25, 2009   07:58 PM
if((tt==4 ||tt==5)&& vb<3 && (brt==5 || brt==6) 	&& bdi<4   && dn>6 && dn<10   && barx>30.34 && xwet==0 && wmax>12 && tdif>2   && dpdif>3 && clo<5 && rh<65) 																						{var fn = 1952 , fz = "A high pressure is moving away from the Glen Allen area. " ;} //     DECEMBER 23, 2008   04:25 PM
if((tt==4 ||tt==5)&& vb<3 && (brt==5 || brt==6) 	&& bdi<4   && dn>10 && dn<14  && barx>30.34 && xwet==0 && wmax>12 && tdif>4   && dpdif>3 && clo<5 && rh<65) 																						{var fn = 1953 , fz = "A high pressure is moving away from the Glen Allen area. " ;} //     DECEMBER 23, 2008   07:21 PM
if((tt==4 || tt==5)&& vb<3 && brt>5		&& bdi<4 && dn>6 && dn<10  &&  barx<30.18 && xwet==0 && wmax<23 && tdif>-2   && dpdif>4 && clo>4  && dd>18 && rhy<55 && ymw==0 && sp<=2)   																		{var fn = 1954 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is off the VA coast and a cold front is approaching from the west. " ;} //    MARCH 31, 2009   07:02 PM


if(tt < 6	     	&& vb<3  && brt>5 	&& dn>6 && dn<12 	&& bdi>5   		       && barx>30.10 && xwet==0 && wmax<10			&& clo<5		&& lwet==0   )  			                																{var fn = 1967 , fz  = "A high pressure is moving away from the Glen Allen area ";}
if(tt < 6	    	 && vb<3 && brt>6 		&& bdi>6   && dn>8 && dn<14   && barx>30.00 && xwet==0 && wmax<10			&& clo<5		&& lwet==0   )  			                																{var fn = 1968 , fz  = "A high pressure is moving away from the Glen Allen area ";}
if((tt==5 || tt==1)&& vb<3 && brt<4		&& bdi<5 && dn>6 && dn<10  &&  barx>30.30 && xwet==0 && wmax<20 && tdif>-2   && dpdif>-4 && clo>2  && dd>10 && rhy<-5 && ymw==0 && sp==2)   																		{var fn = 1969 , fz  = "A high pressure is moving away from the Glen Allen - Springfield Park area and is just off the VA coast. " ;} //      MARCH 21, 2009   09:29 PM














//Marker 1lco     l1c
//COMPLEX LOW PRESSURES    (cc>4999 && cc<6000 )
if ((tt==1 || tt==2)&& vb==2  && brt>=5 && bdi>8   && dn<3               && barx<29.90 && dpdif>12   		&& wmax<15   && xwet==15  		&& tdif>2  && pdif>0.18 && tran<4) 				                                														{var fn = 1982 , fz = "Two low pressures with one to the NW and the other to the south is the current situation. The low to the south is the one giving the precipitation but the wind isn't backing because of the low to the NW.  " ;} //    APRIL 14, 2009   0835
if ((tt==1 || tt==2)&& vb<4  && brt<5 && bdi>5   && dn<4               && barx<30.15 && dpdif>-2   		&& wmax<10   && xwet==15  && lwet>0 	&& tdif<4  && pdif>0.01 && tran<10 && sp<3 && rh>80) 																		{var fn = 1983 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and a very weak high to the North is building into the area and causing a light NE breeze.  " ;} //    JULY 05, 2009   08:16 AM



if ((tt==2 || tt==3)&& vb<3   && brt<=5   && bdi>7    && dn>0 	         && barx<29.50 && dpdif>0   		&& wmax>7     && xwet==15 		&& tdif>-5  && pdif>0.18  && tran<5)   																				{var fn = 1990 , fz = "A complex storm system is near Virginia and is starting to move away from Glen Allen.  Weather should clear after the cold front passes and the winds increase from a west to northwest  direction." ;} //  JANUARY 07, 2009   10:09 AM
if ((tt==2 || tt==3)&& vb==2 && brt>6                                        && bdi>8  &&  dn<3              && barx<29.65 && dpdif>1 && dpdif<9  	&& wmax>7     && xwet==15  		&& tdif>-9  ) 				                                														{var fn = 1991 , fz = "A coastal low is now in generally a east direction from the Glen Allen area and deeping. " ;} //  JANUARY 07, 2009   10:56 AM
if ((tt==2 || tt==3)&& vb==2  && brt>=5 && bdi>8   && dn<3               && barx<29.90 && dpdif>10   		&& wmax<20   && xwet==15  && lwet>0 	&& tdif>-2  && pdif>0.20 && tran<4) 				                                														{var fn = 1992 , fz = "Two low pressures with one to the NW and the other to the south is the current scenario. The low to the south is the one giving the precipitation but the wind isn't backing because of the low to the NW.  " ;} //    APRIL 14, 2009   1008
if ((tt==2 || tt==3)&& vb<3  && brt==5 && bdi>5 && dn>9 && dn<13   && barx<30.10 && dpdif>-2   		&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-8  && pdif>0.05 && tran<15 && sp<3 && rh>80) 																		{var fn = 1993 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area.  " ;} //     JULY 05, 2009   10:38 AM
if ((tt==2 || tt==3)&& vb<3  && brt==5 && bdi>5 && dn>1 && dn<5   && barx<30.10 && dpdif>-2   		&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-9  && pdif>0.05 && tran<15 && sp<3 && rh>80 && rhy>20) 																	{var fn = 1994 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and a very weak high to the North is causing a light NE breeze.   " ;} //      JULY 05, 2009   11:35 AM
if ((tt==2 || tt==3)&& vb==3  && brt==5 && bdi>5 && dn>1 && dn<5   && barx<30.10 && dpdif>-2   		&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-9  && pdif>0.05 && tran<15 && sp<3 && rh>80 && rhy>20) 																	{var fn = 1995 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and a low pressure is now starting to form in a southerly direction from central Virginia and a  weak high to the North is causing a light NE breeze.   " ;} //       JULY 05, 2009   11:46 AM



if ((tt==3 || tt==4)&& vb==2  && brt>6 && bdi>8   && dn<4               && barx<29.90 && dpdif>10   		&& wmax<20   && xwet==15  && lwet>0 	&& tdif<-1  && pdif>0.20 && tran<6 && sp>3) 				                														{var fn = 2004 , fz = "Two low pressures with one to the NW and the other to the south is the current scenario. The low to the south is the one giving the precipitation but the wind isn't backing because of the low to the NW.  " ;} //    APRIL 14, 2009   1008
if ((tt==3 || tt==4)&& vb==2  && brt>6 && bdi>8   && dn<4               && barx<29.90 && dpdif>7   		&& wmax<20   && xwet==15  && lwet==0 	&& tdif<-2  && pdif>0.20 && tran<8 && sp>3) 				                													{var fn = 2005 , fz = "Two low pressures with one to the NW and the other to the south is the current scenario. The low to the south is the one giving the precipitation but the wind isn't backing because of the low to the NW.  " ;} //    APRIL 14, 2009   1508
if ((tt==3 || tt==4)&& vb<3  && brt==7 && bdi>5 && dn<4   && barx<30.10 && dpdif>-2   			&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-9  && pdif>0.05 && tran<15 && sp<3 && rh>80 && rhy>20) 																	{var fn = 2006 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and a  weak high to the North is causing a light NE breeze.   " ;} //       JULY 05, 2009   12:29 PM
if ((tt==3 || tt==4)&& vb==3  && brt==8 && bdi>5 && dn>2 && dn<6 && barx<30.10 && dpdif>-2   		&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-10  && pdif>0.05 && tran<16 && sp<3 && rh>80 && rhy>20) 																	{var fn = 2007 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and became stationary to the south of Glen Allen.  A  second low pressure has now formed on the stationary front to the south thus causing a light easterly breeze and the backing wind.   " ;} //        JULY 05, 2009   03:06 PM
if ((tt==3 || tt==4)&& vb==3  && brt==7 && bdi>5 && dn>3 && dn<7 && barx<30.10 && dpdif>-1   		&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-9  && pdif>0.05 && tran<16 && sp<3 && rh>80 && rhy>20) 																	{var fn = 2008 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and became stationary to the south of Glen Allen.  A  second low pressure has now formed on the stationary front to the south thus causing a light easterly breeze and the backing wind.   " ;} //          JULY 05, 2009   03:44 PM




//      1lw      LP WEST
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>5&& dn<9 && barx>30.10 && barx<30.30 && xwet==0 && lwet==0 && wmax<20 && tdif>5 && tdif<11 && dpdif>15 && dpdif<21 && tempa>32 && tempa<52 && dd<12 && rh<96 && rhy>20 && rhy<40 && tran>5 && tran<14 && sp<3 && clo<5 && dpnow>31 && dpnow<45) 						{var fn  = 2009 , fz = "A Low pressure is approaching from the west and high pressure is now moving away from the Glen Allen - Springfield Park area. " ; } // 03/28/10-8:51
if((tt==2 || tt==3)&& vb<3&&(brt==6||brt==7||brt==8)&& bdi>5&& bdi<9&& dn>5&& dn<9 && barx>30.09 && barx<30.29 && xwet==0 && lwet==0 && wmax<20 && tdif>3 && tdif<9 && dpdif>15 && dpdif<21 && tempa>32 && tempa<52 && dd<11 && rh<98 && rhy>23 && rhy<43 && tran>5 && tran<14 && sp<3 && clo<5 && dpnow>32 && dpnow<46) 					{var fn  = 2010 , fz = "A Low pressure is approaching from the west and high pressure is now moving away from the Glen Allen - Springfield Park area as the pressure is falling and the wind is from the south to SE. " ; } // 03/28/10-9:06




if ((tt==2 || tt==3)&& vb<3  && brt>6    && bdi<5  && dn>8 && dn<13  && barx<30.25 && clo==5 	&& wmax<20 && xwet==0     && lwet==0			           && tran>20   )																				{var fn = 2015 , fz = "A distant western low pressure is now approaching the Glen Allen area. " ;}  //    NOVEMBER 11, 2008   09:25 PM
if((tt==2 || tt==3)&& vb<3&&(brt==7||brt==8)&& bdi>6&& bdi<10&& dn>6&& dn<10 && barx>30.05 && barx<30.25 && xwet==0 && lwet==0 && wmax<20 && tdif>-2 && tdif<4 && dpdif>9 && dpdif<15 && tempa>35 && tempa<55 && dd<13 && rh<91 && rhy>19 && rhy<39 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>33 && dpnow<47) 					{var fn = 2016 , fz = "A Low pressure is approaching from the west and high pressure is now moving away from the Glen Allen - Springfield Park area as the pressure is falling and the wind is from the south to SE." ; } // 03/28/10-11:14
if((tt==2 || tt==3)&& vb<3&&(brt==7||brt==8)&& bdi>6&& bdi<10&& dn>5&& dn<9 && barx>30.02 && barx<30.22 && xwet==0 && lwet==0 && wmax<20 && tdif>-1 && tdif<5 && dpdif>12 && dpdif<18 && tempa>37 && tempa<57 && dd<14 && rh<89 && rhy>22 && rhy<42 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>34 && dpnow<48) 					{var fn = 2017 , fz  = "A Low pressure is approaching from the west and high pressure is now moving away from the Glen Allen - Springfield Park area as the pressure is falling and the wind is from the south to SE." ; } // 03/28/10-11:34



if ((tt==3 || tt==4)&& vb<3  && brt==7 && bdi>5   && dn>5 && dn<10  && barx<30.10 && dpdif>-2   	&& wmax<15  && xwet==15  && lwet>0 	&& tdif<-9  && pdif>0.05 && tran<15 && sp<3 && rh>80 && rhy>20) 																		{var fn = 2020 , fz = "A low pressures to the west  is pulling warm air aloft from the south over a cold front that recently passed the Glen Allen area and the western low is getting close enough to gave a SE  breeze.   " ;} //     JULY 05, 2009   12:39 PM
if((tt==3 || tt==4)&& vb<3&&(brt==8||brt==9)&& bdi>6&& bdi<10&& dn>6&& dn<10 && barx>29.94 && barx<30.14 && xwet==0 && lwet==0 && wmax<25 && tdif>9 && tdif<15 && dpdif>18 && dpdif<24 && tempa>50 && tempa<70 && dd<19 && rh<78 && rhy>11 && rhy<31 && tran>23 && tran<32 && sp<5 && clo<6 && dpnow>42 && dpnow<56) 					{var fn = 2021 , fz = "A Low pressure is approaching from the west and high pressure is now moving away from the Glen Allen - Springfield Park area as the pressure is falling and the wind is from the south to SE." ; } // 03/28/10-12:51
if((tt==3 || tt==4)&& vb<3&&(brt==8||brt==9)&& bdi>7&& bdi<11&& dn>6&& dn<10 && barx>29.83 && barx<30.03 && xwet==0 && lwet==0 && wmax<36 && tdif>10 && tdif<16 && dpdif>14 && dpdif<20 && tempa>55 && tempa<75 && dd<27 && rh<61 && rhy>-1 && rhy<19 && tran>29 && tran<38 && sp<7 && clo<5 && dpnow>39 && dpnow<53) 					{var fn = 2022 , fz = "A Low pressure is approaching from the west and high pressure is now moving away from the Glen Allen - Springfield Park area as the pressure is falling with a southerly wind. " ; } // 03/28/10-14:50



//       1lnw-n                  LP NW OR NORTH
if (tt<6     	&& vb==2 && brt>=5 && bdi<5 && dn>7 && dn<11&& barx>29.82 && barx<30.02 	&& tdif>1  && dpdif>1 && clo>4  && wmax<10 ) 																									{var fn = 2027 , fz = "A  low pressure to the northwest or north of Richmond, Va area. "  ;}
if (tt<6     	&& vb==2 && brt>=5 && bdi<5 && dn>6 && dn<11&& barx>29.95 && barx<30.12 	&& tdif>4  && dpdif>5 && clo>4  && wmax<15 && xwet==0) 																								{var fn = 2028 , fz = "A  clipper to the west or  northwest will  pass near Richmond, Va area in the next 12-24 hours. "  ;}
if ((tt==1 || tt==2)&& vb< 3 && brt==3   && bdi==6 && dn>9 && dn<13 && barx<29.80 		&& tdif<0 && dpdif<-3 && clo<3  && wmax<10 && xwet==0  && rhy<-8 && tran>9 && sp<3) 	 																			{var fn = 2029 , fz = "A  low pressure is located to the NW or  north of Glen Allen - Springfield Park area. " ;}  //    JUNE 30, 2009   07:48 AM
if((tt==1 || tt==2)&& vb<4	&&(brt==5||brt==6)&& bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.90 && barx<30.10 && xwet==0 && lwet==0 && wmax<9 && tdif>0 && tdif<6 && dpdif>-2 && dpdif<4 && tempa>40 && dd<12 && rh<96 && rhy>-9 && rhy<1 && tran>3 && tran<11 && sp<3 && clo<3 && dpnow>52 && dpnow<66) 							{var fn = 2030 , fz = "Take note if this happen again--The pressure is falling as a low pressure to the north is strengthening if so the winds should increase or retrograding toward Virginia but if this is the case clouds should increase this would be very unusual. " ; } // 9/12/09-8:19
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>7&& bdi<11&& dn>6&& dn<10 && barx>29.26 && barx<29.46 && xwet==15 && lwet==0 && wmax<26 && tdif>-3 && tdif<3 && dpdif>-4 && dpdif<2 && tempa>45 && tempa<65 && dd<8 && rh<108 && rhy>-12 && rhy<8 && tran>-3 && tran<6 && sp<6 && clo<6 && dpnow>48 && dpnow<62) 						{var fn = 2031 , fz = "A deep slow moving low pressure is located just to the NW of Glen Allen - Springfield Park area and the pressure has started to rise." ; } // 03/13/10-8:11


if ((tt==2 || tt==3)&& vb< 3 && brt>5   && bdi>7 && dn>7 && dn<15 && barx<29.90 		&& tdif<-2 && dpdif<0 && clo>4  && wmax<15 && xwet>0  		&& tran<9 ) 	 																			{var fn = 2040 , fz = "A  low pressure to the west or  northwest of Glen Allen - Springfield Park area. " ;}  //    DECEMBER 21, 2008   11:14 AM
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>6&& dn<10 && barx>29.76 && barx<29.96 && xwet==0 && lwet==0 && wmax<13 && tdif>-2 && tdif<4 && dpdif>3 && dpdif<9 && tempa>34 && tempa<54 && dd<19 && rh<75 && rhy>2 && rhy<22 && tran>8 && tran<17 && sp<4 && clo<6 && dpnow>26 && dpnow<40) 						{var fn = 2241 , fz = "A  low pressure to the west  of Glen Allen - Springfield Park area. " ; } // 02/22/10-9:20
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>7&& bdi<11&& dn>7&& dn<11 && barx>29.26 && barx<29.46 && xwet==15 && lwet==0 && wmax<26 && tdif>-3 && tdif<3 && dpdif>-4 && dpdif<2 && tempa>46 && tempa<66 && dd<10 && rh<105 && rhy>-14 && rhy<6 && tran>-3 && tran<6 && sp<6 && clo<6 && dpnow>47 && dpnow<61) 						{var fn = 2242 , fz = "A deep slow moving low pressure is located just to the NW of Glen Allen - Springfield Park area and the pressure is still steady indicating it is moving away slowly. " ; } // 03/13/10-9:05
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>7&& bdi<11&& dn>6&& dn<10 && barx>29.63 && barx<29.83 && xwet==15 && lwet==6 && wmax<30 && tdif>-9 && tdif<-3 && dpdif>15 && dpdif<21 && tempa>52 && tempa<72 && dd<9 && rh<105 && rhy>45 && rhy<65 && tran>-1 && tran<8 && sp<5 && clo<6 && dpnow>54 && dpnow<68) 						{var fn = 2243 , fz = "A slow moving low pressure is located just to the NW of Glen Allen - Springfield Park area and the pressure is falling indicating the low is still strengthening as it moves to the NE of Richmond. " ; } // 03/22/10-11:23



if ((tt==3 || tt==4)&& vb==2 && brt> 5  && bdi>5 && dn>7 && dn<11 && barx>29.82 && barx<30.02 	&& tdif>4  && dpdif>4 && clo>4  && wmax<15 && xwet==15) 																							{var fn = 2050 , fz = "A  low pressure is located to the northwest or north of Richmond, Va area. " ;}    //  NOVEMBER 14, 2008   12:04 PM
if ((tt==3 || tt==4)&& vb==2 && brt> 5  && bdi>5 && dn>7 && dn<11 && barx>29.82 && barx<30.02 	&& tdif>4  && dpdif>4 && clo>4  && wmax<15 && xwet==15) 																							{var fn = 2051 , fz = "A  low pressure is located to the northwest or north of Richmond, Va area. " ;}    //  NOVEMBER 14, 2008   12:04 PM
if ((tt==3 || tt==4)&& vb==2 && brt> 5  && bdi>5 && dn>7 && dn<11 && barx>29.82 && barx<30.02 	&& tdif>4  && dpdif>4 && clo>4  && wmax<15 && xwet==15) 																							{var fn = 2052 , fz = "A  low pressure is located to the  north of Richmond, Va area. " ;}    //  NOVEMBER 14, 2008   12:04 PM
if((tt==3 || tt==4)&& vb<3&& brt==4 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.84 && barx<30.04 && xwet==0 && lwet==0 && wmax<14 && tdif>-4 && tdif<2 && dpdif>2 && dpdif<8 && tempa>40 && dd<24 && rh<66 && rhy>1 && rhy<21 && tran>16 && tran<25 && sp<4 && clo<5 && dpnow>46 && dpnow<60) 							{var fn = 2053 , fz = "A  low pressure is located well to the  north of Richmond in Quebec Canada and a high pressure to the SW is giving a NW flow between the two systems. " ; } // 9/30/09-12:36 LP in Quebec and a HP in AR
if((tt==3 || tt==4)&& vb<3&& brt==8 && bdi>6&& bdi<10&& dn>6&& dn<10 && barx>29.68 && barx<29.88 && xwet==15 && lwet==0 && wmax<14 && tdif>-8 && tdif<-2 && dpdif>5 && dpdif<11 && tempa>41 && tempa<61 && dd<22 && rh<68 && rhy>12 && rhy<32 && tran>15 && tran<24 && sp<5 && clo<6 && dpnow>30 && dpnow<44) 						{var fn = 2054 , fz = "A  low pressure to the west or  northwest of Glen Allen - Springfield Park area and a warm front is locate to the south of central Virginia." ; } // 02/22/10-12:35
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>7&& bdi<11&& dn>10&& dn<14 && barx>29.26 && barx<29.46 && xwet==15 && lwet==0 && wmax<26 && tdif>-4 && tdif<2 && dpdif>-8 && dpdif<-2 && tempa>49 && tempa<69 && dd<13 && rh<91 && rhy>-22 && rhy<-2 && tran>1 && tran<10 && sp<6 && clo<6 && dpnow>47 && dpnow<61) 						{var fn = 2055 , fz = "A deep slow moving low pressure is located just to the NW of Glen Allen - Springfield Park area and the pressure is still steady indicating it is moving away slowly or is nearly stationary." ; } // 03/13/10-12:51
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>7&& bdi<11&& dn>14&& dn<18 && barx>29.23 && barx<29.43 && xwet==15 && lwet==0 && wmax<26 && tdif>0 && tdif<6 && dpdif>-9 && dpdif<-3 && tempa>53 && tempa<73 && dd<19 && rh<79 && rhy>-36 && rhy<-16 && tran>5 && tran<14 && sp<5 && clo<6 && dpnow>45 && dpnow<59) 						{var fn = 2056 , fz = "A deep slow moving low pressure is located just to the NW of Glen Allen - Springfield Park area and the pressure is still steady indicating it is moving away slowly or is nearly stationary." ; } // 03/13/10-15:22
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>7&& bdi<11&& dn>11&& dn<15 && barx>29.23 && barx<29.43 && xwet==15 && lwet==0 && wmax<26 && tdif>1 && tdif<7 && dpdif>-8 && dpdif<-2 && tempa>53 && tempa<73 && dd<18 && rh<79 && rhy>-37 && rhy<-17 && tran>5 && tran<14 && sp<5 && clo<6 && dpnow>46 && dpnow<60) 						{var fn = 2057 , fz = "A deep slow moving low pressure is located just to the NW of Glen Allen - Springfield Park area and the pressure is still steady indicating it is moving away slowly or is nearly stationary." ; } // 03/13/10-15:39



if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.84 && barx<30.04 && xwet==0 && lwet==0 && wmax<18 && tdif>-2 && tdif<4 && dpdif>5 && dpdif<11 && tempa>40 && dd<22 && rh<71 && rhy>3 && rhy<23 && tran>17 && tran<26 && sp<4 && clo<5 && dpnow>47 && dpnow<61) 							{var fn = 2063 , fz = "A  low pressure is located well to the  north of Richmond in Quebec Canada and a high pressure to the SW is giving a NW flow between the two systems. " ; } // 9/30/09-17:53
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.86 && barx<30.06 && xwet==0 && lwet==0 && wmax<18 && tdif>-1 && tdif<5 && dpdif>2 && dpdif<8 && tempa>40 && dd<18 && rh<81 && rhy>-2 && rhy<18 && tran>17 && tran<26 && sp<4 && clo<5 && dpnow>47 && dpnow<61) 							{var fn = 2064 , fz = "A  low pressure is located well to the  north of Richmond in Quebec Canada and a high pressure to the SW is giving a NW flow between the two systems. " ; } // 9/30/09-19:03
if((tt==4 || tt==5)&& vb<1&& brt==7 && bdi>2&& bdi<6&& dn>6&& dn<10 && barx>30.10 && barx<30.30 && xwet==2 && lwet==0 && wmax<20 && tdif>-6 && tdif<0 && dpdif>-8 && dpdif<-2 && tempa>41 && tempa<61 && dd<17 && rh<83 && rhy>-18 && rhy<2 && tran>20 && tran<29 && sp<3 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2065 , fz = "A weak low pressure to NW of Glen Allen will track to our north will and pull a cold front through the area and a high pressure is leaving the New England area. " ; } // 11/04/09-19:06
if((tt==4 || tt==5)&& vb<4&& brt==7 && bdi>2&& bdi<6&& dn>5&& dn<9 && barx>30.10 && barx<30.30 && xwet==2 && lwet==0 && wmax<20 && tdif>-7 && tdif<-1 && dpdif>-10 && dpdif<-4 && tempa>39 && tempa<59 && dd<16 && rh<83 && rhy>-18 && rhy<2 && tran>20 && tran<29 && sp<3 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 2066 , fz = "A weak low pressure to NW of Glen Allen will track to our north will and pull a cold front through the area and a high pressure is leaving the New England area. " ; } // 11/04/09-19:27
if((tt==4 || tt==5)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>5&& dn<9 && barx>30.10 && barx<30.30 && xwet==0 && lwet==0 && wmax<20 && tdif>-9 && tdif<-3 && dpdif>-7 && dpdif<-1 && tempa>38 && tempa<58 && dd<14 && rh<89 && rhy>-6 && rhy<14 && tran>20 && tran<29 && sp<3 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2067 , fz = "A weak low pressure to NW of Glen Allen will track to our north will and pull a cold front through the area and a high pressure is leaving the New England area." ; } // 11/04/09-19:50
if((tt==4 || tt==5)&& vb<3&& brt==7 && bdi>7&& bdi<11&& dn>12&& dn<16 && barx>29.20 && barx<29.40 && xwet==15 && lwet==0 && wmax<26 && tdif>1 && tdif<7 && dpdif>-11 && dpdif<-5 && tempa>52 && tempa<72 && dd<20 && rh<75 && rhy>-43 && rhy<-23 && tran>6 && tran<15 && sp<5 && clo<6 && dpnow>43 && dpnow<57) 						{var fn = 2068 , fz = "A deep slow moving east to west elongated low pressure is located over the central Virginia area and the pressure is falling indicating the low is strengthening." ; } // 03/13/10-17:15
if((tt==4 || tt==5)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>9&& dn<13 && barx>29.66 && barx<29.86 && xwet==0 && lwet==0 && wmax<38 && tdif>1 && tdif<7 && dpdif>2 && dpdif<8 && tempa>61 && tempa<81 && dd<41 && rh<40 && rhy>-8 && rhy<12 && tran>27 && tran<36 && sp<7 && clo<6 && dpnow>31 && dpnow<45) 						{var fn = 2069 , fz = "A  low pressure is located to the wrest of Richmond and a high pressure to the south is giving a strong SW flow between the two systems. " ; } // 03/25/10-17:15
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>8&& dn<12 && barx>29.66 && barx<29.86 && xwet==0 && lwet==0 && wmax<38 && tdif>-1 && tdif<5 && dpdif>0 && dpdif<6 && tempa>60 && tempa<80 && dd<42 && rh<39 && rhy>-9 && rhy<11 && tran>27 && tran<36 && sp<4 && clo<5 && dpnow>29 && dpnow<43) 						{var fn = 2070 , fz = "A  low pressure is located to the wrest of Richmond and a high pressure to the south is giving a strong SW flow between the two systems." ; } // 03/25/10-17:50



if((tt==5 || tt==1)&& vb<3&& brt==6 && bdi>2&& bdi<6&& dn>9&& dn<13 && barx>30.10 && barx<30.30 && xwet==0 && lwet==0 && wmax<20 && tdif>-10 && tdif<-4 && dpdif>4 && dpdif<10 && tempa>37 && tempa<57 && dd<13 && rh<92 && rhy>23 && rhy<43 && tran>20 && tran<29 && sp<3 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2072 , fz = "A weak low pressure to NW of Glen Allen will track to our north will and pull a cold front through the area and a high pressure is leaving the New England area." ; } // 11/04/09-20:36
if((tt==5 || tt==1)&& vb < 3 && brt<4   && bdi<4 && dn>9 && dn<12 && barx<29.90 		&& tdif<4  && dpdif<0 && clo>4  && wmax>20 && xwet>0  		&& tran<11  && pdif>0.01) 	 																		{var fn = 2073 , fz = "A  low pressure to the west or  northwest of Glen Allen - Springfield Park area. " ;}  //   DECEMBER 01, 2008   06:02 PM
if((tt==5 || tt==1)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>13&& dn<17 && barx>29.88 && barx<30.08 && xwet==0 && lwet==0 && wmax<18 && tdif>2 && tdif<8 && dpdif>1 && dpdif<7 && tempa>40 && dd<19 && rh<77 && rhy>-12 && rhy<8 && tran>17 && tran<26 && sp<4 && clo<5 && dpnow>45 && dpnow<59) 							{var fn = 2074 , fz = "A  low pressure is located well to the  north of Richmond in Quebec Canada and a high pressure to the SW is giving a NW flow between the two systems. " ; } // 9/30/09-20:05




//       1lne    LP   NORTHEAST
if(tt>2 		&& vb==2 &&  brt<5         		&& bdi<5    && (dn>13 || dn<2) 	&& barx>29.80  &&  dpdif<-5    	&& wmax>12   && xwet==15	&& temphi<55  && clo<4)      	 																		{var fn = 2090 , fz = "A low is now in the New England area and moving away as a high pressure is starting to build into the area. " ;}
if(tt>2 		&& vb==2 &&  brt<5       		&& bdi<5    &&  dn>12 		&& barx<29.85  &&  dpdif<0    	&& wmax>8     && xwet==15	&& temphi<55  && clo>2)      		 																		{var fn = 2091 , fz = "A low is now NE of the Glen Allen  area and moving away as a high pressure is starting to build into the area. " ;}
if(tt>3 		&& vb<4   &&  brt<5         		&& bdi<5    && (dn>13 || dn<2) 	&& barx>29.80  &&  dpdif<-5    	&& wmax>12   && xwet==15	&& temphi<55  && clo<4)      	 																		{var fn = 2092 , fz = "A low is now in the New England area and moving away as a high pressure is starting to build into the area. " ;}
if(tt>3 		&& vb<4   &&  brt<5          		&& bdi<5    			&& barx>29.80  &&  dpdif<-5   	&& wmax>12   && xwet==15 	&& temphi<55  && clo<4)      	 																			{var fn = 2093 , fz = "A low is now in the New England area and moving away as a high pressure is starting to build into the area. " ;}
if(tt>3 		&& vb<3   &&  brt<4       		&& bdi<3    			&& barx>30.00  &&  dpdif<-5   	&& wmax>12   && xwet==15 	&& temphi<55   && tdif<-4)      	 																		{var fn = 2094 , fz = "A low is now in the New England area and moving away as a high pressure is building into the area. " ;}
if(tt<3 		&& vb==2 &&  brt<3        		&& bdi>5    &&  dn>12 		&& barx<29.85  &&  dpdif<0    	&& wmax>8     && xwet==15	&& temphi<50  && clo>3)      		 																		{var fn = 2095 , fz = "A low is now NE of the Glen Allen  area and moving away as a high pressure is starting to build into the area. " ;}
if(tt<6 		&& vb==2 && brt<4       		&& bdi>0   && (dn>13 || dn<2)  	&& barx>29.00  		  	&& wmax>15    && xwet==15     	&& tran<10 && clo==5 && pdif>0.00)      																	{var fn = 2096 , fz = "A coastal low is now East or NE of the Glen Allen  area, and the barometric pressure is rising fast now expect improving conditions within the next 24 hours and winds will increase in the first  12 hours as the low pressure move off and the high pressure builds into the area but then decrease generally within 12 to 36 hour period. " ;}
if(tt<6 		&& vb==2 && brt<5                        	&& bdi>7   && dn>12   		&& barx<29.50  &&  dpdif<-5 	&& wmax>30)      			                  																				{var fn = 2097 , fz = "A strong northern low is now giving windy conditions to the Glen Allen area. " ;}
if(tt<6 		&& vb==2 && brt<5                        	&& bdi<3   && dn>12   		&& barx<29.80                         	&& wmax>28)      			              																				{var fn = 2098 , fz = "A coastal low is now NE of the Glen Allen  area.  "             ;}
if(tt<6 		&& vb==2 && brt==5                     	&& bdi<3    && dn>12   		&& barx<29.70                          	&& wmax>28)      			              																				{var fn = 2099 , fz = "A strong coastal low is now NE of the Glen Allen  area. " ;}
if(tt<6 		&& vb==2 && brt<3                        	&& bdi<3    && dn>13   		&& barx<29.70                          	&& wmax>30 			&& temphi<45)      			 																{var fn = 2100 , fz = "A strong coastal low is now NE of the Glen Allen  area now. Blustery  and cold with snow flurries disagreeable weather but conditions will improve greatly in the next 24 hours. " ;}
if(tt<6 		&& vb< 3   && (brt==4 || brt==5)   	&& bdi<3    && dn>13   		&& barx>29.80                          	&& wmax>25 			&& temphi<45)      			 																{var fn = 2101 , fz = "A strong coastal low is now NE of the Glen Allen  area now. Blustery  and cold  but conditions will improve greatly in the next 24 hours as winds will decrease as the low pressure move off and the high pressure builds into the area. " ;}
if(tt<6 		&& vb< 3   &&(brt==6 || brt==7)       && bdi>7    &&   dn<3 		&& barx>29.70   && barx<30.10 &&  dpdif>13    	&& wmax<15   && xwet==15 	&& temphi>45 )      		 																		{var fn = 2103 , fz = "A low is now NW of the Glen Allen  area and its associated warm front is giving overrunning and precipitation.  " ;}
if(tt<6 		&& vb==2 &&  brt<4                       	&& bdi>5    &&  dn>12 		&& barx>29.70  &&  dpdif<0    	&& wmax>15   && xwet==0 	&& temphi<45  && clo<4)      		 																		{var fn = 2104 , fz = "A low is now NE of the Glen Allen  area and a high pressure is building into the area. " ;}



if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi<5  && (dn>15 || dn<2) 	&& barx<29.90 && dpdif>-2  && tdif>0 && wmax<12    && xwet==0	&& temphi>60 && tran<8  && rh>80   && sp<3 && dd>1  ) 																		{var fn = 2114 , fz = "A low pressure is moving slowly away from the NE coast.  This feature is giving a northerly flow and temperatures below average for the season.  Also dew point temperatures and humidity are good for the summer season " ;}  //      JUNE 24, 2009   07:50 AM
if((tt==1 || tt==2)&& vb<4  && brt<4                     	&& bdi<5  && (dn>15 || dn<2) 	&& barx<29.85 && dpdif<-2  && tdif<0 && wmax<15    && xwet==0&& temphi>60 && tran<10  && rh<87 && rhy>0 && sp<3 && dd>3 && dsp>2) 																{var fn = 2115 , fz = "A low pressure is moving very slowly along the NE coast.  This is the second day this feature is influencing our weather by giving a northerly flow and decreasing the temperature, dew point temperatures and humidity to the Glen Allen - Springfield Park area. " ;}  //      JUNE 22, 2009   08:01 AM
if((tt==1 || tt==2)&& vb==3  && brt<4                    	&& bdi>6     && dn<3 		&& barx<30.05 && dpdif>-3  && tdif<-2 && wmax>18    && xwet==15 && lwet>2 && temphi<40 && tran<3  && rh>80 && ymw==15 && sp<4) 																{var fn = 2116 , fz = "A weak low pressure is departing  now on a NE track and still giving drizzle and the wind is backing as a stronger low pressure is located to the south of Glen Allen.  " ;}  //      MARCH 01, 2009   8:23 AM
if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi>6     && dn<5 		&& barx<29.90 && dpdif<-3  && tdif<-3 && wmax>25    && xwet==15 && lwet>9	&& temphi<40 && tran<10  && rh>90 && ymw==15 && sp<4) 																{var fn = 2117 , fz = "A low pressure is departing  now on a NE track off the VA coast and a second low pressure is located on the NC coast winds should soon shift to NW.  " ;}  //     MARCH 02, 2009   04:17 AM now 6.5 inches of snow
if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi>5     && dn>12 && dn<16	&& barx<30.00 && dpdif<-3  && tdif<-3 && wmax>25    && xwet==15 && lwet>9	&& temphi<40 && tran<10  && rh>90 && ymw==15 && sp<4) 																{var fn = 2118 , fz = "A low pressure is departing  now on a NE track off the VA coast and a second low pressure is located on the NC coast.   " ;}  //     MARCH 02, 2009   04:48 AM now 6.5 inches of snow
if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi>5     && dn>12 && dn<15	&& barx<30.00 && dpdif<2  && tdif>-2 && wmax>15    && xwet==0	&& temphi>60 && tran<15  && rh<70 && ymw==0 && sp==3 && dd>12) 															{var fn = 2119 , fz = "A low pressure is departing  now to north off the VA tracking NE.  Later today expect the low's associated cold frontal to pass the Glen Allen area giving breezy conditions.   " ;}  //     MARCH 09, 2009   08:10 AM
if((tt==1 || tt==2)&& vb< 3 && brt<4   		&& bdi>8   && dn>11   && dn<15 		&& barx<29.80 && dpdif<-8 && tdif>-2 && wmax>20   && xwet==0  	&& temphi<50&& tran>6 && clo<4 ) 	 																	{var fn = 2120 , fz = "A  low pressure to the north and high pressure to the SW of Glen Allen building into the area will cause a large pressure gradient and strong west wind today under clear skies.   " ;}  //    FEBRUARY 12, 2009   08:06 AM
if((tt==1 || tt==2)&&  vb<3 && brt==5 		&& bdi>7     && dn>7 && dn<12	&& barx<30.00 && dpdif>0  && tdif>0  && wmax>10    && xwet==0) 																							{var fn = 2121 , fz = "A  low pressure to the west now is tracking NE and will pass to the north of the Glen Allen - Springfield Park area. ";cc=10;}
if((tt==1 || tt==2)&& vb<3 && brt<4      		&& bdi<4     &&  dn>9 	      		&& xwet==0  && barx<29.90	&&  dpdif<-3 && clo<5   	&& wmax>15 && tran<12                        && dd>9 	&& rhy<-15) 																{var fn = 2122 , fz = "A high pressure  located just to the south is building eastward toward Glen Allen area and a low pressure in the NE is moving away and are working together to pull cold air southward between these two systems. "  ;} //            JANUARY 08, 2009   08:43 AM
if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi>8     && dn>8 && dn<12	&& barx<29.80 && dpdif>7  && tdif>8 && wmax<20    && xwet==15	&& temphi>40 && tran>5  && rh>80 && ymw==15 && sp==4 && dd<5) 																{var fn = 2123 , fz = "A low pressure is departing  now located to the NW of VA tracking NE.  Later today expect the low's associated cold frontal to pass the Glen Allen area giving wind and cooler conditions.   " ;}  //     MARCH 29, 2009   08:30 AM
if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi<5     && dn>13 && dn<17	&& barx<29.80 && dpdif<-14  && tdif<-9 && wmax<20    && xwet==0	&& temphi>40 && tran>8  && rh<70 && ymw==15 && sp<4 && dd>13) 																{var fn = 2124 , fz = "A low pressure is departing  now located in New England.  The low's associated strong cold frontal to pass the Glen Allen area less than 24 hours ago and is giving a large  temperature decrease to the Glen Allen - Springfield Park area. " ;}  //     APRIL 07, 2009   08:54 AM
if((tt==1 || tt==2)&& vb<3  && brt<4                     	&& bdi>5     && dn>13  		&& barx<29.80 && dpdif<-4  && tdif<5 && wmax<18    && xwet==0	&& temphi>60 && tran<15  && rh<75 && rhy<-13 && sp<3 && dd>9) 																{var fn = 2125 , fz = "A low pressure is moving very slowly along the NE coast.  The low's weak associated cold frontal passed the Glen Allen area less than 24 hours ago and is giving a slight  temperature decrease but a large decrease in the humidity to the Glen Allen - Springfield Park area. " ;}  //      JUNE 21, 2009   08:00 AM
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>14 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<9 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>40 && dd<8 && rh<110 && rhy>-3 && rhy<7 && tran>0 && tran<8 && sp<3 && clo<6 && dpnow>57 && dpnow<71) 									{var fn = 2126 , fz = "A low pressure is moving slowly away from the NE coast and high pressure is staring to build into the area. This is giving a northerly flow and temperatures will be below average for the season." ; } // 9/9/09-8:16
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.93 && barx<30.13 && xwet==15 && lwet==0 && wmax<22 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>30 && tempa<50 && dd<9 && rh<106 && rhy>-11 && rhy<9 && tran>-2 && tran<7 && sp<3 && clo<6 && dpnow>32 && dpnow<46) 						{var fn = 2127 , fz = "A low pressure is moving slowly away from the NE coast. This is giving a northerly flow and temperatures will be below average for the season." ; } // 10/18/09-8:19
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>14&& dn<18 && barx>29.71 && barx<29.91 && xwet==15 && lwet==0 && wmax<10 && tdif>0 && tdif<6 && dpdif>0 && dpdif<6 && tempa>46 && tempa<66 && dd<8 && rh<110 && rhy>-10 && rhy<10 && tran>-4 && tran<5 && sp<4 && clo<6 && dpnow>49 && dpnow<63) 						{var fn = 2128 , fz = "A low pressure is moving slowly away from the NE coast. Later today expect the low's associated cold frontal to pass the Glen Allen area giving breezy conditions.  " ; } // 10/28/09-8:16
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>14&& dn<18 && barx>29.71 && barx<29.91 && xwet==15 && lwet==0 && wmax<10 && tdif>0 && tdif<6 && dpdif>0 && dpdif<6 && tempa>47 && tempa<67 && dd<8 && rh<110 && rhy>-10 && rhy<10 && tran>-4 && tran<5 && sp<4 && clo<6 && dpnow>50 && dpnow<64) 						{var fn = 2129 , fz = "A low pressure is moving slowly away from the NE coast. Later today expect the low's associated cold frontal to pass the Glen Allen area giving breezy conditions. " ; } // 10/28/09-8:29
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>14&& dn<18 && barx>29.71 && barx<29.91 && xwet==15 && lwet>0 && lwet<15&& wmax<10&&tdif>0&&tdif<6 && dpdif>0&&dpdif<6&&tempa>47&& tempa<67&& dd<8 && rh<110 && rhy>-10 && rhy<10 && tran>-3 && tran<6 && sp<4 && clo<6 && dpnow>50 && dpnow<64) 						{var fn = 2130 , fz = "A low pressure is moving slowly away from the NE coast but a few parting sprinkles or drizzle. Later today expect the low's associated cold frontal to pass the Glen Allen area giving breezy conditions. " ; } // 10/28/09-8:49
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>11&& dn<15 && barx>29.61 && barx<29.81 && xwet==0 && lwet==0 && wmax<17 && tdif>2 && tdif<8 && dpdif>0 && dpdif<6 && tempa>31 && tempa<51 && dd<24 && rh<64 && rhy>-12 && rhy<8 && tran>8 && tran<17 && sp<3 && clo<5 && dpnow>18 && dpnow<32) 						{var fn = 2131 , fz = "A distant low pressure is moving very slowly away toward the NE coast. Later today expect a high pressure to start building into the Glen Allen area giving breezy west to NW winds with a decrease in cloudiness but still a partly cloudy afternoon. " ; } // 02/28/10-8:53
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>0&& dn<4 && barx>29.31 && barx<29.51 && xwet==15 && lwet==0 && wmax<18 && tdif>-10 && tdif<-4 && dpdif>-11 && dpdif<-5 && tempa>38 && tempa<58 && dd<9 && rh<103 && rhy>-16 && rhy<4 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2132 , fz = "A low pressure just NE of central Virginia is moving slowly away from the Glen Allen - Springfield Park area. This is giving a some light rain from the wrap around effect of the low as it passes to the NE. " ; } // 03/14/10-8:34


if((tt==2 || tt==3)&& vb<4  && brt<=5                     	&& bdi<5  && (dn>14 || dn<2) 	&& barx<29.85 && dpdif<5  && tdif<0 && wmax<22    && xwet==0	&& temphi>60 && tran<20  && rh<70 && rhy>0 && sp<3 && dd>10) 																	{var fn = 2138 , fz = "A low pressure is moving very slowly along the NE coast.  This is the second day this feature is influencing our weather by giving a northerly flow and decreasing the temperature to the Glen Allen - Springfield Park area. " ;}  //      JUNE 22, 2009   11:30 AM
if((tt==2 || tt==3)&& vb<3  && brt>6                     	&& bdi>8     && dn>7 && dn<12 	&& barx<30.00 && dpdif>9  && tdif>-3 && wmax>15    && xwet==15  	&& temphi<50 && tran<6 && clo==5 ) 	 																		{var fn = 2139 , fz = "A  low pressure to the west now is tracking NE and will pass to the north.  " ;}  //     FEBRUARY 18, 2009   10:17 AM
if((tt==2 || tt==3)&& vb==3  && brt<=5                     	&& bdi>6     && dn<4 		&& barx<30.10 && dpdif>0  && tdif<-2 && wmax>18    && xwet==15  	&& temphi<40 && tran<5  && rh>60 && ymw==15 && sp<4) 	 															{var fn = 2140 , fz = "A weak low pressure is departing  now on a NE track and the wind is backing as a stronger low pressure is located to the south of Glen Allen.   " ;}  //       MARCH 01, 2009   10:23 AM
if((tt==2 || tt==3)&& vb<3  && brt<4                     	&& bdi>5     && dn>12 && dn<15	&& barx<30.00 && dpdif<-7  && tdif>-1 && wmax>18    && xwet==0	&& temphi>60 && tran>12  && rh<40 && ymw==0 && sp==3 && dd>20) 															{var fn = 2141 , fz = "A low pressure is departing  now to north off the VA tracking NE.  Later today expect the low's associated cold frontal to pass the Glen Allen area giving breezy conditions.   " ;}  //     MARCH 09, 2009   08:10 AM
if((tt==2 || tt==3)&& vb<3  && brt<4                     	&& bdi>5     && dn>13  		&& barx<29.80 && dpdif<-6  && tdif<3 && wmax<20    && xwet==0	&& temphi>60 && tran<20  && rh<60 && rhy<-15 && sp<3 && dd>14) 																{var fn = 2142 , fz = "A low pressure is moving very slowly along the NE coast.  The low's weak associated cold frontal passed the Glen Allen area less than 24 hours ago and is giving a slight  temperature decrease but a large decrease in the humidity to the Glen Allen - Springfield Park area. " ;}  //      JUNE 21, 2009   10:31 AM
if((tt==2 || tt==3)&& vb<4  && brt<4                     	&& bdi>=5  && (dn>14 || dn<2) 	&& barx<29.80 && dpdif<-7  && tdif<-3 && wmax<25    && xwet==0	&& temphi>60 && tran<20  && rh<60 && rhy<-8 && sp<3 && dd>12) 																{var fn = 2143 , fz = "A low pressure is moving very slowly along the NE coast.  The low's weak associated cold frontal passed the Glen Allen area less than 24 hours ago and is giving a slight  temperature decrease but a large decrease in the humidity to the Glen Allen - Springfield Park area. " ;}  //        JUNE 21, 2009   12:00 PM
if((tt==2 || tt==3)&&(mm<4 || mm>9) &&  brt>6 	&& bdi<5   && dn>11 && dn<15 	&& xwet==0  && barx<29.80 	&&  dpdif<-3                           && wmax>18                                                                        && rhy<-25 )  																{var fn = 2144 , fz = "A high pressure  located just to the south is building eastward toward Glen Allen area and a low pressure in the NE is moving away and are giving windy conditions and lower temperatures and much lower relative humidity. ";cc=50;} //    JANUARY 08, 2009   12:58 PM
if((tt==2 || tt==3)&& vb<3  &&  brt>5     		&& bdi>5    			&& barx<30.00  &&  dpdif<0   	&& wmax<15    && xwet==15  	&& temphi<50    		&& pdif>0.25 && dd<3)      	 																	{var fn = 2145 , fz = "A low pressure is now forming off the Atlantic coast and will move NE.  Later today expect a cold frontal passage and windy conditions. " ;}
if((tt==2 || tt==3)&& vb<3  && brt==5 		&& bdi>6    && dn>12   		&& barx<29.80 && dpdif<0 && tdif<-4 && wmax>10   && xwet==15)   																							{var fn = 2146 , fz = "A low pressure to our NE is now forming off the Atlantic coast and will move NE.  Cold air is starting to filter into the Glen Allen area from the cold front and windy conditions will increase this afternoon. " ;}
if((tt==2 || tt==3)&& vb<3  && brt==5 		&& bdi>6    && dn>12   		&& barx<29.90 && dpdif<0 && tdif<-9 && wmax>10   && xwet==15)   																							{var fn = 2147 , fz = "A low pressure to our NE is now tracking NE up and off the Atlantic coast.  " ;} //     FEBRUARY 03, 2009   11:16 PM
if((tt==2 || tt==3)&& vb<4  && brt==7  && (bdi==6 || bdi==7) && (dn>11 || dn<2)	&& barx<29.90 && dpdif<-4 && tdif<6 && wmax<25   && xwet==0 && temphi>50 && tran>18  && rh<45 && rhy<-8 && sp<3 && dd>15)																	{var fn = 2148 , fz = "A low pressure to our NE is now tracking very slowly eastward and a high pressure in the SW is pulling a northerly flow.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //    JUNE 29, 2009   05:01 PM
if((tt==2 || tt==3)&& vb<3  && brt==5  && (bdi==6 || bdi==7) &&  dn>11 && dn<15	&& barx<29.80 && dpdif>0 && tdif<3 && wmax<25   && xwet==0 && temphi>50 && tran>20  && rh<50 && rhy<10 && sp<3 && dd>18)																	{var fn = 2149 , fz = "A low pressure to our north is now tracking very slowly eastward with its associated cold front that is drawing a west-southwest flow ahead of the front.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //    JUNE 30, 2009   12:00 PM tran already 24 °F
if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>6&& bdi<10&& dn>14&& dn<18 && barx>29.73 && barx<29.93 && xwet==15 && lwet==0 && wmax<10 && tdif>-1 && tdif<5 && dpdif>0 && dpdif<6 && tempa>47 && tempa<67 && dd<8 && rh<110 && rhy>-9 && rhy<11 && tran>-3 && tran<6 && sp<4 && clo<6 && dpnow>50 && dpnow<64) 						{var fn = 2150 , fz = "A low pressure is moving away from the NE coast. Later today expect partical clearing then the low's associated cold frontal to pass the Glen Allen area giving breezy conditions. " ; } // 10/28/09-9:39
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>5&& bdi<9&& dn>11&& dn<15 && barx>29.62 && barx<29.82 && xwet==15 && lwet==0 && wmax<32 && tdif>-2 && tdif<4 && dpdif>-11 && dpdif<-5 && tempa>37 && tempa<57 && dd<17 && rh<81 && rhy>-39 && rhy<-19 && tran>6 && tran<15 && sp<4 && clo<3 && dpnow>31 && dpnow<45) 						{var fn = 2151 , fz = "A low pressure to our NE is now tracking north-eastward and a high pressure in the SW is tracking eastward.   " ; } // 11/27/09-9:44
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.61 && barx<29.81 && xwet==0 && lwet==0 && wmax<21 && tdif>1 && tdif<7 && dpdif>0 && dpdif<6 && tempa>38 && tempa<58 && dd<32 && rh<49 && rhy>-11 && rhy<9 && tran>16 && tran<25 && sp<3 && clo<4 && dpnow>17 && dpnow<31) 						{var fn = 2152 , fz = "A distant low pressure is moving very slowly away toward the NE coast but is intensifying as it moves off. Later today expect a high pressure to start building into the Glen Allen area giving increasing  NW winds and partly cloudy skies. " ; } // 02/28/10-11:40
if((tt==2 || tt==3)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.35 && barx<29.55 && xwet==15 && lwet==15 && wmax<20 && tdif>-11 && tdif<-5 && dpdif>-11 && dpdif<-5 && tempa>38 && tempa<58 && dd<10 && rh<105 && rhy>-10 && rhy<10 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>39 && dpnow<53) 					{var fn = 2153 , fz = "A low pressure just NE of central Virginia is starting to move slowly away from the Glen Allen - Springfield Park area. This low is giving a some light rain from the wrap around effect of the low as it passes to the NE this morning." ; } // 03/14/10-11:25



if((tt==3 || tt==4)&& vb<3  && brt==7  && (bdi==6 || bdi==7) &&  dn>10 && dn<14	&& barx<29.80 && dpdif>-2 && tdif<4 && wmax<25   && xwet==0 && temphi>50 && tran>21  && rh<50 && rhy>-5 && sp<3 && dd>19)																	{var fn = 2160 , fz = "A low pressure to our north is now tracking very slowly eastward with its associated cold front that is drawing a west-southwest flow ahead of the front. The approach of the front is causing the pressure to fall.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //      JUNE 30, 2009   12:36 PM  tran already 25 °F
if((tt==3 || tt==4)&& vb<3  && brt==6  && (bdi==6 || bdi==7) &&  dn>10 && dn<14	&& barx<29.80 && dpdif>-2 && tdif<4 && wmax<25   && xwet==0 && temphi>50 && tran>21  && rh<50 && rhy>-3 && sp<3 && dd>21)																	{var fn = 2161 , fz = "A low pressure to our north is now tracking very slowly eastward with its associated cold front that is drawing a west-southwest flow ahead of the front. The approach of the front is causing the barometric pressure to fall.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //      JUNE 30, 2009   12:36 PM  tran already 25 °F
if((tt==3 || tt==4)&& vb<3  && brt==5  && (bdi==6 || bdi==7) &&  dn>10 && dn<14	&& barx<29.80 && dpdif>-2 && tdif<4 && wmax<25   && xwet==0 && temphi>50 && tran>21  && rh<50 && rhy>-3 && sp<3 && dd>21)																	{var fn = 2162 , fz = "A low pressure to our north is now tracking very slowly eastward with its associated cold front that is drawing a west-southwest flow ahead of the front. The approach of the front is very slow as the barometric pressure is nearly steady.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //      JUNE 30, 2009   1538 PM  tran already 25 °F
if((tt==3 || tt==4)&& vb<3  && brt>7                     	&& bdi>8     && dn>8 && dn<12 	&& barx<29.90 && dpdif>13  && tdif>-2 && wmax>18    && xwet==15  	&& temphi<50 && tran>5 && clo==5 && rhy>40) 	 																	{var fn = 2163 , fz = "A  low pressure to the west now is tracking NE and will pass to the north.  " ;}  //     FEBRUARY 18, 2009   12:27 AM
if((tt==3 || tt==4)&& vb<3  && brt<8 		&& bdi<7    && dn>12   		&& barx<29.90 && dpdif<0 && tdif>-5 && wmax>10   && xwet==15 && lwet>2)   																						{var fn = 2164 , fz = "A low pressure to our NE is now tracking NE away from Central Virginia and precipitation should soon be ending. " ;} //     FEBRUARY 03, 2009   12:26 PM
if((tt==3 || tt==4)&& vb<3  && brt<8 		&& bdi<7    && dn>12   		&& barx<29.90 && dpdif<0 && tdif>-5 && wmax>10   && xwet==15)   																							{var fn = 2165 , fz = "A low pressure to our NE is now tracking NE away from Central Virginia. " ;} //     FEBRUARY 03, 2009   12:26 PM
if((tt==3 || tt==4)&& vb<3  && brt<8 		&& bdi<7    && dn>12   		&& barx<29.90 && dpdif<0 && tdif<-9 && wmax>10   && xwet==15)   																							{var fn = 2166 , fz = "A low pressure associated the the cold front that just passed is now moving away from Central Virginia  to our NE is tracking NE up the cold front that recently passed.  " ;} //     FEBRUARY 03, 2009   12:26 PM   AUGUST 22, 2009   03:58 PM
if((tt==3 || tt==4)&& vb<4  && brt<4                     	&& bdi<6  && (dn>14 || dn<2) 	&& barx<29.80 && dpdif<-7  && tdif<-5 && wmax<28   && xwet==0	&& temphi>60 && tran<20  && rh<60 && rhy<0 && sp<3 && dd>12) 																	{var fn = 2167 , fz = "A low pressure is moving very slowly along the NE coast.  The low's weak associated cold frontal passed the Glen Allen area less than 24 hours ago and is giving a slight  temperature decrease but a large decrease in the humidity to the Glen Allen - Springfield Park area. " ;}  //        JUNE 21, 2009   12:00 PM and vb=3
if((tt==3 || tt==4)&& vb<4  && brt<=5                     	&& bdi<5  && (dn>15 || dn<2) 	&& barx<29.80 && dpdif<-4  && tdif<-5 && wmax<29   && xwet==0	&& temphi>60 && tran<20  && rh<65 && rhy<0 && sp<3 && dd>12) 																	{var fn = 2168 , fz = "A low pressure is moving very slowly along the NE coast.  The low's associated cold frontal passed the Glen Allen area less than 24 hours ago and is giving a slight  temperature decrease but a large decrease in the humidity to the Glen Allen - Springfield Park area. " ;}  //          JUNE 21, 2009   02:20 PM and vb=3
if((tt==3 || tt==4)&& vb<4  && brt>6                     	&& bdi<5  && (dn>14 || dn<2) 	&& barx<29.85 && dpdif<5  && tdif<3 && wmax<22    && xwet==0	&& temphi>60 && tran<22  && rh<70 && rhy>-3 && sp<3 && dd>10) 																	{var fn = 2169 , fz = "A low pressure is moving very slowly along the NE coast.  This feature has been influencing our weather for more than 48 hours by giving a northerly flow and decreasing the temperature, dew point temperatures to the Glen Allen - Springfield Park area. " ;}  //      JUNE 22, 2009   11:30 AM
if((tt==3 || tt==4)&& vb<4  && brt>6 		&& (bdi==5 || bdi==6) && (dn>14 || dn<2) 	&& barx<29.85 && dpdif>0  && tdif>0 && wmax<22    && xwet==0 && temphi>60 && tran<22  && rh<70 && rhy>-5 && sp<3 && dd>10) 															{var fn = 2170 , fz = "A low pressure is moving very slowly along the NE coast.  This is the second day this feature is influencing our weather by giving a northerly flow and decreasing the temperature, dew point temperatures to the Glen Allen - Springfield Park area.  But a  temperature moderation is now starting as it is 2 °F warmer now than yesterday. " ;}  //      JUNE 22, 2009   11:30 AM
if((tt==3 || tt==4)&& vb<4  && brt>4                     	&& bdi<5  && (dn>15 || dn<2) 	&& barx<29.90 && dpdif<0  && tdif>0 && wmax<22    && xwet==0	&& temphi>60 && tran<22  && rh<60   && sp<3 && dd>15  ) 																		{var fn = 2171 , fz = "A low pressure is moving slowly away from the NE coast.  This feature is giving a northerly flow and temperatures near average or a little below average for the season.  Also dew point temperatures and humidity isn't bad for the summer season " ;}  //      JUNE 24, 2009   12:31 PM
if((tt==3 || tt==4)&& vb<4  && brt==7  && (bdi==6 || bdi==7) && (dn>13 || dn<2)	&& barx<29.90 && dpdif<-4 && tdif<6 && wmax<25   && xwet==0 && temphi>50 && tran>18  && rh<45 && rhy<-8 && sp<3 && dd>15)																	{var fn = 2172 , fz = "A low pressure to our NE is now tracking very slowly eastward and a high pressure in the SW is pulling a northerly flow.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //    JUNE 29, 2009   05:01 PM
if((tt==3 || tt==4)&& vb<3 &&(brt==6 || brt==7)&& bdi>5&& bdi<9&& dn>13&& dn<17 && barx>29.96 && barx<30.16 && xwet==1 && lwet==0 && wmax<26 && tdif>7 && tdif<13 && dpdif>-1 && dpdif<5 && tempa>40 && dd<23 && rh<71 && rhy>-22 && rhy<-12 && tran>15 && tran<23 && sp<4 && clo<5 && dpnow>55 && dpnow<69) 						{var fn = 2173 , fz = "A low pressure is moving very slowly northeastward along the NE coast (DE coast) and a high pressure is to the SW causing a northwestward flow. " ; } // 9/11/09-13:11
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>14&& dn<18 && barx>29.94 && barx<30.14 && xwet==1 && lwet==0 && wmax<26 && tdif>6 && tdif<12 && dpdif>0 && dpdif<6 && tempa>40 && dd<23 && rh<70 && rhy>-17 && rhy<-7 && tran>16 && tran<24 && sp<4 && clo<5 && dpnow>56 && dpnow<70) 							{var fn = 2174 , fz = "A low pressure is moving very slowly northeastward along the NE coast (DE coast) and a high pressure is to the SW causing a northwestward flow. " ; } // 9/11/09-13:39
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>14&& dn<18 && barx>29.91 && barx<30.11 && xwet==1 && lwet==0 && wmax<26 && tdif>4 && tdif<10 && dpdif>2 && dpdif<8 && tempa>40 && dd<25 && rh<66 && rhy>-8 && rhy<2 && tran>18 && tran<26 && sp<4 && clo<4 && dpnow>55 && dpnow<69) 							{var fn = 2175 , fz = "A low pressure is moving very slowly northeastward along the NE coast (DE coast) and a high pressure is to the SW causing a northwestward flow. " ; } // 9/11/09-15:36
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>8&& bdi<12&& dn>11&& dn<15 && barx>29.58 && barx<29.78 && xwet==15 && lwet==0 && wmax<24 && tdif>6 && tdif<12 && dpdif>5 && dpdif<11 && tempa>40 && dd<15 && rh<88 && rhy>-11 && rhy<9 && tran>8 && tran<17 && sp<6 && clo<5 && dpnow>60 && dpnow<74) 							{var fn = 2176 , fz = "A low pressure is moving northeastward along the NE coast (DE coast) away from Glen Allen but is strengthing and giving a westerly breeze. " ; } // 9/27/09-12:00
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>8&& bdi<12&& dn>11&& dn<15 && barx>29.55 && barx<29.75 && xwet==15 && lwet==0 && wmax<24 && tdif>8 && tdif<14 && dpdif>4 && dpdif<10 && tempa>40 && dd<20 && rh<77 && rhy>-21 && rhy<-1 && tran>11 && tran<20 && sp<6 && clo<4 && dpnow>58 && dpnow<72) 							{var fn = 2177 , fz = "A low pressure is moving northeastward along the NE coast away from Glen Allen and is giving a westerly breezy. " ; } // 9/27/09-13:08
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>7&& bdi<11&& dn>11&& dn<15 && barx>29.52 && barx<29.72 && xwet==15 && lwet==0 && wmax<24 && tdif>9 && tdif<15 && dpdif>2 && dpdif<8 && tempa>40 && dd<23 && rh<71 && rhy>-26 && rhy<-6 && tran>13 && tran<22 && sp<6 && clo<4 && dpnow>56 && dpnow<70) 							{var fn = 2178 , fz = "A low pressure is moving northeastward along the NE coast away from Glen Allen and is giving a westerly breezy. " ; } // 9/27/09-16:14
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.96 && barx<30.16 && xwet==15 && lwet==0 && wmax<28 && tdif>-3 && tdif<3 && dpdif>-6 && dpdif<0 && tempa>38 && tempa<58 && dd<14 && rh<88 && rhy>-20 && rhy<0 && tran>4 && tran<13 && sp<3 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2179 , fz = "A low pressure is moving slowly away from the NE coast. This is giving a northerly flow and temperatures will be below average for the season." ; } // 10/18/09-14:41
if((tt==3 || tt==4)&& vb<3&& brt==4 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.00 && barx<30.20 && xwet==1 && lwet==0 && wmax<21 && tdif>5 && tdif<11 && dpdif>-3 && dpdif<3 && tempa>47 && tempa<67 && dd<17 && rh<82 && rhy>-32 && rhy<-12 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>41 && dpnow<55) 						{var fn = 2180 , fz = "A low pressure is moving very slowly NE along the NE coast.  This is the second day this feature is influencing our weather by giving a northeasterly flow and decreasing the temperature. There is also a high pressure in New England. " ; } // 11/02/09-16:50
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>14&& dn<18 && barx>29.51 && barx<29.71 && xwet==15 && lwet==0 && wmax<22 && tdif>-1 && tdif<5 && dpdif>-12 && dpdif<-6 && tempa>33 && tempa<53 && dd<30 && rh<51 && rhy>-34 && rhy<-14 && tran>9 && tran<18 && sp<4 && clo<5 && dpnow>14 && dpnow<28) 					{var fn = 2181 , fz = "A low pressure is moving slowly up the NE coast and is strengthening as the pressure is still falling some. This is giving a northerly flow and partly to mostly cloudy skies and temperatures will be below average for the season." ; } // 02/25/10-12:43
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.61 && barx<29.81 && xwet==0 && lwet==0 && wmax<25 && tdif>3 && tdif<9 && dpdif>1 && dpdif<7 && tempa>38 && tempa<58 && dd<31 && rh<49 && rhy>-12 && rhy<8 && tran>17 && tran<26 && sp<3 && clo<4 && dpnow>18 && dpnow<32) 						{var fn = 2182 , fz = "A distant low pressure is moving very slowly away toward the NE coast but is intensifying as it moves off. Later today expect a high pressure to start building into the Glen Allen area giving increasing  NW winds and partly cloudy skies. " ; } // 02/28/10-12:22
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>2&& bdi<6&& dn>12&& dn<16 && barx>29.59 && barx<29.79 && xwet==0 && lwet==0 && wmax<25 && tdif>0 && tdif<6 && dpdif>1 && dpdif<7 && tempa>39 && tempa<59 && dd<32 && rh<49 && rhy>-9 && rhy<11 && tran>17 && tran<26 && sp<3 && clo<5 && dpnow>18 && dpnow<32) 						{var fn = 2183 , fz = "A distant low pressure is moving very slowly away toward the NE coast but is intensifying as it moves off. Later today expect a high pressure to start building into the Glen Allen area giving increasing  NW winds and partly cloudy skies." ; } // 02/28/10-13:02
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>12&& dn<16 && barx>29.59 && barx<29.79 && xwet==0 && lwet==0 && wmax<25 && tdif>-1 && tdif<5 && dpdif>0 && dpdif<6 && tempa>37 && tempa<57 && dd<31 && rh<49 && rhy>-8 && rhy<12 && tran>17 && tran<26 && sp<3 && clo<5 && dpnow>17 && dpnow<31) 						{var fn = 2184 , fz = "A distant low pressure is moving very slowly away toward the NE coast. Later this afternoon expect a high pressure to start building into the Glen Allen area giving breezy west to NW winds with a decrease in cloudiness but still a partly cloudy afternoon. " ; } // 02/28/10-13:22
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>2&& bdi<6&& dn>13&& dn<17 && barx>29.62 && barx<29.82 && xwet==1 && lwet==0 && wmax<28 && tdif>-5 && tdif<1 && dpdif>3 && dpdif<9 && tempa>35 && tempa<55 && dd<29 && rh<53 && rhy>2 && rhy<22 && tran>17 && tran<26 && sp<3 && clo<5 && dpnow>17 && dpnow<31) 						{var fn = 2185 , fz = "A distant low pressure is moving away toward the NE coast as the pressure is rising and a high pressure to start building into the Glen Allen area giving breezy west to NW winds and a partly cloudy afternoon." ; } // 02/28/10-16:47
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>2&& bdi<6&& dn>14&& dn<18 && barx>29.36 && barx<29.56 && xwet==15 && lwet==4 && wmax<20 && tdif>-11 && tdif<-5 && dpdif>-10 && dpdif<-4 && tempa>38 && tempa<58 && dd<9 && rh<106 && rhy>-7 && rhy<13 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2186 , fz = "A low pressure just NE of central Virginia is moving very slowly away from the Glen Allen - Springfield Park area. The low is giving a some light rain from the wrap around effect giving unsettled weather conditions." ; } // 03/14/10-11:59
if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.54 && barx<29.74 && xwet==15 && lwet==0 && wmax<26 && tdif>1 && tdif<7 && dpdif>-8 && dpdif<-2 && tempa>43 && tempa<63 && dd<19 && rh<77 && rhy>-37 && rhy<-17 && tran>6 && tran<15 && sp<4 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2187 , fz = "A low pressure is moving very slowly along the NE coast and has actually retrograded southward  while weaking today . This is the fourth day this feature is influencing our weather by giving a northerly flow and decreasing the temperature, dew point temperatures to the Glen Allen - Springfield Park area.  This feature has brought unsettled weather and even giving a few light showers today. " ; } // 03/15/10-13:16
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>0&& dn<4 && barx>29.58 && barx<29.78 && xwet==15 && lwet==0 && wmax<30 && tdif>-5 && tdif<1 && dpdif>-8 && dpdif<-2 && tempa>40 && tempa<60 && dd<16 && rh<84 && rhy>-19 && rhy<1 && tran>6 && tran<15 && sp<4 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2188 , fz = "A low pressure is moving very slowly along the NE coast and has actually retrograded southward while weaking today .  This is the fourth day this feature is influencing our weather by giving a northerly flow and decreasing the temperature, dew point temperatures to the Glen Allen - Springfield Park area.  This feature has brought unsettled weather and even giving a few light showers today. " ; } // 03/15/10-16:35






if((tt==4 || tt==5)&& vb<3  && brt>6   		&& bdi>8 	&& dn>8     && dn<12 		&& barx<29.80 && dpdif>0 && tdif>0  && wmax>20    && xwet==0  	&& temphi<50 && tran>10 && clo>3) 	 																	{var fn = 2189 , fz = "A  low pressure to the west or northwest of Glen Allen will pass to the north of the forecast area pulling a cold front through in the next 24 hours. " ;}  //   FEBRUARY 11, 2009   07:13 PM
if((tt==4 || tt==5)&&(mm<4 || mm>9)&&  brt<4 	&& bdi<4 && dn>12 && dn<16      && xwet==0  && barx<29.85              &&  dpdif<-13                        && wmax>18 && tran>10  	&& tdif<-8  		&& rhy<-25  )  																{var fn = 2190 , fz = "A high pressure  located just to the south is building eastward toward Glen Allen area and a low pressure in the NE is moving away and are giving windy conditions today but decreasing around sunset and lower temperatures and much lower relative humidity. ";cc=50;} //     JANUARY 08, 2009   05:15 PM
if((tt==4 || tt==5)&& vb<4  && brt<4                     	&& bdi<5  && (dn>15 || dn<3) 	&& barx<29.90 && dpdif<0  && tdif>0 && wmax<22    && xwet==0	&& temphi>60 && tran<22  && rh<75   && sp<3 && dd>15  ) 																		{var fn = 2191 , fz = "A low pressure is moving slowly away from the NE coast.  This feature is giving a northerly flow and temperatures near average or a little below average for the season.  Also dew point temperatures and humidity isn't bad for the summer season " ;}  //      JUNE 24, 2009   19:31 PM
if((tt==4 || tt==5)&& vb<3  && brt==5  && (bdi==4 || bdi==5) &&  dn>11 && dn<14	&& barx<29.80 && dpdif>-3 && tdif<4 && wmax<25   && xwet==0 && temphi>50 && tran>21  && rh<58 && rhy>-3 && sp<3 && dd>17)																	{var fn = 2192 , fz = "A low pressure to our north is now tracking very slowly eastward with its associated cold front that is drawing a westerly flow ahead of the front. The approach of the front is very slow as the barometric pressure is nearly steady.  The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //        JUNE 30, 2009   05:51 PM  tran was 26 °F
if((tt==4 || tt==5)&& vb<3  && brt==3  && (bdi==4 || bdi==5) &&  dn>11 && dn<14	&& barx<29.80 && dpdif>-2 && tdif<4 && wmax<25   && xwet==0 && temphi>50 && tran>21  && rh<65 && rhy>-3 && sp<3 && dd>12)																	{var fn = 2193 , fz = "A low pressure to our north is now tracking very slowly eastward with its associated cold front that is drawing a westerly flow ahead of the front. The sky is mostly clear and the air is dry thus giving a large temperature range today. " ;} //          JUNE 30, 2009   07:07 PM tran was 26 °F
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>13&& dn<17 && barx>29.90 && barx<30.10 && xwet==1 && lwet==0 && wmax<26 && tdif>6 && tdif<12 && dpdif>-1 && dpdif<5 && tempa>40 && dd<27 && rh<63 && rhy>-19 && rhy<-9 && tran>18 && tran<26 && sp<4 && clo<4 && dpnow>52 && dpnow<66) 							{var fn = 2194 , fz = "A low pressure is moving very slowly northeastward along the NE coast (DE coast) and a high pressure is to the SW causing a northwestward flow.  " ; } // 9/11/09-17:09
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>12&& dn<16 && barx>29.91 && barx<30.11 && xwet==1 && lwet==0 && wmax<26 && tdif>2 && tdif<8 && dpdif>1 && dpdif<7 && tempa>40 && dd<18 && rh<80 && rhy>-7 && rhy<3 && tran>18 && tran<26 && sp<4 && clo<4 && dpnow>55 && dpnow<69) 								{var fn = 2195 , fz = "A low pressure is moving very slowly northeastward along the NE coast (DE coast) and a high pressure is to the SW causing a northwestward flow.  " ; } // 9/11/09-19:29
if((tt==4 || tt==5)&& vb<3&& brt==4 && bdi>7&& bdi<11&& dn>11&& dn<15 && barx>29.52 && barx<29.72 && xwet==15 && lwet==0 && wmax<24 && tdif>9 && tdif<15 && dpdif>-2 && dpdif<4 && tempa>40 && dd<24 && rh<69 && rhy>-36 && rhy<-16 && tran>13 && tran<22 && sp<6 && clo<4 && dpnow>54 && dpnow<68) 							{var fn = 2196 , fz = "A low pressure is moving northeastward along the NE coast away from Glen Allen and is giving a westerly breezy and high pressure is just starting to build into the area. " ; } // 9/27/09-17:09
if((tt==4 || tt==5)&& vb<3 && bdi>5&& bdi<9&& dn>0&& dn<4 && barx>29.91 && barx<30.11 && xwet==15 && lwet==15 && wmax<18 && tdif>-6 && tdif<0 && dpdif>2 && dpdif<8 && tempa>47 && tempa<67 && dd<9 && rh<109 && rhy>14 && rhy<34 && tran>2 && tran<11 && sp<4 && clo<6 && dpnow>49 && dpnow<63) 							{var fn = 2197 , fz = "A low pressure is moving northeastward along the NE coast away from Glen Allen and a second low pressure is located to the SW of Glen Allen. " ; } // 10/27/09-19:28
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.00 && barx<30.20 && xwet==1 && lwet==0 && wmax<21 && tdif>3 && tdif<9 && dpdif>-2 && dpdif<4 && tempa>45 && tempa<65 && dd<14 && rh<89 && rhy>-27 && rhy<-7 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>42 && dpnow<56) 						{var fn = 2198 , fz = "A low pressure is moving very slowly NE along the NE coast.  This is the second day this feature is influencing our weather by giving a northeasterly flow and decreasing the temperature. There is also a high pressure in New England. " ; } // 11/02/09-17:08
if((tt==4 || tt==5)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.01 && barx<30.21 && xwet==1 && lwet==0 && wmax<21 && tdif>2 && tdif<8 && dpdif>-2 && dpdif<4 && tempa>44 && tempa<64 && dd<13 && rh<93 && rhy>-23 && rhy<-3 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>42 && dpnow<56) 						{var fn = 2199 , fz = "A low pressure is moving very slowly NE along the NE coast.  This is the second day this feature is influencing our weather by giving a northeasterly flow and decreasing the temperature. There is also a high pressure in New England. " ; } // 11/02/09-17:18
if((tt==4 || tt==5)&& vb<1&& brt==3 && bdi>3&& bdi<7&& dn>0&& dn<4 && barx>30.02 && barx<30.22 && xwet==1 && lwet==0 && wmax<21 && tdif>0 && tdif<6 && dpdif>-3 && dpdif<3 && tempa>42 && tempa<62 && dd<12 && rh<97 && rhy>-20 && rhy<0 && tran>6 && tran<15 && sp<2 && clo<5 && dpnow>41 && dpnow<55) 						{var fn = 2200 , fz = "A low pressure is moving very slowly NE along the NE coast.  This is the second day this feature is influencing our weather by giving a northeasterly flow and decreasing the temperature. There is also a high pressure in New England. " ; } // 11/02/09-17:52
if((tt==4 || tt==5)&& vb<4&& brt==5 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.02 && barx<30.22 && xwet==1 && lwet==0 && wmax<21 && tdif>-4 && tdif<2 && dpdif>-4 && dpdif<2 && tempa>38 && tempa<58 && dd<9 && rh<106 && rhy>-11 && rhy<9 && tran>7 && tran<16 && sp<3 && clo<5 && dpnow>40 && dpnow<54) 						{var fn = 2201 , fz =  "A low pressure is moving very slowly NE along the NE coast.  This is the second day this feature is influencing our weather by giving a northeasterly flow and decreasing the temperature. There is also a high pressure in New England. " ; } // 11/02/09-19:14



if((tt==5 || tt==1)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.05 && barx<30.25 && xwet==15 && lwet==0 && wmax<28 && tdif>-1 && tdif<5 && dpdif>-4 && dpdif<2 && tempa>37 && tempa<57 && dd<14 && rh<90 && rhy>-21 && rhy<-1 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 2210 , fz = "A low pressure is moving slowly northeastward along the NE coast (RI coast) and a high pressure is to the SW and is starting to build into the area." ; } // 10/18/09-20:23
if((tt==5 || tt==1)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>30.06 && barx<30.26 && xwet==15 && lwet==0 && wmax<28 && tdif>0 && tdif<6 && dpdif>-4 && dpdif<2 && tempa>36 && tempa<56 && dd<13 && rh<91 && rhy>-25 && rhy<-5 && tran>6 && tran<15 && sp<4 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 2211 , fz = "A low pressure is moving slowly northeastward along the NE coast (RI coast) and a high pressure is to the SW and is starting to build into the area." ; } // 10/18/09-21:29
if((tt==5 || tt==1)&& vb<3&& brt==6 && bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.02 && barx<30.22 && xwet==1 && lwet==0 && wmax<21 && tdif>-6 && tdif<0 && dpdif>-4 && dpdif<2 && tempa>36 && tempa<56 && dd<8 && rh<109 && rhy>-3 && rhy<17 && tran>9 && tran<18 && sp<3 && clo<2 && dpnow>39 && dpnow<53) 						{var fn = 2212 , fz = "A low pressure is moving very slowly NE along the NE coast.  This is the second day this feature is influencing our weather by giving a northeasterly flow and decreasing the temperature. There is also a high pressure in New England." ; } // 11/02/09-21:19
if((tt==5 || tt==1)&& vb<3&&(brt==7||brt==8)&& bdi>7&& bdi<11&& dn>1&& dn<5 && barx>29.56 && barx<29.76 && xwet==15 && lwet==15 && wmax<21 && tdif>-10 && tdif<-4 && dpdif>3 && dpdif<9 && tempa>23 && tempa<43 && dd<8 && rh<108 && rhy>29 && rhy<49 && tran>7 && tran<16 && sp<5 && clo<6 && dpnow>26 && dpnow<40) 					{var fn = 2213 , fz = "A low pressure is deeping off the SE coast as the pressure is falling  and the wind has increased from the NE. The low is bring steady but light precipitation to the Glen Allen - Springfield Park area. " ; } // 03/02/10-21:22 So far we have had 0.4 inches of snow.




//                1le                            LOW PRESSURES - TO EAST
if(tt<6   		   && bdi>8   && (dn>13 || dn<4)	&& barx<29.50    && tdif<3  && dpdif>6 && dd<2  && xwet==15  && lwet>12 	&& wmax<20 && pdif>0.50)  			 																			{var fn = 2221 , fz  = "A low pressure is now off the Virginia Coast. " ;}  //   covers convection   NOVEMBER 30, 2008   05:21 PM
if(tt<6   		   && bdi>8   && (dn>13 || dn<4)	&& barx<29.50    && tdif<3  && dpdif>6 && dd<2  && xwet==15    		&& wmax<20 && pdif>0.50)  			 																			{var fn = 2223 , fz  = "A low pressure is now off the Virginia Coast. " ;}  //   covers convection   NOVEMBER 30, 2008   05:21 PM
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.95 && barx<30.15 && xwet==15 && lwet==0 && wmax<18 && tdif>5 && tdif<11 && dpdif>9 && dpdif<15 && tempa>44 && tempa<64 && dd<8 && rh<109 && rhy>3 && rhy<23 && tran>-2 && tran<7 && sp<4 && clo<6 && dpnow>47 && dpnow<61) 						{var fn = 2224 , fz  = "A low pressure is moving verly slowly away from the VA coast as the pressure is still steady. This low pressure is giving a NE flow and day time temperatures will be below average for the season." ; } // 10/27/09-8:58
if((tt==1 || tt==2)&& vb<1&& brt==5 && bdi>2&& bdi<6&& dn>0&& dn<4 && barx>30.05 && barx<30.25 && xwet>0 && lwet==0 && wmax<18 && tdif>-3 && tdif<3 && dpdif>-8 && dpdif<-2 && tempa>41 && tempa<61 && dd<14 && rh<91 && rhy>-28 && rhy<-8 && tran>-3 && tran<6 && sp<3 && clo<6 && dpnow>38 && dpnow<52) 						{var fn = 2225 , fz  = "A low pressure is moving verly slowly away from the VA coast as the pressure is still steady. This low pressure is giving a NE flow and day time temperatures will be below average for the season." ; } // 11/02/09-8:16
if((tt==1 || tt==2)&& vb<3&& brt==6 && bdi>7&& bdi<11&& dn>8&& dn<12 && barx>30.05 && barx<30.25 && xwet==15 && lwet>0 && wmax<17 && tdif>7 && tdif<13 && dpdif>17 && dpdif<23 && tempa>29 && tempa<35 && dd<9 && rh<108 && rhy>24 && rhy<44 && tran>-1 && tran<8 && sp<5 && clo<6 && dpnow>25 && dpnow<39) 						{var fn = 2226 , fz  = "A low pressure is moving away from the VA coast as the pressure is now still steady or starting to rise. This low pressure is giving a light rain that started as freezing rain but is ending as rain as the high pressure is located to the east and not in the NE to give the NE flow to yield a significant winter precipitation." ; } // 12/31/09-8:17




if((tt==2 || tt==3) && vb<4 && brt<4 && bdi>7   && dn<4 	&& barx>29.90    && tdif>-2  && dpdif<2 && dd<5  && xwet==15  && lwet==0 && wmax<20 && pdif>0.10 && tran<8   && tempa<70)  																				{var fn = 2235, fz  = "A distant low pressure is now off the VA Coast and a high pressure is located to the SW giving a northerly flow between the two systems.  " ;}  //       MARCH 17, 2009   10:21 AM
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>6&& bdi<10&& dn>1&& dn<5 && barx>29.94 && barx<30.14 && xwet==15 && lwet==0 && wmax<18 && tdif>4 && tdif<10 && dpdif>8 && dpdif<14 && tempa>45 && tempa<65 && dd<9 && rh<109 && rhy>6 && rhy<26 && tran>-1 && tran<8 && sp<4 && clo<6 && dpnow>47 && dpnow<61) 						{var fn = 2236 , fz  = "A weak low pressure is now off the SE Coast and is moving away very slowly as noted by the slow pressure rise. " ; } // 10/27/09-9:13
if((tt==2 || tt==3)&& vb<1&&  (bdi==3 || bdi==4) && bdi>8&& bdi<12&& dn>-1&& dn<3 && barx>29.44 && barx<29.64 && xwet==15 && lwet==15 && wmax<34 && tdif>-5 && tdif<1 && dpdif>-4 && dpdif<2 && tempa>20 && tempa<40 && dd<8 && rh<107 && rhy>-5 && rhy<15 && tran>-1 && tran<8 && sp<7 && clo<6 && dpnow>23 && dpnow<37) 					{var fn = 2237 , fz  = "A strong low pressure is now off the Virginia Coast and starting to pull slowly away to the east as the pressure is now rising." ; } // 02/06/10-10:23
if((tt==2 || tt==3)&& vb<1&&  (bdi==3 || bdi==4) && bdi>8&& bdi<12&& dn>-1&& dn<3 && barx>29.46 && barx<29.66 && xwet==15 && lwet==15 && wmax<34 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>20 && tempa<40 && dd<9 && rh<106 && rhy>-9 && rhy<11 && tran>-1 && tran<8 && sp<7 && clo<6 && dpnow>22 && dpnow<36) 					{var fn = 2238 , fz  = "A strong low pressure is now off the Virginia Coast and starting to pull slowly away to the east as the pressure is now rising but Glen Allen is getting precipitation from the wrap around effect." ; } // 02/06/10-11:35


if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.88 && barx<30.08 && xwet==15 && lwet==0 && wmax<21 && tdif>-2 && tdif<4 && dpdif>-3 && dpdif<3 && tempa>37 && tempa<57 && dd<11 && rh<101 && rhy>-14 && rhy<6 && tran>0 && tran<9 && sp<3 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2246 , fz  = "A distant low pressure is now off the Virginia Coast and starting to move slowly away to the NE as the pressure has started to rise." ; } // 10/17/09-12:47
if((tt==3 || tt==4)&& vb<1&& brt==5 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.87 && barx<30.07 && xwet==15 && lwet==0 && wmax<21 && tdif>-2 && tdif<4 && dpdif>-5 && dpdif<1 && tempa>38 && tempa<58 && dd<13 && rh<95 && rhy>-20 && rhy<0 && tran>2 && tran<11 && sp<3 && clo<6 && dpnow>36 && dpnow<50) 						{var fn = 2247 , fz  = "A distant low pressure is now off the Virginia Coast and starting to move slowly away to the NE." ; } // 10/17/09-15:15
if((tt==3 || tt==4)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.88 && barx<30.08 && xwet==15 && lwet==0 && wmax<21 && tdif>-1 && tdif<5 && dpdif>-4 && dpdif<2 && tempa>38 && tempa<58 && dd<12 && rh<96 && rhy>-20 && rhy<0 && tran>2 && tran<11 && sp<3 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2248 , fz  = "A distant low pressure is now off the Virginia Coast and starting to move slowly away to the NE as the pressure has started to rise." ; } // 10/17/09-16:35
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>4&& bdi<8&& dn>-1&& dn<3 && barx>30.02 && barx<30.22 && xwet==15 && lwet==0 && wmax<18 && tdif>-3 && tdif<3 && dpdif>-4 && dpdif<2 && tempa>41 && tempa<61 && dd<9 && rh<105 && rhy>-12 && rhy<8 && tran>1 && tran<10 && sp<3 && clo<6 && dpnow>43 && dpnow<57) 						{var fn = 2249 , fz  = "A distant low pressure is now off the SE Virginia Coast." ; } // 11/24/09-12:32
if((tt==3 || tt==4)&& vb<1&& brt==3 && bdi>8&& bdi<12&& dn>-1&& dn<3 && barx>29.46 && barx<29.66 && xwet==15 && lwet==15 && wmax<34 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>20 && tempa<40 && dd<9 && rh<106 && rhy>-9 && rhy<11 && tran>0 && tran<9 && sp<7 && clo<6 && dpnow>22 && dpnow<36) 						{var fn = 2250 , fz  = "A strong low pressure is now off the Virginia Coast and starting to pull slowly away to the east as the pressure is now rising but Glen Allen is getting precipitation from the wrap around effect." ; } // 02/06/10-12:07
if((tt==3 || tt==4)&& vb<4&& (bdi==3 || bdi==4) && bdi>8&& bdi<12&& dn>-1&& dn<3 && barx>29.47 && barx<29.67 && xwet==15 && lwet==15 && wmax<34 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>20 && tempa<40 && dd<9 && rh<106 && rhy>-8 && rhy<12 && tran>0 && tran<9 && sp<6 && clo<6 && dpnow>22 && dpnow<36) 					{var fn = 2251 , fz  = "A strong low pressure is now off the Virginia Coast and starting to pull slowly away to the east as the pressure is now rising but Glen Allen is getting precipitation from the wrap around effect." ; } // 02/06/10-12:38
if((tt==3 || tt==4)&& vb<4&& brt==3 && bdi>8&& bdi<12&& dn>-1&& dn<3 && barx>29.48 && barx<29.68 && xwet==15 && lwet==15 && wmax<34 && tdif>-7 && tdif<-1 && dpdif>-6 && dpdif<0 && tempa>19 && tempa<39 && dd<9 && rh<106 && rhy>-7 && rhy<13 && tran>0 && tran<9 && sp<6 && clo<6 && dpnow>21 && dpnow<35) 						{var fn = 2252 , fz  = "A strong low pressure is now off the Virginia Coast and starting to pull slowly away to the east as the pressure is now rising but Glen Allen is getting precipitation from the wrap around effect." ; } // 02/06/10-13:15
if((tt==3 || tt==4)&& vb<3&& (bdi=2 || bdi==3)&& bdi>7&& bdi<11&& dn>-1&& dn<3 && barx>29.56 && barx<29.76 && xwet==15 && lwet==15 && wmax<34 && tdif>-6 && tdif<0 && dpdif>-7 && dpdif<-1 && tempa>19 && tempa<39 && dd<9 && rh<103 && rhy>-14 && rhy<6 && tran>0 && tran<9 && sp<7 && clo<6 && dpnow>21 && dpnow<35) 					{var fn = 2253 , fz  = "A strong low pressure is now off the Virginia Coast and and is now pulling away to the east as the pressure is now rising rapidly but Glen Allen is still getting precipitation from the wrap around effect." ; } // 02/06/10-15:22
if((tt==3 || tt==4)&& vb<3&& (bdi=2 || bdi==3) && bdi>6&& bdi<10&& dn>-1&& dn<3 && barx>29.58 && barx<29.78 && xwet==15 && lwet==15 && wmax<34 && tdif>-7 && tdif<-1 && dpdif>-8 && dpdif<-2 && tempa>18 && tempa<38 && dd<10 && rh<104 && rhy>-14 && rhy<6 && tran>2 && tran<11 && sp<7 && clo<6 && dpnow>19 && dpnow<33) 					{var fn = 2254 , fz  = "A strong low pressure is now off the Virginia Coast and and is now pulling away to the east as the pressure is now rising rapidly and should be ending before long but Glen Allen is still getting precipitation from the wrap around effect." ; } // 02/06/10-16:30
if((tt==3 || tt==4)&& vb<4&& (bdi=2 || bdi==3) && bdi>6&& bdi<10&& dn>-1&& dn<3 && barx>29.59 && barx<29.79 && xwet==15 && lwet==15 && wmax<34 && tdif>-7 && tdif<-1 && dpdif>-8 && dpdif<-2 && tempa>18 && tempa<38 && dd<10 && rh<102 && rhy>-15 && rhy<5 && tran>2 && tran<11 && sp<7 && clo<6 && dpnow>19 && dpnow<33) 					{var fn = 2255 , fz  = "A strong low pressure is now off the Virginia Coast and and is now pulling away to the east as the pressure is now rising rapidly and should be ending before long but Glen Allen is still getting precipitation from the wrap around effect." ; } // 02/06/10-16:42


if(tt==4 && brt==5 && bdi>8   &&  dn<6 		&& barx<29.50    && tdif<3  && dpdif>6 && dd<2  && xwet==15  && lwet>12 	&& wmax<20 && pdif>0.50)  																							{var fn = 2258 , fz  = "A low pressure is now off the Virginia Coast. " ;}  //    NOVEMBER 30, 2008   05:21 PM
if((tt==4 || tt==5) &&(vb==0 || vb==3) && brt>5 && bdi>6   && dn<5 	&& barx<29.90    && tdif<-5  && dpdif<-4 && dd<3  && xwet==15  && lwet>12 && wmax<15 && pdif>0.10 && tran<10 && clo==5 && tempa>34)  																	{var fn = 2259 , fz  = "A low pressure is now starting to form off the Virginia or SE Coast. " ;}  //     JANUARY 06, 2009   07:20 PM rainfalltoday so far 0.18
if((tt==4 || tt==5) && (vb==0 || vb==3) && brt<5 && bdi>6   && dn<5 	&& barx<29.90    && tdif<-5  && dpdif<-4 && dd<3  && xwet==15  && lwet>12 && wmax<15 && pdif>0.10 && tran<10 && clo==5 && tempa>34)  																	{var fn = 2260 , fz  = "A low pressure is now off the Virginia Coast and moving away as the pressure is rising. " ;}  //     JANUARY 06, 2009   07:34 PM rainfalltoday so far 0.09
if((tt==4 || tt==5) && vb<3 && brt<=5 && bdi>6   && dn<5 	&& barx>29.90    && tdif<0  && dpdif>0 && dd<6  && xwet==0  && lwet==0 && wmax<20 && pdif>0.00 && tran<6  && tempa<50)  																				{var fn = 2261 , fz  = "A weak low pressure is now off the SE Coast and should be forced seaward by the approach of a cold front.  " ;}  //       JANUARY 13, 2009   10:04 AM
if((tt==4 || tt==5)&& vb<1&& brt==5 && bdi>7&& bdi<11&& dn>0&& dn<4 && barx>29.63 && barx<29.83 && xwet==15 && lwet==15 && wmax<20 && tdif>-3 && tdif<3 && dpdif>4 && dpdif<10 && tempa>39 && tempa<59 && dd<8 && rh<109 && rhy>11 && rhy<31 && tran>3 && tran<12 && sp<5 && clo<6 && dpnow>42 && dpnow<56) 						{var fn = 2262 , fz = "A low pressure is now off the SE Virginia Coast." ; } // 10/15/09-19:53


if((tt==5 || tt==1)&& vb<4&& brt==3 && bdi>7&& bdi<11&& dn>-1&& dn<3 && barx>29.64 && barx<29.84 && xwet==15 && lwet==15 && wmax<20 && tdif>-1 && tdif<5 && dpdif>2 && dpdif<8 && tempa>39 && tempa<59 && dd<8 && rh<109 && rhy>0 && rhy<20 && tran>3 && tran<12 && sp<5 && clo<6 && dpnow>42 && dpnow<56) 						{var fn  = 2272 , fz = "A low pressure is now off the east Virginia Coast and starting to move away to the NE as the pressure has started to rise." ; } // 10/15/09-21:25
if((tt==5 || tt==1)&& vb<4&& brt==2 && bdi>0&& bdi<4&& dn>-1&& dn<3 && barx>29.68 && barx<29.88 && xwet==15 && lwet==0 && wmax<30 && tdif>-3 && tdif<3 && dpdif>-10 && dpdif<-4 && tempa>39 && tempa<59 && dd<17 && rh<81 && rhy>-29 && rhy<-9 && tran>6 && tran<15 && sp<7 && clo<6 && dpnow>33 && dpnow<47) 						{var fn  = 2273 , fz = "A strong low pressure is now off the Virginia Coast and and is now pulling away to the east as the pressure is now rising rapidly and should be ending the precipitation today from the wrap around effect." ; } // 03/15/10-20:19



//             1lse                                          LOW PRESSURES - TO SE
if (tt<6    && vb==3 	      && brt>5        && bdi>6    &&  dn<3 		&& barx>30.00  			&& dpdif>0  		&& tdif>0  	&& xwet==15 && wmax>15)			               																	{var fn = 2280 , fz  = "A distant low pressure is now south or southeast of the Glen Allen area. " ;}  //   NOVEMBER 05, 2008   09:34 AM
if (tt<6    && vb==2 	      && brt== 5        && bdi>5 && dn>7 && dn<12 	&& barx>30.00  			&& dpdif>5  && dpdif<8   && tdif>-3  && tdif<8 && xwet==0   && wmax>14)																				{var fn = 2281 , fz  = "A distant low pressure is now south of the Glen Allen area. " ;}  //   MAY 27, 2007   01:35 PM
if (tt<6    && vb==2 	      && brt== 5        && bdi>5 && dn>2 && dn<6 	&& barx>30.20  			&& dpdif>3  		&& tdif>0    	&& xwet==15 && wmax<15)																				{var fn = 2282 , fz  = "A weak low pressure is now south of the Glen Allen area and a high pressure is located to the north. " ;}  //     NOVEMBER 04, 2008   09:07 AM
if (tt<6    && vb<3 	      && brt== 5        && bdi>5 && dn>1 && dn<4 	&& barx>30.10  			&& dpdif>2  		&& tdif>-3    	&& xwet==15 && wmax<20 && lwet==0 )																			{var fn = 2283 , fz  = "A weak low pressure is now south of the Glen Allen area and a high pressure is located to the north. " ;}  //       NOVEMBER 04, 2008   05:55 PM
if (tt<6    && vb==3 	      && brt>5           && bdi>4  && dn>3 && dn<12 	&& barx>30.00  			&& dpdif>9  		&& tdif>19   	&& xwet==0   && wmax<20 && lwet==0 		&& clo>2 )																{var fn = 2284 , fz  = "A high pressure is now SE of the Glen Allen area.  " ;}
if (tt<6    && (vb==0 || vb==3) && brt>5          && bdi>4  && dn>1 && dn<6 	&& barx>30.20  			&& dpdif>0  && dd<6			&& xwet==0   && wmax<20 && lwet==0 		&& clo>3 )															{var fn = 2285 , fz  = "A high pressure is now north of the Glen Allen area and a low pressure is approaching from the south. " ;}  // -  NOVEMBER 03, 2008   09:07 PM
if (tt<6    && vb<3    	       && brt>6          && bdi>5  && dn>1 && dn<5 	&& barx>30.20  			&& dpdif>0    				&& xwet==15 && wmax<15 && lwet==15  && dd<4)																		{var fn = 2286 , fz  = "A weak low pressure is developing  to the south of the Glen Allen area and a high pressure is located to the north. " ;}  //     NOVEMBER 04, 2008   09:19 AM
if (tt<6    && vb==3  	       && brt>6          && bdi>6  && dn>5 && dn<9 	&& barx<30.20  			&& dpdif>4    				&& xwet > 12  && wmax<15 && lwet==0    && dd<5  && pdif<0.05)																{var fn = 2287 , fz  = "A weak low pressure is developing  to the SE of the Glen Allen area and a high pressure is located to the northeast. " ;}  //       NOVEMBER 13, 2008   08:15 AM
if (tt<6    && vb==3  	       && brt>6          && bdi>6  && dn>2 && dn<6 	&& barx<30.20  			&& dpdif>4    				&& xwet > 12  && wmax<15 && lwet==0    && dd<5  && pdif<0.05)																{var fn = 2288 , fz  = "A weak low pressure is developing  to the SE of the Glen Allen area and a high pressure is located to the northeast. " ;}  //       NOVEMBER 13, 2008   09:15 AM
if (tt<6    && vb==2  	       && brt>6          && bdi>8 && dn>8 && dn<12 	&& barx<30.20  			&& dpdif>5    				&& xwet > 12  && wmax<15 && lwet==0    && dd<5  && pdif<0.05)																{var fn = 2289 , fz  = "A weak low pressure is developing  to the SE of the Glen Allen area. " ;}  //         NOVEMBER 13, 2008   09:43 AM
if (tt<6    && vb==2 && brate>0 && brt<3          && bdi>7 &&(dn>13 || dn<4) 	&& barx<30.20  		 	&& dpdif>5 		               && tch<0 && xwet==15  && wmax<15 && lwet==15  && dd<6 ) 																{var fn = 2290 , fz  = "A weak low pressure is developing  to the SE of the Glen Allen area and current pressure rise and temperature drop indicates upper level disturbance just passed. " ;}  //         NOVEMBER 13, 2008   11:03 AM
if (tt<6    &&(vb==0 || vb==3)  && brt>7           && bdi>7 && (dn>15 || dn<5)	&& barx>29.50 && barx<29.80   	&& dpdif>0 && dd<5  			&& xwet==15  && wmax<20 && lwet==15)  																	{var fn = 2291 , fz  = "A low pressure is developing  to the SE of the Glen Allen area. " ;}  //  NOVEMBER 30, 2008   08:14 AM
if(vb<3   		       && brt>4          && bdi>7 &&   dn>1 		&& barx>30.10  			&& dpdif>0    				&& xwet==15  && wmax<15 && lwet==0    && dd<3)													  				{var fn = 2292 , fz  = "A weak low pressure developing  to the SE of the Glen Allen area. " ;}  //       NOVEMBER 04, 2008   06:46 PM
if(vb==3                	       && brt>5          && bdi>5  &&  dn<4		&& barx>30.10  			&& dpdif>0    				&& xwet==15  && wmax>20 && lwet==0   && dd<3)																	{var fn = 2293 , fz  = "A weak coastal low pressure is developing to the SE of the Glen Allen area. " ;}  //         NOVEMBER 04, 2008   08:48 PM
if(tt<2    &&(vb==0 || vb==3)  && brt>7           && bdi>8 &&  dn<6		&& barx>29.50 && barx<29.80   	&& dpdif>0 && dd<3  			&& xwet==15  && wmax<15 && lwet>13 )  																	{var fn = 2294 , fz  = "A low pressure is developing  to the SE of the Glen Allen area. " ;}  //  NOVEMBER 30, 2008   08:14 AM
if((tt==1 || tt==2) && vb==3   && brt>5 	&& bdi>5   && dn<4 		&& barx<30.00 			&& dpdif<4   		&& tdif<-7   	&& xwet==15 && lwet>10 && wmax>12		 && tempa<35 && dd<3)														{var fn = 2295 , fz  = "A low pressure has formed on a cold front to southeast of the Glen Allen that passed the area earlier. "  ;} //           FEBRUARY 03, 2009   02:49 AM  about 0.5 inches on the ground.
if((tt==1 || tt==2) && vb==3   && brt>6          && bdi>7  &&  dn<5		&& barx<29.50  			&& dpdif>0    		&& tdif>0 && tch>0 && xwet==15  && wmax>5 && lwet>0   && dd<3 && pdif>0.20)															{var fn = 2296 , fz  = "A strong coastal low pressure is developing to the SE of the Glen Allen area. " ;}  //         JANUARY 07, 2009   08:44 AM
if((tt==1 || tt==2)&& vb<2&& brt==5 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<18 && tdif>-3 && tdif<3 && dpdif>1 && dpdif<7 && tempa>40 && dd<11 && rh<103 && rhy>6 && rhy<16 && tran>-2 && tran<6 && sp<3 && clo<6 && dpnow>59 && dpnow<73) 								{var fn = 2297 , fz  = "A slow moving low pressure is developing on a stationary front off the North Carolina coast and a high pressure is located in New England. " ; } // 9/7/09-8:17
if((tt==1 || tt==2)&& vb<4&& brt==5 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.08 && barx<30.28 && xwet==0 && lwet==0 && wmax<22 && tdif>-5 && tdif<1 && dpdif>0 && dpdif<6 && tempa>40 && dd<10 && rh<101 && rhy>11 && rhy<21 && tran>-1 && tran<7 && sp<3 && clo<6 && dpnow>60 && dpnow<74) 								{var fn = 2298 , fz  = "A slow moving low pressure is developing on a stationary front off the North Carolina coast and a high pressure is located in New England. " ; } // 9/7/09-8:42
if((tt==1 || tt==2)&& vb<4&& brt==7 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<22 && tdif>-5 && tdif<1 && dpdif>0 && dpdif<6 && tempa>40 && dd<11 && rh<100 && rhy>10 && rhy<20 && tran>-1 && tran<7 && sp<3 && clo<6 && dpnow>59 && dpnow<73) 								{var fn = 2299 , fz  = "A slow moving low pressure is developing on a stationary front off the North Carolina coast and a high pressure is located in New England. " ; } // 9/7/09-8:54
if((tt==1 || tt==2)&& vb<4&& brt==3 && bdi>5&& bdi<9&& dn>2&& dn<6 && barx>29.92 && barx<30.12 && xwet==15 && lwet==15 && wmax<22 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<8 && rh<108 && rhy>-4 && rhy<6 && tran>-2 && tran<6 && sp<4 && clo<6 && dpnow>60 && dpnow<74) 								{var fn = 2300 , fz  = "A slow moving low pressure is off the North Carolina coast and a high pressure is located in New England are working together to give a NE to east wind flow off the Atlantic. " ; } // 9/8/09-7:44
if((tt==1 || tt==2)&& bdi>5&& bdi<9&& dn>2&& dn<6 && barx>29.92 && barx<30.12 && xwet==15 && lwet==15 && wmax<22 && tdif>-5 && tdif<1 && dpdif>-3 && dpdif<3 && tempa>40 && dd<9 && rh<108 && rhy>2 && rhy<12 && tran>-2 && tran<6 && sp<4 && clo<6 && dpnow>59 && dpnow<73) 									{var fn = 2301 , fz  = "A slow moving low pressure is off the North Carolina coast and a high pressure is located in New England are working together to give a NE to east wind flow off the Atlantic." ; } // 9/8/09-8:36
if((tt==1 || tt==2)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>10&& dn<14 && barx>29.89 && barx<30.09 && xwet==0 && lwet==0 && wmax<9 && tdif>-6 && tdif<0 && dpdif>-1 && dpdif<5 && tempa>40 && dd<8 && rh<109 && rhy>4 && rhy<24 && tran>2 && tran<11 && sp<3 && clo<2 && dpnow>48 && dpnow<62) 								{var fn = 2302 , fz  = "A weak (note wind isn't backing) low pressure is developing  to the SE of the Glen Allen area and a high pressure is located to the northwest" ; } // 10/6/09-8:43
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.85 && barx<30.05 && xwet==15 && lwet==0 && wmax<17 && tdif>-2 && tdif<4 && dpdif>-2 && dpdif<4 && tempa>33 && tempa<53 && dd<9 && rh<107 && rhy>-12 && rhy<8 && tran>-3 && tran<6 && sp<3 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2303 , fz  = "A weak low pressure is located to the SE of the Glen Allen area but the pressure is rising thus moving away from the coast and is giving only cloudiness. " ; } // 10/17/09-8:30
if((tt==1 || tt==2)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.84 && barx<30.04 && xwet==15 && lwet==15 && wmax<37 && tdif>-8 && tdif<-2 && dpdif>-8 && dpdif<-2 && tempa>35 && tempa<55 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<4 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2304 , fz  = "A slow moving low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a strong northeasterly flow off the Atlantic. " ; } // 11/12/09-8:14 Three day rain total of 3.17 inches so far
if((tt==1 || tt==2)&& vb<3&& brt==6 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.83 && barx<30.03 && xwet==15 && lwet==15 && wmax<37 && tdif>-8 && tdif<-2 && dpdif>-8 && dpdif<-2 && tempa>35 && tempa<55 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<4 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2305 , fz  = "A slow moving low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a strong northeasterly flow off the Atlantic. " ; } // 11/12/09-8:43 Three day rain total of 3.17 inches so far
if((tt==1 || tt==2)&& vb<3&& brt==6 && bdi>5&& bdi<9&& dn>0&& dn<4 && barx>29.70 && barx<29.90 && xwet==15 && lwet==0 && wmax<40 && tdif>0 && tdif<6 && dpdif>-2 && dpdif<4 && tempa>38 && tempa<58 && dd<10 && rh<101 && rhy>-16 && rhy<4 && tran>-1 && tran<8 && sp<3 && clo<6 && dpnow>39 && dpnow<53) 						{var fn = 2306 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic. " ; } // 11/13/09-8:15 Four day rain total of 5.61 inches.
if((tt==1 || tt==2)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>0&& dn<4 && barx>29.84 && barx<30.04 && xwet==15 && lwet==15 && wmax<17 && tdif>3 && tdif<9 && dpdif>2 && dpdif<8 && tempa>32 && tempa<52 && dd<9 && rh<107 && rhy>-12 && rhy<8 && tran>-1 && tran<8 && sp<4 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 2307 , fz  = "A  low pressure is developing  to the SE of the Glen Allen area along the Carolina Coast area. " ; } // 12/05/09-8:01
if((tt==1 || tt==2)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.83 && barx<30.03 && xwet==15 && lwet==15 && wmax<21 && tdif>-1 && tdif<5 && dpdif>-1 && dpdif<5 && tempa>32 && tempa<52 && dd<9 && rh<108 && rhy>-10 && rhy<10 && tran>-1 && tran<8 && sp<4 && clo<6 && dpnow>34 && dpnow<48)		 				{var fn = 2308 , fz  = "A  low pressure is developing  to the SE of the Glen Allen area along the Carolina Coast area. " ; } // 12/05/09-8:59
if((tt==1 || tt==2)&& vb<3&&(brt==8||brt==9) && bdi>8&& bdi<12&& dn>1&& dn<5 && barx>29.43 && barx<29.63 && xwet==15 && lwet>12 && wmax<29 && tdif>3 && tdif<9 && dpdif>6 && dpdif<12 && tempa>30 && tempa<38 && dd<8 && rh<109 && rhy>3 && rhy<23 && tran>0 && tran<9 && sp<8 && clo<6 && dpnow>24 && dpnow<38)						{var fn = 2309 , fz  = "A deep low  pressure is developing  to the SE of the Glen Allen area along the Carolina Coast area." ; } // 12/19/09-5:24
if((tt==1 || tt==2)&& vb<3&& brt==3 && bdi>8&& bdi<12&& dn>1&& dn<5 && barx>29.45 && barx<29.65 && xwet==15 && lwet>8 && wmax<29 && tdif>-3 && tdif<3 && dpdif>5 && dpdif<11 && tempa>0 && tempa<38 && dd<9 && rh<107 && rhy>17 && rhy<37 && tran>0 && tran<9 && sp<7 && clo<6 && dpnow>21 && dpnow<35) 						{var fn = 2310 , fz  = "A deep low  pressure is starting to move off the SE of the Glen Allen area along the Carolina Coast area and a high pressure to the north are working together to pull a NE flow." ; } // 12/19/09-8:56
if((tt==1 || tt==2)&& vb<1&& brt==3 && bdi>-1&& bdi<3&& dn>0&& dn<4 && barx>29.86 && barx<30.06 && xwet==15 && lwet==0 && wmax<25 && tdif>-3 && tdif<3 && dpdif>-8 && dpdif<-2 && tempa>35 && tempa<55 && dd<15 && rh<86 && rhy>-26 && rhy<-6 && tran>-2 && tran<7 && sp<5 && clo<6 && dpnow>31 && dpnow<45) 						{var fn = 2311 , fz  = "Very rare low pressure retrograding SE off the Carolina Coast and a high pressure is located to the north of this low pressure. " ; } // 03/16/10-8:54






if((tt==2 || tt==3)&&(vb==0||vb==3)&& brt==7&&bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<22 && tdif>-7 && tdif<-1 && dpdif>0 && dpdif<6 && tempa>40 && dd<11 && rh<99 && rhy>13 && rhy<23 && tran>0 && tran<8 && sp<3 && clo<6 && dpnow>60 && dpnow<74) 							{var fn = 2320 , fz  = "A slow moving low pressure is developing on a stationary front off the North Carolina coast and a high pressure is located in New England." ; } // 9/7/09-9:18
if((tt==2 || tt==3)&&vb<4&&brt>5&& brt<8&& bdi>5&& bdi<9&& dn>3&& dn<6 && barx>29.92 && barx<30.12 && xwet==15 && lwet>0 && wmax<22 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>40 && dd<8 && rh<108 && rhy>-4 && rhy<6 && tran>-2 && tran<6 && sp<4 && clo<6 && dpnow>60 && dpnow<74) 							{var fn = 2321 , fz  = "A slow moving low pressure is off the North Carolina coast and a high pressure is located in New England are working together to give a NE to east wind flow off the Atlantic. " ; } // 9/8/09-9:44
if((tt==2 || tt==3)&&(vb==0 || vb==3)  && brt>6          && bdi>8 &&  dn<6		&& barx>29.50 && barx<29.75   	&& dpdif>0 && dd<3  			&& xwet==15  && wmax<15 && lwet>13 )  																	{var fn = 2322 , fz  = "A low pressure is developing  to the SE of the Glen Allen area. " ;}  //  NOVEMBER 30, 2008   08:14 AM
if((tt==2 || tt==3)&&vb<3 		       && brt>6          && bdi>8 &&  dn<6		&& barx>29.40 && barx<29.75   	&& dpdif>0 && dd<3  			&& xwet==15  && wmax<20 && lwet>13 )  																{var fn = 2323 , fz  = "A low pressure is developing  to the SE of the Glen Allen area. " ;}  //  NOVEMBER 30, 2008   08:14 AM
if((tt==2 || tt==3)&&vb<3		       && brt>=5        && bdi>8 &&  dn<6		&& barx>29.40 && barx<29.75   	&& dpdif>5 && dd<3  			&& xwet==15  && wmax<20 && lwet>13)  																{var fn = 2324 , fz  = "A low pressure is now SE of the Glen Allen area. " ;}  //  NOVEMBER 30, 2008   10:14 AM
if((tt==2 || tt==3) && vb==3   && brt<5 	&& bdi<5   &&  dn<5  		&& barx<30.00 			&& dpdif>3   		&& tdif>4   	&& xwet==0 && lwet==0 && wmax<13	&& clo<5 && tempa>35 && dd>10)														{var fn = 2325 , fz  = "A weak low pressure is located to the southeast of the Glen Allen and is giving precipitation only along the coastal areas and is moving away from the forecast area. "  ;} //       APRIL 09, 2009   09:57 AM
if((tt==2 || tt==3) && vb==0   && brt<5 	&& bdi<5   &&  dn<5  		&& barx<30.00 			&& dpdif>3   		&& tdif>4   	&& xwet==0 && lwet==0 && wmax<13	&& clo<5 && tempa>35 && dd>10)														{var fn = 2326 , fz  = "A weak low pressure is located to the southeast of the Glen Allen and is giving precipitation only along the coastal areas and is moving away from the forecast area. Expect a slow change in conditions as systems are moving slowly. "  ;} //       APRIL 09, 2009   10:15 AM
if((tt==2 || tt==3) && vb==3   && brt>6          && bdi<5  &&  dn<4		&& barx>30.00  			&& dpdif<-10    		&& tdif<-10         	&& xwet==0  && wmax<15 && lwet==0   && dd>15 && pdif==0 && sr<150)														{var fn = 2327 , fz  = "A distant or weak low pressure is starting to develope to the SE as noted by the backing winds and cloudiness. " ;}  //      JANUARY 25, 2009   11:59 AM
if((tt==2 || tt==3)&& vb<3&& brt==7 && bdi>4&& bdi<8&& dn>2&& dn<6 && barx>30.07 && barx<30.27 && xwet==0 && lwet==0 && wmax<22 && tdif>-7 && tdif<-1 && dpdif>0 && dpdif<6 && tempa>40 && dd<11 && rh<100 && rhy>14 && rhy<24 && tran>0 && tran<8 && sp<3 && clo<6 && dpnow>60 && dpnow<74) 								{var fn = 2328 , fz  = "A slow moving low pressure is developing on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow. " ; } // 9/7/09-9:08
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.04 && barx<30.24 && xwet==0 && lwet==0 && wmax<22 && tdif>-9 && tdif<-3 && dpdif>3 && dpdif<9 && tempa>40 && dd<16 && rh<86 && rhy>20 && rhy<30 && tran>6 && tran<14 && sp<3 && clo<5 && dpnow>61 && dpnow<75) 								{var fn = 2329 , fz  = "A slow moving low pressure is developing on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow 10 to 15 mph. " ; } // 9/7/09-11:48
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>2&& dn<6 && barx>29.92 && barx<30.12 && xwet==15   && wmax<22 && tdif>-7 && tdif<-1 && dpdif>-3 && dpdif<3 && tempa>40 && dd<8 && rh<108 && rhy>5 && rhy<15 && tran>-2 && tran<6 && sp<4 && clo<6 && dpnow>60 && dpnow<74) 									{var fn = 2330 , fz  = "A slow moving low pressure is off the SE Coast and a high pressure is located in New England are working together to give a damp NE to east wind flow off the Atlantic." ; } // 9/8/09-10:00
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>7&& bdi<11&& dn>-1&& dn<3 && barx>29.79 && barx<29.99 && xwet==15 && lwet==15 && wmax<18 && tdif>-4 && tdif<2 && dpdif>5 && dpdif<11 && tempa>37 && tempa<57 && dd<8 && rh<110 && rhy>20 && rhy<40 && tran>-1 && tran<8 && sp<5 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2331 , fz  = "A slow moving low pressure is off the SE Coast and a high pressure is located in New England are working together to give a chilly wet flow off the Atlantic. " ; } // 10/15/09-10:20
if((tt==2 || tt==3)&& vb==3&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.85 && barx<30.05 && xwet==15 && lwet==0 && wmax<18 && tdif>-2 && tdif<4 && dpdif>-3 && dpdif<3 && tempa>33 && tempa<53 && dd<9 && rh<106 && rhy>-13 && rhy<7 && tran>-3 && tran<6 && sp<3 && clo<6 && dpnow>35 && dpnow<49) 						{var fn = 2332 , fz  = "A weak low pressure is located to the SE of the Glen Allen area and giving a backing wind but the pressure is rising thus moving away from the coast and is giving mainly cloudiness and the chance for a little light precipitation. " ; } // 10/17/09-9:15
if((tt==2 || tt==3)&& vb==3&& brt==3 && bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.88 && barx<30.08 && xwet==15 && lwet==2 && wmax<18 && tdif>-2 && tdif<4 && dpdif>-3 && dpdif<3 && tempa>35 && tempa<55 && dd<10 && rh<104 && rhy>-14 && rhy<6 && tran>-2 && tran<7 && sp<3 && clo<6 && dpnow>36 && dpnow<50) 						{var fn = 2333 , fz  = "A weak low pressure is located to the SE of the Glen Allen area and giving a backing wind but the pressure is rising thus moving away from the coast and is giving only cloudiness and drizzle or light precipitation. " ; } // 10/17/09-10:16
if((tt==2 || tt==3)&& vb<3&& brt==6 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.83 && barx<30.03 && xwet==15 && lwet==14 && wmax<37 && tdif>-7 && tdif<-1 && dpdif>-7 && dpdif<-1 && tempa>35 && tempa<55 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<4 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2334 , fz  = "A slow moving low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a strong northeasterly flow off the Atlantic. " ; } // 11/12/09-9:40  11/12/09-8:43 Three day rain total of 3.37 inches so far
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>6&& bdi<10&& dn>1&& dn<5 && barx>29.82 && barx<30.02 && xwet==15 && lwet==15 && wmax<37 && tdif>-7 && tdif<-1 && dpdif>-7 && dpdif<-1 && tempa>34 && tempa<54 && dd<8 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<7 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2335 , fz  = "A slow moving low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a strong northeasterly flow off the Atlantic." ; } // 11/12/09-11:06 Three day rain total so far 3.69 inches so far
if((tt==2 || tt==3)&& vb<3&& brt==8 && bdi>6&& bdi<10&& dn>1&& dn<5 && barx>29.79 && barx<29.99 && xwet==15 && lwet==15 && wmax<37 && tdif>-8 && tdif<-2 && dpdif>-8 && dpdif<-2 && tempa>34 && tempa<54 && dd<8 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<7 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2336 , fz  = "A slow moving low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a strong northeasterly flow off the Atlantic." ; } // 11/12/09-11:27 Three day rain total so far 3.74 inches so far
if((tt==2 || tt==3)&& vb<1&& brt==5 && bdi>5&& bdi<9&& dn>0&& dn<4 && barx>29.71 && barx<29.91 && xwet==15 && lwet==0 && wmax<40 && tdif>2 && tdif<8 && dpdif>0 && dpdif<6 && tempa>40 && tempa<60 && dd<11 && rh<100 && rhy>-17 && rhy<3 && tran>1 && tran<10 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2337 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic. " ; } // 11/13/09-9:07 Four day rain total of 5.61 inches.
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>0&& dn<4 && barx>29.71 && barx<29.91 && xwet==15 && lwet>0 && wmax<40 && tdif>2 && tdif<8 && dpdif>2 && dpdif<8 && tempa>40 && tempa<60 && dd<9 && rh<106 && rhy>-11 && rhy<9 && tran>2 && tran<11 && sp<3 && clo<6 && dpnow>42 && dpnow<56) 						{var fn = 2338 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic. " ; } // 11/13/09-10:50  Four day rain total of 5.61 inches.
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.68 && barx<29.88 && xwet==15 && lwet>0 && wmax<40 && tdif>4 && tdif<10 && dpdif>4 && dpdif<10 && tempa>41 && tempa<61 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>2 && tran<11 && sp<3 && clo<6 && dpnow>43 && dpnow<57) 						{var fn = 2239 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic." ; } // 11/13/09-11:47  Four day rain total of 5.62 inches.
if((tt==2 || tt==3)&& vb<4&&(brt==4||brt==5)&& bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.78 && barx<29.98 && xwet==15 && lwet==0 && wmax<24 && tdif>2 && tdif<8 && dpdif>4 && dpdif<10 && tempa>45 && tempa<65 && dd<9 && rh<107 && rhy>-3 && rhy<17 && tran>-2 && tran<7 && sp<3 && clo<6 && dpnow>47 && dpnow<61) 					{var fn = 2240 , fz  = "A very slow moving occluded low pressure is off the SE coast is beginning to move off but with high pressure to the north both and are pulling a damp northeasterly flow off the Atlantic and expect a slow clearing." ; } // 11/14/09-9:03 Five day rain total of 5.66 inches.
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.83 && barx<30.03 && xwet==15 && lwet==15 && wmax<21 && tdif>-8 && tdif<-2 && dpdif>0 && dpdif<6 && tempa>31 && tempa<51 && dd<8 && rh<108 && rhy>15 && rhy<35 && tran>0 && tran<9 && sp<4 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 2241 , fz  = "A  low pressure is developing  to the SE of the Glen Allen area along the Carolina Coast area. " ; } // 12/05/09-9:55
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>6&& bdi<10&& dn>-1&& dn<3 && barx>29.83 && barx<30.03 && xwet==15 && lwet==15 && wmax<21 && tdif>-11 && tdif<-5 && dpdif>2 && dpdif<8 && tempa>31 && tempa<51 && dd<8 && rh<108 && rhy>28 && rhy<48 && tran>0 && tran<9 && sp<4 && clo<6 && dpnow>34 && dpnow<48) 						{var fn = 2242 , fz  = "A  low pressure is developing  to the SE of the Glen Allen area along the Carolina Coast area." ; } // 12/05/09-10:23
if((tt==2 || tt==3)&& vb<4&& brt==2 && bdi>8&& bdi<12&& dn>-1&& dn<3 && barx>29.49 && barx<29.69 && xwet==15 && lwet>7 && wmax<29 && tdif>-4 && tdif<2 && dpdif>4 && dpdif<10 && tempa>0 && tempa<38 && dd<9 && rh<107 && rhy>18 && rhy<38 && tran>0 && tran<9 && sp<7 && clo<6 && dpnow>21 && dpnow<35)  						{var fn = 2243 , fz  = "A deep low  pressure is starting to move off the SE of the Glen Allen area along the Carolina Coast area and a high pressure to the north are working together to pull a NE flow." ; } // 12/19/09-9:19
if((tt==2 || tt==3)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>14&& dn<18 && barx>29.64 && barx<29.84 && xwet==0 && lwet==0 && wmax<18 && tdif>-12 && tdif<-6 && dpdif>1 && dpdif<7 && tempa>31 && tempa<51 && dd<10 && rh<101 && rhy>25 && rhy<45 && tran>2 && tran<11 && sp<3 && clo<1 && dpnow>32 && dpnow<46) 						{var fn = 2244 , fz   = "A distant coastal low pressure is developing to the SE but the veering wind indicates it is weak and will have little effect on the Glen Allen area. " ; } // 02/23/10-11:03




if (tt==3 && vb<3		       && brt>6          && bdi>8 &&  dn<6		&& barx<29.50    			&& dpdif>6 && dd<3            && tdif<0 	&& xwet==15  && wmax<20 && lwet>13    	             && pdif>0.40)  															{var fn = 2345 , fz  = "A low pressure is now SE of the Glen Allen area. " ;}  //  NOVEMBER 30, 2008   10:14 AM
if((tt==3 || tt==4) && vb==3   && brt>6          && bdi<5  &&  dn<4		&& barx<29.75  			&& dpdif<-15    		&& tdif<-5             && xwet==0  && wmax>20 && lwet==0 && dd>17 && pdif==0 && sr>200)															{var fn = 2346 , fz  = "A distant coastal low pressure is developing to the SE of the Glen Allen area. " ;}  //         JANUARY 20, 2009   01:41 PM
if((tt==3 || tt==4) && vb<3      && brt>6          && bdi<5  &&  dn<4		&& barx<29.75  			&& dpdif<-15    		&& tdif<-5           	&& xwet==0  && wmax>20 && lwet==0   && dd>17 && pdif==0 && sr>200)														{var fn = 2347 , fz  = "A distant coastal low pressure is developing to the SE but the veering wind indicates it will stay south of the Glen Allen area. " ;}  //         JANUARY 20, 2009   01:54 PM
if((tt==3 || tt==4) && vb==3   && brt>6 	&& bdi>8   &&  dn<4  		&& barx<30.00 			&& dpdif>7   		&& tdif<0  	&& xwet==15 && lwet==0 && wmax<20	 	 && tempa>40 && dd<4 && pdif>.30)													{var fn = 2348 , fz  = "A weak low pressure is located to the southeast of the Glen Allen and will strengthen off the coast. Expect more rain tonight as the low becomes stronger. "  ;} //      APRIL 14, 2009   04:44 PM
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>30.03 && barx<30.23 && xwet==0 && lwet==0 && wmax<22 && tdif>-6 && tdif<0 && dpdif>5 && dpdif<11 && tempa>40 && dd<17 && rh<84 && rhy>18 && rhy<28 && tran>8 && tran<16 && sp<3 && clo<5 && dpnow>61 && dpnow<75) 								{var fn = 2349 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow 10 to 15 mph. " ; } // 9/7/09-12:22
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>30.00 && barx<30.20 && xwet==15 && lwet==0 && wmax<29 && tdif>-5 && tdif<1 && dpdif>2 && dpdif<8 && tempa>40 && dd<19 && rh<78 && rhy>10 && rhy<20 && tran>10 && tran<18 && sp<3 && clo<5 && dpnow>61 && dpnow<75) 							{var fn = 2350 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow 10 to 15 mph." ; } // 9/7/09-13:28
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>30.00 && barx<30.20 && xwet==15 && lwet>0 && wmax<29 && tdif>-7 && tdif<-1 && dpdif>2 && dpdif<8 && tempa>40 && dd<19 && rh<78 && rhy>12 && rhy<22 && tran>10 && tran<18 && sp<3 && clo<6 && dpnow>60 && dpnow<74) 								{var fn = 2351 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow 15 to 25 mph." ; } // 9/7/09-13:44
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>30.00 && barx<30.20 && xwet==15 && lwet>0 && wmax<29 && tdif>-9 && tdif<-3 && dpdif>4 && dpdif<10 && tempa>40 && dd<15 && rh<89 && rhy>23 && rhy<33 && tran>10 && tran<18 && sp<3 && clo<6 && dpnow>62 && dpnow<76) 							{var fn = 2352 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow 15 to 25 mph." ; } // 9/7/09-13:56
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>30.00 && barx<30.20 && xwet==15 && lwet>0 && wmax<29 && tdif>-12 && tdif<-6 && dpdif>4 && dpdif<10 && tempa>40 && dd<14 && rh<92 && rhy>29 && rhy<39 && tran>10 && tran<18 && sp<3 && clo<6 && dpnow>62 && dpnow<76) 							{var fn = 2353 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow 15 to 25 mph." ; } // 9/7/09-14:05
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.94 && barx<30.14 && xwet==15 && wmax<22 && tdif>-14 && tdif<-8 && dpdif>-5 && dpdif<1 && tempa>40 && dd<9 && rh<106 && rhy>20 && rhy<30 && tran>-2 && tran<6 && sp<3 && clo<6 && dpnow>59 && dpnow<73) 									{var fn = 2354 , fz  = "A slow moving low pressure is off the SE coast and is starting to move away and a high pressure is located in New England area are working together to give a damp NE to east wind flow off the Atlantic." ; } // 9/8/09-12:43
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.93 && barx<30.13 && xwet==15 && lwet==0 && wmax<22 && tdif>-12 && tdif<-6 && dpdif>-5 && dpdif<1 && tempa>40 && dd<10 && rh<105 && rhy>17 && rhy<27 && tran>-1 && tran<7 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 							{var fn = 2355 , fz  = "A slow moving low pressure is off the SE coast and is starting to move away and a high pressure is located in New England area are working together to give a cool damp NE wind flow off the Atlantic." ; } // 9/8/09-15:11
if((tt==3 || tt==4)&& vb<3&& brt>4&&brt<8 && bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.92 && barx<30.12 && xwet==15 && lwet==0 && wmax<22 && tdif>-12 && tdif<-6 && dpdif>-5 && dpdif<1 && tempa>40 && dd<10 && rh<104 && rhy>16 && rhy<26 && tran>-1 && tran<7 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 							{var fn = 2356 , fz  = "A slow moving low pressure is off the SE coast and is starting to move away and a high pressure is located in New England area are working together to give a cool damp NE wind flow off the Atlantic." ; } // 9/8/09-15:16
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.91 && barx<30.11 && xwet==15 && lwet==0 && wmax<22 && tdif>-9 && tdif<-3 && dpdif>-5 && dpdif<1 && tempa>40 && dd<11 && rh<101 && rhy>5 && rhy<15 && tran>-1 && tran<7 && sp<3 && clo<6 && dpnow>58 && dpnow<72) 							{var fn = 2357 , fz  = "A slow moving low pressure is off the SE coast and is starting to move away and a high pressure is located in New England area are working together to give a cool damp NE wind flow off the Atlantic." ; } // 9/8/09-16:56
if((tt==3 || tt==4)&& vb<4&& brt==8 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.73 && barx<29.93 && xwet==15 && lwet==15 && wmax<37 && tdif>-7 && tdif<-1 && dpdif>-7 && dpdif<-1 && tempa>34 && tempa<54 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<7 && clo<6 && dpnow>36 && dpnow<50) 						{var fn = 2358 , fz  = "A slow moving low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a strong easterly flow off the Atlantic." ; } // 11/12/09-13:06 Three day rain total so far 3.94 inches so far
if((tt==3 || tt==4)&& vb<3&& brt==5 && bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.66 && barx<29.86 && xwet==15 && lwet>0 && wmax<40 && tdif>5 && tdif<11 && dpdif>5 && dpdif<11 && tempa>43 && tempa<63 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>4 && tran<13 && sp<3 && clo<6 && dpnow>45 && dpnow<59) 						{var fn = 2359 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic. " ; } // 11/13/09-14:59   Four day rain total of 5.64 inches.
if((tt==3 || tt==4)&& vb<4&&(brt==3||brt==4)&& bdi>4&& bdi<8&& dn>0&& dn<4 && barx>29.67 && barx<29.87 && xwet==15 && lwet==0 && wmax<40 && tdif>5 && tdif<11 && dpdif>5 && dpdif<11 && tempa>43 && tempa<63 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>4 && tran<13 && sp<3 && clo<1 && dpnow>45 && dpnow<59) 					{var fn = 2360 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic and the low is now moving off to the east" ; } // 11/13/09-15:54   Four day rain total of 5.64 inches.
if((tt==3 || tt==4)&& vb<4&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>-1&& dn<3 && barx>29.77 && barx<29.97 && xwet==15 && lwet==0 && wmax<24 && tdif>3 && tdif<9 && dpdif>1 && dpdif<7 && tempa>47 && tempa<67 && dd<11 && rh<100 && rhy>-17 && rhy<3 && tran>0 && tran<9 && sp<3 && clo<6 && dpnow>47 && dpnow<61) 					{var fn = 2361 , fz  = "A very slow moving occluded low pressure is off the SE coast is beginning to move off but with high pressure to the north both and are pulling a damp northeasterly flow off the Atlantic and expect a slow clearing." ; } // 11/14/09-12:54     5day rain total of 5.66 inches.
if((tt==3 || tt==4)&& vb<4&& brt==8 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.76 && barx<29.96 && xwet==15 && lwet==15 && wmax<25 && tdif>-17 && tdif<-11 && dpdif>-3 && dpdif<3 && tempa>27 && tempa<47 && dd<9 && rh<106 && rhy>30 && rhy<50 && tran>4 && tran<13 && sp<5 && clo<6 && dpnow>29 && dpnow<43)						{var fn = 2362 , fz  = "A  low pressure is developing  to the SE of the Glen Allen area along the North Carolina Coast area." ; } // 12/05/09-12:21
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.76 && barx<29.96 && xwet==15 && lwet==15 && wmax<29 && tdif>-20 && tdif<-14 && dpdif>-5 && dpdif<1 && tempa>34 && tempa<45 && dd<9 && rh<106 && rhy>32 && rhy<52 && tran>6 && tran<15 && sp<5 && clo<6 && dpnow>27 && dpnow<41) 						{var fn = 2363 , fz  = "A  low pressure is located to the SE of the Glen Allen area along the North Carolina Coast area. " ; } // 12/05/09-14:35



if(tt==4  && vb==3 	      && brt== 5        && bdi>5 && dn>7 && dn<12 	&& barx>30.00  			&& dpdif>7 	  	&& tdif>5     	&& xwet==0   && wmax<15)																				{var fn = 2370 , fz  = "A distant low pressure is now south of the Glen Allen area. " ;}  //  MAY 25, 2007    1:51 PM
if((tt==4 || tt==5) && vb==3   && brt>6          && bdi>5  &&  dn<6		&& barx>30.00  			&& dpdif>5    		&& tdif<0  	 && xwet==15  && wmax<12 && lwet==15   && dd<3 && pdif>0.30)															{var fn = 2371 , fz  = "A distant low pressure and its associated warm front is approaching from the SW as noted by the backing winds and precipitation. " ;}  //      JANUARY 27, 2009   09:37 PM
if((tt==4 || tt==5)&& vb<4&& brt==5 && bdi>5&& bdi<9&& dn>2&& dn<6 && barx>29.97 && barx<30.17 && xwet==15 && lwet==0 && wmax<29 && tdif>-11 && tdif<-5 && dpdif>4 && dpdif<10 && tempa>40 && dd<14 && rh<92 && rhy>28 && rhy<38 && tran>10 && tran<18 && sp<3 && clo<6 && dpnow>60 && dpnow<74) 							{var fn = 2372 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow." ; } // 9/7/09-17:56
if((tt==4 || tt==5)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>-1&& dn<3 && barx>29.80 && barx<30.00 && xwet==15 && lwet==15 && wmax<21 && tdif>-8 && tdif<-2 && dpdif>-9 && dpdif<-3 && tempa>35 && tempa<55 && dd<9 && rh<108 && rhy>-11 && rhy<9 && tran>2 && tran<11 && sp<4 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2373 , fz  = "A slow moving low pressure is off the SE coast and is starting to move away but giving a chilly damp NE wind flow off the Atlantic." ; } // 10/16/09-18:10
if((tt==4 || tt==5)&& vb<4&& brt==5 && bdi>2&& bdi<6&& dn>0&& dn<4 && barx>29.71 && barx<29.91 && xwet==15 && lwet==0 && wmax<40 && tdif>3 && tdif<9 && dpdif>3 && dpdif<9 && tempa>43 && tempa<63 && dd<9 && rh<108 && rhy>-9 && rhy<11 && tran>4 && tran<13 && sp<3 && clo<1 && dpnow>45 && dpnow<59) 						{var fn = 2374 , fz  = "A very slow moving occluded low pressure is off the SE coast is being blocked by high pressure to the north and both are pulling a northeasterly flow off the Atlantic. " ; } // 11/13/09-19:52  Four day rain total of 5.64 inches.
if((tt==4 || tt==5)&& vb<3&&(brt==3||brt==4)&& bdi>2&& bdi<6&& dn>0&& dn<4 && barx>29.81 && barx<30.01 && xwet==15 && lwet==0 && wmax<24 && tdif>0 && tdif<6 && dpdif>-1 && dpdif<5 && tempa>45 && tempa<65 && dd<9 && rh<104 && rhy>-14 && rhy<6 && tran>2 && tran<11 && sp<3 && clo<5 && dpnow>47 && dpnow<61) 					{var fn = 2375 , fz  = "A very slow moving occluded low pressure is off the SE coast is beginning to move off but with high pressure to the north both and are pulling a damp northeasterly flow off the Atlantic and expect a slow clearing." ; } // 11/14/09-19:20   5day rain total of 5.66 inches.
if((tt==4 || tt==5)&& vb<4&&(brt==6||brt==7) && bdi>7&& bdi<11&& dn>0&& dn<4 && barx>29.88 && barx<30.08 && xwet==15 && lwet==0 && wmax<26 && tdif>-14 && tdif<-8 && dpdif>6 && dpdif<12 && tempa>7 && tempa<27 && dd<10 && rh<99 && rhy>42 && rhy<62 && tran>5 && tran<14 && sp<5 && clo<1 && dpnow>8 && dpnow<22) 					{var fn = 2376 , fz  = "The low pressure is located off the Carolinas and the slightly lower pressure indicates it is moving NE off the coast or the pressure drop would be more. The circulation around the high pressure to the north is keeping the Glen Allen - Springfield Park area  into cold arctic air with very low temperatures.  " ; } // 01/30/10-19:00






if((tt==5 || tt==1)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>29.95 && barx<30.15 && xwet==15 && lwet==0 && wmax<29 && tdif>-6 && tdif<0 && dpdif>2 && dpdif<8 && tempa>40 && dd<13 && rh<94 && rhy>14 && rhy<24 && tran>10 && tran<18 && sp<3 && clo<6 && dpnow>59 && dpnow<73) 							{var fn = 2380 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow." ; } // 9/7/09-20:38
if((tt==5 || tt==1)&& vb<4&&(brt==5||brt==6)&& bdi>5&& bdi<9&& dn>3&& dn<7 && barx>29.95 && barx<30.15 && xwet==15 && lwet==0 && wmax<29 && tdif>-6 && tdif<0 && dpdif>2 && dpdif<8 && tempa>40 && dd<13 && rh<94 && rhy>14 && rhy<24 && tran>10 && tran<18 && sp<3 && clo<6 && dpnow>59 && dpnow<73) 							{var fn = 2381 , fz  = "A slow moving low pressure is on a stationary front off the North Carolina coast and a high pressure is located in New England giving a damp easterly flow." ; } // 9/7/09-20:48
if((tt==5 || tt==1)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>-1&& dn<3 && barx>30.11 && barx<30.31 && xwet==15 && lwet==15 && wmax<10 && tdif>-7 && tdif<-1 && dpdif>4 && dpdif<10 && tempa>48 && tempa<68 && dd<9 && rh<108 && rhy>21 && rhy<41 && tran>10 && tran<19 && sp<3 && clo<6 && dpnow>50 && dpnow<64) 						{var fn = 2382 , fz  = "A distant low pressure is now well south of the Glen Allen area and a high pressure to the northeast is pulling moisture and precipitation off the Atlantic." ; } // 11/10/09-20:07
if((tt==5 || tt==1)&& vb<3&& brt==5 && bdi>5&& bdi<9&& dn>-1&& dn<3 && barx>30.12 && barx<30.32 && xwet==15 && lwet==15 && wmax<12 && tdif>-5 && tdif<1 && dpdif>1 && dpdif<7 && tempa>47 && tempa<67 && dd<9 && rh<107 && rhy>9 && rhy<29 && tran>10 && tran<19 && sp<3 && clo<6 && dpnow>49 && dpnow<63) 						{var fn = 2383 , fz  = "A distant low pressure is now well south of the Glen Allen area and a high pressure to the northeast is pulling moisture and precipitation off the Atlantic." ; } // 11/10/09-21:07
if((tt==5 || tt==1)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>-1&& dn<3 && barx>30.12 && barx<30.32 && xwet==15 && lwet==15 && wmax<12 && tdif>-5 && tdif<1 && dpdif>1 && dpdif<7 && tempa>47 && tempa<67 && dd<9 && rh<107 && rhy>9 && rhy<29 && tran>10 && tran<19 && sp<3 && clo<6 && dpnow>49 && dpnow<63) 						{var fn = 2384 , fz  = "A distant low pressure is now well south of the Glen Allen area and a high pressure to the northeast is pulling moisture and precipitation off the Atlantic." ; } // 11/10/09-21:21






//                 1ls               LOW PRESSURES - TO SOUTH
if (tt<6   && (vb==0 || vb==3) && (brt==6 || brt==7) 	&& bdi<5 && dn>1 && dn<4  && barx>30.25 && tdif>0    && dpdif>0     && xwet==15 && wmax>13)  																								{var fn = 2390 , fz  = "A low pressure is south of Central Virginia and a high pressure is north of Virginia increasing an easterly flow. "  ;}   // -   OCTOBER 26, 2007   10:09 AM
if (tt<6   && (vb==0 || vb==3) && (brt==5 || brt==6) 	&& bdi<5 && dn>1 && dn<4  && barx>30.25 && tdif>0    && dpdif>0     && xwet==15 && wmax>13)  																								{var fn = 2391 , fz  = "A low pressure is south of Central Virginia and a high pressure is north of Virginia increasing an easterly flow. " ;}   // -   OCTOBER 26, 2007   10:09 AM
if (tt<6   && (vb==0 || vb==3) && (brt==5 || brt==6) 	&& bdi>5 && dn>2 && dn<6  && barx<30.25 && tdif>0    && dpdif<4     && xwet==15 && wmax>15 && clo==5 && rh>75)  																						{var fn = 2392 , fz  = "A low pressure is developing off the coast south of Virginia. " ;}   // -    NOVEMBER 13, 2008   03:45 PM
if (tt<6   && vb<3 		      && (brt>6 || brt==7) 	&& bdi>7 && dn<6  	  && barx<30.25 && tdif>0    && dpdif>4     && xwet==15 && wmax>12 && tran<20 && pdif>0.33)  																					{var fn = 2393 , fz  = "A low pressure is developing off the coast south of Virginia. " ;}   // -      NOVEMBER 13, 2008   03:59 PM
if (tt<6   && vb==3 		      && (brt>6 || brt==7) 	&& bdi>7  		  && barx<30.25 && tdif>0    && dpdif>5     && xwet==15 && wmax>12 && tran<20 && pdif>0.33)  																				{var fn = 2394 , fz  = "A low pressure is developing off the coast south of Virginia. " ;}   // -       NOVEMBER 13, 2008   04:27 PM
if((tt==1 || tt==2) && vb<4 && brt==5                     	&& bdi<5 && dn>4	 &&  dn<8 && barx>30.00  && tdif<2   && dpdif<2      && xwet==15  && lwet>0 && wmax<20	&& rh>90  && tempa>60 && tran<5 && ymw==0 && sp<3 ) 	 																{var fn = 2395 , fz = "A very weak low pressure has develope on a nearly stationary front to the south of Glen Allen - Springfield Park and a stronger low is located to the west and a high pressure is located to the north of Glen Allen. " ;}  //        JUNE 17, 2009   07:51 AM  VB off and on 2 and 3
if((tt==1 || tt==2)&& vb<3&& (brt==7||brt==8)&& bdi>5&& bdi<9&& dn>1&& dn<5 && barx>30.09 && barx<30.29 && xwet==15 && lwet==15 && wmax<17 && tdif>-8 && tdif<-2 && dpdif>7 && dpdif<13 && tempa>10 && tempa<30 && dd<11 && rh<98 && rhy>32 && rhy<52 && tran>3 && tran<12 && sp<3 && clo<6 && dpnow>10 && dpnow<24) 					{var fn = 2396 , fz  = "A low pressure is located to the SSW and the pressure is now falling as the low advances eastward and the high pressure to the north of the low pressure has put the Glen Allen - Springfield Park area  into cold arctic air with very low dew point  temperatures. These two systems are working together to pull a NE flow. " ; } // 01/30/10-5:37
if((tt==1 || tt==2)&& vb<3&& (brt==6||brt==7||brt==8)&& bdi>5&& bdi<9&& dn>1&& dn<5 && barx>30.09 && barx<30.29 && xwet==15 && lwet==15 && wmax<18 && tdif>-8 && tdif<-2 && dpdif>6 && dpdif<12 && tempa>9 && tempa<29 && dd<11 && rh<99 && rhy>30 && rhy<50 && tran>3 && tran<12 && sp<4 && clo<6 && dpnow>9 && dpnow<23) 					{var fn = 2397 , fz  = "A low pressure is located to the SSW and the pressure is now falling as the low advances eastward and the high pressure to the north of the low pressure has put the Glen Allen - Springfield Park area  into cold arctic air with very low temperatures. These two systems are working together to pull a NE flow. " ; } // 01/30/10-7:09



if((tt==2 || tt==3) && vb==3 && brt>=5                     	&& bdi<4 && dn<4 && barx<30.00 && tdif<0   && dpdif<2      && xwet==0  && lwet>0 && wmax<20	&& rh>70  && temphi>80 && tran<12 && ymw==15 && sp<3 && tempa>70) 	 														{var fn = 2406 , fz = "A very weak low pressure is starting to develope on a slow moving cold front that passed Glen Allen - Springfield Park area  in the past 36 hours and is now south of Glen Allen. " ;}  //    JUNE 13, 2009   10:35 AM
if((tt==2 || tt==3) && vb<4 && brt<=5                     	&& bdi<5 && dn>5	 &&  dn<9 && barx>30.05  && tdif<0   && dpdif>0      && xwet==15  && lwet<15 && wmax<20	&& rh>85  && tempa>60 && tran<6 && ymw==0 && sp<3 ) 	 															{var fn = 2407 , fz = "A very weak low pressure has develope on a nearly stationary front to the south of Glen Allen - Springfield Park and a stronger low is located to the west and a high pressure is located to the north of Glen Allen and the high is now building southward as the pressure is rising and the  rain is intermittent and light. " ;}  //        JUNE 17, 2009   09:31 AM  VB off and on 2 and 3
if((tt==2 || tt==3) && vb<4 && brt<=5                     	&& bdi<5 && dn>5	 &&  dn<9 && barx>30.05  && tdif<0   && dpdif>0      && xwet==15  && lwet>0 && wmax<20	&& rh>85  && tempa>60 && tran<6 && ymw==0 && sp<3 ) 	 																{var fn = 2408 , fz = "A very weak low pressure is SE of Glen Allen - Springfield Park and a stronger low is located to the NW with and curved stationary that is nearly parallel to the mountains to our west. A high pressure is located to the north of Glen Allen and the high is now stopped building southward as the pressure is steady and the  rain is intermittent and light. " ;}  //        JUNE 17, 2009   11:36 AM   VB off and on 2 and 3
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.96 && barx<30.16 && xwet==15 && lwet==15 && wmax<28 && tdif>-16 && tdif<-10 && dpdif>-16 && dpdif<-10 && tempa>40 && tempa<60 && dd<8 && rh<110 && rhy>-10 && rhy<10 && tran>11 && tran<20 && sp<3 && clo<6 && dpnow>43 && dpnow<57) 					{var fn = 2409 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the northwest of the Glen Allen area giving a northerly flow. " ; } // 11/1/09-10:42
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>30.01 && barx<30.21 && xwet==15 && lwet==15 && wmax<28 && tdif>-16 && tdif<-10 && dpdif>-16 && dpdif<-10 && tempa>40 && tempa<60 && dd<8 && rh<110 && rhy>-10 && rhy<10 && tran>11 && tran<20 && sp<4 && clo<6 && dpnow>43 && dpnow<57) 					{var fn = 2410 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the northwest of the Glen Allen area giving a northerly flow. " ; } // 11/1/09-11:01
if((tt==2 || tt==3)&& vb<4&& brt==5 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>30.00 && barx<30.20 && xwet==15 && lwet==15 && wmax<28 && tdif>-18 && tdif<-12 && dpdif>-18 && dpdif<-12 && tempa>40 && tempa<60 && dd<8 && rh<109 && rhy>-11 && rhy<9 && tran>11 && tran<20 && sp<4 && clo<6 && dpnow>43 && dpnow<57) 					{var fn = 2411 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the northwest of the Glen Allen area giving a northerly flow. " ; } // 11/1/09-11:09
if((tt==2 || tt==3)&& vb<4&& brt==6 && bdi>1&& bdi<5&& dn>1&& dn<5 && barx>29.99 && barx<30.19 && xwet==15 && lwet==15 && wmax<28 && tdif>-18 && tdif<-12 && dpdif>-18 && dpdif<-12 && tempa>40 && tempa<60 && dd<8 && rh<109 && rhy>-11 && rhy<9 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>43 && dpnow<57) 					{var fn = 2412 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the northwest of the Glen Allen area giving a northerly flow. " ; } // 11/1/09-11:26
if((tt==2 || tt==3)&& vb<4&& brt==3 && bdi>0&& bdi<4&& dn>1&& dn<5 && barx>30.01 && barx<30.21 && xwet==15 && lwet==15 && wmax<28 && tdif>-20 && tdif<-14 && dpdif>-20 && dpdif<-14 && tempa>40 && tempa<60 && dd<9 && rh<109 && rhy>-11 && rhy<9 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>42 && dpnow<56) 					{var fn = 2413 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the northwest of the Glen Allen area giving a northerly flow. " ; } // 11/1/09-11:57
if((tt==2 || tt==3)&& vb<4&&(brt==5||brt==6)&& bdi>5&& bdi<9&& dn>2&& dn<6 && barx>30.06 && barx<30.26 && xwet==15 && lwet==15 && wmax<29 && tdif>-14 && tdif<-8 && dpdif>-10 && dpdif<-4 && tempa>39 && tempa<59 && dd<8 && rh<107 && rhy>1 && rhy<21 && tran>3 && tran<12 && sp<3 && clo<6 && dpnow>42 && dpnow<56) 					{var fn = 2414 , fz = "A developing low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic. " ; } // 11/11/09-9:11 This is the LP left from Hurrican Ida
if((tt==2 || tt==3)&& vb<4&&(brt==5||brt==6)&& bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.06 && barx<30.26 && xwet==15 && lwet==15 && wmax<29 && tdif>-17 && tdif<-11 && dpdif>-11 && dpdif<-5 && tempa>39 && tempa<59 && dd<9 && rh<107 && rhy>7 && rhy<27 && tran>3 && tran<12 && sp<3 && clo<6 && dpnow>41 && dpnow<55) 					{var fn = 2415 , fz = "A developing low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic. " ; } // 11/11/09-10:11 This is the LP left from Hurrican Ida
if((tt==2 || tt==3)&& vb<4&&(brt==6||brt==7)&& bdi>4&& bdi<8&& dn>1&& dn<5 && barx>30.04 && barx<30.24 && xwet==15 && lwet==15 && wmax<29 && tdif>-20 && tdif<-14 && dpdif>-12 && dpdif<-6 && tempa>39 && tempa<59 && dd<9 && rh<107 && rhy>14 && rhy<34 && tran>3 && tran<12 && sp<3 && clo<6 && dpnow>41 && dpnow<55) 					{var fn = 2416 , fz = "A low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/11/09-11:31 This is the LP left from Hurrican Ida
if((tt==2 || tt==3)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>4&& dn<8 && barx>30.01 && barx<30.21 && xwet==15 && lwet==15 && wmax<21 && tdif>2 && tdif<8 && dpdif>6 && dpdif<12 && tempa>53 && tempa<73 && dd<10 && rh<104 && rhy>3 && rhy<23 && tran>4 && tran<13 && sp<4 && clo<6 && dpnow>54 && dpnow<68) 						{var fn = 2417 , fz  = "A slow moving low pressure has developed to the south on a  stationary front.  The  rain and damp conditions are the result of the low to the south and a high pressure to the northeast of the Glen Allen area giving a moist easterly flow." ; } // 11/19/09-11:48
if((tt==2 || tt==3)&& vb<1&&(brt==2||brt==3)&& bdi>5&& bdi<9&& dn>0&& dn<4 && barx>30.09 && barx<30.29 && xwet==15 && lwet==15 && wmax<18 && tdif>-9 && tdif<-3 && dpdif>6 && dpdif<12 && tempa>9 && tempa<29 && dd<11 && rh<100 && rhy>34 && rhy<54 && tran>4 && tran<13 && sp<4 && clo<6 && dpnow>9 && dpnow<23) 					{var fn = 2418 , fz  = "A low pressure is located to the south and the pressure is rising rapidly now indicating convection in the storm if the pressure rise is temporary as the low advances eastward and the high pressure to the north of the low pressure has put the Glen Allen - Springfield Park area  into cold arctic air with very low temperatures. These two systems are working together to pull a NE flow. " ; } // 01/30/10-9:24
if((tt==2 || tt==3)&& vb<3&&(brt==7||brt==8)&& bdi>6&& bdi<10&& dn>0&& dn<4 && barx>30.02 && barx<30.22 && xwet==15 && lwet==15 && wmax<18 && tdif>-15 && tdif<-9 && dpdif>6 && dpdif<12 && tempa>8 && tempa<28 && dd<10 && rh<101 && rhy>43 && rhy<63 && tran>4 && tran<13 && sp<4 && clo<6 && dpnow>9 && dpnow<23) 					{var fn = 2419 , fz  = "A low pressure is located to the south and the pressure is falling as the low advances eastward and the high pressure to the north of the low pressure has put the Glen Allen - Springfield Park area  into cold arctic air with very low temperatures. These two systems are working together to pull a NE flow. " ; } // 01/30/10-11:37
if((tt==2 || tt==3)&& vb<3&& brt==9 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.99 && barx<30.19 && xwet==15 && lwet==15 && wmax<20 && tdif>-15 && tdif<-9 && dpdif>5 && dpdif<11 && tempa>8 && tempa<28 && dd<10 && rh<101 && rhy>43 && rhy<63 && tran>4 && tran<13 && sp<5 && clo<6 && dpnow>9 && dpnow<23) 						{var fn = 2420 , fz  = "The approaching low pressure is located to the south and deeping as indicated by the rapid pressure drop and the high pressure to the north of the low pressure has put the Glen Allen - Springfield Park area  into cold arctic air with very low temperatures. These two systems are working together to pull a NE flow. " ; } // 01/30/10-11:50



if((tt==3 || tt==4) && (vb==0 || vb==3)&& brt>6          && bdi>6 && dn<4 && barx<30.10 && tdif<-3   && dpdif>0      && xwet==15  && lwet>0 && wmax>18	&& rh>90  && temphi<40 && tran<5 && ymw==15 && sp<4) 	 	 																{var fn = 2425 , fz = "A low pressure located to the south of Glen Allen is already bring rain to the area and the  temperature is near freezing. If the precipitation continues into the night it should change over into snow.  " ;}  //       MARCH 01, 2009   12:23 AM
if((tt==3 || tt==4) && vb==2 && brt>6                     	&& bdi>6 && dn<4 && barx<30.10 && tdif<-3   && dpdif>0      && xwet==15  && lwet>0 && wmax>18	&& rh>90  && temphi<40 && tran<5 && ymw==15 && sp<4 && tempa<35) 	 															{var fn = 2426 , fz = "It is expected that the wind will soon return to a backing direction .A low pressure located to the south of Glen Allen is already bring snow to the area and the temperature is near freezing.   " ;}  //         MARCH 01, 2009   01:55 PM
if((tt==3 || tt==4) && vb==3 && brt>6                     	&& bdi>6 && dn<5 && barx<30.00 && tdif<-4   && dpdif>-5      && xwet==15  && lwet>0 && wmax>18	&& rh>90  && temphi<40 && tran<5 && ymw==15 && sp<4 && tempa<35) 	 															{var fn = 2427 , fz = "A low pressure located to the south of Glen Allen is already bring snow to the area and the temperature is near freezing.   " ;}  //    MARCH 01, 2009   05:11 PM temp. 32.6 with heavy snow now 0.9 inches
if((tt==3 || tt==4) && vb==3 && brt>6                     	&& bdi<5 && dn<4 && barx>30.00 && tdif<-9   && dpdif>0      && xwet==15  && lwet>0 && wmax<20	&& rh>80  && temphi>40 && tran<10 && ymw==0 && sp<3 && tempa>45) 	 															{var fn = 2428 , fz = "A low pressure located on a nearly stationary front to the south of Glen Allen is bring rain to the area.  " ;}  //     MAY 11, 2009   01:30 PM
if((tt==3 || tt==4) && vb<3 && brt>6                     	&& bdi<5 && dn<4 && barx<30.00 && tdif>-3   && dpdif>-2      && xwet==0  && lwet==0 && wmax<20	&& rh>58  && temphi>80 && tran<17 && ymw==15 && sp<3 && tempa>70) 	 															{var fn = 2429 , fz = "A very weak low pressure has develope on a slow moving cold front that passed Glen Allen - Springfield Park area  in the past 36 hours and is now south of Glen Allen.  The fact the wind is not backing indicates this low will not bring rain to the area but only some cloudiness. " ;}  //     JUNE 13, 2009   01:10 PM
if((tt==3 || tt==4) && vb<3 && brt>6                     	&& bdi<5 && dn<4 && barx<30.00  && tdif>-2   && dpdif>-2      && xwet==0  && lwet==0 && wmax<20 && rh>58  && temphi>80 && tran<17 && ymw==15 && sp<3 && tempa>70) 	 															{var fn = 2430 , fz = "A very weak low pressure has develope on a slow moving cold front that passed Glen Allen - Springfield Park area  in the past 36 hours and is now south of Glen Allen.  The fact the wind is not backing indicates this low will not bring rain to the area but only some cloudiness. " ;}  //     JUNE 13, 2009   01:10 PM
if((tt==3 || tt==4) && vb==3 && brt>6                     	&& bdi<5 && dn<4 && barx<30.00  && tdif<0   && dpdif>0      && xwet==0  && lwet==0 && wmax<20	&& rh>55  && temphi>80 && tran<17 && ymw==15 && sp<3 && tempa>70) 	 															{var fn = 2431 , fz = "A very weak low pressure has develope on a slow moving cold front that passed Glen Allen - Springfield Park area  in the past 36 hours and is now south of Glen Allen. " ;}  //      JUNE 13, 2009   02:09 PM
if((tt==3 || tt==4) && vb==3 && brt>6                     	&& bdi<5 && dn<6 && barx<30.00  && tdif<0   && dpdif>-2      && xwet==0  && lwet==0 && wmax<20	&& rh>55  && temphi>80 && tran<17 && ymw==15 && sp<3 && tempa>70) 	 															{var fn = 2432 , fz = "A very weak low pressure has develope on a slow moving cold front that passed Glen Allen - Springfield Park area  in the past 36 hours and is now south of Glen Allen. " ;}  //      JUNE 13, 2009   02:09 PM
if((tt==3 || tt==4) && vb<3 && brt>6                     	&& bdi>=5 && dn>6 && dn<10 && barx>29.95  && tdif<-3   && dpdif>0  && xwet==15  && lwet>0 && wmax<25 && rh>75  && tempa>60 && tran<11 && ymw==0 && sp<3 ) 	 																{var fn = 2433 , fz = "A very weak low pressure is SE of Glen Allen - Springfield Park and a stronger low is located to the NW with and curved stationary that is nearly parallel to the mountains to our west. A high pressure is located to the NE of Glen Allen and the high is now moving away as the pressure is now falling and a light rain is falling. " ;}  //          JUNE 17, 2009   04:31 PM  0.07 inches today
if((tt==3 || tt==4)&& vb<4&& brt==5 && bdi>0&& bdi<4&& dn>1&& dn<5 && barx>29.99 && barx<30.19 && xwet==15 && lwet==15 && wmax<28 && tdif>-21 && tdif<-15 && dpdif>-21 && dpdif<-15 && tempa>40 && tempa<60 && dd<8 && rh<109 && rhy>-8 && rhy<12 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>43 && dpnow<57) 					{var fn = 2434 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the north of the Glen Allen area giving a north or NE  flow. " ; } // 11/1/09-12:48
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>0&& bdi<4&& dn>1&& dn<5 && barx>29.98 && barx<30.18 && xwet==15 && lwet==15 && wmax<28 && tdif>-22 && tdif<-16 && dpdif>-22 && dpdif<-16 && tempa>40 && tempa<60 && dd<9 && rh<109 && rhy>-8 && rhy<12 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>42 && dpnow<56) 					{var fn = 2435 , fz = "A slow moving low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours.  The  lower  temperatures are the result of a high pressure to the north of the Glen Allen area giving a north or NE  flow. " ; } // 11/1/09-13:20
if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>0&& bdi<4&& dn>1&& dn<5 && barx>29.99 && barx<30.19 && xwet==15 && lwet==8 && wmax<28 && tdif>-22 && tdif<-16 && dpdif>-22 && dpdif<-16 && tempa>40 && tempa<60 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>42 && dpnow<56) 					{var fn = 2436 , fz  = "A slow moving low pressure is located to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours and is now starting to move away from the area as the pressure is starting to rise.  The lower  temperatures are the result of a high pressure to the north of the Glen Allen area giving a north or NE  flow.  " ;} // 11/1/09-13:52
if((tt==3 || tt==4)&& vb<4&& brt==4 && bdi>0&& bdi<4&& dn>1&& dn<5 && barx>29.99 && barx<30.19 && xwet==15 && lwet==15 && wmax<28 && tdif>-23 && tdif<-17 && dpdif>-22 && dpdif<-16 && tempa>40 && tempa<60 && dd<9 && rh<106 && rhy>-10 && rhy<10 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>42 && dpnow<56) 					{var fn = 2437 , fz  = "A slow moving low pressure  is located to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours and is now  starting to move away from the area as the pressure is starting to rise.  The lower  temperatures are the result of a high pressure to the north of the Glen Allen area giving a north or NE  flow.  "  ;} // 11/1/09-14:08
if((tt==3 || tt==4)&& vb<3&& brt==3 && bdi>0&& bdi<4&& dn>0&& dn<4 && barx>30.01 && barx<30.21 && xwet==15 && lwet==0 && wmax<28 && tdif>-24 && tdif<-18 && dpdif>-24 && dpdif<-18 && tempa>40 && tempa<60 && dd<10 && rh<103 && rhy>-10 && rhy<10 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>41 && dpnow<55) 					{var fn = 2438 , fz  = "A slow moving low pressure  is located  to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours and is now  starting to move away from the area as the pressure is starting to rise.  The result of a high pressure to the north of the Glen Allen area giving a north or NE  flow. " ; } // 11/01/09-15:38
if((tt==3 || tt==4)&& vb<3&& brt==4 && bdi>0&& bdi<4&& dn>0&& dn<4 && barx>30.00 && barx<30.20 && xwet==15 && lwet<5 && wmax<28 && tdif>-25 && tdif<-19 && dpdif>-24 && dpdif<-18 && tempa>39 && tempa<59 && dd<9 && rh<104 && rhy>-5 && rhy<15 && tran>12 && tran<21 && sp<4 && clo<6 && dpnow>41 && dpnow<55) 						{var fn = 2439 , fz  = "A slow moving low pressure  is located  to the south on a  stationary front that was a cold front that passed Glen Allen in the past 24 hours and is now  starting to move away from the area as the pressure is starting to rise and a high pressure is starting to build into the area.  The result of a high pressure to the northwest of the Glen Allen area giving a north or NE  flow. " ; } // 11/01/09-16:03
if((tt==3 || tt==4)&& vb<4&& brt==8 && bdi>6&& bdi<10&& dn>1&& dn<5 && barx>29.74 && barx<29.94 && xwet==15 && lwet==15 && wmax<37 && tdif>-7 && tdif<-1 && dpdif>-7 && dpdif<-1 && tempa>34 && tempa<54 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-2 && tran<7 && sp<7 && clo<6 && dpnow>36 && dpnow<50) 						{var fn = 2440 , fz  = "A low pressure to the SE of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/12/09-13:02  This is the LP left from Hurrican Ida  rainfall last 3 days now 3.94 inches
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.68 && barx<29.88 && xwet==15 && lwet==15 && wmax<40 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>35 && tempa<55 && dd<9 && rh<108 && rhy>-9 && rhy<11 && tran>-1 && tran<8 && sp<7 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2441 , fz  = "A low pressure to the SE  of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/12/09-15:11  This is the LP left from Hurrican Ida  rainfall last 3 days now 4.18 inches
if((tt==3 || tt==4)&& vb<1&& brt==5 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.70 && barx<29.90 && xwet==15 && lwet==15 && wmax<40 && tdif>-6 && tdif<0 && dpdif>-6 && dpdif<0 && tempa>35 && tempa<55 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-1 && tran<8 && sp<5 && clo<6 && dpnow>37 && dpnow<51) 						{var fn = 2442 , fz  = "A low pressure to the SE of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/12/09-15:37 This is the LP left from Hurrican Ida  rainfall last 3 days now 4.25 inches
if((tt==3 || tt==4)&& vb<4&&(brt==7||brt==8)&& bdi>5&& bdi<9&& dn>5&& dn<9 && barx>30.00 && barx<30.20 && xwet==15 && lwet==15 && wmax<21 && tdif>0 && tdif<6 && dpdif>6 && dpdif<12 && tempa>53 && tempa<73 && dd<9 && rh<107 && rhy>9 && rhy<29 && tran>4 && tran<13 && sp<4 && clo<6 && dpnow>55 && dpnow<69) 					{var fn = 2443 , fz  = "A slow moving low pressure is developing to the south on a  stationary front as the pressure is falling and the wind is backing.  There is also a cold front to the west and the rain and damp conditions are also the result of the low to the south and a high pressure to the northeast of the Glen Allen area giving a moist easterly flow." ; } // 11/19/09-12:25
if((tt==3 || tt==4)&& vb<3&& brt==8 && bdi>5&& bdi<9&& dn>2&& dn<6 && barx>30.01 && barx<30.21 && xwet==0 && lwet==0 && wmax<13 && tdif>-9 && tdif<-3 && dpdif>7 && dpdif<13 && tempa<38 && dd<20 && rh<70 && rhy>19 && rhy<39 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>16 && dpnow<30) 								{var fn = 2444 , fz  = "A low off the Gulf Coast of Alabama and a low over IL will merge off the Carolinas Coast and a cold high pressure ridge to the north of New York aligned NW to SE to create a major east coast storm. " ; } // 12/18/09-13:52
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>4&& dn<8 && barx>29.99 && barx<30.19 && xwet==0 && lwet==0 && wmax<13 && tdif>-11 && tdif<-5 && dpdif>5 && dpdif<11 && tempa<38 && dd<20 && rh<72 && rhy>20 && rhy<40 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>16 && dpnow<30) 							{var fn = 2445 , fz  = "A low off the Gulf Coast of Florida and a low over IL will merge off the Carolinas Coast and a cold high pressure ridge to the north of New York aligned NW to SE to create a major east coast storm. " ; } // 12/18/09-15:18
if((tt==3 || tt==4)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>2&& dn<6 && barx>29.96 && barx<30.16 && xwet==15 && lwet==15 && wmax<17 && tdif>-9 && tdif<-3 && dpdif>11 && dpdif<17 && tempa<38 && dd<12 && rh<94 && rhy>38 && rhy<58 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>21 && dpnow<35) 							{var fn = 2446 , fz  = "A low off the Gulf Coast of Florida and a low over IL will merge off the Carolinas Coast and a cold high pressure ridge to the north of New York aligned NW to SE to create a major east coast storm. " ; } // 12/18/09-16:55
if((tt==3 || tt==4)&& vb<3&& brt==8 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.94 && barx<30.14 && xwet==15 && lwet==10 && wmax<25 && tdif>-16 && tdif<-10 && dpdif>3 && dpdif<9 && tempa>8 && tempa<28 && dd<10 && rh<102 && rhy>41 && rhy<61 && tran>4 && tran<13 && sp<5 && clo<6 && dpnow>9 && dpnow<23) 						{var fn = 2447 , fz  = "The approaching low pressure is located to the southeast and deeping as indicated by the rapid pressure drop and the high pressure to the north of the low pressure has put the Glen Allen - Springfield Park area  into cold arctic air with very low temperatures. These two systems are working together to pull a NE flow and the wind is causing some drifting. " ; } // 01/30/10-14:07
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>3&& dn<7 && barx>29.68 && barx<29.88 && xwet==15 && lwet==15 && wmax<21 && tdif>-17 && tdif<-11 && dpdif>2 && dpdif<8 && tempa>30 && tempa<50 && dd<15 && rh<87 && rhy>30 && rhy<50 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>26 && dpnow<40) 						{var fn = 2448 , fz  = "An approaching low pressure is located to the south and as indicated by the pressure drop and pulling a east to NE flow. A weak high pressure is in the western Great Lakes area thus little cold air to the north to be pulled into this low. " ; } // 03/02/10-15:12
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.67 && barx<29.87 && xwet==15 && lwet==15 && wmax<21 && tdif>-18 && tdif<-12 && dpdif>4 && dpdif<10 && tempa>28 && tempa<48 && dd<12 && rh<94 && rhy>39 && rhy<59 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>27 && dpnow<41) 						{var fn = 2449 , fz  = "An approaching low pressure is located to the south and as indicated by the pressure drop and pulling a east to NE flow. A weak high pressure is in the western Great Lakes area thus little cold air to the north to be pulled into this low." ; } // 03/02/10-15:43
if((tt==3 || tt==4)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.67 && barx<29.87 && xwet==15 && lwet==15 && wmax<21 && tdif>-18 && tdif<-12 && dpdif>5 && dpdif<11 && tempa>28 && tempa<48 && dd<12 && rh<96 && rhy>41 && rhy<61 && tran>6 && tran<15 && sp<3 && clo<6 && dpnow>27 && dpnow<41) 						{var fn = 2450 , fz  = "An approaching low pressure is located to the south and as indicated by the pressure drop and pulling a east to NE flow. A weak high pressure is in the western Great Lakes area thus little cold air to the north to be pulled into this low." ; } // 03/02/10-15:55




if((tt==4 || tt==5) && vb<4     && brt<=5  		&& bdi<5 && dn<6 && barx<30.15 && tdif<-12 && dpdif<-10  && xwet==15  && lwet>0 && wmax>20  && rh>70   && dd<6 && tempa>31 && tempa<40 && tch<0 && dch<1 && sp<3 && ymw==15)															{var fn = 2455 , fz  = "A low pressure has developed to the south on a  stationary front that was a cold front that passed Glen Allen yesterday.  The much lower  temperatures are the result of a high pressure to the north of the Glen Allen area building southward. " ;}  // -           JANUARY 06, 2009   08:46 AM  0.03 rain so far today
if((tt==4 || tt==5) && vb<4 && brt>=5                     	&& bdi>6 && dn>6 && dn<10 && barx>29.95  && tdif<0   && dpdif>1  && xwet==15  && lwet>0 && wmax<25 && rh>88  && tempa>60 && tran<11 && ymw==0 && sp<3 ) 	 																{var fn = 2456 , fz = "A weak low pressure is SE of Glen Allen - Springfield Park and a stronger low is located to the NW with and curved stationary that is nearly parallel to the mountains to our west. A high pressure is located to the NE of Glen Allen and the high is causing a moist SE flow and a light  intermittent rain is falling. " ;}  //            JUNE 17, 2009   08:02 PM  0.12 inches today
if((tt==4 || tt==5) && vb<3 && brt>=5                     	&& bdi<5 && dn>5	 &&  dn<9 && barx<30.00  && tdif<3   && dpdif<2      && xwet==0  && lwet==0 && wmax<20	&& rh>55  && temphi>80 && tran<18 && ymw==15 && sp<3 && tempa>70) 															{var fn = 2457 , fz = "A very weak low pressure has develope on a nearly stationary front to the south of Glen Allen - Springfield Park area but a high pressure is starting to build in from the north. " ;}  //      JUNE 13, 2009   06:13 PM
if((tt==4 || tt==5)&& vb<4&& brt==7 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.96 && barx<30.16 && xwet==15 && lwet==15 && wmax<32 && tdif>-16 && tdif<-10 && dpdif>-13 && dpdif<-7 && tempa>38 && tempa<58 && dd<9 && rh<107 && rhy>2 && rhy<22 && tran>4 && tran<13 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2458 , fz = "A low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/11/09-17:24  This is the LP left from Hurrican Ida --Rain 1.81 inches so far
if((tt==4 || tt==5)&& vb<4&& brt==5 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.97 && barx<30.17 && xwet==15 && lwet==15 && wmax<32 && tdif>-15 && tdif<-9 && dpdif>-13 && dpdif<-7 && tempa>37 && tempa<57 && dd<8 && rh<107 && rhy>-3 && rhy<17 && tran>4 && tran<13 && sp<3 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2459 , fz = "A low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/11/09-17:57 This is the LP left from Hurrican Ida --Rain 1.90 inches so far
if((tt==4 || tt==5)&& vb<4&& brt==6 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.97 && barx<30.17 && xwet==15 && lwet==15 && wmax<32 && tdif>-14 && tdif<-8 && dpdif>-14 && dpdif<-8 && tempa>37 && tempa<57 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>5 && tran<14 && sp<3 && clo<6 && dpnow>39 && dpnow<53) 						{var fn = 2460 , fz = "A low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/11/09-19:03 This is the LP left from Hurrican Ida --Rain 1.98 inches so far
if((tt==4 || tt==5)&& vb<3&& brt==6 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.70 && barx<29.90 && xwet==15 && lwet==15 && wmax<40 && tdif>-4 && tdif<2 && dpdif>-4 && dpdif<2 && tempa>36 && tempa<56 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>-1 && tran<8 && sp<5 && clo<6 && dpnow>38 && dpnow<52) 						{var fn = 2461 , fz = "A low pressure to the SE of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/12/09-19:06   This is the LP left from Hurrican Ida  rainfall last 3 days now 4.65 inches
if((tt==4 || tt==5)&& vb<3&& brt==5 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.70 && barx<29.90 && xwet==15 && lwet==15 && wmax<40 && tdif>-4 && tdif<2 && dpdif>-4 && dpdif<2 && tempa>36 && tempa<56 && dd<8 && rh<107 && rhy>-10 && rhy<10 && tran>-1 && tran<8 && sp<5 && clo<6 && dpnow>39 && dpnow<53) 						{var fn = 2462 , fz = "A second low pressure is forming off  the SE Atlantic coast  and a high pressure to the north and both are working to pull a moist damp flow off the Atlantic with 6.0 inches of snow so far. " ; } // 11/12/09-19:19  This is the LP left from Hurrican Ida  rainfall last 3 days now 4.75 inches
if((tt==4 || tt==5)&& vb<3&& brt==7 && bdi>6&& bdi<10&& dn>1&& dn<5 && barx>29.61 && barx<29.81 && xwet==15 && lwet==15 && wmax<21 && tdif>-13 && tdif<-7 && dpdif>2 && dpdif<8 && tempa>23 && tempa<43 && dd<9 && rh<108 && rhy>35 && rhy<55 && tran>7 && tran<16 && sp<4 && clo<6 && dpnow>25 && dpnow<39) 						{var fn = 2463 , fz = "An approaching low pressure is located to the south and as indicated by the pressure drop and pulling a NE flow. A weak high pressure is in the western Great Lakes area thus little cold air to the north to be pulled into this low." ; } // 03/02/10-19:49
if((tt==4 || tt==5)&& vb<4&& brt==7 && bdi>6&& bdi<10&& dn>3&& dn<7 && barx>29.56 && barx<29.76 && xwet==15 && lwet==15 && wmax<21 && tdif>-9 && tdif<-3 && dpdif>-1 && dpdif<5 && tempa>47 && tempa<67 && dd<8 && rh<109 && rhy>14 && rhy<34 && tran>1 && tran<10 && sp<4 && clo<6 && dpnow>50 && dpnow<64) 						{var fn = 2464 , fz = "A slowly approaching low pressure is located to the south and as indicated by the pressure drop and pulling a east to NE flow. This is a complex situationa as there is also a low pressure to the west of Glen Allen. " ; } // 03/12/10-19:18





if(tt==5 && vb<4 	  	      && brt>6  		&& bdi<4 && dn>2	 &&  dn<7 && barx<30.25 && tdif<-11 && dpdif<-11  && xwet==0  && wmax<18  && rh>70   && dd<10 && tempa>36 && tempa<60) 																		{var fn = 2466 , fz  = "A low pressure is developing to the WSW of the Glen Allen area. " ;}  // -         DECEMBER 20, 2008   08:45 PM
if((tt==5 || tt==1)&& vb<3&& brt==7 && bdi>5&& bdi<9&& dn>1&& dn<5 && barx>29.93 && barx<30.13 && xwet==15 && lwet==15 && wmax<38 && tdif>-12 && tdif<-6 && dpdif>-12 && dpdif<-6 && tempa>37 && tempa<57 && dd<9 && rh<107 && rhy>-10 && rhy<10 && tran>5 && tran<14 && sp<7 && clo<6 && dpnow>39 && dpnow<53) 						{var fn = 2467 , fz  = "A low pressure to the south of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic. " ; } // 11/11/09-22:44  This is the LP left from Hurricane Ida --Rain 2.30 inches so far
if((tt==5 || tt==1)&& vb<4&& brt==7 && bdi>6&& bdi<10&& dn>0&& dn<4 && barx>29.69 && barx<29.89 && xwet==15 && lwet==15 && wmax<40 && tdif>-3 && tdif<3 && dpdif>-3 && dpdif<3 && tempa>37 && tempa<57 && dd<8 && rh<108 && rhy>-9 && rhy<11 && tran>-1 && tran<8 && sp<7 && clo<6 && dpnow>40 && dpnow<54) 						{var fn = 2468 , fz  = "A low pressure to the SE of Glen Allen - Springfield Park area is being blocked by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 11/12/09-22:29 This is the LP left from Hurricane Ida --Rain 5.27 inches so far
if((tt==5 || tt==1)&& vb<3&&(brt==8||brt==9)&& bdi>7&& bdi<11&& dn>1&& dn<5 && barx>29.81 && barx<30.01 && xwet==15 && lwet>8 && wmax<17 && tdif>-4 && tdif<2 && dpdif>6 && dpdif<12 && tempa>0 && tempa<38 && dd<9 && rh<107 && rhy>23 && rhy<43 && tran>7 && tran<16 && sp<5 && clo<6 && dpnow>20 && dpnow<34) 					{var fn = 2469 , fz  = "A low pressure is forming to the SE of Glen Allen area is merging with the low from the west being blocked some by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 12/18/09-21:23
if((tt==5 || tt==1)&& vb<3&&(brt==8||brt==9)&& bdi>7&& bdi<11&& dn>1&& dn<5 && barx>29.72 && barx<29.92 && xwet==15 && lwet>8 && wmax<21 && tdif>-4 && tdif<2 && dpdif>7 && dpdif<13 && tempa>0 && tempa<38 && dd<9 && rh<108 && rhy>26 && rhy<46 && tran>7 && tran<16 && sp<6 && clo<6 && dpnow>20 && dpnow<34) 					{var fn = 2470 , fz = "A low pressure is forming to the SE of Glen Allen area is merging with the low from the west being blocked some by a high pressure to the north and both are working to pull a moist damp flow off the Atlantic." ; } // 12/18/09-23:42


//              1lsw                               LOW PRESSURES - TO SOUTHWEST
if((tt==1 || tt==2) && vb<4      && brt<=5  	&& bdi<5 && dn<5 	  && barx<30.10 	&& tdif<-7 && dpdif<-8  && xwet==15  	&& wmax<15  		&& rh>70   && dd<8 && tempa>35 && tempa<60  && windx<3 && lwet>0) 															{var fn = 2470 , fz  = "A low pressure is developing to the SW of the Glen Allen area. " ;}  // -         JANUARY 06, 2009   08:21 AM 0.03 rain so far today
if((tt==1 || tt==2) && vb<4      && brt<=5  	&& bdi<5 && dn<6 	&& barx<30.10 	&& tdif<-7 && dpdif<-8  && xwet==15  	&& wmax<15  		&& rh>70   && dd<8 && tempa>35 && tempa<60 ) 																		{var fn = 2471 , fz  = "A low pressure is developing to the SW of the Glen Allen area. " ;}  // -         JANUARY 06, 2009   08:21 AM 0.03 rain so far today
if((tt==1 || tt==2) && vb<4      && brt<=5  	&& bdi>5 && dn<6 	&& barx<30.10 	&& tdif<-7 && dpdif<-8  && xwet==15  	&& wmax<15  		&& rh>70   && dd<8 && tempa>35 && tempa<60 && tch<0 && dch>0) 																{var fn = 2472 , fz  = "A low pressure is developing to the SW with a stationary front to the south and a high pressure to the north of the Glen Allen area. " ;}  // -           JANUARY 06, 2009   08:46 AM  0.03 rain so far today
if((tt==1 || tt==2) && vb<3     && brt<=4       && bdi>=6 && dn>4 && dn<7 && barx>30.00 	&& tdif>0   && dpdif>0  && xwet==15  && lwet==15 && wmax<10	&& rh>95   && dd<3 && temphi<50 && tran<5 && ymw==15 && sp<3 ) 	                 														{var fn = 2473 , fz = "A slow moving low pressure located to the SW of Glen Allen is bring steady precipitation to the Glen Allen area.  " ;}  //    MARCH 15, 2009   07:34 AM rainfall .14 inches
if((tt==1 || tt==2)&& vb<3&&(brt==5||brt==6)&& bdi>5&& bdi<9&& dn>10&& dn<14 && barx>30.16 && barx<30.36 && xwet==15 && lwet==15 && wmax<10 && tdif>1 && tdif<7 && dpdif>-3 && dpdif<3 && tempa>24 && tempa<44 && dd<13 && rh<92 && rhy>-22 && rhy<-2 && tran>-2 && tran<7 && sp<3 && clo<6 && dpnow>22 && dpnow<36) 					{var fn = 2475 , fz = "A slow moving low pressure located to the SW of Glen Allen is bring steady precipitation to the Glen Allen area and a diagonal NW to SE high pressure ridge is just NE of central VA. " ; } // 02/05/10-8:56


if((tt==2 || tt==3) && vb<3     && brt>6           && bdi>6 && dn>3 && dn<7 && barx>30.00 	&& tdif>0   && dpdif>0  && xwet==15  && lwet==15 && wmax<10	&& rh>90   && dd<5 && temphi<60 && tran<8 && ymw==15 && sp<3 ) 	                 														{var fn = 2485 , fz = "A slow moving low pressure located to the SW of Glen Allen is bring steady precipitation to the Glen Allen area.  " ;}  //      MARCH 14, 2009   04:48 PM  rainfall .25 inches
if((tt==2 || tt==3) && vb<4      && brt<=5  	&& bdi>5 && dn<6 	&& barx<30.10 	&& tdif<-7 && dpdif<-8  && xwet==15  	&& wmax<15  		&& rh>70   && dd<8 && tempa>35 && tempa<60 && tch>0 && dch>0) 																{var fn = 2486 , fz = "A low pressure is developing to the SW with a stationary front to the south and a high pressure to the north of the Glen Allen area. " ;}  // -           JANUARY 06, 2009   08:46 AM  0.03 rain so far today
if((tt==2 || tt==3) && vb<4    && brt<4       	&& bdi>6 && dn>1 && dn<4 && barx>30.00 	&& tdif>0   && dpdif>0  && xwet==15  && lwet==15 && wmax<10	&& rh>90   && dd<4 && temphi<50 && tran<5 && ymw==15 && sp<3 ) 	                 													{var fn = 2487 , fz = "A slow moving low pressure located to the SSW of Glen Allen is bring steady precipitation to the Glen Allen area. " ;}  //    MARCH 15, 2009 1044 AM rainfall .29 inches
if((tt==2 || tt==3)&& vb<4&& brt==6 && bdi>0&& bdi<4&& dn>1&& dn<5 && barx>30.29 && barx<30.49 && xwet==0 && lwet==0 && wmax<24 && tdif>-22 && tdif<-16 && dpdif>-22 && dpdif<-16 && tempa>17 && tempa<37 && dd<28 && rh<53 && rhy>-13 && rhy<7 && tran>5 && tran<14 && sp<5 && clo<5 && dpnow>0 && dpnow<14) 						{var fn = 2488 , fz = "A low pressure is developing to the SW on a nearly stationary front with a cold arctic high pressure to the north of the low pressure area that is now covered the VA area in a cold air mass " ; } // 01/29/10-9:41
if((tt==2 || tt==3)&& vb<4&&(brt==6||brt==7)&& bdi>0&& bdi<4&& dn>1&& dn<5 && barx>30.28 && barx<30.48 && xwet==0 && lwet==0 && wmax<24 && tdif>-24 && tdif<-18 && dpdif>-24 && dpdif<-18 && tempa>18 && tempa<38 && dd<28 && rh<52 && rhy>-14 && rhy<6 && tran>5 && tran<14 && sp<5 && clo<5 && dpnow>1 && dpnow<15) 					{var fn = 2489 , fz = "A low pressure is developing to the SW on a nearly stationary front  and the pressure is starting to fall as the low advances eastward and the high pressure to the north has put the Glen Allen - Springfield Park area  into cold arctic air with very low dew point  temperatures." ; } // 01/29/10-10:03
if((tt==2 || tt==3)&& vb<3&& (brt==6||brt==7) && bdi>5&& bdi<9&& dn>13&& dn<17 && barx>30.16 && barx<30.36 && xwet==15 && lwet==15 && wmax<10 && tdif>-6 && tdif<0 && dpdif>2 && dpdif<8 && tempa>23 && tempa<43 && dd<10 && rh<101 && rhy>16 && rhy<36 && tran>-2 && tran<7 && sp<4 && clo<6 && dpnow>24 && dpnow<38) 					{var fn = 2490 , fz = "A slow moving low pressure located to the SW of Glen Allen is bring steady precipitation to the Glen Allen area and a diagonal NW to SE high pressure ridge is just NE of central VA." ; } // 02/05/10-9:47




if((tt==3 || tt==4) && vb<4     && brt>=5        && bdi>6 && dn<4  	 && barx>30.00 	&& tdif>0   && dpdif>0  && xwet==15  && lwet==15 && wmax<10	&& rh>90   && dd<5 && temphi<60 && tran<8 && ymw==15 && sp<3 ) 	                 														{var fn = 2497 , fz = "A slow moving low pressure located to the SW of Glen Allen is bring steady precipitation to the Glen Allen area.  " ;}  //      MARCH 14, 2009   05:08
