Add as follows:
<noframes> <body> in header.php </noframes> … <noframes> </body> in footer.php </noframes>