// JScript File

//   Local behavior Javascript--------------------------------------------------
//
//  The following code is used to identify and customize the local directory
//
//---------------------------------------------------------------------------


//   initial Local Variables ------------------------------------------------

var sortNoName = "Servicing Area";
var sortHomeName = "Home";
var sortWorkName = "Work";
var sortRegionName = "Neighborhood";

var docTitle = "Temecula Valley Online Directory - Powered by WIYN"

var sortNoTitle = ""+ sortNoName;;
var sortHomeTitle = "close to " + sortHomeName;
var sortWorkTitle = "close to " + sortWorkName;
var sortRegionTitle = "close to " + sortRegionName;

var wiynPubCode = 1;
var wiynBookCode = -1;
var wiynBookCountry = "USA";

var defaultSearchterm = ""
var mapGrid = "2.5"; // grid size in kilometers
var mapSearchCenter = "0|0|0"; //center of search lng|lat|gridSize kilometers

var searchExampleText = '(e.g., <a href="wiyn.aspx?auto=1&autoKW=restaurants">restaurants</a>, <a href="wiyn.aspx?auto=1&autoKW=auto repair">auto repair</a>, <a href="wiyn.aspx?auto=1&autoKW=Dine+In">Dine In</a>)';
var mapDefaultZoom = 9;

var mapDefaultBounds //= new GLatLngBounds(new GLatLng(33.34,-117.35),new GLatLng(33.64,-116.85));

var mapDefaultCenterLat = 33.5139;
var mapDefaultCenterLng = -117.0922;

//  Globla Link Navigation at the bottom
var gLinkText1 = "Home";
var gLinkHref1 = "http://www.wiyn.com/";
var gLinkText2 = "";
var gLinkHref2 = "";
var gLinkText3 = "";
var gLinkHref3 = "";
var gLinkText4 = "";
var gLinkHref4 = "";
var gLinkText5 = "";
var gLinkHref5 = "";
var gLinkText6 = "";
var gLinkHref6 = "";

// Logo Link
var logoLink = "http://www.whatsinyourneighborhood.com/";

//  END initial Local Variables


//  Tab Button Functionality -------------------------------------------------
//
//  Used to define what happens when a Tab is Clicked
//
//  There are 4 custom Tab Buttons to choose from
//
//  They are indended to open a local Popup window
//
//  Make sure any buttons you want to use are visible
//
//-----------------------------------------------------------------------------

function tabBtnClick(btn) {

    switch(btn)
    {
        case 1:
            
             break    
        case 2:
            
            break   
        case 3:
            
            break   
        case 4:
            
            break
       
    }
}


//  END Tab Button Functionality ---------------------------------------------