

function ModeEnum()	{
	this.Production = "production"
	this.Test = "test"
	this.Local = "local"
}

var Modes = new ModeEnum()

function getIncludeMode()	
{
	
	if (document.location.hostname == "pch.com"
		|| document.location.hostname == "www.pch.com")
	{
                                    return Modes.Production
	}
	
	if (document.location.hostname.indexOf("test") != -1)
	{
			return Modes.Test
	} 				
	
	return Modes.Local
}

var mode = getIncludeMode()


