<!--

// browser detection:
var ua = navigator.userAgent;
var ns = (navigator.appName.toLowerCase().indexOf("netscape")!=-1)?1:0;
var ns4 = (document.layers)?1:0;
var ns6 = (document.getElementById && ns)?1:0;
var mac = (navigator.userAgent.toLowerCase().indexOf("mac")!=-1)?1:0;
var macie4 = (mac && !ns && parseInt(ua.substr(ua.indexOf("MSIE")+4,2)) <= 4)?1:0;
var macie = (mac && !ns)?1:0;

var headerHeight = 83;
var footerHeight = 22;

if (ns4) document.write('<LINK rel="stylesheet" type="text/css" href="ghidul_serviciilor_ns.css">')
else document.write('<LINK rel="stylesheet" type="text/css" href="ghidul_serviciilor.css">')

//return the inner window height
function WindowHeight()
{
	if (ns6)
	{
		return window.innerHeight;// - 8;
	}

	if (ns)
	{
		return window.innerHeight;// - 8 - nsFix;
	}

	return document.body.clientHeight;// - 8;
}

//return the content area height
function ContentHeight()
{
	if (ns6)
	{
		return window.innerHeight - headerHeight - footerHeight;// - 8;
	}

	if (ns)
	{
		return window.innerHeight - headerHeight - footerHeight;// - 8; - nsFix;
	}

	return document.body.clientHeight - headerHeight - footerHeight;// - 8;
}

//-->
