
start1=new Image ();
start1.src="img/start.gif";
start2=new Image ();
start2.src="img/start_o.gif";

profil1=new Image ();
profil1.src="img/profil.gif";
profil2=new Image ();
profil2.src="img/profil_o.gif";

referenzen1=new Image ();
referenzen1.src="img/referenzen.gif";
referenzen2=new Image ();
referenzen2.src="img/referenzen_o.gif";

kontakt1=new Image ();
kontakt1.src="img/kontakt.gif";
kontakt2=new Image ();
kontakt2.src="img/kontakt_o.gif";

impressum1=new Image ();
impressum1.src="img/impressum.gif";
impressum2=new Image ();
impressum2.src="img/impressum_o.gif";

sixcms1=new Image ();
sixcms1.src="img/sixcms.gif";
sixcms2=new Image ();
sixcms2.src="img/sixcms_o.gif";

tipp1=new Image ();
tipp1.src="img/tippspiel.gif";
tipp2=new Image ();
tipp2.src="img/tippspiel_o.gif";

var a, Bild;
function tauschen (a, Bild)
	{window.document.images[a].src=Bild.src;
	}

var newwindow = '';
function popup(url,name,winWidth,winHeight,param)
{
	var xWidth,yHeight;
	var winWidth,winHeight;
	
		xWidth =screen.width;
		yHeight = screen.height;
	
	var leftPos = (xWidth / 2) - (winWidth / 2);
	var topPos = (yHeight / 2) - (winHeight / 2);
	
	var winFeatures = 'height='+winHeight+',width='+winWidth+',left='+leftPos+',top='+topPos+','+param;
	
	if (newwindow.location && !newwindow.closed)
	{
		newwindow.close();
		newwindow=window.open(url,name,winFeatures);
		if (!newwindow.opener) newwindow.opener = self;
	}
	else
	{
		newwindow=window.open(url,name,winFeatures);
		if (!newwindow.opener) newwindow.opener = self;
	}
	if (window.focus) {newwindow.focus()}
}

function showbob()
{ bob.style.visibility="visible"; }

function Is ()

{   
    var agt=navigator.userAgent.toLowerCase();
    this.major = parseInt(navigator.appVersion);
    this.minor = parseFloat(navigator.appVersion);
    this.nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1)
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1)
                && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1));
    this.navonly      = (this.nav && ((agt.indexOf(";nav") != -1) ||
                          (agt.indexOf("; nav") != -1)) );
    this.gecko = (agt.indexOf('gecko') != -1);
    this.ie     = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1));
    if (this.nav2 || this.ie3) this.js = 1.0;
    else if (this.nav3) this.js = 1.1;
    else if ((this.nav4 && (this.minor <= 4.05)) || this.ie4) this.js = 1.2;
    else if ((this.nav4 && (this.minor > 4.05)) || this.ie5) this.js = 1.3;
    else this.js = 0.0;
    this.mac    = (agt.indexOf("mac")!=-1);
    if (this.mac && this.ie5up) this.js = 1.4;
}
