// Detect It Easy: detection rule file format
// Author: Tembo (http://tembolab.pl/products/executable-image-viewer.html)

init("format", "NVA");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (Binary.getSize() >= 8) {
        if (Binary.compare("'%NVA'")) {
            sVersion = Binary.getString(5, 3);
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}