var name=getsubstring(self.location.href);
function getsubstring(str)
{
	var s = str.indexOf(".htm");
	var s1 = str.lastIndexOf("/");
	var s2 = str.substring((s1+1),s);
	return s2;
}
if (parent.location.href == self.location.href)
{
    window.location.href = 'index.html?'+name;
}
