//
// ifSubmitFormNoFrame - the variable that keeps track if any link or
// 		 	 form has been clicked or submited
//


var ifSubmitFormNoFrame = false;


function isSubmitAgain()
{
    if (!checkIfSubmittedFormNoFrame())
    {
        setIfSubmittedFormNoFrame(true);  
        return false;
    } else {  
        return true;
    }
}

//
// checkIfSubmittedFormNoFrame - check the ifSubmittedForm flag for pages with no frames
//   return - true if the form is submitted, false otherwise
//
function checkIfSubmittedFormNoFrame()
{
    return ifSubmitFormNoFrame;
}


//
// setIfSubmittedFormNoFrame - set the ifSubmittedForm flag value for no frame pages
//   flag - true if the form is submitted, false otherwise
//
function setIfSubmittedFormNoFrame(flag)
{
    ifSubmitFormNoFrame = flag;
}

