// JavaScript Document
function PozycjonowanieElementow()
{
	
	// WYKRYWAMY WYSOKOSC DOKUMENTU
	if (window.navigator.appName=="Microsoft Internet Explorer")	
	{	
		wysokosc = document.body.clientHeight; 
	} else 
	{	
		wysokosc = window.innerHeight; 
	}
	
	// alert (wysokosc);

	// POZYCJONUJEMY DOLNA BELKE
	bottom_menuY = wysokosc - 50;
	document.getElementById('bottom_menu').style.top = bottom_menuY + 'px';
	
	
	
	// USTAWIAMY WYSOKOSC GLOWNEGO LAYERA Z CONTENTEM
	ContentHeight = wysokosc - 51;
	
	
	
	document.getElementById('FullContent').style.height = ContentHeight + 'px';
	

	
}


function RollLink(onOff, objID)
{
	obj = document.getElementById(objID);
	
	if (onOff == "on") 
	{ 
		obj.className = "selectSub_on";
	}
	if (onOff == "off") 
	{ 
		obj.className = "selectSub_off";		
	}
	
}

function RollLinkTop(onOff, objID)
{
	obj = document.getElementById(objID);
	
	if (onOff == "on") 
	{ 
		obj.className = "selectTop_on";
	}
	if (onOff == "off") 
	{ 
		obj.className = "selectTop_off";		
	}
	
}

function LaunchXMLCollector(webident, page)
{
	/*
	var referent 	= escape(document.referrer);
	var scX 		= screen.width;
	var scY 		= screen.height;
	var scC 		= screen.colorDepth;
	
	// HOST: nessun.nazwa.pl
	var URL = 'http://85.128.172.24/!!neoStatXML/xmlcollector.php?webident=' + webident + '&page=' + page + '&ref=' + referent + '&scX=' + scX + '&scY=' + scY + '&scC=' + scC;
	
	document.write('<IFRAME src="' + URL + '" style=display:none width=900 height=500></IFRAME>');
	
	*/
	
		var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
		document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		try {
			var pageTracker = _gat._getTracker("UA-10736789-7");
			pageTracker._trackPageview();
		} catch(err) {}
		
}

