<!--

var wsw = (window.screen.width);
var wsh = (window.screen.height);

var wwsw = rozmeryKlient('w');
var wwsh = rozmeryKlient('h');

/* ====================================================================== */


function rozmeryKlient(typRozmeru) {

 var kW = 0;
 var kH = 0;

 if( typeof( window.innerWidth ) == 'number' ) {
  //Non-IE
  kW = window.innerWidth;
  kH = window.innerHeight;
 } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
  //IE 6+ in 'standards compliant mode'
  kW = document.documentElement.clientWidth;
  kH = document.documentElement.clientHeight;
 } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
  //IE 4 compatible
  kW = document.body.clientWidth;
  kH = document.body.clientHeight;
 }

 if (typRozmeru == 'h') {
  return kH;
 } else if (typRozmeru == 'w') {
  return kW;
 }

}

/* ====================================================================== */

function CreateLink(domena, name, text ){
zavinac = "@"

    if( CreateLink.arguments.length == 2 ) {

		document.write('<a href="mailto:'+ name + zavinac + domena +'">'+ name + zavinac + domena +'<\/a>');

	} else {

		document.write('<a href="mailto:'+ name + zavinac + domena +'">'+ text +'<\/a>');
  
	}

}	// CreateLink()


/* ====================================================================== */


function gEBI(eID) {
	var obj = document.getElementById(eID);
	return obj;
}	// gEBI()


/* ====================================================================== */


function ScrollToElement(el) {

 $('html, body').animate({scrollTop: $('#' + el).offset().top - 30}, 1600);

}

/* ====================================================================== */
/*  KARIERA DETAIL  */
/* =============== */

function karieraPopis(elID) {
	
	var popis = $('div#karieraPopis' + elID);

	popis.slideToggle(1400, function() {

		//popis.fadeToggle("slow", "linear");

	});
/*
	if (el.className == 'PlusMinus iconPlus') {
		el.className = 'PlusMinus iconMinus';
	} else {
		el.className = 'PlusMinus iconPlus'
	}
*/
	
}

/* ====================================================================== */
/*  DOWNLOAD DETAIL  */
/* ================ */

function dnldPopis(elID) {
	
	var popis = $('div#dnldPopis' + elID);

	popis.slideToggle(500, function() {

		//popis.fadeToggle("slow", "linear");

	});
}
//-->
