preciso carregar esse mapa quando clicar na imagem, no html da certo mas quando passo pro php não dah abaixo os códigos, acredito q o erro esta nas aspas
meu html com php
echo "<a href='https://mapsengine.google.com/map/viewer?mid=zYx3ToOq_Moc.kTLsoEn7xySE' onclick="NovaJanela(this.href,'nomeJanela','450','450','yes');return false"><img style='width:33px; height:20px' src='". $this->baseUrl() ."/img/iconMapa2.png' alt='mapa'/></a>";
meu java script
<script language="javascript">
var win = null;
function NovaJanela(pagina,nome,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(pagina,nome,settings);
}
</script>