if (parent.frames.length==0)
{
	var url = window.location.href;
	var sbch = url.indexOf("/",7)
	var domaineok=0;
	var sbch2= 0;
	var domaine=url.substring(7,url.indexOf("/",7));
	var Chaine="";
	if (domaine=="www.cebazat.fr") {domaineok=1;domaine="http://www.cebazat.fr/";}
	else {domaine="http://localhost/cebazat/";}
	while (sbch>1)
	{
		sbch2 = url.indexOf("/",sbch+1);
		if (sbch2>0)
		{
			Chainetmp = url.substring(sbch+1,sbch2);
			if (Chainetmp=="cebazat") {domaineok=1;}
			else {if (domaineok==1) {Chaine = Chaine + "/" + Chainetmp;}}
		}
		else {Chaine = Chaine + "/" + url.substring(sbch+1,9999);}
		sbch = url.indexOf("/",sbch+1);
	}
	window.location.replace(domaine+'index2.php?adresse='+domaine+Chaine);
}
function clear(text) {while (text.search(/%20/) != -1) text = text.replace(/%20/," ");text = text.replace(/%E9/,"é");return text;}

function ReFrame()
{
var param=window.top.location.search;
if (param!=0)
{
window.parent.main.location.href = clear(param.substr(1,param.length));
}
}