<!--
var dC=document,
	s=self.location.href,
	o=top.location.href,
	cO=dC.cookie;

if (s==o)
{
	var f = /.*?\.\w{2,3}(\/.*)/;
	f.exec(s);
	var t = RegExp.$1;
	if(t)
	{
		SC('location',t,10);
		top.location = '/';
	}
}
else
{
	t=GC('location');
	SC('location',t,-10);
	if(t) self.location.href=t;
}

function GC(name)
{
		var prefix = name + '=';
		var begin = cO.indexOf('; ' + prefix);
		if (begin == -1)
		{
			begin = cO.indexOf(prefix);
			if (begin != 0) return null;
		} 
		else begin += 2;
		var end = cO.indexOf(';', begin);
		if (end == -1) 	end = cO.length;
		return unescape(cO.substring(begin+prefix.length,end));
}
function SC(name,value,expires)
{
	if (expires)
	{
		var date = new Date();
		date.setTime(date.getTime()+(expires*1000));
	}
	dC.cookie = name +'='+ escape(value) +
	(expires? '; expires=' + date.toGMTString() : '')
}
-->
