// Note: NOT a function.  Executes if included!
// Include this to test if the parent window's domain differs from 'ours',
// and redirect to 'our' location if it does.

var url = 'http://' + location.host + location.pathname + '?mv_pc=System';
try{
	// try to check if the parent's domain differs from ours,
	// redirect parent to us if not
	if (window.top.parent.location.host != location.host) {
		window.top.parent.location.href=url;
	}
}
catch(err) {
    // assume we couldn't read the parent location because of security;
    // so it's off another domain; so redirect
	window.top.parent.location.href=url;
}
