I'm a little confused about what you're asking about, but if your problem is how to call a javascript function located in the IFRAME-file, you could do it like this:
The important information is in upper comment, but a bit confusing.
Therefore I do repeat it:
1.) Add the name attribute in your iframe tag.
2.) Access the iframe in your printPages() function like this:
function printPages()
{
obj = self.frames.iframeHAWB_LABELS;
obj.src = "etrans/air/ETAHouseDocLabelPrint.jsp?houseDocId="+document.house.houseDocId.value;
obj.focus();
...and so on.
1) Try to name your IFRAME
<iframe id=iframeHAWB_LABELS name=iframeHAWB_LABELS style='width:0;height:0;'>
and then 2) call then function like this:
self.frames['iframeHAWB_LA
Batalf