﻿// get the confirmation only if page validator returns true
function ConfirmFirst(cnfText)
{ if (Page_ClientValidate()) return confirm(cnfText); return false; }

function ShowHide(id) { document.getElementById(id).style.display == '' ? document.getElementById(id).style.display = 'none' : document.getElementById(id).style.display = ''; }

function OpenPopup(url) {  var w = window.open(url, "", "width=800,height=400,scrollbars=yes");w.focus();}
