// no framing ======= 
if (top.frames.length!=0)
	top.location=self.document.location;

// location =========
sti = "";
short_sti = "";

if (location.href.indexOf("jososoft.dk") != -1)
	short_sti = "http://www.jososoft.dk/";
else
	short_sti = "file:///D:/dokumenter/website/";

sti = short_sti + "yamaha/";


// page top =========


function starttop()
{

	// heading ==========
	document.write("<table border='0' cellspacing='0' cellpadding='0' width='100%'>");

	document.write("<tr><td class='light'><h1><a href='" + short_sti + "js/index_uk.htm' title='The main Page at www.jososoft.dk'><img src='" + short_sti + "jososoft.gif' alt='jososoft logo' border='0'></a> " + document.title + "</h1></td>");

	// flags ============
	document.write("<td class='light' align='right'>");

t1 = "<a href='http://www.google.com/translate_c?hl=en&tl=";
t2 = "&u="+location.href+"'><img src='"+ short_sti +"flag/";
t3 = ".gif' border='0' alt='";

	if (top.location.href.indexOf("translate") == -1)
	{ 
t_flag =t1 + "de" + t2 + "de" + t3 + "Übersetzen Sie diese Seite in Deutsch'></a> " + 
	t1 + "nl" + t2 + "nl" + t3 + "Vertaal deze pagina naar Nederlands'></a> " + 
	t1 + "pt" + t2 + "pt" + t3 + "Traduzir esta página para o Portuguęs'></a> " +
	t1 + "it" + t2 + "it" + t3 + "Traduci questa pagina a Italiano'></a> " +
	t1 + "fr" + t2 + "fr" + t3 + "Traduire cette page en français'></a> " +
	t1 + "es" + t2 + "es" + t3 + "Traducir esta página al espańol'></a> " +

	t1 + "da" + t2 + "da" + t3 + "Oversćt siden til dansk'></a> " +
	t1 + "no" + t2 + "no" + t3 + "Oversette siden til norsk'></a> " +
	t1 + "sv" + t2 + "sv" + t3 + "Översätta sidan till svenska'></a> " +
	t1 + "fi" + t2 + "fi" + t3 + "Käännä sivu suomi'></a> " +

	t1 + "pl" + t2 + "pl" + t3 + "Przetlumaczyc te strone Polski'></a> " +
	t1 + "cs" + t2 + "cs" + t3 + "Preloit tuto stránku do cetiny'></a> " +
	t1 + "ru" + t2 + "ru" + t3 + "Translate this page to Russian'></a> " +
	t1 + "hu" + t2 + "hu" + t3 + "Fordítás magyarra'></a> " +
	t1 + "sk" + t2 + "sk" + t3 + "Preloit túto stránku do slovenciny'></a> " +
	t1 + "el" + t2 + "el" + t3 + "Translate this page to Greek'></a> " +

	t1 + "tr" + t2 + "tr" + t3 + "Translate this page to Turkish'></a> " +
	t1 + "hi" + t2 + "hi" + t3 + "Translate this page to Hindi'></a> " +
	t1 + "id" + t2 + "id" + t3 + "Terjemahkan halaman ini ke Indonesia'></a>";

	document.write(t_flag);
	}
	else
	{
		start = top.location.href.lastIndexOf("http");
		slut = top.location.href.lastIndexOf("htm");
		slut2 = top.location.href.lastIndexOf("/");
		if (slut > 0)
			document.write("<a href=" + top.location.href.substring(start,slut+3) + "><img src='"+ short_sti +"flag/uk.gif' border='0'> Original Page</a>");
		else
			document.write("<a href=" + top.location.href.substring(start,slut2+1) + "index.htm><img src='"+ short_sti +"flag/uk.gif' border='0'> Original Page</a>");
	}
	document.write("</td></tr></table>");		
}


function bundtabel()
{

	document.write("<table cellspacing='0' cellpadding='0' width='100%' border='0'>");
	document.write("<tr><td height='4' class='light'></td></tr>");
	document.write("<tr><td class='dark' width='33%'>&nbsp;<span class='valid'>&nbsp;<a href='" + sti + "about.htm'>&copy;1999-2012</a>&nbsp;<a href='" + short_sti + "js/index_uk.htm'>J&oslash;rgen S&oslash;rensen</a>&nbsp;</span></td>");
	document.write("<td class='dark' width='34%' align='center'><b>" + document.title + "</b></td>");

	if (top.location.href.indexOf("translate") == -1)
	{ 
		document.write("<td class='dark' width='33%' align='right'><span class='valid'>&nbsp;&nbsp;&nbsp;<a href='http://jigsaw.w3.org/css-validator/validator?uri=" + location.href +"' target='ext'>CSS VALID</a>&nbsp;&nbsp;&nbsp;</span>");
		document.write("&nbsp;<span class='valid'>&nbsp;&nbsp;&nbsp;<a href='http://validator.w3.org/check?uri=referer' target='ext'>HTML VALID</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>&nbsp;</td>");
	}
	else
	{
		document.write("<td class='dark' width='33%' align='right'>"); 
		document.write("&nbsp;<span class='valid'>&nbsp;Served by <a href='http://www.google.com/language_tools?hl=en' target='ext'>Google Translations</a>&nbsp;</span>&nbsp;</td>");
	}

	document.write("</tr><tr><td colspan='3' class='light' style='text-align:center;'>");
	document.write("If you find this software program useful, feel free to <a href='" + sti + "brev.htm'>mail me</a> a 'Thank You' or send me a <a href='" + sti + "support.htm'>donation</a>.</td></tr></table>");
}

