var windowWidth;
var windowHeight;
var pageWidth;
var pageHeight;


function getWindowDimensions()
{

if (self.innerHeight) // all except Explorer
{
	windowWidth = self.innerWidth;
	windowHeight = self.innerHeight;
}
else if (document.documentElement && document.documentElement.clientHeight)
	// Explorer 6 Strict Mode
{
	windowWidth = document.documentElement.clientWidth;
	windowHeight = document.documentElement.clientHeight;
}
else if (document.body) // other Explorers
{
	windowWidth = document.body.clientWidth;
	windowHeight = document.body.clientHeight;
}




if(document.body)
{
	var test1 = document.body.scrollHeight;
	var test2 = document.body.offsetHeight
	if (test1 > test2) // all but Explorer Mac
	{
		pageWidth = document.body.scrollWidth;
		pageHeight = document.body.scrollHeight;
	}
	else // Explorer Mac;
	     //would also work in Explorer 6 Strict, Mozilla and Safari
	{
		pageWidth = document.body.offsetWidth;
		pageHeight = document.body.offsetHeight;
	}
}
else
{
	pageWidth = windowWidth;
	pageHeight = windowHeight;
}

}

//Toont de loginstatus van de klant
function showLoginStatus(vlag,script,thisDiv){
	//xmlHttp_customer=GetXmlHttpObject_customer();
	
	languageUsed = vlag;
	
	contentDiv = thisDiv;
	actionTaken = 'loginStatus';
	
	xmlHttp=GetXmlHttpObject();
	
	
	var url="/modules/klanten/"+script
	url=url+"?sid="+Math.random()
	url=url+"&vlag="+vlag
	
	//SendRequest_customer(url,"GET");
	SendRequest(url,"GET");
}



