// Copyright (c) By GrayMage, graymage@diasp.ru, http://games.diaspora.ru/

var locpath,domove=0;
if (self.parent.frames.length!=0)
{
	self.parent.location=self.location;
}
if (self.location.hash!="")
{
	locpath=self.location.hash.substring(1,self.location.hash.length);
	domove++;
}

// This Function MUST BE Called In FRAMESET Tags By 'onLoad="fcmain.js"' Add
function RestoreFrameStructure()
{
	if (domove!=0) self.frames[1].location=locpath;
}
