//Browsererkenneung

var ns4 = document.layers?1:0;
var ie  = document.all?1:0;
var ns6 = document.styleSheets&&!document.all?1:0;


//substitute 135 and 40 with the width and height of your logo image, respectively
if (document.images){
var staticlogo=new Image(195,88);

//change the image path to reflect the path of your logo image
staticlogo.src="pic/links.gif";}

//Change url below to the target URL of the logo
//var logolink="#";

//change the alttext variable to reflect the text used for the "alt" attribute of the image tag 
var alttext="Webmanager GmbH is an expert in tailored and bespoke Web Positioning and Search Engine Optimisation, optimising the ranking of websites on search tools.";
var delta1=217; // Y-Wert
var deltaX=0;//dieser Wert muss mit top in der <div> übereinstimmen.
var scrollbild='<div id="logo" style="position:absolute;top:217; left:0; width:154;height:272"><img src="pic/links.gif" border=0 alt="'+alttext+'"></div>';
//-------------------------Do not edit below this line------------------------

function regenerate(){
if (ns4);{setTimeout("window.onresize=regenerate",400);}
}

if (ie){document.write(scrollbild);}

function createlogo(){
//clickPfeil();
staticimage=new Layer(100);
staticimage.document.write(scrollbild);
staticimage.document.close();
staticimage.visibility="show";
regenerate();
staticitns2();
}

function createlogo2(){
//clickPfeil();
staticimage = document.getElementById("logo").style;
staticitns();
regenerate();
}

function logoit(){
var w2=document.body.scrollLeft+delta1;
var h2=document.body.scrollTop+delta1;
logo.style.left=w
logo.style.top=h2
}

function logoit2(){
if(ie){
staticimage.top=document.body.scrollTop+delta1;}
else {staticimage.top=pageYOffset+delta1;}
}

function logoit3(){
staticimage.top=pageYOffset+2;
}

function staticitns(){
setInterval("logoit2()",90);
}
function staticitns2(){
setInterval("logoit3()",90);
}

//------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
//alert(navigator.appName);
if (ns4)
	 {window.onload=createlogo;}	//Abfrage Netscape

	else{ 
		
		if (ns6)
		{
				document.write(scrollbild);
				window.onload=createlogo2;}
		
					
		else		
		{
		                
				w=deltaX;
				h=delta1;
				logo.style.left=w;
				logo.style.top=h;
				window.onscroll=logoit;
				window.onresize=new Function("window.location.reload()");
				window.onload=createlogo2;
		}
}