48b
r/FullSizeImageLoader_v1.swf',
'fullsizeimageloader',
document.documentEleme
edd
nt.clientWidth,
document.documentElement.clientHeight,
'9'
);
so.addVariable('source', 'http://image16.webshots.com/16/3/75/66/2220375660073916484yTFONx_ph.jpg');
so.addParam('allowscriptaccess', 'always');
so.write('fullSizeImageLoaderContainer');
resizeFlash.obj = document.getElementById('fullsizeimageloader');
var clientWidth = 0;
var clientHeight = 0;
function resizeFlash() {
clientWidth = document.documentElement.clientWidth;
clientHeight = document.documentElement.clientHeight;
resizeFlash.obj.style.width = clientWidth + 'px';
resizeFlash.obj.style.height = clientHeight + 'px';
refreshFlash();
}
function refreshFlash() {
try {
(window.fullsizeimageloader || document.fullsizeimageloader).scaleAndCenter(clientWidth, clientHeight);
} catch(e) {
setTimeout(function() { refreshFlash(); }, 100);
}
}
function loadImage() {
try {
(window.fullsizeimageloader || document.fullsizeimageloader).load("http://image16.webshots.com/16/3/75/66/2220375660073916484yTFONx_ph.jpg");
} catce) {
setTimeout(function() { loadImage(); }, 100);
}
}
window.onresize = function() {
clearTimeout(resizeFlash.timer);
resizeFlash.timer = setTimeout(resizeFlash, 100);
};
loadImage();