﻿// JScript File
<!--

function resizedomain(url, qry) {
  try
  {
    var iframe = document.getElementById( 'resizeVAPFrame' );
    var height,
        scrollHeight,
        offsetHeight;

    if (document.height) {

        height = document.height;

    } else if (document.body) {

        if (document.body.scrollHeight) {
            height = scrollHeight = document.body.scrollHeight;
        }

        if (document.body.offsetHeight) {
            height = offsetHeight = document.body.offsetHeight;
        }

        if (scrollHeight && offsetHeight) {
            height = Math.max(scrollHeight, offsetHeight);
        }
    }

    height += 30;
    iframe.src = url + height;
    
    if (qry != null)
		iframe.src += qry;
		
  }
  catch(err){}
}


//-->
