function pop(page,w,h)
{
	window.open(page,'impressum','toolbar=no,location=no,status=no,menubar=no,resizable=no,scrollbars=no,width='+w+',height='+h);
}

function mover(obj)
{
	obj.setAttribute("style", "text-decoration: underline;");
}

function mout(obj)
{
	obj.setAttribute("style", "text-decoration: none;");
}


var nopic=new Image();
nopic.src = "/"+Alias+"img/nopic.gif";

function img_err(id)
{
	var i = new Image();
	i.setAttribute("src", "/"+Alias+"img/nopic.gif");
	var o = document.getElementById(id);
	o.src = i.src;
}

function prep_rel(rel)
{
	var rand = Math.floor(Math.random()*10000);
	var rel_url;
	//rel_url= "http://www." + domain + "/_rel" + rel;
	rel_url= "http://" + domain + "/_rel" + rel;
	window.open(rel_url, 'rel' + rand);

}

function ci(i)
{
	eval('document.images.'+i+'.src=nopic.src');
	return true;
}

function __dw(t)
{
	document.write(t);
	return true;
}

function __dwl(t, c)
{
	document.write('<a href="' + t + '" class="' + c + '" target="_blank">');
}
