%
'if any page is hit as HTTPS, redirect to http to switch protocals
if request.ServerVariables("HTTPS") = "on" then
response.redirect("http://www.onlygng.com" & request.ServerVariables("SCRIPT_NAME"))
end if
function getPath (loc)
dim path
path = ""
if loc <> "home" then
path = "../"
end if
getPath = path
end function
sub buildNav (templateType)
dim path
path = getPath(templateType)
%>
<% buildSecNavList templateType, "residential" %>
<% buildSecNavList templateType, "business" %>
<% buildSecNavList templateType, "myaccount" %>
<% buildSecNavList templateType, "aboutus" %>
<%
end sub
sub buildHead (templateType)
dim path
path = getPath(templateType)
%>
<%
end sub
sub buildFooter (templateType)
dim path
path = getPath(templateType)
%>
<%
end sub
sub buildFooter_SP
dim path
path = getPath("inside")
%>
<%
end sub
sub buildSecNavList (templateType, section)
dim path
path = getPath(templateType)
select case section
case "residential" %>
<% buildSecNavList templateType, section
end select
end sub
sub getSideContent (block, templateType)
dim path
path = getPath(templateType)
%>
<%
end sub
sub buildHomeFeat
if (loggedIn()) then %>
At Georgia Natural Gas®, we're always happy when our customers stop by for a visit. We're glad you're a GNG customer, and we appreciate your business!
<% else %>
At Georgia Natural Gas®, we understand what consumers need - and want - in a natural gas provider.
$60 in bill credits
Recycled Natural Gas
Outstanding Customer Perks
Competitive Price Plans
Recycled Natural Gas:
You have been doing your part to create a cleaner and safer environment using Recycled Natural Gas.
You can view your bills, make payments and chart your usage using our broad array of online services.
<% end if
end sub
' Check that the user is logged in
function loggedIn()
if len(trim(session("user_login"))) = 0 then
loggedIn = FALSE
else
loggedIn = TRUE
end if
end function
sub SendTXTMail(message, subject, recipients, confirmPage)
dim mailer
Set mailer = Server.CreateObject("CDO.Message")
mailer.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
'for Earthlink
mailer.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="smtp-relay.mindspring.com"
'for NETSOL
' mailer.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver") ="127.0.0.1"
mailer.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
mailer.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False 'Use SSL for the connection
mailer.Configuration.Fields.Update
mailer.Configuration.Fields.Update
mailer.From = "dont-reply@onlygng.com"
mailer.To = recipients
mailer.Subject = subject
mailer.TextBody = message
if mailer.Send = 0 then
if len(confirmPage) > 0 then
response.redirect(confirmPage)
end if
else 'if mail not sent
response.Write "Subission Error failure. Error was " & mailer.response & ""
end if
end sub
sub buildPlan (planType)
if planType = "fixed" then
%>
$0.869
per therm *
Your price per therm is fixed (locked) for the selected contract length when you enroll. A great way to help manage your heating bills.
Price Plan
Current Price Per Therm *
Customer Service Charge 1
Additional Terms
12-Month Fixed 2
$0.869
$5.99-$11.99
12-month contract required
<%
elseif planType = "marketintro" then
%>
$0.499
per therm *
Our popular promotional variable rate plan. Features a discounted price per therm and no customer service charge for two months. After that, you'll be enrolled on our Variable Select plan and simply begin paying the applicable price per therm and customer service charge. No contract to sign and no exit fee if you switch to another GNG price plan at any time.
Price Plan
Current Price Per Therm *
Customer Service Charge 1
Additional Terms
Market Intro 1
$0.499
$0
No contract required
<%
end if
end sub
sub buildLegal (planType)
if planType = "fixed" then
%>
Enrollment eligibility, price plan availability and actual customer service charge, price per therm, and deposit requirement are subject to GNG credit and payment policies.
*New variable and fixed prices are filed with the Georgia Public Service Commission by the 5th of each month and can be found on the PSC website and on GNG's website.
† $10.00/month credit available for a total of 6 consecutive billing cycles, provided customer remains a GNG customer during such period and pays all charges billed by the date due. During that period, customer may choose any price plan for which customer qualifies and may transfer GNG service to another residence without loss of offer. For budget billing customers, discounts will be applied to monthly variances. Offer available for anyone who is not currently a GNG customer and who qualifies and enrolls for gas service with GNG between 10/05/09 and 11/04/09. Cannot be combined with any other offer.
1 Actual charge based on credit criteria / payment history.
2 GNG's standard 12-month fixed price plan.
<%
elseif planType = "tencentsoff" then
%>
† $10.00/month credit available for a total of 6 consecutive billing cycles, provided customer remains a GNG customer during such period and pays all charges billed by the date due. During that period, customer may choose any price plan for which customer qualifies and may transfer GNG service to another residence without loss of offer. For budget billing customers, discounts will be applied to monthly variances. Offer available for anyone who is not currently a GNG customer and who qualifies and enrolls for gas service with GNG between 11/05/09 and 12/04/09. Cannot be combined with any other offer.
<%
elseif planType = "fivecentsoff" then
%>
† $0.05/therm discount on gas consumed available for a total of 12 consecutive billing cycles, provided customer remains a GNG customer during such period and pays all charges billed by the date due. During that period, customer may choose any price plan for which customer qualifies and may transfer GNG service to another residence without loss of discount. For budget billing customers, discounts will be applied to monthly variances. Offer available for anyone who is not currently a GNG customer and who qualifies and enrolls for gas service with GNG between 11/5/09 and 12/4/09. Cannot be combined with any other offer.
<%
elseif planType = "choice" then
%>
† $0.10/therm discount on gas consumed available for a total of 12 consecutive billing cycles, or $10.00/month credit available for a total of 6 consecutive billing cycles, provided in each case customer remains a GNG customer during such period and pays all charges billed by the date due. During that period, customer may choose any price plan for which customer qualifies and may transfer GNG service to another residence without loss of discount. For budget billing customers, discounts will be applied to monthly variances. Offer available for anyone who is not currently a GNG customer and who qualifies and enrolls for gas service with GNG between 11/5/09 and 12/4/09. Cannot be combined with any other offer.
<%
elseif planType = "billcredit" then
%>
† $10.00/month credit available for a total of 6 consecutive billing cycles, provided customer remains a GNG customer during such period and pays all charges billed by the date due. During that period, customer may choose any price plan for which customer qualifies and may transfer GNG service to another residence without loss of offer. For budget billing customers, discounts will be applied to monthly variances. Offer available for anyone who is not currently a GNG customer and who qualifies and enrolls for gas service with GNG between 11/05/09 and 12/04/09. Cannot be combined with any other offer.
<%
end if
'visa offer -backup plan
'
† $10.00/month credit available for a total of 6 consecutive billing cycles, provided customer remains a GNG customer during such period and pays all charges billed by the date due. During that period, customer may choose any price plan for which customer qualifies and may transfer GNG service to another residence without loss of offer. For budget billing customers, discounts will be applied to monthly variances. Offer available for anyone who is not currently a GNG customer and who qualifies and enrolls for gas service with GNG between 10/05/09 and 11/04/09. Cannot be combined with any other offer.
end sub
sub buildLogin
%>
Login
<%
end sub
%>
TrueBlue Notes Newsletter | Georgia Natural Gas
Sound advice. Helpful tips. Just what you want from a newsletter.
Meet TrueBlue Notes®, a special quarterly newsletter for residential and business customers. The newsletter is inserted in customers' bills and gives you information about current events, offers and happenings associated with Georgia Natural Gas®.