eval("try {document.execCommand('BackgroundImageCache', false, true);} catch(e) {}");

/* Obecn funkce */
function a_href(url) {
	if (url == "#") return false;
	var w = window.self;
	w.location.href = url;
	return true;
}
function targetBlank(url) {
	window.open(url,'','');
}
function clearInput(o,defaultValue) {
	if (o.value == defaultValue ) o.value = "";
	focusObj = o;
}
function defaultInput(o,defaultValue) {
	if (o.value == "" ) o.value = defaultValue;
}
/* Proměná výška všech bloku ve skupině */
function equalHeight(group) {
	tallest = 0;
	group.each(function() {
		thisHeight = $(this).height();
		if(thisHeight > tallest) {
			tallest = thisHeight;
		}
	});
	group.height(tallest);
}
/* Spustí se po načtení celé stránky */
$(document).ready(function() {
	/* equalHeight($(".hp-box > .in")); */
});
/*
/ override Highslide settings here
/ instead of editing the highslide.js file
hs.addSlideshow({
	//slideshowGroup: 'reference-gallery',
	interval: 5000,
	repeat: false,
	useControls: true,
	fixedControls: true,
	overlayOptions: {
		opacity: .6,
		position: 'top center',
		hideOnMouseOut: true
	}
});
*/



