document.write('<link rel="stylesheet" type="text/css" href="/css/lightbox.css" />');
document.write('<link rel="stylesheet" type="text/css" href="/css/calendar.css" />');


//IE6 png-fix
if(navigator.userAgent.indexOf("MSIE 6.0") != -1){	document.write('<script type="text/javascript" src="/js/library/DD_belatedPNG.js"></script>'); }

document.write('<script type="text/javascript" src="/js/library/prototype-1.6.1-min.js"></script>');
document.write('<script type="text/javascript" src="/js/library/src/scriptaculous.js"></script>');
if((navigator.userAgent.indexOf("MSIE") != -1)){	document.write('<script type="text/javascript" src="/js/library/selectivizr.js"></script>'); }
document.write('<script type="text/javascript" src="/js/library/lightbox-2.04.js"></script>');
document.write('<script type="text/javascript" src="/js/library/config.js"></script>');

//popup
function popupOpen(open,sc,height){ window.open(open,'popup','scrollbars='+sc+',width=600,height='+height+'');}

function setKeyValue(key, val) {
    document.getElementById(key).value = val;
}

function setNextPage(fr_name, url) {
    var fr = document.getElementById(fr_name);
    fr.action = url;
    return false;
}

function callNextPage(fr_name) {
    var fr = document.getElementById(fr_name);
    fr.submit();
    return false;
}

function resetForm(form) {
  Form.reset(form);
}
