// browser, os check
function checkIt(string) {
	place = detect.indexOf(string) + 1;
	thestring = string;
	return place;
}

// redirect
function goTo(strURL) {
	if(strURL != "") {
		document.location.href = strURL;
	}
}

// redirect pulldown menu
function goToPulldown(fObj, pullDown) {
	if(fObj[pullDown].value != "") {
		document.location.href = fObj[pullDown].value;
	}
}

// zet voor IE de goeie hoogte
function setTdHeight() {
	if(browser == "Internet Explorer") {
		// td --> main
		tdHeight = document.getElementById('mainWindow').offsetHeight - 24;
		if(tdHeight > 0)  {
			document.getElementById('mainWindow').style.height = tdHeight;
		}
	}
}

makeIEBug = function() {
	setTdHeight();
	startList();
}

// print function
function printNow() {
	print_window.focus();
	print_window.print();
}

function selectFieldValue(obj) {
	obj.select();
}
