It's also an error in IE 7, 8, and 9. IE 9 could handle it if the page weren't in quirksmode. But 6, 7, 8 can't deal with it either way.
And it's not an error in the Switch Content script, although I'm pretty sure there's something in there that's involved in some way, but perhaps not. The error is from the SpringMetrics tracker script, specifically the a.js file which SpringMetrics tracker imports to the page:
Code:
var _springMetq = _springMetq || [];
_springMetq.push(['id', '0f2640392b']);
(
function(){
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = ('https:' == document.location.protocol ? 'https://d3rmnwi2tssrfx.cloudfront.net/a.js' : 'http://static.springmetrics.com/a.js');
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
)();
If you were to remove all that code the error should go away.
Or you could comment it out for all IE:
Code:
<script type='text/javascript'>
/*@cc_on @*/
/*@if(@_jscript_version >= 5)
if(1 !== 1){
@end @*/
var _springMetq = _springMetq || [];
_springMetq.push(['id', '0f2640392b']);
(
function(){
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = ('https:' == document.location.protocol ? 'https://d3rmnwi2tssrfx.cloudfront.net/a.js' : 'http://static.springmetrics.com/a.js');
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s, x);
}
)();
/*@if(@_jscript_version >= 5)
}
@end @*/
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
</script>
Bookmarks