
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}




function tmt_resizeBy(altez, larg) {
    self.resizeTo(altez, larg);
}


function popup123() {
var page = "http://www.catholic.org/pope_slide/intro.html";
var windowprops2 = "width=680,height=520,location=no,menubar=no, toolbar=no,scrollbars=no,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);
}



function contactus3() {
var page = "http://www.catholic.org/email.php?col_email=colirf@catholic.org";
var windowprops2 = "width=425,height=310,location=no,menubar=no, toolbar=no,scrollbars=no,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);
}

function contactus2() {
var page = "http://www.catholic.org/email.php?col_email=catholic@catholic.org";
var windowprops2 = "width=425,height=310,location=no,menubar=no, toolbar=no,scrollbars=no,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);
}


function ray() {
var page = "http://www.catholic.org/pop/ray.html";
var windowprops2 = "width=345,height=113,location=no,menubar=no, toolbar=no,scrollbars=no,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);
}




function login() {
var page = "http://www.catholic.org/single_sign.php";
var windowprops2 = "width=300,height=210,location=no,menubar=no, toolbar=no,scrollbars=no,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);
}




function am_min() {
var page = "http://www.catholic.org/american_minute/index.php";
var windowprops2 = "width=420,height=285,location=no,menubar=no, toolbar=no,scrollbars=yes,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);
}




function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);



function friend() {
var page = "http://www.catholic.org/postcard/postcards.shtml";
var windowprops2 = "width=460,height=337,location=no,menubar=no, toolbar=no,scrollbars=yes,resizable=no";
newWindow = window.open(page,'PopupName',windowprops2);}


<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->


<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_top";};
if (ref != "") {land(loc,target);}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->

function formCheck()
{
        if (document.theform.name.value == "") {
        alert("Please Enter a Name.");
        return false;
        }

        if (document.theform.email.value.indexOf("@") == -1 ||
            document.theform.email.value == "")
        {
        alert("Please include a Proper Email Address.");
        return false;
        }

        if (document.theform.company.value == "") {
        alert("Please Enter a Company.");
        return false;
        }
                                                                                                                                     if (document.theform.comments.value == "")
        {
        alert("Please Enter Feedback, Comments, Questions or Suggestions.");
        return false;
        }

	var minLength2 = 3;
	if (document.theform.area_code.value.length < minLength2) {
	   alert('Your Area Code must be ' + minLength2 + ' characters long. Try again.');
	return false;
	}

	var minLength = 7;
	if (document.theform.phone.value.length < minLength) {
	   alert('Your Telephone Number must be ' + minLength + ' characters long. Try again.');
	return false;
	}

}


