Allora usa php...

<?php
echo <<<EOF
qui tutto il tuo codice html
EOF;
?>

e includi quello script..