// this page should never load inside of another frame
if (top.location != self.location)top.location = self.location;


window.onload = function() 
{
	//window_onresize();		
}

////Javascript client-event wire-up.
//window.onresize = function () 
//{
//	window_onresize();
//}

//Javascript client-event handler.
//function window_onresize() 
//{
//	//Local constants.
//	var lconYOffset = 400;
//	var footerOffset = 117;

//	if (document.body.clientHeight > lconYOffset) 
//	{
//		document.all.hdivScroll.style.height = document.body.clientHeight - footerOffset;				
//	}
//}

function window_onresize(){  
var frame = document.getElementById("main");  
var htmlheight = document.body.parentNode.scrollHeight;  
var windowheight = window.innerHeight;  
  if ( htmlheight < windowheight ) { 
    document.body.style.height = windowheight + "px"; 
    frame.style.height = windowheight + "px"; 
  }  else { 
    document.body.style.height = htmlheight + "px"; 
    frame.style.height = htmlheight + "px"; 
  }  
} 


function openApplication(navigationUrl,target,options) {

	var sTarget = String(target);
	
	if (sTarget.length > 0)
		window.open(navigationUrl,target,options);
	else
		window.open(navigationUrl,'_self',options);
}

