// ***********************************************************************************
// URLs for the Visa links available in the home page and 
// the links for 'presented By Visa' icon across the different modules
// of assist can be configured here.
//
// Changes take effect on runtime(dynamically with out server restart).
//
// Note::  1. Left hand side variables should not be changed which act as key 
//               for identifying the URLs associated to the visa links.
//         2. Right hand side values(URLs) should start and end with double quotes(").
//
// ***********************************************************************************

//*** 10 low cost ways to market your business ****
var link1_10LowCostWays="http://ad.doubleclick.net/clk;166824339;25349439;u?http://businessbreakthrough.msn.com/default.aspx?linksection=2&linksubsection=4&linkid=0";

//*** Tips for outsourcing your small business needs ***
var link2_TipsForOutSourcing="http://ad.doubleclick.net/clk;166824352;25349439;p?http://businessbreakthrough.msn.com/default.aspx?linksection=3&linksubsection=4&linkid=1";

//*** Pay business taxes with your Visa. ***
var link3_PayBusinessTaxes="http://ad.doubleclick.net/clk;166824363;25349439;r?http://www.usa.visa.com/business/manage_finances/pay_business_taxes_with_visa.html?it=c%7C/business/index.html%7CPay%20Business%20Taxes%20with%20Visa?ep=a_cmp_akqa";

//*** Are you ready for CRM? ***
var link4_AreYouReady="http://ad.doubleclick.net/clk;166824379;25349439;y?http://businessbreakthrough.msn.com/default.aspx?linksection=5&linksubsection=4&linkid=8";

//*** Security 101 ***
var link5_Security101="http://ad.doubleclick.net/clk;172472747;25349439;t?http://www.usa.visa.com/business/security/security101.html?it=c%7C/business/index.html%7CSecurity%20101?ep=a_cmp_akqa";

//*** Visit Visa.com ***
var link6_VisitVisa="http://ad.doubleclick.net/clk;166839505;25349439;v?http://www.businessbreakthrough.msn.com";


//*** presented By Visa link in Home tab***
var presentedByVisa_home = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Bookmarks tab***
var presentedByVisa_bookmarks = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Documents tab***
var presentedByVisa_documents="http://ad.doubleclick.net/clk;198676740;26026943;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Forms & Templates tab ***
var presentedByVisa_formsTab = "http://ad.doubleclick.net/clk;198676740;26026892;w?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Planner tab***
var presentedByVisa_planner = "http://ad.doubleclick.net/clk;198676740;26026901;n?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Meetings tab***
var presentedByVisa_meeting = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Library tab***
var presentedByVisa_library = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Sign-in page***
var presentedByVisa_signIn = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Registration page ***
var presentedByVisa_registration = "http://ad.doubleclick.net/clk;198676740;26026987;b?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Help page***
var presentedByVisa_help = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in MyAccounts page***
var presentedByVisa_myAccounts = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Stand alone MeetingView page***
var presentedByVisa_meetingView = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Home ***
var presentedByVisa_tourView_home = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Bookmarks ***
var presentedByVisa_tourView_bookmarks = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Documents***
var presentedByVisa_tourView_documents="http://ad.doubleclick.net/clk;198676740;26026943;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Forms & Templates ***
var presentedByVisa_tourView_formsTab = "http://ad.doubleclick.net/clk;198676740;26026892;w?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Planner***
var presentedByVisa_tourView_planner = "http://ad.doubleclick.net/clk;198676740;26026901;n?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Meetings***
var presentedByVisa_tourView_meeting = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";

//*** presented By Visa link in Tour view - Library***
var presentedByVisa_tourView_library = "http://ad.doubleclick.net/clk;198676740;26026934;t?http://usa.visa.com/business/index.html";






//
function setVisaLinks()
{
	/* Commented the Vias links on 27,June-2008
    var loc = window.location.href + "";

    if(loc.match("ea/home.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_home;
    }
    else if(loc.match("ea/bookmarks.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_bookmarks;
    }
    else if(loc.match("ea/document.do") || 
             loc.match("ea/getDocsList.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_documents;
    }
    else if(loc.match("ea/forms.do") || 
              loc.match("ea/gettemplateeditor.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_formsTab;
    }
    else if(loc.match("ea/planner.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_planner;
    }
    else if(loc.match("ea/library.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_library;
    }
    else if(loc.match("ea/meeting.do"))
    {
        document.getElementById('internalTabs_VisaLink').href=presentedByVisa_meeting;
    }
    else if(loc.match("jsp/help.jsp"))
    {
        document.getElementById('help_VisaLink').href=presentedByVisa_help;
    }
    else if(loc.match("ea/modifyuser.do"))
    {
        document.getElementById('accountsPage_VisaLink').href=presentedByVisa_myAccounts;
    }
    else if(loc.match("ea/overview.do"))
    {
        document.getElementById('signIn_VisaLink').href=presentedByVisa_signIn; 
    }
    else if(loc.match("ea/register.do"))
    {
        document.getElementById('register_VisaLink').href=presentedByVisa_registration;
    }
    else if(loc.match("tour/overview_home.html"))
    {
        document.getElementById('tourView_home_VisaLink').href=presentedByVisa_tourView_home;
    }
    else if(loc.match("tour/overview_bookmarks.html"))
    {
        document.getElementById('tourView_bookmarks_VisaLink').href=presentedByVisa_tourView_bookmarks;
    }
    else if(loc.match("tour/overview_documents.html"))
    {
        document.getElementById('tourView_documents_VisaLink').href=presentedByVisa_tourView_documents;
    }
    else if(loc.match("tour/overview_templates.html"))
    {
        document.getElementById('tourView_forms_VisaLink').href=presentedByVisa_tourView_formsTab;
    }
    else if(loc.match("tour/overview_planner.html"))
    {
        document.getElementById('tourView_planner_VisaLink').href=presentedByVisa_tourView_planner;
    }
    else if(loc.match("tour/overview_meetings.html"))
    {
        document.getElementById('tourView_meeting_VisaLink').href=presentedByVisa_tourView_meeting;
    }
    else if(loc.match("tour/overview_library.html"))
    {
        document.getElementById('tourView_library_VisaLink').href=presentedByVisa_tourView_library;
    }
    else if(loc.match("jsp/meetingview.jsp"))
    {
        document.getElementById('meetingView_VisaLink').href=presentedByVisa_meetingView;
    }
	*/
}
