var Embedded=new (Class.create({bD:null,resizeChecker:function(){try{var B=$(document.body).getDimensions();if(this.oD.height!=B.height||B.width!=this.oD.width){top.window.Lightview.iframeResizer()}this.oD=B}catch(A){}setTimeout("Embedded.resizeChecker()",100)},init:function(){try{if(parent.location.href!=document.location.href){this.oD=$(document.body).getDimensions();setTimeout("Embedded.resizeChecker()",100)}}catch(A){}}}))();document.observe("dom:loaded",Embedded.init.bind(Embedded));