//JavaScript Document
var HideCommentsHasRun = false;
function ChangeURL()
{
	
	if(document.URL.indexOf("http://www.google.com/sidewiki/entry/") == 0)
	{
		location.href = "http://example.com/page.html";
	}
	else
	{
		HideComments();
	}
}

function HideComments()
{
	if(HideCommentsHasRun)
	{
		return;
	}
	if(document.URL.indexOf("http://www.google.com/sidewiki/entry/") == 0 )
	{
		return;
	}
    HideCommentsHasRun = true;
	var now = new Date();
	var hash = location.href.indexOf('#');
	var url = document.URL;
	if(hash > 0) 
	{ 
		url = url.substr(0,hash);
	}
	location.href = url + '#G' + now.getTime();
}
//if(navigator.userAgent.indexOf('GTB6') > 0)
{
	if(top.location != location)
	{
		top.location.href = document.location.href;
	}
	HideComments();
	setTimeout("ChangeURL()",200);
}