////////////////////// vytvoření horní a levé části stránky ////////////////////////



///////////////////////////////////////////////////////////////////////////////////
////////////////////////// ZADEJTE SVŮJ EMAIL ZDE /////////////////////////////////
var email = 'info@mkvsport.cz';
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////


var browserName = navigator.appName;
var browserVer = parseInt(navigator.appVersion);





document.write('</TD></TR></TABLE>');

styly(); // vytvořit odkaz na styly
document.write('<DIV class="vsechno" align="center">');




///////////////////////////////////////////////////////////////////////////////////
/////////////////////// UPRAVTE HLAVNÍ NADPIS STRÁNKY ZDE ////////////////////////

///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////


document.write('</TD><TD align="right" valign="middle">');
roleta();
document.write('</TD></TR></TABLE>');
document.write('<TABLE class="horniMenu"><TR><TD valign="middle">');



///////////////////////////////////////////////////////////////////////////////////
/////////////////////// UPRAVTE ODKAZY POD HLAVNÍM NADPISEM ZDE //////////////////
document.write('<B><DIV class="obsah"><B> ');
document.write(' <a href="http://tomaskvasnicka.cz/index.html" > MKV Sport Team - Home - Aktuality </A> '); 
document.write('  - <a href="http://tomaskvasnicka.cz/sponzori.html" > SPONZOŘI </A> ');
document.write('  - <a href="http://tomaskvasnicka.cz/kontakt.html" > KONTAKT </A> ');
document.write('   <BR>  TOMÁŠ KVASNIČKA  '); 
document.write(' - <a href="http://tomaskvasnicka.cz/profil-t.html" > PROFIL </A> ');  
document.write('  - <a href="http://tomaskvasnicka.cz/vysledky-t.html" > VÝSLEDKY </A> ');
document.write('  - <a href="http://tomaskvasnicka.cz/fotogalerie-t.html" > FOTOGALERIE </A> ');
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////



document.write('</TD></TR></TABLE><BR>');

// obsah levého sloupce zde
document.write('<TABLE cellpadding="3" cellspacing="3" class="telo"><TR><TD class="vlevo" valign="top">');
document.write('<TABLE cellpadding="0" cellspacing="0" align="center" class="levySloupec"><TR><TD>');
document.write('<center><DIV class="nadpis">TOMÁŠ KVASNIČKA</DIV>');
document.write('<DIV class="obsah">');
document.write('<FORM name="soukroma">');
document.write('</FORM>');
document.write('<center><p><IMG src="tomas.jpg"></IMG></a>');


///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////////////////////////
////////////////////////// DALŠÍ ZMĚNY NEJSOU ZAPOTŘEBÍ ///////////////////////////
///////////////////////////////////////////////////////////////////////////////////



document.write('</P></DIV>');


document.write('</TD></TR></TABLE>');
document.write('</TD>');




// začátek středního sloupce
document.write('<TD class="stred" valign="top">');

document.write('<TABLE cellpadding="0" cellspacing="0" align="center" class="sloupec"><TR><TD>');

// nastavit cookie podle rolety stylů a zobrazit v novém stylu
function kookie() {
c = document.F.P.options[document.F.P.selectedIndex].value;
c = 'styly=' + c;
c = c + '; path=/;';
c = c + ' expires=Mon, 01-Jan-2050 00:00:00 GMT;';
document.cookie = c;
window.location.reload();
} // end func

// vytvořit odkaz na styly podle cookie
function styly() {
if (browserName == "Microsoft Internet Explorer" || browserName == "Netscape" ||  browserName == "Mozilla") {
	if (document.cookie == '' || document.cookie == null)
		c = 'lightblue_styly.css';
	else
		c = GetCookie('styly');
	rexp = /css|CSS/;
	if (rexp.test(c))
		c = '<LINK rel=stylesheet type=text/css href=styly/' + c + '>';
	else
		var c = '<LINK rel="stylesheet" type="text/css" href="styly/lightblue_styly.css">';
}
else
	var c = '<LINK rel="stylesheet" type="text/css" href="styly/lightblue_styly.css">';
document.write(c);
} // end func

// načíst cookie
function GetCookie(name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
	var j = i + alen;
	if (document.cookie.substring(i, j) == arg)
		return getCookieVal (j);
	i = document.cookie.indexOf(" ", i) + 1;
	if (i == 0) break;
}
return null;
}
// end func

function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
	endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
} // end func


// zobrazit roletu

function roleta() {
if (browserName == "Microsoft Internet Explorer" || browserName == "Netscape" ||  browserName == "Mozilla") {
}
}// end func

// odkaz k přidáni do oblíbených
function oblibene() {
if ((navigator.appVersion.indexOf("MSIE") > 0) && (parseInt(navigator.appVersion) >=4 )){
	document.write("&nbsp;&nbsp;&nbsp;<A href=''><SPAN style='cursor:hand' onclick='window.external.AddFavorite(location.href,document.title);return false;'><IMG src='obrazky/oblibene.gif' alt='Přidat do oblíbených' border=0>Přidat do oblíbených</SPAN></A>");
}
} // end func

// odkaz k nastavení jako výchozí stránku
function vychozi() {
if (document.all) {
    document.write('&nbsp;&nbsp;&nbsp;<A href="javascript:history.go(0);" onClick="this.style.behavior=\'url(#default#homepage)\';this.setHomePage(\'http://mojeStranka.htm\');">');
    document.write('<IMG src="obrazky/domecek.gif" border=0>Nastavit jako výchozí</a>');
}
} // end func

// datum aktualizace
function aktualizace() {
document.write('<P align="center">     ');
document.write('<TABLE class="horniMenu"><TR><TD valign="middle">');

///////////////////////////////////////////////////////////////////////////////////
/////////////////////// UPRAVTE ODKAZY POD HLAVNÍM NADPISEM ZDE ///////////
document.write('<B><DIV class="obsah"><a href="http://tomaskvasnicka.cz/">© MKV Sport Team</A>');
///////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////



document.write('</TD></TR></TABLE><BR>');
if (browserName == "Microsoft Internet Explorer" && browserVer >= 4) {
	var dt=document.lastModified;

}

else {
	var dt=document.lastModified;
	document.write(dt);
}
document.write('</P>');
} // end func




//////////////////////////////// konec skriptu //////////////////////////////////////