Hy,

an original script from google: this script is not functioning in the IE9:

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script type="text/javascript">
<ganoembed imageurl="https://lh5.googleusercontent.com/-kr97Eucg6sM/UKGEuvo_eBI/AAAAAAAAi0s/adq8uqyhm_k/photo.jpg"
fullsize="4096,2048"
croppedsize="4096,1380"
offset="0,480"
displaysize="600,400" />
</script>
<script>
gapi.panoembed.go();
</script>

i found a modified one is functioning in IE9

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<div id="photoSphere"></div>
<script type="text/javascript">
var photoSphere = document.getElementById('photoSphere');
photoSphere.innerHTML = "<ganoembed imageurl=\'https://lh5.googleusercontent.com/-kr97Eucg6sM/UKGEuvo_eBI/AAAAAAAAi0s/adq8uqyhm_k/photo.jpg\' fullsize=\'4096,2048\' croppedsize=\'4096,1380\' offset=\'0,480\' displaysize=\'800,600\' />";
gapi.panoembed.go();
</script>

can someone explain me why?