var akt_pos=0;
var is_scroll=false;

var richtung;
var timer=30;
var max_y=-1;
function stopscroll()
{
 is_scroll=false;

}
function scroll(multi)
{
 if (multi) {richtung=multi;is_scroll=true;}
else {multi=richtung;}
 if (is_scroll) {
  
 obj=document.getElementById("cont")


 if (obj)
 {
   akt_pos=obj.style.top;


   akt_pos=parseInt(akt_pos.replace("px",""));
  
   akt_pos=akt_pos+(5*multi);


   if (document.all) {
   max_y=String(obj.scrollHeight);
   max_y=parseInt(max_y.replace("px",""));
   if ((max_y-185)<(akt_pos*-1)) {
     akt_pos= (max_y-185)*-1;
     }
   }
   if (akt_pos>0) {akt_pos=0;}



    obj.style.top=String(akt_pos)+'px';
 }
 window.setTimeout("scroll()",timer);
 }
}
function hoverE(obj,path)
{
 if (obj.childNodes)
 {
  
  obj.childNodes[0].src=path;
 }
}

function get_url (url, k0 ,v0 ,k1 ,v1 ,k2 ,v2 ,k3 ,v3 ,k4 ,v4 )
{
	if (k0 && v0) url += "?" + k0 + "=" + escape(v0);
	if (k1 && v1) url += "&" + k1 + "=" + escape(v1);
	if (k2 && v2) url += "&" + k2 + "=" + escape(v2);
	if (k3 && v3) url += "&" + k3 + "=" + escape(v3);
	if (k4 && v4) url += "&" + k4 + "=" + escape(v4);
	return url;
}

function open_function(url,width,height,options)
{
	self.msgWindow = open(url, "Window", "width=" + width + ",height=" + height
		+ ",screenX=" + (screen.width-width)/2
		+ ",screenY=" + (screen.height-height)/2
		+ ",dependent=yes"
		+ ",left=" + (screen.width-width)/2
		+ ",top=" + (screen.height-height)/2
		+ options
	);
	if (self.msgWindow) {
		self.msgWindow.focus();
		if (self.msgWindow.opener == null) self.msgWindow.opener = self;
	}
}



/*-- Spam protection --*/

    function getAdr(prefix, postfix, text){
        document.write('<a href="mailto:' + prefix + '@' + postfix + '">' + (text ? text.replace(/&quot;/g, '"').replace(/%EMAIL%/, prefix + '@' + postfix) : prefix + '@' + postfix) + '</a>');
    }




