var Mv_UpDir = 'http://field-target.mds-epitesziroda.hu/';// A gyökérkönyvtár elérési útvonal változója

// FRAME-MENTESÍTÉS
function Mf_UnFrame ( Mp_UnFrame ) {
	if (( Mp_UnFrame == '1' ) && ( this.document.location.href != top.document.location.href )) { top.document.location.href = this.document.location.href }// Topra, ha frame-be hívta volna be valaki...
}

// ERROR ELNYOMÁS
function Mf_ErrorSuppress () {
	return true;
}

// NYOMTATHATÓ VERZIÓ ÚJ ABLAKBA
function Mf_Print () {
	var Mv_URL = this.document.location.href;
	var Mv_Height = screen.height - 60;
	Mw_Print = window.open( Mv_URL , 'Mw_print' , 'width=780,height=' + Mv_Height + ',directories=yes,location=yes,menubar=yes,resizable=yes,status=yes,scrollbars=yes,toolbar=yes' );
	Mw_Print.focus ();
}



// OLDALMENÜ
function Mf_NavBar () {
if ( window.name != 'Mw_print' ) {// Az 'Mw_print' nevű új ablakban egész menüsor kimarad
	
// Hogy rövidebb legyen a kód...
	var Mv_InsSpace = '<IMG SRC="../space.gif" WIDTH="10" HEIGHT="8" BORDER="0">';
	var Mv_InsWh1 = '<TABLE WIDTH="200" BORDER="0" CELLPADDING="0" CELLSPACING="0" HEIGHT="16"><TR><TD BACKGROUND="../menu0_0.gif" ALIGN="CENTER" VALIGN="MIDDLE">';
	var Mv_InsWh2 = '</TD></TR></TABLE>' + Mv_InsSpace;
	var Mv_InsSpec1 = '<TABLE WIDTH="200" BORDER="0" CELLPADDING="0" CELLSPACING="0" HEIGHT="16"><TR><TD WIDTH="16">&nbsp;</TD><TD WIDTH="168" ALIGN="LEFT" VALIGN="MIDDLE">';
	var Mv_InsSpec2 = '<IMG SRC="../menu1_0.gif" WIDTH="16" HEIGHT="16" BORDER="0">';
	
	document.writeln ( '<TD BGCOLOR="#CC0033" VALIGN="TOP" WIDTH="200"><A HREF="http://www.mds-epitesziroda.hu/"><IMG BORDER="0" SRC="http://www.mds-epitesziroda.hu/mds_logo.gif" WIDTH="199" HEIGHT="96" ALT="HOME"></A>' +  Mv_InsSpace + '<BR>' );
// BFTA Setup	
		document.write ( Mv_InsSpec1 + '<A HREF="/bfta_setup/index.html" CLASS="menu2">' + Mv_InsSpec2 + 'BFTA Scope Setup</A></TD></TR></TABLE>\n' );
// BFTA Skills	
		document.write ( Mv_InsSpec1 + '<A HREF="/bfta_skills/index.html" CLASS="menu2">' + Mv_InsSpec2 + 'BFTA Skills Manual</A></TD></TR></TABLE>\n' +  Mv_InsSpace + '<BR>' );
	// Menü táblázati oszlop lezárása
		document.write ( Mv_InsSpace + '</TD>' );
	}
}

// LÁBJEGYZET
function Mf_Footer ( Mp_Back , Mp_Author ) {
	// Táblázat kezdete, 1 sor
	document.write ( '<TR><TD ALIGN="CENTER">\n' )
	// Vissza link
	if ( Mp_Back == 'back1' ) {
		document.write ('<P CLASS="normlink"><BR><A HREF="#TOP">Vissza az oldal tetejére</A></P>\n' )
	}
	// Kis négyzet
	var Mv_Image = '<IMG SRC="http://www.mds-epitesziroda.hu/_tools/negyzetke.gif" WIDTH="20" HEIGHT="10">\n';

	// Beírás a dokumentumba
	document.write ( '<IMG SRC="http://www.mds-epitesziroda.hu/_tools/space.gif" WIDTH="20" HEIGHT="10"><HR WIDTH="100%" SIZE="2" NOSHADE><SPAN CLASS="infolink">' + Mv_Image + 'Maestro Design Stúdió <A HREF="http://www.mds-epitesziroda.hu/info/sitemap.html">www.mds-epitesziroda.hu</A>' + Mv_Image + '<A HREF="mailto:info@mds-epitesziroda.hu">e-mail</A>' + Mv_Image + '<FONT FACE="Arial">&copy; </FONT><A HREF="mailto:maestro@mds-epitesziroda.hu">Fekete-Móró András</A>' + Mv_Image + '</SPAN></TD></TR>\n' );
}
