/*
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('8 1r=o 1u({1q:7(4,6){3.4=4;3.6=6;8 t;8 b;8 z;3.z=1n;9(3.6){3.b=3.6.b}l{3.b="C"};9(3.b!="B"){9(3.6.g=="M"||3.6.g=="v"){3.t=3.q.1a(3.6.18,3,$(3.4))}l{3.q($(3.4))}}},1o:7(j){9(3.6.g=="M"||3.6.g=="v"){3.V()};3.6.j=j;3.b="C";3.q($(3.4))},1m:7(j){9(3.6.g=="M"||3.6.g=="v"){3.V()};3.6.j=j;3.b="15";3.q($(3.4))},V:7(){3.b="B";3.q($(3.4))},1l:7(){3.b="C";3.t=3.q.1a(3.6.18,3,$(3.4))},q:7(4){9((3.6.g=="v"||3.6.g=="M")&&3.b=="B"){$S(3.t)}l{8 5;8 a=4.k().k()[0];a.r(7(e){9(e.d=="c"){5=e}});9(!5&&(3.b=="C"||3.b=="B")){5=a[0].Z();5.d="c"}l{9(3.b=="C"){8 Y=4.k()[0].1i();9(Y==5.Z()&&3.6.g=="v"){$S(3.t)}9(Y==5){5=a[0]}l{5=5.Z()}};9(3.b=="15"){8 U=4.k()[0].1t();9(U==5.1c()&&3.6.g=="v"){$S(3.t)}9(U==5){5=4.k()[0].1i()}l{5=5.1c()}}};9(5&&3.b!="B"){9(3.6.j=="G"){3.G(4,a,5)}l 9(3.6.j=="f"){3.f(4,a,5)}l 9(3.6.j=="W"){3.W(4,a,5)}}}},1p:7(){$(3.4).n(\'F\',\'E\');8 a=$(3.4).k().k()[0];8 i;8 A;8 w;8 m;m=$(3.4).16(\'14-13\').T();A=$(3.4).D().N.y-2*m;w=$(3.4).D().N.x-2*m;i=0;a.r(7(e){9(i!==0){e.d="c";$(\'c\').n(\'F\',\'E\');$(\'c\').n(\'1k\',0-w*i);$(\'c\').n(\'1j\',0+A*i);e.d=""};i++});a.r(7(e){e.d=""})},1v:7(){$(3.4).n(\'F\',\'E\');8 a=$(3.4).k().k()[0];8 i;8 A;8 w;8 m;m=$(3.4).16(\'14-13\').T();A=$(3.4).D().N.y-2*m;w=$(3.4).D().N.x-2*m;i=0;a.r(7(e){9(i!==0){e.d="c";$(\'c\').n(\'F\',\'E\');$(\'c\').n(\'1k\',0);$(\'c\').n(\'1j\',0);e.d=""}i++})},G:7(4,a,5){8 G=o p.11(4,{h:3.6.h,Q:7(){a.r(7(e){e.d=""});5.d="c"}}).10(5)},f:7(4,a,5){8 f=o p.P(4,\'H\',{h:3.6.h,Q:7(){o p.11(4,{h:1,Q:7(){a.r(7(e){e.d=""});5.d="c";o p.P(4,\'H\').u(0.s,1);O.L(\'K\').I.R="1h"}}).10(5)}});f.u(1,0.s);O.L(\'K\').I.R="1g(1f/12/1e/1d.19) 17-1b J J"},W:7(4,a,5){8 X=3.6.h.T();8 f=o p.P(4,\'H\',{h:(X/2)});O.L(\'K\').I.R="1g(1f/12/1e/1d.19) 17-1b J J";f.u(1,0.s).1s(7(){f.u(0.s,1);O.L(\'K\').I.R="1h"});o p.11(4,{h:X,Q:7(){a.r(7(e){e.d=""});5.d="c"}}).10(5)},1w:7(){8 f=o p.P($(3.4),\'H\',{h:3.6.h});9(3.z){f.u(1,0.s)}l{f.u(0.s,1)}3.z=!3.z}});',62,95,'|||this|container|child|options|function|var|if|children|direction|currentChild|id||fade|auto|duration||type|getChildren|else|b_w|setStyle|new|Fx|klizi|each|01|automated|start|once|s_w|||hideshow_flag|s_h|pause|forward|getSize|relative|position|scroll|opacity|style|center|pozicija|getElementById|loop|size|document|Style|onComplete|background|clear|toInt|firstElement|pauza|scrollfade|durationInt|lastElement|getNext|toElement|Scroll|mod_yj_ns1|width|border|back|getStyle|no|time|gif|periodical|repeat|getPrevious|loader|images|modules|url|transparent|getLast|top|left|radi|nazad|true|naprijed|init_vertical|initialize|YJns1Slide|chain|getFirst|Class|init_horizontal|hide_and_show_fade'.split('|'),0,{}))*/
var YJns1Slide=new Class(
{initialize:function(container,options){this.container=container;
this.options=options;
var automated;
var direction;
var hideshow_flag;
this.hideshow_flag=true;
if(this.options)
	{
	this.direction=this.options.direction
	}
	else
	{
	this.direction="forward"
	}
	;
	if(this.direction!="pause")
	{
	if(this.options.auto=="loop"||this.options.auto=="once")
	{
	this.automated=this.klizi.periodical(this.options.time,this,$(this.container))
	}
	else
	{
	this.klizi($(this.container))}}},naprijed:function(type)
	{
	if(this.options.auto=="loop"||this.options.auto=="once"){this.pauza()};this.options.type=type;this.direction="forward";this.klizi($(this.container))},nazad:function(type){if(this.options.auto=="loop"||this.options.auto=="once"){this.pauza()};this.options.type=type;this.direction="back";this.klizi($(this.container))},pauza:function(){this.direction="pause";this.klizi($(this.container))},radi:function(){this.direction="forward";this.automated=this.klizi.periodical(this.options.time,this,$(this.container))},klizi:function(container)
{
	if((this.options.auto=="once"||this.options.auto=="loop")&&this.direction=="pause")
	{
	$clear(this.automated)
	}
	else
	{
var child;
var children=container.getChildren().getChildren()[0];
children.each(function(e)
{
if(e.id=="currentChild")
{child=e}});
if(!child&&(this.direction=="forward"||this.direction=="pause")){child=children[0].getNext();child.id="currentChild"}else{if(this.direction=="forward"){var lastElement=container.getChildren()[0].getLast();if(lastElement==child.getNext()&&this.options.auto=="once"){$clear(this.automated)}if(lastElement==child){child=children[0]}else{child=child.getNext()}};if(this.direction=="back"){var firstElement=container.getChildren()[0].getFirst();if(firstElement==child.getPrevious()&&this.options.auto=="once"){$clear(this.automated)}if(firstElement==child){child=container.getChildren()[0].getLast()}else{child=child.getPrevious()}}};if(child&&this.direction!="pause"){if(this.options.type=="scroll"){this.scroll(container,children,child)}else if(this.options.type=="fade"){this.fade(container,children,child)}else if(this.options.type=="scrollfade"){this.scrollfade(container,children,child)}}}},init_vertical:function(){$(this.container).setStyle('position','relative');var children=$(this.container).getChildren().getChildren()[0];var i;var s_h;var s_w;var b_w;b_w=$(this.container).getStyle('border-width').toInt();s_h=$(this.container).getSize().size.y-2*b_w;s_w=$(this.container).getSize().size.x-2*b_w;i=0;children.each(function(e){if(i!==0){e.id="currentChild";$('currentChild').setStyle('position','relative');$('currentChild').setStyle('left',0-s_w*i);$('currentChild').setStyle('top',0+s_h*i);e.id=""};i++});children.each(function(e){e.id=""})},init_horizontal:function(){$(this.container).setStyle('position','relative');var children=$(this.container).getChildren().getChildren()[0];var i;var s_h;var s_w;var b_w;b_w=$(this.container).getStyle('border-width').toInt();s_h=$(this.container).getSize().size.y-2*b_w;s_w=$(this.container).getSize().size.x-2*b_w;i=0;children.each(function(e){if(i!==0){e.id="currentChild";$('currentChild').setStyle('position','relative');$('currentChild').setStyle('left',0);$('currentChild').setStyle('top',0);e.id=""}i++})},scroll:function(container,children,child){var scroll=new Fx.Scroll(container,{duration:this.options.duration,onComplete:function(){children.each(function(e){e.id=""});child.id="currentChild"}}).toElement(child)},fade:function(container,children,child){var fade=new Fx.Style(container,'opacity',{duration:this.options.duration,onComplete:function(){new Fx.Scroll(container,{duration:1,onComplete:function(){children.each(function(e){e.id=""});child.id="currentChild";new Fx.Style(container,'opacity').start(0.01,1);document.getElementById('pozicija').style.background="transparent"}}).toElement(child)}});fade.start(1,0.01);document.getElementById('pozicija').style.background="url(modules/mod_yj_ns1/images/loader.gif) no-repeat center center"},scrollfade:function(container,children,child){var durationInt=this.options.duration.toInt();var fade=new Fx.Style(container,'opacity',{duration:(durationInt/2)});document.getElementById('pozicija').style.background="url(modules/mod_yj_ns1/images/loader.gif) no-repeat center center";fade.start(1,0.01).chain(function(){fade.start(0.01,1);document.getElementById('pozicija').style.background="transparent"});new Fx.Scroll(container,{duration:durationInt,onComplete:function(){children.each(function(e){e.id=""});child.id="currentChild"}}).toElement(child)},hide_and_show_fade:function(){var fade=new Fx.Style($(this.container),'opacity',{duration:this.options.duration});if(this.hideshow_flag){fade.start(1,0.01)}else{fade.start(0.01,1)}this.hideshow_flag=!this.hideshow_flag}
});