
//This script should come below games nav

function GetCategoryURL(code)
{
	var generalVars = new GeneralVars();
	return generalVars.channelURL + '/Category.aspx?code=' + code + '&origin=topbar&lc=en';
}

//define links specific to oberon rest should be inherited from sky
function OberonOnClickDestination() {
	var generalVars = new GeneralVars();
	this.Word = GetCategoryURL(1008);
	this.Puzzle = GetCategoryURL(1007);
	this.Cards = GetCategoryURL(1004);	
	this.Kids = GetCategoryURL(110015873);
	this.Action = GetCategoryURL(1003);
	this.Topgames = GetCategoryURL(1000);
	this.Faq = generalVars.channelURL + "/faq.aspx";
}

function OberonEvent() {
	this.click = new OberonOnClickDestination();

}

// bind to base class
OberonOnClickDestination.prototype = new SkyOnClickDestination();

//overrides the value of pageEvents, if it was declared before i.e. in Games nav
pageEvents = new OberonEvent();
