
function popdet(id,fAdmin) {
win = window.open('/index.php?pname=imgpop&id='+id+'&admin='+fAdmin,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes, resizable=yes,copyhistory=no, height=200 width=200');
win.focus();
}
function popflash(mgid,w,h) {
win = window.open('index.php?pname=vidpop&mgid='+mgid,'','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no, height='+(h+100)+',width='+(w+60));
win.focus();
}
function check_all(idParent) {
var i;
var rgcheck = document.getElementById(idParent).getElementsByTagName("input");
for (i = 0; i < rgcheck.length; i++) {
	rgcheck[i].checked = 1;
	}
}
function check_none(idParent) {
var i;
var rgcheck = document.getElementById(idParent).getElementsByTagName("input");
for (i = 0; i < rgcheck.length; i++) {
	rgcheck[i].checked = 0;
	}
}

