// JavaScript Document
// Hides whatever links needed so that link-juice is not lost needlessly
var pages = [];
var qsParm = new Array();

// Overhead pages array
pages[0] = 'http://www.expertcollective.com/legal/privacy.html';
pages[1] = 'http://www.expertcollective.com/legal/copyright.html';
pages[2] = 'http://www.expertcollective.com/legal/terms.html';
pages[3] = 'http://www.expertcollective.com/legal/sitemap.html';
pages[4] = 'http://www.expertcollective.com';

// Secrets from Top MBA Admits product link
pages[5] = 'http://www.easywebautomation.com/SecureCart/SecureCart.aspx?mid=F8AA1835-FA51-43F9-8CE0-372230DB45D6&pid=8291674a618841e1ec6f022a19a4a335';

// Sample page of Secrets from Top MBA Admits
pages[6] = 'http://www.expertcollective.com/files/sample_page.pdf';

pages[7] = 'http://www.expertcollective.com/amember/login.php';

function go(pageIndex){
	document.location=pages[pageIndex];
return true;
}


function GetDay(intDay){
    var DayArray = new Array("Sunday", "Monday", "Tuesday", "Wednesday", 
                         "Thursday", "Friday", "Saturday")
    return DayArray[intDay]
}

function GetMonth(intMonth){
    var MonthArray = new Array("January", "February", "March",
                               "April", "May", "June",
                               "July", "August", "September",
                               "October", "November", "December") 
    return MonthArray[intMonth] 	  	 
}

function getDateStrWithDOW(){
    var today = new Date()
    var year = today.getYear()
    if(year<1000) year+=1900
    var todayStr = GetDay(today.getDay()) + ", "
    todayStr += GetMonth(today.getMonth()) + " " + today.getDate()
    todayStr += ", " + year
    return todayStr
}

