<!--
/*
	============================================================
	Basic fce
	============================================================
	Copyright: www.eastburger.cz (c) 2009 All rights reserved.
	============================================================
 	Spoluprace:
	------------------------------------------------------------
*/


function CreateLink(str3, str2, str1){
	atsign = '@';
	document.write('<a href="mailto:' + str1 + atsign + str2 + '.' + str3 + '">' + str1 + atsign + str2 + '.' + str3 + '</a>');
}

function GoToPage(theElement, sUrl, sUrlEnd){
	window.location.href = sUrl+theElement.value+sUrlEnd;
}

function GoToUrl(sUrl){
	window.location.href = sUrl;
}

function NewWindow(theElement){
	var objWnd = window.open(theElement.href);
	objWnd.focus();
}

function SetTr(theElement, theAction, theKey){
	if(theKey%2 == 0) var tmp = 'ev';
	else var tmp = 'od';
	if(theAction == 'over'){
		if(theElement.className != 'tr-click') theElement.className = 'tr-over';
	}
	else if(theAction == 'out'){
		if(theElement.className != 'tr-click') theElement.className = 'tr-'+tmp;
	}
	else if(theAction == 'click'){
		if(theElement.className == 'tr-click') theElement.className = 'tr-'+tmp;
		else theElement.className = 'tr-click';
	}
}

//-->
