﻿// 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 = "Neighbourhood";

var docTitle = "Bass Coast SuperPages 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 = 2;
var wiynBookCountry = "Australia";

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., restaurants, BMW, Business Name)"
var mapDefaultZoom = 9;

var mapDefaultBounds //= new GLatLngBounds(new GLatLng(33.34,-117.35),new GLatLng(33.64,-116.85));

var mapDefaultCenterLat = -38.4331929;
var mapDefaultCenterLng = 145.82356;

//  Globla Link Navigation at the bottom
var gLinkText1 = "Home";
var gLinkHref1 = "http://www.superpages.com.au/";
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://sp-basscoast.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 ---------------------------------------------