<!--
function GenericPopup(anchura,largo,pagina,nombrepagina,scrolable) { var ancho = anchura; var alto = largo; var arriba = (screen.height-alto)/2; var derecha = (screen.width-ancho)/2; window.open(pagina,nombrepagina,'toolbar=no,location=no,directories=no,status=no,scrollbars='+scrolable+',resizable=no,copyhistory=no,top='+arriba+',left='+derecha+',width='+ancho+',height='+alto+''); }
function redir(page) { location.href=page; }
function checkdeletetion() { if (!confirm("żEsta seguro de borrar estos registros?") == false ) document.forms.MultiDeletetion.submit(); }
function CheckAll() { for (var i=0;i<document.MultiDeletetion.elements.length;i++) { var e = document.MultiDeletetion.elements[i]; if ((e.name != 'allbox') && (e.type=='checkbox')) e.checked = document.MultiDeletetion.allbox.checked; } }
function CheckCheckAll() { var TotalBoxes = 0; var TotalOn = 0; for (var i=0;i<document.MultiDeletetion.elements.length;i++) { var e = document.MultiDeletetion.elements[i]; if ((e.name != 'allbox') && (e.type=='checkbox')) { TotalBoxes++; if (e.checked) { TotalOn++; } } } if (TotalBoxes==TotalOn) { document.MultiDeletetion.allbox.checked=true; } else { document.MultiDeletetion.allbox.checked=false; } }
function ChangeImg(ide,imgVal) { document.images[ide].src=imgVal; }
function returnValue(campo,valor) { opener.document.forms.frLogin[campo].value = valor; self.close(); }
function Toggle(obj) { if (document.getElementById(obj).style.display == "") document.getElementById(obj).style.display = "none"; else document.getElementById(obj).style.display= ""; return false; }
function ToggleHide(obj) { document.getElementById(obj).style.display = "none"; }
function ReviewAgent(valor) { if (valor == "99") { Toggle('MarcasId'); } else { ToggleHide('MarcasId'); } }
//-->