function utility_include_page_onload() {
	var szFileName="";
	if (oArgs.szUserName == "") {
        alert('Permission Denied.');
		top.Preview('ACTION?EXIT=1') ;
		return ;
	}
	
	if ( oArgs.szGroupFunc.indexOf("SETUP") == -1) {
        alert('Permission Denied.');
		top.Preview('ACTION?EXIT=1') ;
		return ;
	}	
	
	if ( oArgs.szGroupFunc.indexOf("SYSTEM-SETUP") >= 0) {
	    szFileName = "customization/system-setup/system_setup_layout.htm" ;
	} else if ( oArgs.szGroupFunc.indexOf("CAMERA-SETUP") >= 0) {
	    szFileName = "customization/camera-setup/camera_setup_layout.htm" ;
	}
	else if ( oArgs.szGroupFunc.indexOf("MAP-SETUP") >= 0) {
	    if ( window.location.protocol != "http:" ) {
	        szFileName = "customization/map-setup/map_setup_layout.htm" ;
	    }
	    else {
            alert('Permission Denied.');
		    top.Preview('ACTION?EXIT=1') ;
		    return ;
	    }
	}
	else {
        alert('Permission Denied.');
        top.Preview('ACTION?EXIT=1') ;
        return ;
	}

	document.getElementById("defFRM_Main").src = szFileBase + szFileName ;
	defHID_UserName.value = window.location.search.substr(1) ;
}
