Suitecrm Where to find the header tpl file for without ajaxUI and with ajaxUI

HI All

Suitecrm Where to find the header tpl file for without ajaxUI and with ajaxUI

i just need know where is located top-nav header file because i have hidden the top nav it hide for some module coming from ajaxUI link and normal links not disabled

in below links is normal without ajaxUI
image

in below links is with AjaxUI
image
So little bit confusing to hide topnav.