// JavaScript Document


function confirmRedirect(strQuestion, strURL1, strURL2)
{
	var where_to= confirm(strQuestion);
	if (where_to== true)
	{
	window.location=strURL1;
	}
	else
	{
	window.location=strURL2;
	}
} //end confirmRedirect function


function confirmDelete(delUrl) {

  if (confirm("Are you sure you want to delete?")) {
    document.location = delUrl;
  }

}

function PopUp(Text)
{
	alert (Text)

} //end PopUp function



function recordDocumentRequest(strQueryString) {

	 $.ajax({
   		type: "GET",
   		url: "/documents/recordDocumentRequest.asp",
   		data: strQueryString,
		async: true,
   		success: function(){
     		//alert( "Data Saved: " + msg );
   		}
 	});
	 
} //end recordDocumentRequest 