function formwindow(page)
{
MyWindow=window.open(page,'MyWindowETF','toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=0,width=600,height=500,left=250,top=2');
}

function dupaddress(){
var addcheck=document.checkout.billsame.checked;
if (addcheck){
document.checkout.billname.value = document.checkout.shipname.value;
document.checkout.billaddress.value = document.checkout.shipaddress.value;
document.checkout.billaddress2.value = document.checkout.shipaddress2.value;
document.checkout.billcity.value = document.checkout.shipcity.value;
document.checkout.billstate.value = document.checkout.shipstate.value;
document.checkout.billzip.value = document.checkout.shipzip.value;
document.checkout.billcountry.value = document.checkout.shipcountry.value;
}else{
document.checkout.billname.value = '';
document.checkout.billaddress.value = '';
document.checkout.billaddress2.value = '';
document.checkout.billcity.value = '';
document.checkout.billstate.value = '';
document.checkout.billzip.value = '';
document.checkout.billcountry.value = '';
}
}

function checkform() {
if (document.checkout.email.value != "" && document.checkout.shipname.value != "" && document.checkout.shipaddress.value != "" && document.checkout.phone.value != ""){allgood = 1;}else{allgood = 0;}

						if (allgood == 1){
document.checkout.submit();
}else{
alert ("Email Address, Name, Address, Phone, and Payment Information are required.  Please make sure all the requested information is provided, then try again.");

}
}

function memformsubmit() {
    document.memapp.submit();
}

$(document).ready(function(){

$("select, input:checkbox, input:radio, input:file").uniform();
$(".bulklink a").bigTarget();
$(".linklist a").bigTarget();
$(".usmmenu a").bigTarget({
    
    clickZone : 'div:eq(0)' // jQuery parent selector
  });
$(".news a").bigTarget({
    
    clickZone : 'div:eq(0)' // jQuery parent selector
  });
});

$("#tag").ready(function(){
var orgSearchDesc = $("#tag").val();
	$("#tag").focus(function(){
            $("#tag").val("");
        });
        $("#tag").blur(function(){
            var currentSearchValue = $("#tag").val();
            if (currentSearchValue == ""){
            $("#tag").val(orgSearchDesc);
            }
        });
	
	    
});

    

$("#mailsharewhat").ready(function(){
  
$("#mailsharewhat").click(function(){
     $("#ESinfo").slideToggle("fast");
     return false;
   });  
});
var totalsofar = 0.00;
