var lessonWindow = null;

function showHelp(  ){
//	 onmouseover='window.status="";
	var	address = "/swf/prezentacjaP5/prezentacjaP5.html";	//"http://cnt.akademiaparp.gov.pl/content/estakada/pomoc/aparp/aparp.html"
	if(window.screen) {
		aw=screen.availwidth;
		ah=screen.availwidth;
	} else {
		aw=640;
		ah=450;
	}
	w = 800;
	h = 600;
	settings=
		"left="+(aw-w)/2+","
		+"top="+(ah-h)/8+","
		+"screenX="+(aw-w)/2+","
		+"screenY="+(ah-h)/2+","
		+"width="+w+","
		+"height="+h+","
		+"toolbar=no,"
		+"location=no,"
		+"depend=yes,"
		+"directories=no,"
		+"status=no,"
		+"menubar=no,"
		+"scrollbars=no,"
		+"resizable=no";
	if (lessonWindow == null) {
		lessonWindow = window.open('', '' + new Date().getTime(), settings);
		lessonWindow.document.location = address;
	} else {
		try {
			lessonWindow .location = address;
		} catch(e) {
		lessonWindow = window.open('', '' + new Date().getTime(), settings);
		lessonWindow.document.location = address;
		}
	}
	return( false );
}

function closeLesson(){
if ( lessonWindow ) {
		try {
			try {
				lessonWindow.frames["mainFrame"].endLesson();
			} catch(exc) {}
			lessonWindow.close();
		} catch(e) {}
	}

}
