  <!--Hide
	function Substitute(src, target, ins) {	
		var idx = src.indexOf(target);
		var old = 0;
		var ret = '';
		while (idx >= 0) {
			ret += src.substring(old, idx) + ins;
			old = idx + target.length;
			idx = src.indexOf(target, old);
		}
		ret += src.substring(old, src.length);
		return ret; 
	}
  
  	if (top.location == self.location) {
  		site = "http://familieadvokaten.dk/"
		val = location.href;
		val = val.toLowerCase();
		val = Substitute(val, "www", "");
		filnavn = val.substring(site.length, val.length);
		if (filnavn.substring(0,1) != "/")
			filnavn = "/" + filnavn;
   		top.location.href = "http://www.familieadvokaten.dk/index.asp?hovedramme="+filnavn;
  }
  // End hide -->