/* t-pont kereso flash callback - - - - - - - - - - - - - - - - - - - - - - - */
function setRegion(regionID) {
    //alert("A meghívott régiókód: " + regionID);
    selectRegion(regionID);
}
/* t-pont kereso flash callback - - - - - - - - - - - - - - - - - - - - - - - */


/* fadeSlide effect - - - - - - - - - - - - - - - - - - - - - - - */
/*
var FadeSlide = function(element, options) {

    Spry.Effect.Cluster.call(this, options);

    var duration = 1000;
    var from = '0%';
    var to = '100%';
    var transition = Spry.fifthTransition;
    var toggle = true;
    var finishFunc;

    if (options) {
    	if (options.duration != null) duration = options.duration;
    	if (options.from != null) from = options.from;
    	if (options.to != null) to = options.to;
    	if (options.transition != null) transition = options.transition;
    	if (options.toggle != null) toggle = options.toggle;
        if (options.finishFunc != null) finishFunc = options.finishFunc;
    }

    var slide_effect = new Spry.Effect.Slide(element, {
        duration: 1000,
        from: from,
        to: to,
        toggle: true,
        finish: finishFunc
    });
    var fade_effect = new Spry.Effect.Fade(element, {
        duration: 1000,
        from: from,
        to: to,
        toggle: true
    });

    this.addParallelEffect(slide_effect);
    this.addParallelEffect(fade_effect);
};
FadeSlide.prototype = new Spry.Effect.Cluster();
FadeSlide.prototype.constructor = FadeSlide;
*/
/* fadeSlide effect - - - - - - - - - - - - - - - - - - - - - - - */


/* selectPage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
/*
    combobox-szal megvalositott oldal navigacio

    selectElement: id vagy referencia
*/
function selectPage(selectElement) {
    if($(selectElement).value != "#"){
        window.location = $(selectElement).value;
    }
}
/* selectPage - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */