//------------------Creating a window for Testimonials, legal notice and others. -----------------
// Global variable for subwindow reference
var newWindow
// Version flag for old browser (Nav2/IE3)
var oldStuff = parseInt(navigator.appVersion) < 3;

// Generate and fill the new window: This will bring up an ad for TI.
function makeNewWindow(afile) {
   // make sure it isn't already opened
   newWindow = window.open(afile, "sub", "status,height=400,width=640,scrollbars=yes,resizable=yes")
   // handle Navigator 2, which does not have an opener property
   if (!newWindow.opener) {
       newWindow.opener = window
   }

   // delay writing until window exists in IE3
   // setTimeout("writeToWindow()", 500)

   if (! oldStuff) {
      // window is already open so bring it to the front
      newWindow.focus()
   }
}


