// JavaScript Document
function closeNUTS() {
window.open("../Success-Current.html", "CMTMain");
javascript:void(0)
self.close();
return false
}




function checkWindowSize() {
	// Check for the inner height of the browser window in different OS / Clients
  var myWidth = 0, myHeight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    myWidth = window.innerWidth;
    myHeight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    myWidth = document.documentElement.clientWidth;
    myHeight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    myWidth = document.body.clientWidth;
    myHeight = document.body.clientHeight;
  }
	
	
	
	
	var theHeight = ((myHeight - 500)/2);
	
	//alert(myHeight +", "+theHeight +", "+ content1 +", "+ content2);
	
	// Set the content areas and the scroll divs inside them
	document.getElementById("PopUp").style.height = myHeight;
	document.getElementById("PopUp").style.paddingTop = theHeight;
	/*
	document.getElementById("ContentArea1").getElementsByTagName("div")[0].style.height = (content1 - 39);
	
	document.getElementById("ContentArea2Default").style.height = content2;
	document.getElementById("ContentArea2Default").getElementsByTagName("div")[0].style.height = (content2 - 41);
	
	document.getElementById("ContentArea2Accounts").style.height = content2;
	document.getElementById("ContentArea2Accounts").getElementsByTagName("div")[0].style.height = (content2 - 41);*/
	}
	