// COIS Specific js scripts
// JavaScript Document
// CONSTANTS: 
var sProtocol = location.protocol;
var sHost = location.hostname;
var testDir = "ReDesign/";
var site = getSite();

function getSite() {
	var myRegExp = new RegExp("-(dev|staging|qa)");
	var sVal = sProtocol + '//' + sHost + "/";
	
	if (myRegExp.test(sHost) && testDir.length > 0) {
		return sVal + testDir;
		} else {
		return sVal;
	}	
}

function initPage() {
	footnoteLinks('accessContent','accessContent');
}