function toggleAccessGroup(index){
	var value = document.forms.access_group.elements[index].value; 
	if(value == 'on'){
		value = 'off'; 
	} else {
		value = 'on'; 
	}
	document.forms.access_group.elements[index].value = value; 
}
function toggleGroupUser(index){
	var value = document.forms.group_user.elements[index].value; 
	if(value == 'on'){
		value = 'off'; 
	} else {
		value = 'on'; 
	}
	document.forms.group_user.elements[index].value = value; 
}
function toggleBk(index){
	var value = document.forms.bk.elements[index].value; 
	if(value == 'on'){
		value = 'off'; 
	} else {
		value = 'on'; 
	}
	document.forms.bk.elements[index].value = value; 
}
function changeObjectVisibility(objectId, newVisibility) {
    // get a reference to the cross-browser style object and make sure the object exists
    var styleObject = getStyleObject(objectId);
    if(styleObject) {
	styleObject.visibility = newVisibility;
	return true;
    } else {
	// we couldn't find the object, so we can't change its visibility
	return false;
    }
} // changeObjectVisibility

function imagePop(URL)
{
	window.open(URL,"","width=650, height=400, scrollbars=no" );
}
function imagePopOriginalSize(URL)
{
	window.open(URL);
}
