// ----------------------------- JavaScript - funkce ---------------------------------------------------------------------------------------------------------
function fncMoveMouseOver()
{
var elmCurr = event.srcElement;
var S = elmCurr.id.substr(0,3);
if ((elmCurr.tagName == 'A') && (S == cstUnderLink))
{
elmCurr.style.textDecoration = 'none';
}
}
// ----------------------------- JavaScript - funkce ---------------------------------------------------------------------------------------------------------
// ----------------------------- JavaScript - obsluha udalosti -----------------------------------------------------------------------------------------------
document.onmouseover = fncMoveMouseOver;
// ----------------------------- JavaScript - obsluha udalosti -----------------------------------------------------------------------------------------------
function GetMSIEVersion()
{ // zacatek funkce
var HttpString = window.navigator.userAgent // deklaru promennou HttpString, a inicializuj hodnotu, je to retezec, ktery posila cliet serveru v HTTP protokolu
var MSIEVerIndex = HttpString.indexOf("MSIE "); // Do nove vznikle promenne MSIEVerIndex dej cislo, kde se nalezl podretezec "MSIE "
if (MSIEVerIndex > 0) // jestlize byl retezec naleze, ve vraceno cislo indexu v celem retezci (HttpString)
return parseInt(HttpString.substring(MSIEVerIndex+5, HttpString.indexOf(".",MSIEVerIndex))) // pak navratova hodnota funkce je: konvertuj retezce na cislo (tento retezec je ziskan jako podretezec(index nalezeni+5(delka hledaneho) do indexu "."
else // jinak funkce vrati
return 0 // is other browser // nulu, protoze retezec "MSIE " nebyl naleze, (jine prohlizece neposlou tento retezec)