// Show Page + Master Redirection
var showStem   = 'http://disney.go.com/disneyxd/nl/#/disneyxd/';
var showRedirs = new Array();
showRedirs['shows/avengers'] = 'http://disneyxd.disney.nl/shows/avengers';
showRedirs['shows/pairofkings'] = 'http://disneyxd.disney.nl/shows/pair-kings';
showRedirs['shows/kidvskat'] = 'http://disneyxd.disney.nl/shows/kid-vs-kat';
showRedirs['shows/jimmytwoshoes'] = 'http://disneyxd.disney.nl/shows/jimmy-two-shoes';
showRedirs['shows/imintheband'] = 'http://disneyxd.disney.nl/shows/im-band';
showRedirs['shows/phineasandferb'] = 'http://disneyxd.disney.nl/shows/phineas-and-ferb';
showRedirs['games'] = 'http://disneyxd.disney.nl/games';
showRedirs['video'] = 'http://disneyxd.disney.nl/filmpjes';

for(var key in showRedirs) {
	if(document.location.href.indexOf(showStem+key)>-1) {
		var showMatch=1;
		top.location.replace(showRedirs[key]);
	}
}

if(!showMatch) top.location.replace('http://www.disneyxd.nl');

/*
var siteBaseURL = "http://a.dolimg.com/disneyxd/dxd/";
var siteSwfURL = "DVC_OS.swf";
var siteCountryArray = ["netherlands","belgium"];
var siteConfig = "data/config_nl.xml";
var bootMainAppURL = "boot_main_app_uk.xml";
var siteDefaultBGImage = "bitmaps/backgrounds/xdbg_iitb_s2_emea.jpg";
var siteDefaultBGColor = "#000000";
var legalFooterColor = "#ffffff";
var legalFooterDCOM3 = true;
var legalFtrCpyRgt = "&copy; Disney Enterprises, Inc.";
var omnitureAccount = "wdgintnltdc,wdgintnl";
var omnitureRegion = "emea";
var omnitureCountry = "nl";
var omnitureUnit = "dol";
var barwidth = "975";

if(document.location.href=='http://disney.go.com/disneyxd/nl/')
{
	var ebRand = Math.random()+'';
	ebRand = ebRand * 1000000;
	//<![CDATA[ 
	document.write('<scr'+'ipt src="HTTP://bs.serving-sys.com/BurstingPipe/ActivityServer.bs?cn=as&amp;ActivityID=101543&amp;rnd=' + ebRand + '"></scr' + 'ipt>');
	//]]>
}

// Sitestat 4
// MCP page for Sitestat4 tracking corresponds to special URL
if(document.location.href.indexOf('http://disney.go.com/disneyxd/nl/#/disneyxd/ads/stir_mcp')>-1)
{
// MCP page
document.write("<script>\n// Netscape 4 will fail cookie-access in frames without this preceding script tag.\n</script>\n<script language=\"javascript\" src=\"http://nl.sitestat.com/stir_mcp.js\" type=\"text/javascript\">\n</script>");
}
else {
// Sitestat4 code
function sitestat(ns_l){ns_l+='&amp;ns__t='+(new Date()).getTime();ns_pixelUrl=ns_l;
ns_0=document.referrer;
ns_0=(ns_0.lastIndexOf('/')==ns_0.length-1)?ns_0.substring(ns_0.lastIndexOf('/'),0):ns_0;
if(ns_0.length>0)ns_l+='&amp;ns_referrer='+escape(ns_0);
if(document.images){ns_1=new Image();ns_1.src=ns_l;}else
document.write('<img src="'+ns_l+'" width="1" height="1" alt="">');}
if(document.cookie.indexOf('ns_Cfilter')!=-1)
sitestat("http://nl.sitestat.com/disney/disney/s?stir&amp;ns_channel=entertainment");
}

document.write('<link rel="shortcut icon" href="http://a.dolimg.com/disneyxd/dxd/bitmaps/EMEA/xd-favicon.ico" />');

// Show Page + Master Redirection
var showStem   = 'http://disney.go.com/disneyxd/nl/#/disneyxd/shows/';
var showRedirs = new Array();
showRedirs['avengers'] = 'http://disneyxd.disney.nl/show/avengers/';
showRedirs['pairofkings'] = 'http://disneyxd.disney.nl/show/pair-of-kings/';
showRedirs['kidvskat'] = 'http://disneyxd.disney.nl/show/kid-vs-kat/';
showRedirs['jimmytwoshoes'] = 'http://disneyxd.disney.nl/show/jimmy-two-shoes/';
showRedirs['imintheband'] = 'http://disneyxd.disney.nl/show/im-in-the-band/';
showRedirs['phineasandferb'] = 'http://www.disney.nl/phineas-and-ferb/';

for(var key in showRedirs) {
	if(document.location.href.indexOf(showStem+key)>-1) 
		top.location.replace(showRedirs[key]);
}

var unity580x410InstallImage = "http://a.dolimg.com/disneyxd/dxd/bitmaps/EMEA/miscellaneous/dxd_unity_plugin_580x410_nl-NL.jpg";
var unity580x410InstallButtonLeft = 315;
var unity580x410InstallButtonTop = 127;
var unity580x410InstallButtonRight = 566;
var unity580x410InstallButtonBottom = 336;
var unity580x410FAQButtonLeft = 0;
var unity580x410FAQButtonTop = 0;
var unity580x410FAQButtonRight = 1;
var unity580x410FAQButtonBottom = 1;
var unity580x410ContactUsButtonLeft = 0;
var unity580x410ContactUsButtonTop = 0;
var unity580x410ContactUsButtonRight = 1;
var unity580x410ContactUsButtonBottom = 1;
var unity750x500InstallImage = "http://a.dolimg.com/disneyxd/dxd/bitmaps/EMEA/miscellaneous/dxd_unity_plugin_750x500_nl-NL.jpg";
var unity750x500InstallButtonLeft = 412;
var unity750x500InstallButtonTop = 172;
var unity750x500InstallButtonRight = 639;
var unity750x500InstallButtonBottom = 381;
var unity750x500FAQButtonLeft = 0;
var unity750x500FAQButtonTop = 0;
var unity750x500FAQButtonRight = 1;
var unity750x500FAQButtonBottom = 1;
var unity750x500ContactUsButtonLeft = 0;
var unity750x500ContactUsButtonTop = 0;
var unity750x500ContactUsButtonRight = 1;
var unity750x500ContactUsButtonBottom = 1;
var unityInstallUrlMacIntel = "http://webplayer.unity3d.com/download_webplayer-2.x/webplayer-i386.dmg";
var unityInstallUrlMacPPC = "http://webplayer.unity3d.com/download_webplayer-2.x/webplayer-ppc.dmg";
var unityInstallUrlWin = "http://webplayer.unity3d.com/download_webplayer-2.x/UnityWebPlayer.exe";
var unityInstallLinkPosition = "unity_install_image_lower";
var unityInstallLinkName = "install_unity";
var unityFAQUrl = "javascript:void()";
var unityFAQLinkPosition = "unity_install_image_upper_left";
var unityFAQLinkName = "faq";
var unityContactUsUrl = "javascript:void()";
var unityContactUsLinkPosition = "unity_install_image_upper_right";
var unityContactUsLinkName = "contact_us";
var unityDateLinksLastModified = "100122";
var unityNoPluginLinkPosition = "unity_no_plugin_pos";
var unityNoPluginLinkName = "unity_no_plugin";
var unityLogoImage = "http://a.dolimg.com/disneyxd/dxd/bitmaps/unity/xdLogo.png";
var unityProgressFrameImage = "http://a.dolimg.com/disneyxd/dxd/bitmaps/unity/xd_loaderBar.png";
var unityProgressBarImage = "http://a.dolimg.com/disneyxd/dxd/bitmaps/unity/xd_loaderBarFill.png";
var unityBackgroundColor = "006699";
var unityBorderColor = "006699";
*/
