﻿<!--
            /* <![CDATA[ */
	            window.addEvent('domready',init);
	            function init(){
		            var obj = new jvvideo({
			            SWFwidth: '352',
			            SWFheight: '250',
			            useAjax: 'true',
			            ajaxUrl: '',
			            ajaxOptions: {'method':'get'}
		            });	
		            var slideObj = new _noobSlide({
			            box: $('jv_slider_center'),
			            items: $ES('div','jv_slider_center'),
			            size: 77,
			            autoPlay: false,
				            onWalk: function(currentItem,currentHandle){
				            var handles_more = $ES('div','jv_direction_center');
				            var chk_num = this.currentIndex / 4;
				            if(chk_num == 0){
					            handles_more.each(function(item){
						            if(item.hasClass('active')){
							            item.removeClass('active');
						            }
					            });
					            handles_more[0].addClass('active');
				            }
				            for(var i=0; i < this.currentIndex; i++){
					            if(chk_num >= i && chk_num <= i+1){
            						
						            handles_more.each(function(item){
							            if(item.hasClass('active')){
								            item.removeClass('active');
							            }
						            });
						            handles_more[i].addClass('active');
					            }
				            }
            				
			            },
			            buttons: {
				            previous: $('jv_direction_left'),
				            next: $('jv_direction_right')
			            }
		            });
		            //more handle buttons
		            var handles_more = $ES('div','jv_direction_center');
		            handles_more.each(function(item,index){
			            if(index==0){item.addClass('active')}
		            });
		            slideObj.addHandleButtons(handles_more,4);
		            slideObj.addActiveClass(handles_more);
		            slideObj.walk(0)
	            }
            /* ]]> */
            -->