// #1215 If there's an error downloading the file, the extra window doesn't close
if (window.name == 'download_window') {
    window.close();
}

function init_download(link) {
    // MSIE gets it's own special window, at the back of the bus.
    if (navigator.appVersion.indexOf('MSIE') != -1) {
        window.open(link, 'download_window', 'toolbar=0,location=no,directories=0,status=0,scrollbars=0,resizeable=0,width=1,height=1,top=0,left=0');
        window.focus();
    }
}

function showAusklapper(thisdiv) {
	var f = document.getElementById(thisdiv);
	f.style.display = "block";
	return false;
}

function hideAusklapper(thisdiv) {
	var f = document.getElementById(thisdiv);
	f.style.display = "none";
	return false;
}
