function openwindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function printWindow(content,language) {
  url='?nodeid='+content+"&lang="+language+"&print=1";
  win = window.open(url,'print','width=600,height=500,scrollbars=yes,navigation=no');
	win.focus();
} // function printWindow()

function checkFaqForm() {
  var errors;
  if (document.faqForm.faqName.value == "") errors = 1;
  if (document.faqForm.faqComment.value == "") errors = 1;
  if (document.faqForm.faqContact.value == "") errors = 1;
  if (errors==1) {
    alert ('Please fill in all boxes');
    return false;
  } else {
    return true;
  }
}
