Template help - Should be easy fix
When i post this javascript in my dreamweaver template when i go to update it it delates the script and replaces it with the bottom part. If i don't post the scrip its fine but image rollovers wont work.
<script type="text/javascript">
<!--
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
Replace the above script with below text
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable --></head><!-- InstanceEnd --></html>
<!--
//-->
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Untitled-3.dwt" codeOutsideHTMLIsLocked="false" --><head><!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->