﻿// JScript File
Timeout = 15 * 60 * 1000; // Milli-Seconds (for 20 minute timeout - warning in 15 minutes)

setTimeout("AlertUser();", Timeout);

function AlertUser()
{
    alert("Timeout in 5 minutes if no activity.");
   
}

function btnPrintQuote()
{
window.open("PrintQuote.aspx","_blank")
}

function fncDontSubmit()
{
if (window.event.keyCode == 13) 
{
    event.returnValue=false; 
    event.cancel = true;
}}

var oPopup = window.createPopup();
function openPopup()
{
var oPopBody = oPopup.document.body;
oPopBody.innerHTML = "<DIV id='popup'>This is a popup.</DIV>"
oPopup.show(290,190,240,170, document.body);
}
