document.write("<META HTTP-EQUIV='imagetoolbar' CONTENT='no'>");

function stopError() {  return true  }
window.onerror = stopError;

var currentAddress = (document.location + "").toLowerCase();
if (currentAddress.lastIndexOf("/") == currentAddress.length - 1) currentAddress = currentAddress + "index.html";
var currentPage = currentAddress.substr(currentAddress.lastIndexOf("/") + 1);

var tnav = new Array;
tnav[1] = "MAGUNKRÓL|index.html";
tnav[2] = "MUNKÁINK|munkaink.html";
tnav[3] = "ÍGY KÉSZÜL|igykeszul.html";
tnav[4] = "A STÁB|stab.html";
tnav[5] = "ÁLLÁSOK|allasok.html";
tnav[6] = "KONTAKT|kontakt.html";
	
function w(wstr)
{	document.write(wstr + "");   };

w("<style>");
w("body {background: url(images/mainback.jpg) #5C5950 repeat-y top right; color: black; font-family: Arial, helvetica, Sans-Serif; font-size: 82.5%; margin: 0px; overflow-y: scroll}");
w("body a {color: #3030B0} body a:hover {color: #6060F0}");
w("table {font-size: 100%}");
w("pre {color: black; font-family: Arial, helvetica, Sans-Serif; font-size: 100%;}");
w("h2 {font-size: 130%; font-weight: normal}");
w("h3 {font-size: 120%; font-family: Arial, helvetica, Sans-Serif; font-weight: normal; margin-top: 0px; margin-bottom: 15px; white-space: nowrap}");
w(".topnav {white-space: nowrap; TEXT-TRANSFORM: uppercase; font-size: 11px; font-weight: normal; font-family: Arial, helvetica, Sans-Serif; LETTER-SPACING: 1px}");
w(".bottline {border-bottom: 3px solid #A0A0A0}");
w(".logo {border-bottom: 3px solid #A0A0A0}");
w(".topnav a {color: white; display: block; padding: 3px 15px 3px 15px; text-decoration: none; outline: none} .bottline a:hover {color: white; background-color: #484848}");
w(".topline {border-bottom: 3px solid #F8F8F8}");
w(".topline a {cursor: default; color: black; background-color: #F8F8F8; text-decoration: none; display: block; padding: 3px 15px 3px 15px} .topline a:hover {color: black}");
w(".lang, .lang a {color: #C0C0C0; font-size: 11px; letter-spacing: 1px}");
w(".lang a:hover {color: #FFFFFF}");
w(".main1 {width: 90%; height: 100%}");
w(".h1title {width: 160px; color: #807050; font-size: 20px; letter-spacing: 0px}");
w(".content1 {padding-right: 40px; padding-bottom: 10px; padding-left: 15px; color: #302010; font-size: 110%; line-height: 120%}");
w(".filmframe {padding: 1px; background-color: #808080}");
w(".filmframe img {border: none}");
w(".filmframe a {border: none; text-decoration: none; outline: none}");
w(".leftnav {font-size: 70%; line-height: 130%}");
w(".leftnav ul {position: relative; left: -20px}");
w(".desc {width: 300px; vertical-align: top; padding-left: 20px}");
w(".framedesc {margin-top: 40px}");
w("<\/style>")

function topNav()
{
	for (j = 1; j < tnav.length; j++) {
		if (tnav[j] != "-") {
			lnhrf = tnav[j].substring(tnav[j].indexOf("|") + 1, tnav[j].length);
			lntxt = tnav[j].substring(0, tnav[j].indexOf("|"));
			if (currentAddress.indexOf(lnhrf) == -1) {
				w("<td valign=bottom class='topnav bottline'><a href='" + lnhrf + "'>" + lntxt + "<\/a><\/td>");
			}
			else {
				w("<td valign=bottom class='topnav topline'><a href='" + lnhrf + "'>" + lntxt + "<\/a><\/td>");
			}
		}
	}
}

function Teteje()
{
w ("<table cellpadding=0 cellspacing=0 style='width: 100%; height: 27px; background-image: url(images/topheadbg.jpg); background-repeat: repeat-x; border-bottom: 1px solid #64000E'><tr><td style='padding-left: 20px; color: #F0F0F0; letter-spacing: 0px; font-size: 11px' nowrap>Feature Films Hungary Kft (ffh.hu)&nbsp;&nbsp;|&nbsp;&nbsp;<a href='http://animex.hu' style='color: #F0F0F0'>Animex Kft (animex.hu)<\/a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href='http://familytv.com' style='color: #F0F0F0'>Feature Films for Families (familytv.com)</a><\/td><\/tr><\/table>");
w ("<table cellspacing=0 cellpadding=0 border=0 style='width: 100%; background: url(images/bg_head.jpg) #25221B no-repeat top right'><tr>");
w ("<td style='width: 180px; height=100px' class=logo rowspan=2><a href='index.html'><img src='images/ffh_logo_betu.jpg' alt='Feature Films for Families' title='Feature Films for Families' width=100 height=100 border=0 style='margin-left: 5px; margin-right: 75px'><\/a><\/td><td align=right height=30 style='width: 99%; padding-right: 20px' class=lang>magyar&nbsp;&nbsp;|&nbsp;&nbsp;<a href='"+currentPage.replace(".html", "-en.html")+"'>english<\/a><\/td><\/tr>");
w("<tr><td valign=bottom height=70>");
w ("<table cellspacing=0 cellpadding=0 border=0 width=100%><tr>");
topNav();
w ("<td class=bottline style='width: 99%'>&nbsp;<\/td><\/tr>");
w ("<\/table>");
w ("<\/td>");
w ("<\/tr>");
w ("<\/table>");

w ("<table cellspacing=0 cellpadding=20 width=100% height=400 style='border-bottom: 3px solid #A0A0A0; background-color: #F8F8F8'><tr><td>");
}

function Alja()
{
w ("<\/td><\/tr>");
w ("<\/table>");
w ("<div align=right style='font-size: 11px; color: #A0A0A0; padding-right: 20px; padding-top: 5px'>&copy; "+(writeYear())+", FFH Kft<\/div><br><br><br>");
}

function yearMonth() {
	var honap = new Array;
	honap[0] = "január";
	honap[1] = "február";
	honap[2] = "március";
	honap[3] = "április";
	honap[4] = "május";
	honap[5] = "június";
	honap[6] = "július";
	honap[7] = "augusztus";
	honap[8] = "szeptember";
	honap[9] = "október";
	honap[10] = "november";
	honap[11] = "december";
	var myDate=new Date();
	return takeYear(myDate) + " " + honap[myDate.getMonth()];
}

function writeYear() {
	var myD=new Date();
	return takeYear(myD);
}
	
function takeYear(theDate) {
	x = theDate.getYear();
	var y = x % 100;
	y += (y < 38) ? 2000 : 1900;
	return y;
}