var e = jQuery.noConflict();
	
e(document).ready(function(){ 
	
					e('#my-list').hoverscroll({
						width: 680,
						height: 86 
					});
					
					
					
					 e('.ppoi_points li').mouseenter(function(){
					 	 
				        /*e(this).children('div').show();*/
				        e(".ppoi_contents li").html(e(this).children('div').html());
						e(".ppoi_contents li a").wtLightBox();
				    });
    
				    e('.ppoi_points li').mouseleave(function(){
				        /*e(this).children('div').hide();*/
				        e(".ppoi_contents li").html();
				    });
				    
				    e('.poi_points li').click(function(){
				    	e("#overlay-list").fadeTo('slow', 0.3);
				    });
				    e('.poi_contents').click(function(){
				    	e("#overlay-list").hide();
				    });
				    
				    
							e("a[rel='oman']").wtLightBox();
							e("a[rel='tunisia']").wtLightBox();
							e("a[rel='turkey']").wtLightBox();
							e("a[rel='croatia']").wtLightBox();
							e("a[rel='slovakia']").wtLightBox();
							e("a[rel='czech']").wtLightBox();
							e("a[rel='germany']").wtLightBox();
							e("a[rel='romania']").wtLightBox();
							e("a[rel='austria']").wtLightBox();
							e("a[rel='slovenia']").wtLightBox();
							e("a[rel='hungary']").wtLightBox();
							e("a[rel='serbia']").wtLightBox();
							
							
							
				     		
							
				    
					
							e("#map").pointsOfInterest({
								speed: 500,
								showOnHover: false,
								arrowVOffset: 30,
								arrowHOffset: 17,
								contentsHideOn: "click",
								canvasHidesOn: "none",
								closeButton: true
							});
	
	
                   //initialize scroller
                                
                                e(".container").wtScroller({
                                        num_display:4,
                                        slide_width:150,
                                        slide_height:150,
                                        slide_margin:10,
                                        button_width:35,
                                        ctrl_height:25,
                                        margin:10,      
                                        auto_scroll:true,
                                        delay:4000,
                                        scroll_speed:1000,
                                        easing:"",
                                        auto_scale:false,
                                        move_one:false,
                                        ctrl_type:"scrollbar",
                                        display_buttons:true,
                                        display_caption:true,
                                        mouseover_caption:true,
                                        caption_align:"bottom",
                                        caption_position:"inside",                                      
                                        cont_nav:true,
                                        shuffle:false
                                });
                                
                                //initialize lightbox for scroller
                                e("a[rel='scroller']").wtLightBox({
                                        rotate:true,
                                        delay:4000,
                                        transition_speed:600,
                                        display_number:true,
                                        display_dbuttons:true,
                                        display_timer:true,
                                        display_caption:true,
                                        caption_align:"bottom",                                 
                                        cont_nav:true,
                                        auto_fit:true,
                                        easing:""
                                });
                                
                                
                    e("#fader").innerfade({
						animationtype: 'fade',
						speed: 350,
						timeout: 4000,
						type: 'sequence',
						containerheight: '1em'
					});
});
