function openContentPage(url, width)
{
  if (width == "" || width == null || width == NaN) 
  {
    width = 550;
  }
  if(confirm("Are you sure want to print?"))
  {
    window.open(url, "NewWindow", "location=1,status=1,scrollbars=1,width=" +width+",height=600");
  }
}


function printPageContent() 
{
  var strParentWindow = new String(window.location);
  if (strParentWindow.lastIndexOf(".aspx") == -1) 
  {
    window.print();
    tableClose.style.display = 'block';
  } 
}


function mailPageContent(windowLocation)
{
  windowLocation = '../../includes/forms/mail_page_content.aspx?PageURL=' +windowLocation+ '&Title=' +document.title;
  window.open (windowLocation, "eMailContentPage", "location=0,status=0,scrollbars=0,width=385,height=200");
}

function mailPageContentFR(windowLocation) {
  windowLocation = '../../includes_fr/forms/mail_page_content.aspx?PageURL=' + windowLocation + '&Title=' + document.title;
  window.open(windowLocation, "eMailContentPage", "location=0,status=0,scrollbars=0,width=385,height=200");
}

function openWindowBellen(windowLocation)
{
  window.open (windowLocation, "NewWindow", "location=0,status=0,scrollbars=0,width=440,height=355");
}

function openNieuwsbriefAanmelden(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,scrollbars=0,width=440,height=430");
}

function openWindowMeerInformatie(windowLocation, strFrom) {
  windowLocation = windowLocation + "?strFrom=" + strFrom;
  window.open(windowLocation, "NewWindow", "location=0,status=0,scrollbars=0,width=440,height=355");
}

function openWindowOfferte(windowLocation)
{
  window.open (windowLocation, "NewWindow", "location=0,status=0,scrollbars=0,width=440,height=500");
}

function openWindowDownloadWhitepaper(windowLocation)
{
  window.open (windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=500,height=420");
}

function openCADgets(windowLocation) {
    window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=320,height=420");
}

function openCADgetsLong(windowLocation) {
    window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=320,height=540");
}

function closeCADgets() {
  setTimeout("window.close()", 30000);
}

function openCadmessengerPDF(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=911,height=600");
}

function openSUMO(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=0,scrollbars=0,width=920,height=730");
}

function openDemonstraties(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=550,height=585");
}

function openWindowTrainingOfferte(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=450,height=440");
}

function openWindowTrainingSchrijfNuIn(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=550,height=650");
}

function openEduForm(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=445,height=330");
}

function openEvenementen(windowLocation) {
  window.open(windowLocation, "NewWindow", "location=0,status=0,resizable=1,scrollbars=0,width=550,height=500");
}

function openDownload(downloadPath, downloadName) {
  strURL = "../../includes/forms/download.aspx?URL=" + downloadPath + "&downloadName=" + downloadName;
  window.open(strURL, "NewWindow", "location=1,status=1,resizable=1,scrollbars=0,width=550,height=500");
}

