i have the following code placed in an external javascript file but when it's referenced rather than being executed as i hoped it's being displayed. can anyone please tell me why this is?
the code in index.
js:
<!-- Hide script
//<![CDATA[
window.location.href="http://www.breakdowncoverandgo.co.uk/index.php"
//]]> End script hiding -->
thanks
Cyrus Tiz