/* MEDIA RELOCATE JS */

/*** (some interactives load this file, but do not show ads, 
***  thus the following function may not be needed, 
***  but since Flash interactives share centralized files, 
***  the function will still get called  
***/

function interactiveReload () {
        if (window.adbanner) { window.adbanner.location.reload(); }
        if (window.adtower) { window.adtower.location.reload(); }
}

/*** set variables
***	set:
***	var uri > current and full url string
***	var loc > uri - [ http:// ]
***/
// commented out: 05.03.2004
// removed comment -- needed for promos and other video content
var uri = window.location.href;
var loc = uri.substring(7);

// redirect current page to http://media." (if videoplayer not yet migrated)
var noReloc = new Array ( "media.", "stage.", "wpe" );
	noReloc.push("/promos/promos.html");
var useReloc = true;
for (var i=0; i<noReloc.length; i++)
{
	//if ( (loc.indexOf("media.") == -1) && (loc.indexOf("stage.") == -1) && (loc.indexOf("wpe") == -1 ) ) window.location.href = "http://media." + loc;
	if ( loc.indexOf( noReloc[i] ) != -1 )
	{
		useReloc = false;
		break;
	}
}
//if	(useReloc) window.location.href = "http://media." + loc;
/* END MEDIA RELOCATE JS */
