/***********************************************
* Pop Up Window
***********************************************/
function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=720,height=650,left = 263.5,top = 150');");
}
/***********************************************
* Print Window Command
***********************************************/
function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}
/***********************************************
* Select All Checkbox
***********************************************/
checked=false;
function checkedAll (massupdate) {
	var aa= document.getElementById('massupdate');
	 if (checked == false)
          {
           checked = true
          }
        else
          {
          checked = false
          }
	for (var i =0; i < aa.elements.length; i++) 
	{
	 aa.elements[i].checked = checked;
	}
      }
/***********************************************
* Delete Confirmation Pop Up Window
***********************************************/
function performdelete(DestURL) { 
var ok = confirm("Are you sure you want to delete this renewal period? This will remove all classes from this renewal period. There is no going back."); 
if (ok) {location.href = DestURL;} 
return ok; 
} 	  
