function pass_form ( )
{
    valid = true;
    if ( document.myform.Customer.value == "" )
    {
        alert ( "Please fill in your Name." );
        document.myform.Customer.focus();
        return false;
    }
    if ( document.myform.Email.value == "" )
    {
        alert ( "Please fill in your Email Address." );
        document.myform.Email.focus();
        return false;
    }
    if ( document.myform.cap.value == "" )
    {
        alert ( "Please fill in your SPAM stopper answer." );
        document.myform.cap.focus();
        return false;
    }
    if ( document.myform.Comments.value == "" )
    {
        alert ( "Please fill in the Comments field." );
        document.myform.Comments.focus();
        return false;
    }

}


function step1_form ( )
{
    valid = true;
    if ( document.orderform1.shiptoname.value == "" )
    {
        alert ( "Please fill in the Ship To Name." );
        document.orderform1.shiptoname.focus();
        return false;
    }
    if ( document.orderform1.shiptoaddress.value == "" )
    {
        alert ( "Please fill in the Ship To Address." );
        document.orderform1.shiptoaddress.focus();
        return false;
    }
    if ( document.orderform1.shiptocitystatezip.value == "" )
    {
        alert ( "Please fill in the Ship To City State and Zipcode." );
        document.orderform1.shiptocitystatezip.focus();
        return false;
    }
    if ( document.orderform1.shiptophone.value == "" )
    {
        alert ( "Please fill in the Recipient's Phone." );
        document.orderform1.shiptophone.focus();
        return false;
    }
    if ( document.orderform1.cardmessage.value == "" )
    {
        alert ( "Please fill in the Card Message." );
        document.orderform1.cardmessage.focus();
        return false;
    }

}


function openWindow(url) {
	url = "" + url;
	popupWin = window.open(url, 'remote', 'scrollbars=yes,resizable=no,width=575,height=585')
}



function textCounter3(field,cntfield,maxlimit) {
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
// otherwise, update 'characters left' counter
else
cntfield.value = maxlimit - field.value.length;
}


function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=300,height=150,left = 362,top = 309');");
}


