framename="Content";
frameset="http://localhost/marwer.com/index.htm";
function FrameCheck()
{
  if(!eval("parent."+framename))
  {
	  location.replace(frameset+"?"+location.href);
  }
}
function LoadFrame()
{
  var url=location.search;
  if(url)
  {
	  frame=eval("frames."+framename);
	  frame.location.replace(url.substring(1,url.length));
  }
}