if(request.method=="GET"){ print( DIV({id:"page_intro"},P(SPAN({style:"font-size:18pt"}, B("WeatherCurve!")), BR("Congratulations to the people at Appjet. They have found commercial success! They hosted this application (and many others) for free, but now are ending their service. So, unfortunately, WeatherCurve with be temporarily discontinued on July 1 until I find time to build it elsewhere."), BR(SPAN({style:"font-size:8pt"},"Powered by ",link("http://www.weatherbug.com","WeatherBug"))), BR(SPAN({style:"font-size:8pt"},"Submit your ",link("http://weathercurve.blogspot.com/2008/08/welcome-to-weathercurve.html","comments")))))); print(DIV({id:"main"}, DIV({id:"map_container"},DIV({id:"map",style:"width: 500px; height: 300px"})), DIV({id:"curve"},"")), DIV({id:"mapcontrols"}, "From:",INPUT({id:"startLoc",type:"text",name:"startLoc",value:"Atlanta,GA"}), " - To:",INPUT({id:"endLoc",type:"text",name:"endLoc",value:"Woodstock,GA"}), INPUT({id:"dirButton",type:"button",value:"Get Directions",onclick:"getDirections()"}), DIV({id:"statusBox"},"Status: Waiting for user input.") ) );
functiongetWeather(geoPoints){ // Please be kind and register for your own Weather Bug user code. // They're free! // Thanks. // http://a3442904444.api.wxbug.net/getLiveCompactWeatherRSS.aspx?ACode=A3442904444&lat=33.75&long=-84.38 varwbugUserCode="A3442904444"; varstations=newArray();