function loadIndexProperties () {

	var mainColumn = document.getElementById("container").offsetHeight;
	var copyColumn = document.getElementById("maincopy").offsetHeight;
    var formColumn = document.getElementById("formBg").offsetHeight;
    var headerHeight = document.getElementById("header").offsetHeight;
    var maxHeight;

            if ( copyColumn > formColumn ) {
                document.getElementById("maincopy").style.height=copyColumn;
                document.getElementById("formBg").style.height=copyColumn;
                maxHeight = copyColumn;
            } else {
                document.getElementById("maincopy").style.height=formColumn;
                document.getElementById("formBg").style.height=formColumn;
                maxHeight = formColumn;
            }
            
    document.getElementById("footer").style.top=maxHeight+headerHeight+2;
    document.getElementById("copyright").style.top=maxHeight+headerHeight+2;
    document.getElementById("footnote").style.top=maxHeight+headerHeight+32;
    document.getElementById("form").style.height=maxHeight-40;
	document.getElementById("maincopy").style.top=headerHeight;
	document.getElementById("formBg").style.top=headerHeight;
	document.getElementById("container").style.height=maxHeight+headerHeight+4;

}

function nonFormCSS() {
	var headerHeight = document.getElementById("nonformHeader").offsetHeight;
	var copyHeight = document.getElementById("nonform").offsetHeight;
	document.getElementById("footer").style.top=headerHeight+copyHeight+2;
	document.getElementById("copyright").style.top=headerHeight+copyHeight+2;
}

function openWin(page) {
    var win_width = 400;
    var win_height = 500;
    var options = "scrollbars=yes, width=" + win_width + ", height=" + win_height;
    var win = window.open(page, 'MyWin', options);
    if (window.focus) { win.focus() }
 
}
function openWinliscense(page) {
    var win_width = 400;
    var win_height = 300;
    var options = "scrollbars=yes, width=" + win_width + ", height=" + win_height;
    var win = window.open(page, 'MyWin', options);
    if (window.focus) { win.focus() }
 
}

function doProcessing() {
  document.getElementById('button').className = 'thide'; 	
  document.getElementById('processing').className = 'tshow';
}