




var navigation_new = new Array();
var circle_nav = false;
var was_passed = false;
// the following stuff is only for the demo page to switch sliders

function demopage_switchslider()
{
	var param = window.location.href.substring(window.location.href.indexOf('?')+8);
	
	
	if(param != undefined && param != '' && window.location.href.indexOf('?') > 0)
	{
		$('.aviaslider').attr('id',param); //change the id of the slideshow depending on the url, so another slideshow gets applied
	}
}
function go_aviaSlider()
{
				$('#droping-curtain').aviaSlider({	blockSize: {height: 'full', width:37},
					display: 'topleft',
					transition: 'drop',
					betweenBlockDelay:80,
					animationSpeed: 800,
					switchMovement: true,
					slideControlls: 'items',
					appendControlls: '.aviaslider'
					});
}


$("#droping-curtain").ready(function(){

    go_aviaSlider();

  });

