function Img(str){ if(window.albumfotos) window.document["albumfotos"].SetVariable("ImagemActual", str); if(document.albumfotos) document.albumfotos.SetVariable("ImagemActual", str); //alert (str); }