Roberto Polo Gallery

PAINTING AFTER POSTMODERNISM BELGIUM - USA Curated by Barbara Rose


0) { $( '#'+frameID ).remove(); } } }); } function getIframe(objZoomURL,frameID) { var baseURL = document.location.protocol +'//'+ document.location.hostname, fsWidth = window.screen.availWidth, fsHeight = window.screen.availHeight; // Create the IFRAME return ''; } function enterFullscreen(element, objZoomURL) { if(element.requestFullscreen) { element.requestFullscreen(); //w3c } else if(element.webkitRequestFullscreen) { element.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); //webkit } else if(element.mozRequestFullScreen) { element.mozRequestFullScreen(); //ffox } else if(element.msRequestFullscreen) { element.msRequestFullscreen(); //ms } else { alert('Fullscreen API is not supported'); //Use the popup alternative :) fsApiFallback(objZoomURL); } } function exitFullscreen() { if(document.exitFullscreen) { document.exitFullscreen(); } else if(document.webkitExitFullscreen) { document.webkitExitFullscreen(); } else if(document.mozCancelFullScreen) { document.mozCancelFullScreen(); } else if(document.msExitFullscreen) { document.msExitFullscreen(); } } function fsApiFallback(objZoomURL) { if (objZoomURL.length != 0) { var w = screen.width - 10; var hpercent = screen.height * 91 / 100; var h = hpercent; window.open('FullScreenZoom.aspx&photos_zoom=' + objZoomURL, '_blank', 'toolbar=no,scrollbars=no,resizable=no,width=' + w + ',height=' + h + ',top=0,left=0, menubar=no, status=yes'); } }