<% @language="javascript" %> <%Response.Buffer=true %> <% var rsPageViews = Server.CreateObject("ADODB.Recordset"); rsPageViews.ActiveConnection = MM_ValueDealers_STRING; rsPageViews.Source = "SELECT * FROM PageViews"; rsPageViews.CursorType = 1; rsPageViews.CursorLocation = 2; rsPageViews.LockType = 3; rsPageViews.Open(); var rsPageViews_numRows = 0; var oldPageViews = rsPageViews("HomeViews"); var newPageViews = oldPageViews + 1; rsPageViews("HomeViews") = newPageViews; rsPageViews("HomeViewsIP") = Request.ServerVariables("REMOTE_HOST"); rsPageViews.Update; rsPageViews.Close(); rsPageViews = null; %> Gasoline Prices Search Engine
<% function cellColors(Doc) { var CColors = ""; //This script gets the URL of the current page, then extracts the file name from the URL var URL = new String(Request.ServerVariables("URL")); // get current URL in plain ASCII var xstart = URL.lastIndexOf("/") + 1; var xend = URL.length; var docName = URL.substring(xstart,xend).toUpperCase(); if (Doc.toUpperCase() == docName) { CColors = "style='background-color:rgb(150, 175, 255); color:rgb(000,000,155); border-color:rgb(000, 000, 150)'"; } return CColors; } %> <% function cellLocation(Doc) { //This script gets the URL of the current page, then extracts the file name from the URL var URL = new String(Request.ServerVariables("URL")); // get current URL in plain ASCII var xstart = URL.lastIndexOf("/") + 1; var xend = URL.length; var docName = URL.substring(xstart,xend).toUpperCase(); var Location = 'href="' + Doc + '"'; if (Doc.toUpperCase() == docName) { Location = ""; } return Location; } %>

Connecting
Value Conscious Consumers
With
Value Competitive Dealers

Find great Values through our Advertisers & Links



Send ValueDealers.com to a Friend, Associate or Favorite Dealer

Send feedback to webmaster@valuedealers.com
Copyright © 2000-05 Allan E. Heller.  All rights reserved. | Legal Information | Privacy Policy