$(document).ready(function(){  
  



   
   
  // $('.meny').load('meny_sv.html');  
  // $('.meny_bottom').load('meny_bottom_sv.html');  
   
  
  
  
  // ** Vi hämtar in data som skall presenteras i bildspelet på startsidan.


$('#bildspel_start').load('bildspel_start.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefStart') .livequery(function(){ 
$('.SlideRefStart').cycle({
	fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#pil_start', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	



$('#bildspel_grupper').load('bildspel_grupper.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideReGrupp') .livequery(function(){ 
$('.SlideRefGrupp').cycle({
		fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_grupper', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	



$('#bildspel_vandrarhem').load('bildspel_vandrarhem.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefVandrarhem') .livequery(function(){ 
$('.SlideRefVandrarhem').cycle({
	fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_vandrarhem', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	

  
  
  $('#bildspel_rum').load('bildspel_rum.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefRum') .livequery(function(){ 
$('.SlideRefRum').cycle({
		fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_rum', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	


  $('#bildspel_stugby').load('bildspel_stugby.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefStugby') .livequery(function(){ 
$('.SlideRefStugby').cycle({
			fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_stugby', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	



  $('#bildspel_frukost').load('bildspel_frukost.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefFrukost') .livequery(function(){ 
$('.SlideRefFrukost').cycle({
		fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_frukost', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	

  $('#bildspel_faciliteter').load('bildspel_faciliteter.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefFaciliteter') .livequery(function(){ 
$('.SlideRefFaciliteter').cycle({
		fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_faciliteter', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	


  $('#bildspel_konferens').load('bildspel_konferens.html #id1', function(){
$(this).hide()
.fadeIn(500);
});

// ** BILDSPEL STAR - slut


// ** Scriptet som,hanterar innehåll på start
	
 $('.SlideRefKonferens') .livequery(function(){ 
$('.SlideRefKonferens').cycle({
	fx: 'fade',
	speed:  3000,
	timeout: 3000,
	pause:  0,
	next:   '#bildspel_konferens', 
	delay: 2000, 
	startingSlide: 0,
	cleartypeNoBg: true
});
});	



  
  
  
  
  
});  // DOM SLUT


function setMeny(x)
{
	

		
}

function openBokning()
{
	window.open('http://kviberg.billbook.nu','Bokkning Kvibergs Vandrarhme','width=500,height=500')

	
}

function openMail()
{
	window.location="mailto:info@vandrarhem.com"
	

	
}
