function PreInit()
{

	if (top == self){
		var f = document.forms["redirectform"];
		var s = top.document.location.href.replace("http://"+document.location.hostname,'');
		f.refer_url.value = s;
		if(s.indexOf("?") > 0 ) f.refer_url.value = s.substring(0,s.indexOf("?")+1)+unescape(s.substring(s.indexOf("?")+1));
		//alert(f.refer_url.value);
		f.action = "/Default.asp";
		f.submit();
	}
}
//if (typeof(PreInit) == 'function' && opener == null) PreInit();
if (typeof(PreInit) == 'function') PreInit();
