var bArcor = false;

// if (top != self) top.location = window.location;
var BrIE = (document.all) ? 1 : 0;
var BrNS = (document.layers) ? 1 : 0;
var x = screen.availWidth;
var y = screen.availHeight;
// if (BrNS) { window.outerWidth =x; window.outerHeight =y; }
// else window.resizeTo(x,y);
// window.moveTo(0,0);

Seite   = document.URL;
bOnline = (Seite.indexOf("http:") == 0);

function OpenScreenshot(Image, Width, Height)
{
	CountFile("Shot="+Image);
	window.open(Image,"","width="+Width+",height="+Height+",scrollbars=yes,resizable=yes,dependent=yes");
}

function FileIncrement(Datei, Size)
{
	CountFile("File="+Datei);
}

function BookIncrement(Book, Size)
{
	CountFile("Book="+Book);
}

function LinkIncrement(Link)
{
	CountFile("Link="+Link);
}

function CountFile(sText)
{
	if (bOnline)
	{
		Cntr = document.getElementById("VisitorImg");
		Cntr.src = "log/Visitor.gif.php?"+sText;
		window.status= " ";		
	}
}

var OpenWindow = window.open;
try
{
	OpenWindow = PrxRealOpen;
}
catch(e) {}

var Slanguage = navigator.systemLanguage.substr(0,2).toUpperCase();
var b_Deutsch = (Slanguage == "DE");


