//-- Google Ads Manager, omniture dynamic set for Stadium Astro - Khairi 23-2-2009
//-- Add DNN Main Category detector
//-- Add DNN Main Category Full Name

function getTabValue(){
	theUrl = theUrl.toLowerCase();
	theUrlPart = new Array();
	theUrlPart = theUrl.split("/");
	theMainCategories = theUrlPart[3];
	
	if (theMainCategories == "tabid") { theMainCategories = "home"; }
	//if (theMainCategories == "" && theUrlPart[4] == "" && theUrlPart[5] == "") { theMainCategories = "home"; window.location = "http://sports.mylaunchpad.com.my/default.aspx?base"; }
	if (theMainCategories == "" && theUrlPart[4] == "" && theUrlPart[5] == "") { theMainCategories = "home"; }
	if (theUrlPart[2] == "sports.mylaunchpad.com.my" && theUrlPart[3] == "") { theMainCategories = "home"; }
	//if (theUrlPart[2] == "stadiumastro.com" && theUrlPart[3] == "") { theMainCategories = "home"; }
	//if (theUrlPart[2] == "sports.mylaunchpad.com.my" && theUrlPart[3] == "default.aspx" && theUrlPart[3] != "adminlogin.aspx" && theUrlPart[3] != "loginnew" && theUrlPart[4] != "loginnew") { theMainCategories = "home"; window.location = "http://sports.mylaunchpad.com.my/default.aspx?base"; }
	if (theUrlPart[2] == "sports.mylaunchpad.com.my" && theUrlPart[3] == "default.aspx" && theUrlPart[3] != "adminlogin.aspx" && theUrlPart[3] != "loginnew" && theUrlPart[4] != "loginnew") { theMainCategories = "home"; }
	//if (theUrlPart[2] == "stadiumastro.com" && theUrlPart[3] == "default.aspx" && theUrlPart[3] != "adminlogin.aspx" && theUrlPart[3] != "loginnew" && theUrlPart[4] != "loginnew") { theMainCategories = "home"; window.location = "http://sports.mylaunchpad.com.my/default.aspx?base"; }
	if (theUrlPart[2] == "stadiumastro.com" && theUrlPart[3] == "default.aspx" && theUrlPart[3] != "adminlogin.aspx" && theUrlPart[3] != "loginnew" && theUrlPart[4] != "loginnew") { theMainCategories = "home"; }
	//if (theUrlPart[2] == "sports.mylaunchpad.com.my" && theUrlPart[3] == "fantasy" && theUrlPart[4] =="content.aspx") { window.location="http://sports.mylaunchpad.com.my/fantasy/content.aspx?base"; }
	//if (theUrlPart[2] == "stadiumastro.com" && theUrlPart[3] == "fantasy" && theUrlPart[4] =="content.aspx") { window.location="http://sports.mylaunchpad.com.my/fantasy/content.aspx?base"; }
	if (theMainCategories == "default.aspx?base" && theUrlPart[4] == "") { theMainCategories="home"; }
	//if (theUrlPart[3].toLowerCase() == "football" && theUrlPart[4].toLowerCase() == "worldcup2010") { theMainCategories = "worldcup2010"; }	
    //	var re = new RegExp(/EnglishFootball/);

	//theMainCategories="europe"; //For nav selected
	if (theUrlPart[4]=="MalaysianFootball") { theMainCategories="malaysianfootball"; }
	
	//if (theUrlPart[4]=="Formula1F1") { theMainCategories="f1"; }
	if (theUrlPart[4]=="MotoGP") { theMainCategories="motogp"; }
	if (theUrlPart[3]=="Othersports") { theMainCategories="othersports"; }
	
//	theMainCategoriesFull = theMainCategories.slice(0,1).toUpperCase() + theMainCategories.slice(1);
//	switch (theMainCategoriesFull){
//		case "Racquetsports":
//		theMainCategoriesFull="Racquet Sports";
//	}
	
	// Set default to ROS banners
	GASlots_islandads="maxis_sports_ros_-rectangle";
	GASlots_leaderboard="maxis_sports_ros_-superbanner";
	GASlots_midstrip="";
	
	for(var i=0;i<theUrlPart.length;i++){if(theUrlPart[i]=="tabid"){tabID = theUrlPart[i+1];}}
	switch (tabID){
		case "36":
		//window.location="http://www.stadiumastro.com/default.aspx?base";
		PageSection1="home";
		PageSection2="";
		PageSection3="";
		GASlots_islandads="maxis_sports_mainpage_-rectangle";
		GASlots_leaderboard="maxis_sports_mainpage_-superbanner";
		GASlots_midstrip="";
		break;
		
		case "37":
		PageSection1="searchresults";
		PageSection2="";
		PageSection3="";		
		break;
		
		case "57":
		PageSection1="football";
		PageSection2="mediagallery";
		PageSection3="";		
		break;
		
		case "59":
		PageSection1="others";
		PageSection2="categorymanager";
		PageSection3="";
		break;
		
		case "68":
		PageSection1="motorsports";
		PageSection2="";
		PageSection3="";
		break;
		
		case "69":
		theMainCategories="f1";
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="";
		break;
		
		case "71":
		PageSection1="fightsports";
		PageSection2="";
		PageSection3="";
		break;
		
		case "72":
		PageSection1="fightsports";
		PageSection2="ulitimatefightingchampionship";
		PageSection3="";
		break;
		
		case "81":
		theMainCategories = "f1"; //For nav selected
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="formulaonemoreresults";
		break;
		
		case "83":
		theMainCategories = "motogp"; //For nav selected
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="";
		break;
		
		case "84":
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="motogpmoreresults";
		break;
		
		case "88":
		PageSection1="racquetsports";
		PageSection2="";
		PageSection3="";
		break;
		
		case "93":
		PageSection1="othersports";
		PageSection2="";
		PageSection3="";
		break;
		
		case "95":
		PageSection1="football";
		PageSection2="footballarticle";
		PageSection3="";
		break;
		
		case "96":
		if (theUrlPart[8]=="59") { theMainCategories = "epl"; } //For nav selected
		if (theUrlPart[8]=="141") { theMainCategories = "worldcup2010"; } //For nav selected
		if (theUrlPart[8]=="103") { theMainCategories = "malaysianfootball"; } //For nav selected
		if (theUrlPart[8]=="61" || theUrlPart[8]=="62" || theUrlPart[8]=="63" || theUrlPart[8]=="136" || theUrlPart[8]=="137") { theMainCategories = "europe"; } //For nav selected
		PageSection1="football";
		PageSection2="footballnews";
		PageSection3="";
		break;
		
		case "101":
		PageSection1="motorsports";
		PageSection2="worldsuperbikes";
		PageSection3="";
		break;
		
		case "102":
		PageSection1="motorsports";
		PageSection2="worldrallychampionshipwrc";
		PageSection3="";
		break;
		
		case "103":
		PageSection1="fightsports";
		PageSection2="worldwrestlingentertainmentwwe";
		PageSection3="";
		break;
		
		case "105":
		theMainCategories="othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="badminton";
		PageSection3="";
		break;
		
		case "106":
		PageSection1="football";
		PageSection2="";
		PageSection3="";
		break;
		
		case "107":
		theMainCategories="epl"; //For nav selected
		PageSection1="football";
		PageSection2="englishpremierleague";
		PageSection3="";
		break;
		
		case "108":
		theMainCategories="epl"; //For nav selected
		PageSection1="football";
		PageSection2="englishpremierleague";
		PageSection3="eplmoreresults";
		break;
		
		case "109":
		PageSection1="others";
		PageSection2="comment";
		PageSection3="";
		break;
		
		case "110":
		PageSection1="football";
		PageSection2="englishfacup";
		PageSection3="";
		break;
		
		case "111":
		PageSection1="football";
		PageSection2="englishfacup";
		PageSection3="efamoreresults";
		break;
		
		case "112":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="uefachampionsleague";
		PageSection3="";
		break;
		
		case "113":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="italianseriea";
		PageSection3="";
		break;
		
		case "114":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="spanishprimeraliga";
		PageSection3="";
		break;
		
		case "115":
		PageSection1="football";
		PageSection2="asianchampionsleague";
		PageSection3="";
		break;
		
		case "116":
		PageSection1="football";
		PageSection2="asiancup";
		PageSection3="";
		break;
		
		case "118":
		PageSection1="motorsports";
		PageSection2="a1";
		PageSection3="";
		break;
		
		case "119":
		PageSection1="racquetsports";
		PageSection2="asianandeuropeanchampionships";
		PageSection3="";
		break;
		
		case "120":
		PageSection1="racquetsports";
		PageSection2="bwfsuperseries";
		PageSection3="";
		break;
		
		case "123":
		theMainCategories="othersports"; //For nav selected
		PageSection1="othersports";
		PageSection2="golf";
		PageSection3="";
		break;
		
		case "124":
		PageSection1="othersports";
		PageSection2="cricket";
		PageSection3="";
		break;
		
		case "125":
		PageSection1="othersports";
		PageSection2="cycling";
		PageSection3="";
		break;
		
		case "126":
		PageSection1="othersports";
		PageSection2="rugby";
		PageSection3="";
		break;
		
		case "127":
		theMainCategories="othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="tennis";
		PageSection3="";
		break;
		
		case "128":
		PageSection1="othersports";
		PageSection2="generalsportsnews";
		PageSection3="";
		break;
		
		case "130":
		PageSection1="newssubscription";
		PageSection2="";
		PageSection3="";
		break;
		
		case "131":
		PageSection1="rss";
		PageSection2="";
		PageSection3="";
		break;
		
		case "133":
		PageSection1="others";
		PageSection2="";
		PageSection3="";
		break;
		
		case "134":
		if (theUrlPart[8]=="65") { theMainCategories = "f1"; } //For nav selected
		if (theUrlPart[8]=="67") { theMainCategories = "motogp"; } //For nav selected		
		PageSection1="motorsports";
		PageSection2="motorsportsnews";
		PageSection3="";
		break;
		
		case "135":
		theMainCategories = "othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="racquetsportsnews";
		PageSection3="";
		break;
		
		case "136":
		PageSection1="fightsports";
		PageSection2="fightsportsnews";
		PageSection3="";
		break;
		
		case "137":
		if (theUrlPart[7]=="105") { theMainCategories = "malaysian"; } //For nav selected
		else
		    theMainCategories = "othersports"; //For nav selected
		PageSection1="othersports";
		PageSection2="othersportsnews";
		PageSection3="";
		break;
		
		case "138":
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="f1full";
		break;
		
		case "140":
		PageSection1="others";
		PageSection2="playvideo";
		PageSection3="";
		break;
		
		case "142":
		PageSection1="motorsports";
		PageSection2="a1";
		PageSection3="a1full";
		break;
		
		case "143":
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="motogpfull";
		break;
		
		case "144":
		PageSection1="motorsports";
		PageSection2="worldrallychampionshipwrc";
		PageSection3="wrcfull";
		break;
		
		case "145":
		PageSection1="motorsports";
		PageSection2="worldsuperbikes";
		PageSection3="worldsuperbikesfull";
		break;
		
		case "146":
		PageSection1="others";
		PageSection2="mediagallery";
		PageSection3="";
		break;
		
		case "147":
		PageSection1="racquetsports";
		PageSection2="asianandeuropeanchampionships";
		PageSection3="asianfull";
		break;
		
		case "148":
		PageSection1="racquetsports";
		PageSection2="bwfsuperseries";
		PageSection3="bwffull";
		break;
		
		case "149":
		PageSection1="login";
		PageSection2="";
		PageSection3="";
		break;
		
		case "150":
		PageSection1="fightsports";
		PageSection2="ulitimatefightingchampionship";
		PageSection3="ufcfull";
		break;
		
		case "151":
		PageSection1="playinteractivegames";
		PageSection2="";
		PageSection3="";
		break;
		
		case "152":
		PageSection1="searchresults";
		PageSection2="";
		PageSection3="";
		break;
		
		case "153":
		PageSection1="rss";
		PageSection2="profiles";
		PageSection3="";
		break;
		
		case "153":
		PageSection1="rss";
		PageSection2="profiles";
		PageSection3="";
		break;
		
		case "154":
		PageSection1="others";
		PageSection2="newsplayerprofile";
		PageSection3="";
		break;
		
		case "155":
		PageSection1="epassnavigaion";
		PageSection2="";
		PageSection3="";
		break;
		
		case "156":
		PageSection1="questions";
		PageSection2="";
		PageSection3="";
		break;
		
		case "157":
		PageSection1="epass";
		PageSection2="";
		PageSection3="";
		break;
		
		case "158":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="uefachampionsleague";
		PageSection3="uefamoreresults";
		break;
		
		case "159":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="italianseriea";
		PageSection3="italianseriaamoreresults";
		break;
		
		case "160":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="spanishprimeraliga";
		PageSection3="spanishprimeraligamoreresults";
		break;
		
		case "161":
		PageSection1="football";
		PageSection2="asianchampionsleague";
		PageSection3="asianchampmore";
		break;
		
		case "162":
		PageSection1="football";
		PageSection2="asiancup";
		PageSection3="asiancupmore";
		break;
		
		case "163":
		PageSection1="fullinteractivegames";
		PageSection2="";
		PageSection3="";
		break;
		
		case "165":
		PageSection1="forum";
		PageSection2="";
		PageSection3="";
		break;
		
		case "166":
		PageSection1="tvguides";
		PageSection2="";
		PageSection3="";
		break;
		
		case "167":
		PageSection1="motorsports";
		PageSection2="motorsportsarticle";
		PageSection3="";
		break;
		
		case "168":
		theMainCategories = "othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="racquetsportsarticle";
		PageSection3="";
		break;
		
		
		case "170":
		PageSection1="fightsports";
		PageSection2="fightsportsarticle";
		PageSection3="";
		break;
		
		case "171":
		PageSection1="othersports";
		PageSection2="othersportsarticle";
		PageSection3="";
		break;
		
		case "172":
		PageSection1="aboutus";
		PageSection2="";
		PageSection3="";
		break;
		
		case "173":
		PageSection1="contactus";
		PageSection2="";
		PageSection3="";
		break;
		
		case "174":
		PageSection1="termsconditions";
		PageSection2="";
		PageSection3="";
		break;
		
		case "175":
		PageSection1="privacypolicy";
		PageSection2="";
		PageSection3="";
		break;
		
		case "176":
		PageSection1="sitemap";
		PageSection2="";
		PageSection3="";
		break;
		
		case "178":
		PageSection1="profilenews";
		PageSection2="";
		PageSection3="";
		break;
		
		case "179":
		PageSection1="others";
		PageSection2="profilenews";
		PageSection3="";
		break;
		
		case "184":
		PageSection1="motorsports";
		PageSection2="motorsportsgenrenews";
		PageSection3="";
		break;
		
		case "185":
		PageSection1="football";
		PageSection2="malaysian";
		PageSection3="";
		break;
		
		case "186":
		PageSection1="football";
		PageSection2="asianfootball";
		PageSection3="asianfootballmoreresults";
		break;
		
		case "188":
		PageSection1="fightsports";
		PageSection2="boxing";
		PageSection3="";
		break;
		
		case "189":
		theMainCategories="othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="squash";
		PageSection3="";
		break;
		
		case "190":
		theMainCategories="epl"; //For nav selected
		PageSection1="football";
		PageSection2="englishpremierleague";
		PageSection3="eplmorefixtures";
		break;
		
		case "191":
		theMainCategories="epl"; //For nav selected
		PageSection1="football";
		PageSection2="englishpremierleague";
		PageSection3="eplmorestandings";
		break;
		
		case "192":
		PageSection1="football";
		PageSection2="englishfacup";
		PageSection3="efamorefixtures";
		break;
		
		case "193":
		PageSection1="football";
		PageSection2="englishfacup";
		PageSection3="efamorestandings";
		break;
		
		case "194":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="italianseriea";
		PageSection3="italianserieamorefixtures";
		break;
		
		case "195":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="italianseriea";
		PageSection3="italianserieamorestandings";
		break;
		
		case "196":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="uefachampionsleague";
		PageSection3="uefamorefixtures";
		break;
		
		case "197":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="uefachampionsleague";
		PageSection3="uefamorestandings";
		break;
		
		case "198":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="spanishprimeraliga";
		PageSection3="spanishprimeraligamorefixtures";
		break;
		
		case "199":
		theMainCategories="europe"; //For nav selected
		PageSection1="football";
		PageSection2="spanishprimeraliga";
		PageSection3="spanishprimeraligamorestandings";
		break;
		
		case "200":
		PageSection1="football";
		PageSection2="asianfootball";
		PageSection3="asianfootballmorefixtures";
		break;
		
		case "201":
		PageSection1="football";
		PageSection2="asianfootball";
		PageSection3="asainfootballmorestandings";
		break;
		
		case "202":
		PageSection1="media";
		PageSection2="";
		PageSection3="";
		break;
		
		case "203":
		PageSection1="motorsports";
		PageSection2="motorsportsmedia";
		PageSection3="";
		break;
		
		case "204":
		theMainCategories = "othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="racquetsportsmedia";
		PageSection3="";
		break;
		
		case "205":
		PageSection1="fightsports";
		PageSection2="fightsportsmedia";
		PageSection3="";
		break;
		
		case "206":
		PageSection1="othersports";
		PageSection2="othersportsmedia";
		PageSection3="";
		break;
		
		case "207":
		PageSection1="football";
		PageSection2="footballgenrenews";
		PageSection3="";
		break;
		
		case "209":
		theMainCategories = "othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="topgenrenews";
		PageSection3="";
		break;
		
		case "211":
		PageSection1="fightsports";
		PageSection2="fightsportsgenrenews";
		PageSection3="";
		break;
		
		case "212":
		theMainCategories = "othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="racquetsportsgenrenews";
		PageSection3="";
		break;
		
		case "215":
		PageSection1="othersports";
		PageSection2="othersprotsgenrenews";
		PageSection3="";
		break;
		
		case "216":
		PageSection1="football";
		PageSection2="footballhighlights";
		PageSection3="";
		break;
		
		case "217":
		PageSection1="motorsports";
		PageSection2="motorsportshighlights";
		PageSection3="";
		break;
		
		case "218":
		theMainCategories = "othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="racquetsportshighlights";
		PageSection3="";
		break;
		
		case "219":
		PageSection1="fightsports";
		PageSection2="fightsportshighlights";
		PageSection3="";
		break;
		
		case "220":
		PageSection1="othersports";
		PageSection2="othersprotshighlights";
		PageSection3="";
		break;
		
		case "223":
		theMainCategories="f1";
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="schedules";
		break;
		
		case "224":
		theMainCategories="f1";
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="results";
		break;
		
		case "225":
		theMainCategories="f1";
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="standings";
		break;
		
		case "226":
		theMainCategories="f1";
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="seasonresults";
		break;
		
		case "227":
		PageSection1="motorsports";
		PageSection2="a1";
		PageSection3="a1gpmoreschedules";
		break;
		
		case "228":
		PageSection1="motorsports";
		PageSection2="a1";
		PageSection3="a1gpmoreresults";
		break;
		
		case "229":
		PageSection1="motorsports";
		PageSection2="a1";
		PageSection3="a1gpmorestandings";
		break;
		
		case "230":
		PageSection1="motorsports";
		PageSection2="a1";
		PageSection3="a1seasonresults";
		break;
		
		case "231":
		theMainCategories="motogp";
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="motogpmoreresults";
		break;
		
		case "232":
		theMainCategories="motogp";
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="motogpmorestandings";
		break;
		
		case "233":
		PageSection1="games";
		PageSection2="";
		PageSection3="";
		break;
		
		case "234":
		theMainCategories="motogp";
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="motogpmoreschedules";
		break;
		
		case "235":
		theMainCategories="motogp";
		PageSection1="motorsports";
		PageSection2="motogp";
		PageSection3="motogpseasonresults";
		break;
		
		case "236":
		PageSection1="motorsports";
		PageSection2="worldsuperbikes";
		PageSection3="worldsuperbikesmoreresults";
		break;
		
		case "237":
		PageSection1="motorsports";
		PageSection2="worldsuperbikes";
		PageSection3="worldsuperbikesmoreschedules";
		break;
		
		case "238":
		PageSection1="motorsports";
		PageSection2="worldsuperbikes";
		PageSection3="worldsuperbikesmorestandings";
		break;
		
		case "239":
		PageSection1="motorsports";
		PageSection2="worldsuperbikes";
		PageSection3="worldsuperbikesseasonresults";
		break;
		
		case "240":
		PageSection1="football";
		PageSection2="teamprofiles";
		PageSection3="";
		break;
		
		case "241":
		PageSection1="football";
		PageSection2="playerprofiles";
		PageSection3="";
		break;
		
		case "242":
		theMainCategories="f1";
		PageSection1="motorsports";
		PageSection2="formula1f1";
		PageSection3="teamstandings";
		break;
		
		case "243":
		PageSection1="forum";
		PageSection2="userprofiles";
		PageSection3="";
		break;
		
		case "244":
		theMainCategories="othersports"; //For nav selected
		PageSection1="racquetsports";
		PageSection2="results";
		PageSection3="";
		break;
		
		case "258":
		theMainCategories="othersports"; //For nav selected
		PageSection1="basketball";
		PageSection2="nba";
		PageSection3="";
		break;
		
		case "261":
		PageSection1="fantasy";
		PageSection2="landingpage";
		PageSection3="";
		break;
		
		case "262":
		PageSection1="mailbag";
		PageSection2="";
		PageSection3="";
		break;
		
		case "263":
		PageSection1="columnist";
		PageSection2="";
		PageSection3="";
		break;

        case "265":
        PageSection1 = "shareyourstory";
        PageSection2 = "";
        PageSection3 = "";
        break;

        case "266":
        theMainCategories="f1";
        PageSection1 = "alexyoong";
        PageSection2 = "";
        PageSection3 = "";
        break;
   
        case "270":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "bundesliga";
        PageSection3 = "";
        break;

        case "271":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "bundesliga";
        PageSection3 = "bundesligamorefixtures";
        break;

        case "272":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "bundesliga";
        PageSection3 = "bundesligamoreresults";
        break;

        case "273":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "bundesliga";
        PageSection3 = "bundesligamorestandings";
        break;

    case "274":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "ligue1";
        PageSection3 = "";
        break;

    case "275":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "ligue1";
        PageSection3 = "ligue1ligamorefixtures";
        break;

    case "276":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "ligue1";
        PageSection3 = "ligue1ligamoreresults";
        break;

    case "277":
        theMainCategories="europe"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "ligue1";
        PageSection3 = "ligue1morestandings";
        break;
    case "278":
        PageSection1 = "football";
        PageSection2 = "carlingcup";
        PageSection3 = "";
        break;

    case "280":
        PageSection1 = "football";
        PageSection2 = "carlingcup";
        PageSection3 = "carlingcupligamorefixtures";
        break;

    case "279":
        PageSection1 = "football";
        PageSection2 = "carlingcup";
        PageSection3 = "carlingcupligamoreresults";
        break;

    case "281":
        PageSection1 = "football";
        PageSection2 = "carlingcup";
        PageSection3 = "carlingcupmorestandings";
        break;
		
		case "282":
        PageSection1 = "mobile";
        PageSection2 = "";
        PageSection3 = "";
        break;
		
		case "284":
		theMainCategories = "fantasy"; //For nav selected
        PageSection1 = "thepundit";
        PageSection2 = "";
        PageSection3 = "";
        break;
		
		case "285":
		theMainCategories = "fantasy"; //For nav selected
        PageSection1 = "jaymenon";
        PageSection2 = "";
        PageSection3 = "";
        break;		
		
		case "287":
		PageSection1="fantasy";
		PageSection2="landingpage";
		PageSection3="";
		break;
		
		case "291":
        PageSection1 = "astrolatestnews";
        PageSection2 = "";
        PageSection3 = "";
        break;

        case "292":
        PageSection1 = "astrofeatures";
        PageSection2 = "";
        PageSection3 = "";
        break;

        case "293":
        PageSection1 = "astromostviewed";
        PageSection2 = "";
        PageSection3 = "";
        break;   
       
        case "294":
        theMainCategories = "malaysian"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "malaysiacup";
        PageSection3 = "";
        break;    
		
		case "295":
		theMainCategories = "fantasy"; //For nav selected
		PageSection1="442";
		PageSection2="";
		PageSection3="";
		break;

        case "298":
        theMainCategories = "malaysian"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "malaysiacup";
        PageSection3 = "resultsfixtures";
        break;

        case "300":
        theMainCategories = "malaysian"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "malaysiacup";
        PageSection3 = "topplayers";
        break;
		
		case "301":
		theMainCategories = "malaysian"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "malaysiacup";
        PageSection3 = "teamprofile";
        break;

        case "302": case "303": case "304": case "305": case "306": case "307":
	    case "320": case "322": case "323": case "326": case "324": case "325": case "327":
        case "328": case "329": case "330": case "332": case "333": case "334": case "335":
        case "336": case "337": case "338": case "339": case "340": case "341": case "342":
        case "343": case "399": case "414": case "410":
        case "351": case "356": case "357": case "358": case "359": case "360":
        case "361": case "362": case "363": case "364": case "365": case "366": case "367":
        case "352": case "353": case "354": case "355": case "371":        
        case "388": case "389": case "390": case "391": case "392":
        case "386": case "387": case "418": case "421": case "420": case "426":
        case "430": case "431": case "432":
        
		theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "";
        break;
        
    case "397": case "398": case "394": case "401": case "402": case "403": case "404":
    case "405": case "411":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "bm";
        break;
        
    case "373":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "main";
        break;
    
    case "393":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "main-bm";
        break;

    case "375":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "group";
        break;
        
    case "374":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "kumpulan-bm";
        break;
        
    case "377": case "383": case "384": 
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "teams";
        break;

    case "395": case "406": case "407": 
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup-bm";
        PageSection3 = "pasukan-bm";
        break;
        
    case "378": case "385":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "stadium";
        break;

    case "396": case "408": 
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "stadium-bm";
        break;

    case "379":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "allstars";
        break;
    
    case "397":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "allstars-bm";
        break;
        
    case "380":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "paststars";
        break;
        
    case "398":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "paststars-bm";
        break;
        
    case "382":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "top stories";
        break;

    case "400":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "top stories-bm";
        break;
        
    case "381":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "article";
        break;

    case "399":
        theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "article-bm";
        break;
	
	case "409":
	theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "maxisteaser";
        break;

	case "374":
	theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "sticksports";
        break;

	case "435":
		theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "fromthestands";
        break;
	
	case "423":
		theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "legendsview";
        break;
	
	case "422":
		theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "goalmania";
        break;
		
	case "436":
		theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "pandanganlagenda";
        break;
	
	case "437":
		theMainCategories = "worldcup2010"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "worldcup";
        PageSection3 = "goalmania-bm";
        break;
		
	case "434":	
        PageSection1 = "hyundai";
        PageSection2 = "hyundai-image-slider";
        PageSection3 = "";
        break;

        case "308":
        theMainCategories = "f1"; //For nav selected
        PageSection1 = "motorsports";
        PageSection2 = "formula1f1";
        PageSection3 = "f1racecast";
        break;

        case "309":
        theMainCategories = "malaysian"; //For nav selected
        PageSection1 = "football";
        PageSection2 = "malaysiacup";
        PageSection3 = "resultsfixturesknockout";
        break; 
		
		case "310": //test page
        PageSection1 = "home";
        PageSection2 = "";
        PageSection3 = "";
        GASlots_islandads = "";
        GASlots_leaderboard = "";
        GASlots_midstrip = "";
        break;  
		
		case "313": //test page
        PageSection1 = "home";
        PageSection2 = "";
        PageSection3 = "";
        break;
          
        case "316": case "317": case "318": case "319": case "673":
        theMainCategories = "malaysianfootball"; //For nav selected
        break;

	case "331":
        PageSection1 = "mylaunchpad";
        PageSection2 = "home";
        PageSection3 = "";
        GASlots_islandads = "MAXIS_stadiumastro_walledgarden-rectangle";
        GASlots_leaderboard = "MAXIS_stadiumastro_walledgarden_-superbanner";
        GASlots_midstrip = "";
        break;
    case "346":
        PageSection1 = "football";
        PageSection2 = "matchcenter";
        PageSection3 = "";
        GASlots_islandads = "";
        GASlots_leaderboard = "";
        GASlots_midstrip = "";
        break;
   case "368":
		theMainCategories = "kiafutsal"; //For nav selected
        PageSection1 = "kiafutsal";
        PageSection2 = "home";
        PageSection3 = "";
        break;
   case "433":	
        PageSection1 = "lorealmenexpert";
        PageSection2 = "home";
        PageSection3 = "";
        break;
    case "662":	     
        theMainCategories = "mobile"; //For nav selected   
        break;
    case "669":	     
        theMainCategories = "ambassador"; //For nav selected   
        break;       

	//Arena - Khairi - Start
	
	case "439": case "440":	case "441": case "442":	case "443": case "444":	case "445":	case "473":	case "474": case "452": case "526":
		GASlots_islandads="D5_arena_mainpage_-rectangle";
		GASlots_leaderboard="D5_arena_mainpage_-superbanner";
        break;
    case "446": case "447": case "448": case "449": case "450": case "451": case "502": case "540": case "611":
		GASlots_islandads="D5_arena_bolaSepakTempatan_-rectangle";
		GASlots_leaderboard="D5_arena_bolaSepakTempatan_-superbanner";		
        break;
	case "453": case "454": case "455": case "456": case "457": case "458": case "459": case "462": case "503":
		GASlots_islandads="D5_arena_sukanBermotor_-rectangle";
		GASlots_leaderboard="D5_arena_sukanBermotor_-superbanner";		
        break;
	case "475": case "476": case "477": case "504": case "463": case "464": case "465": case "466":
	case "467": case "468": case "469": case "470": case "471": case "478": case "479": case "480": case "481": case "482": case "483":
		GASlots_islandads="D5_arena_ligaEuropa_-rectangle";
		GASlots_leaderboard="D5_arena_ligaEuropa_-superbanner";
        break;
	case "493": case "495":	case "497": case "505": case "484": case "485": case "486":
		GASlots_islandads="D5_arena_badminton_-rectangle";
		GASlots_leaderboard="D5_arena_badminton_-superbanner";		
        break;
	case "487": case "488":	case "489": case "506":
		GASlots_islandads="D5_arena_skuasy_-rectangle";
		GASlots_leaderboard="D5_arena_skuasy_-superbanner";		
        break;
	case "490": case "491":	case "492": 
		GASlots_islandads="D5_arena_bolaKeranjang_-rectangle";
		GASlots_leaderboard="D5_arena_bolaKeranjang_-superbanner";		
        break;
	case "493": case "494":	case "495": 
		GASlots_islandads="D5_arena_boling_-rectangle";
		GASlots_leaderboard="D5_arena_boling_-superbanner";		
        break;
	case "496": case "497":	case "498": case "613": 
		GASlots_islandads="D5_arena_hoki_-rectangle";
		GASlots_leaderboard="D5_arena_hoki_-superbanner";		
        break;
	case "499": case "500":	case "501": case "586": case "587": case "588": case "589": case "590": case "591": case "594":
		GASlots_islandads="D5_arena_lainLainSukan_-rectangle";
		GASlots_leaderboard="D5_arena_lainLainSukan_-superbanner";		
        break;
	//Arena - Khairi - End
        
	default:
		if (isArena==1){
			GASlots_islandads="D5_arena_mainpage_-rectangle";
			GASlots_leaderboard="D5_arena_mainpage_-superbanner";
		}else{
			PageSection1="home";
			PageSection2="";
			PageSection3="";
			GASlots_islandads="maxis_sports_ros_-rectangle";
			GASlots_leaderboard="maxis_sports_ros_-superbanner";
			GASlots_midstrip="";
		}
	}
	if(theUrl=="http://sports.mylaunchpad.com.my/" || theUrl=="http://sports.digitalfive.com/" || theUrl=="http://sports.mymaxis.com.my"){GASlots_islandads="maxis_sports_mainpage_-rectangle";GASlots_leaderboard="maxis_sports_mainpage_-superbanner";GASlots_midstrip="";}
	
	if (theUrlPart[4]=="englishfootball") { theMainCategories="epl"; }
	if (theUrlPart[4]=="europeanfootball") { theMainCategories="europe"; }
	if (theUrlPart[4]=="motorsports") { theMainCategories="f1"; }
}
