if (!window._rawHtmlListenerAttached) { window._rawHtmlListenerAttached = true; window.addEventListener('message', function(event) { if (event.data && event.data.type === 'raw-html-resize' && event.data.id) { var iframe = document.getElementById(event.data.id); if (iframe) { var height = Math.min(Math.max(event.data.height, 50), 9200); iframe.style.height = height + 'px'; } } }); } The Pakistani rupee extended its marginal gains against the US dollar on Friday. The local unit closed the day at 277.50, a gain of Re0.01 against the greenback. On Thursday, the Pakistani rupee settled at 277.51 against the dollar. The US dollar held flat near a one-week high against major peers on Friday. The euro and sterling were subdued near one-week lows against the greenback, last at $1.1652 and $1.3597, respectively, though both remained on track for a second straight monthly gain. The yen was little changed at 159.34 per dollar, having surrendered part of its intervention-driven gains, but it was still headed for a 1.3% monthly rise. The dollar index, which measures the currency against six major peers, was little changed at 99.13 in early Asian trading. Oil prices fell on Friday and were on