// delete quotes from the database
function delQuote(id, quoter)
{
  if (confirm("Are you sure you want to delete this customer quote from " + quoter + ""))
  {
    window.location.href = 'quote_edit.php?del=' +id;
  }
}

// function to check for external rel attributes in a tags so as to
// open links in new windows and keep the xhtml within standards.
function externalLinks() {
 if (!document.getElementsByTagName) return;
 var anchors = document.getElementsByTagName("a");
 for (var i=0; i<anchors.length; i++) {
   var anchor = anchors[i];
   if (anchor.getAttribute("href") &&
       anchor.getAttribute("rel") == "external")
     anchor.target = "_blank";
 }
}
window.onload = externalLinks;

