function breakout_of_frame()
{
  // see http://www.thesitewizard.com/archive/framebreak.shtml
  // for an explanation of this script and how to use it on your
  // own website
  if (top.location != location) {
	var isNS = (navigator.appName == "Netscape");
	var isIE = (document.all)? true:false

	//window.outerHeight = 600;
	//window.outerWidth = 800;
	//self.resizeTo(800,600);

	//var windowToAdjust = ( window.external && window.external.menuArguments ) ? window.external.menuArguments.top : window;
	//resizeWin(windowToAdjust.screen.availWidth,windowToAdjust.screen.availHeight)
	window.moveTo(0,0);
	if (isIE) {
		window.resizeTo(screen.availWidth,screen.availHeight);
		window.focus();
	}
	if (isNS) {
		window.outerHeight = screen.availHeight;
		window.outerWidth = screen.availWidth;
	}

	top.location.href = document.location.href ;
	//window.open(document.location.href, "PAARWin", "location=yes,toolbar=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,");
	//parent.window.close();
  }
}

function resizeWin(w,h){
	if( typeof( w ) != 'number' ) {
		w = parseInt( w ); h = parseInt( h );
		if( isNaN( w ) || isNaN( h ) || w < 100 || h < 100 ) {
			window.alert( 'Please input numerical values greater than 100 for both height and width and try again.' );
			return;
		}
	}
	windowToAdjust.moveTo(-4,-4);
	windowToAdjust.resizeTo(
		( w + 8 ) // when maximised, a window is 8px wider than the screen
		-
		( windowToAdjust.screen.width - windowToAdjust.screen.availWidth ) //allow for taskbar
		-
		( document.layers ? window.outerWidth - window.innerWidth : 0 ) //NS4 resizes the innerWidth, not outerWidth
		,
		( h + 8 ) // when maximised, a window is 8px taller than the screen
		-
		( windowToAdjust.screen.height - windowToAdjust.screen.availHeight ) //allow for taskbar
		-
		( document.layers ? window.outerHeight - window.innerHeight : 0 ) //NS4 resizes the innerHeight, not outerHeight
	);
	if( window.external && window.external.menuArguments ) { window.close(); }
}	

