position=location.href.indexOf("@");
domain=location.href.substring(7,position);
if(position!=-1 && domain!="")
  { 
  var xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
  xmlDoc.async=false;
  xmlDoc.load("domain.xml");
  if(xmlDoc.parseError.errorCode==0) 
    {
    var node=xmlDoc.selectSingleNode("/domain/link[text()='"+domain+"']");
	if(node!=null)
      location.replace(node.getAttribute("src"));
    }
}