function openCupoWindow(date,week,month,year) {
 msgWindow = window.open('cupo?date='+date+'&week='+week+'&month='+month+'&year='+year, 'x', 'top=400,left=200,resizable=0,scrollbars=0,status=0,title=0,toolbar=0,width=450,height=300');
 if (msgWindow.opener == null) msgWindow.opener = self;
}

function refreshCupos(opener) {
 if (opener == null) alert("opener isNil");
 opener.location.reload();
}

