﻿function pageredir(redirectpage)
{
    if(window.parent.document == window.document)
    {
        window.location = redirectpage;
    }
}