

if(parent == null || parent == self )
  {
  window.location.href="/frame1.htm?" + window.location.href;
  }

