var pAr_Nde_Frm=''; function WA_IFRM_BD_Load() { if (pAr_Nde_Frm==''){WA_IFRM_BD_Load_Go(document.getElementById('WA.IFRM.BD').parentNode)} document.getElementById('WA.IFRM.BD').style.width=pAr_Nde_Frm.clientWidth+'px' } function WA_IFRM_BD_Load_Go(Dv) { if (Dv.clientWidth>0){pAr_Nde_Frm=Dv;} else{WA_IFRM_BD_Load_Go(Dv.parentNode)} } if (window.addEventListener) { window.addEventListener('load', WA_IFRM_BD_Load) } else {window.attachEvent('onload', WA_IFRM_BD_Load); } if (window.addEventListener) { window.addEventListener('resize', WA_IFRM_BD_Load) } else{ window.attachEvent('onresize', WA_IFRM_BD_Load); } function WA__getWndwHght(){ var yScroll, windowHeight; if (window.innerHeight && window.scrollMaxY){yScroll = window.innerHeight + window.scrollMaxY;} else if (document.body.scrollHeight > document.body.offsetHeight){yScroll = document.body.scrollHeight;} else if (document.documentElement && document.documentElement.scrollHeight > document.documentElement.offsetHeight){yScroll = document.documentElement.scrollHeight;}else {yScroll = document.body.offsetHeight;} if (self.innerHeight) {windowHeight = self.innerHeight;} else if (document.documentElement && document.documentElement.clientHeight) {windowHeight = document.documentElement.clientHeight;} else if (document.body) {windowHeight = document.body.clientHeight;} if(yScroll < windowHeight){pageHeight = windowHeight;} else {pageHeight = yScroll;} return (windowHeight); }function WA__getScrllTp(){ if(typeof pageYOffset!= 'undefined'){return pageYOffset;} else{var B= document.body;var D= document.documentElement;D=(D.clientHeight)? D: B;return D.scrollTop;} } function WA___Listener(event) { try{ if (document.getElementById('WA.IFRM.BD').parentNode.className=='VideoWrapper'){document.getElementById('WA.IFRM.BD').parentNode.className='_VideoWrapper'}}catch(e){}try{ var Ar = event.data.split('^'); if (Ar[0]=='fr_hght'){document.getElementById('WA.IFRM.BD').style.height=Ar[1]+'px';} else if (Ar[0]=='wn_scrl'){document.getElementById('WA.IFRM.BD').contentWindow.postMessage('wn_scrl^'+WA__getWndwHght()+'*'+WA__getScrllTp()+'*'+document.getElementById('WA.IFRM.BD').clientHeight,'http://embedded.paasweb.co.il');} else if (Ar[0]=='prnt'){var win = window.open('');win.document.body.innerHTML=Ar[1];} else if (Ar[0]=='parent_load'){top.location.href=Ar[1];} }catch(e){}}if (window.addEventListener) {window.addEventListener('message', WA___Listener)} else{window.attachEvent('onmessage', WA___Listener);} function get_From_Query_388(nam) {var P = window.location.search.substr(1).split('&');for (var i = 0; i < P.length; i++) {var aCrumb = P[i].split('=');if (nam == aCrumb[0]) {return (aCrumb[1])}}return ('')}var uRL = 'http://embedded.paasweb.co.il/?in_frame=1&prnt_dmn=http%3a%2f%2fembedded.paasweb.co.il';var cts =get_From_Query_388('cuts');if (cts!=''){uRL+='&cut='+cts};document.write('');