// JavaScript Document

// Functions for setting iFrame height
function setIFRHeight(heightRx){
	// Set iFrame height to height received + extra
	var ifr=document.getElementById('ifr_content');
	ifr.height=heightRx+50;
}
// Get and send current document height to 'set iFrame height' function 
function sendDocHeight(){parent.setIFRHeight(document.body.offsetHeight);}

// Set popup window properties
var newWindow;
function popIt(url){
	newWindow=window.open(url,'secure','height=500,width=600,left=0,top=0,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,status=yes,directories=no');
	if(window.focus){newWindow.focus()}
}
