// JavaScript Document

<!--
//opens and centers blog comment window
function CommentWindow(theid) {
	var width = '500';
	var height = '350';
	var left   = (screen.width  - width)/2;
 	var top    = (screen.height - height)/2;
 	var params = 'width='+width+', height='+height;
 	params += ', top='+top+', left='+left;
  	var theURL = 'blog.comment.php?id=' + theid;
	var title = ''; // ?? only seems to work if blank ??
	window.open(theURL,title,params);
}

//refreshes blog page after blog comment window is closed
function refreshParent() {
  window.opener.location.href = window.opener.location.href;
  if (window.opener.progressWindow) {
    window.opener.progressWindow.close()
  }
  window.close();
}

<!--
//opens and centers comment window
function PostPrayer() {
	var width = '575';
	var height = '375';
	var left   = (screen.width  - width)/2;
 	var top    = (screen.height - height)/2;
 	var params = 'width='+width+', height='+height;
 	params += ', top='+top+', left='+left;
  	var theURL = 'prayer.resources.post.php';
	var title = ''; // ?? only seems to work if blank ??
	window.open(theURL,title,params);
}

// -->