x = parent.document.location.pathname;
y = document.location.pathname;
y2 = y.substring(0,7);
if (x == y) {
if (y2 == "/framed") {
//y = y.substring(7,99);
}
else {
z  = "../index.html?" + y;
//parent.document.location = z ;
}
}
var cnt=0;			// current news item

function newsticker()
{
  // next character of current item
	if (cnt == 0)
	{		col = "red";
		cnt=1;}
	else
	{	col = "#CCFFFF";
		cnt=0;	}
    mtxt.innerHTML = "<font color='"+col+"'>NEWSFLASH</font>";
//	mtxt.color = col

    setTimeout('newsticker()',500)
	return
}
