if(parent == null || parent == self)
{
window.location="index.htm";
}