Update viewer.php

add oc7 support