";
if(prefArray[5] == 1){textBody = textBody + "
";}
if(prefArray[3] == 1)
{
if(mail.length >= 23)
{
var atIndex = mail.indexOf("@");
var shortMail = mail.substring(0,atIndex);
textBody = textBody + "
";
return textBody;
}
function insertPhoto(divId ,nameId, headerText, langId) //insert photo function (where to insert, person's name id, text displayed in the header, language id)
{
var text = insertPhotoText(nameId, headerText, langId);
document.getElementById(divId).innerHTML=text;
}
function insertSGPhoto(divId ,nameId, headerText, langId, curPage) //inserf photo of librarian with their subject guides cathergories, curPage = current page
{
var text = insertPhotoText(nameId, headerText, langId);
if(langId == "cs")
{
switch (nameId)
{
case "alena1":
text = text + alena1SubCS;
break;
case "jana1":
text = text + jana1SubCS;
break;
case "tumova1":
text = text + tumova1SubCS;
break;
case "pavlina1":
text = text + pavlina1SubCS;
break;
case "katoo1":
text = text + katoo1SubCS;
break;
case "cervenka1":
text = text + cervenka1SubCS;
break;
case "marek1":
text = text + marek1SubCS;
break;
case "turek1":
text = text + turek1SubCS;
break;
case "pavla1":
text = text + pavla1SubCS;
break;
case "petra1":
text = text + petra1SubCS;
break;
case "stephanie1":
text = text + stephanie1SubCS;
break;
case "jirka1":
text = text + jirka1SubCS;
break;
case "jakubs1":
text = text + jakubs1SubCS;
break;
case "olga1":
text = text + olga1SubCS;
break;
case "vera1":
text = text + vera1SubCS;
break;
case "stehlik1":
text = text + stehlik1SubCS;
break;
case "komas1":
text = text + komas1SubCS;
break;
case "nouza1":
text = text + nouza1SubCS;
break;
case "ouzka1":
text = text + ouzka1SubCS;
break;
case "kyriaki1":
text = text + kyriaki1SubCS;
break;
case "carlos1":
text = text + carlos1SubCS;
break;
case "pavlam1":
text = text + pavlam1SubCS;
break;
case "strych1":
text = text + strych1SubCS;
break;
case "julie1":
text = text + julie1SubCS;
break;
case "comby1":
text = text + comby1SubCS;
break;
}
}
else
{
switch (nameId)
{
case "alena1":
text = text + alena1SubEN;
break;
case "jana1":
text = text + jana1SubEN;
break;
case "tumova1":
text = text + tumova1SubEN;
break;
case "pavlina1":
text = text + pavlina1SubEN;
break;
case "katoo1":
text = text + katoo1SubEN;
break;
case "cervenka1":
text = text + cervenka1SubEN;
break;
case "marek1":
text = text + marek1SubEN;
break;
case "turek1":
text = text + turek1SubEN;
break;
case "pavla1":
text = text + pavla1SubEN;
break;
case "petra1":
text = text + petra1SubEN;
break;
case "stephanie1":
text = text + stephanie1SubEN;
break;
case "jirka1":
text = text + jirka1SubEN;
break;
case "jakubs1":
text = text + jakubs1SubEN;
break;
case "olga1":
text = text + olga1SubEN;
break;
case "vera1":
text = text + vera1SubEN;
break;
case "stehlik1":
text = text + stehlik1SubEN;
break;
case "komas1":
text = text + komas1SubEN;
break;
case "nouza1":
text = text + kyriaki1SubEN;
break;
case "ouzka1":
text = text + ouzka1SubEN;
break;
case "kyriaki1":
text = text + kyriaki1SubEN;
break;
case "carlos1":
text = text + carlos1SubEN;
break;
case "pavlam1":
text = text + pavlam1SubEN;
break;
case "strych1":
text = text + strych1SubEN;
break;
case "julie1":
text = text + julie1SubEN;
break;
case "comby1":
text = text + comby1SubEN;
break;
}
}
var indexPage = pagination.length;
var navigation = new Array();
navigation = document.getElementsByTagName("h3");
var navTxt = "";
//start
mark145967
if(langId == "cs"){
navTxt = ""/*"