var fleshe=0;

function showbottom(){
 var slidebottom = new Spry.Effect.Slide('bottom', { duration:2000,from: '0%', to: '100%', finish:showmenu});
 slidebottom.start();
 }
 
 function showmenu(){
 var slidemenu = new Spry.Effect.Slide('menu', { duration:2000,from: '0%', to: '100%', finish:showart});
 slidemenu.start();
 }
 

 

 function showart(){
document.getElementById("art").style.display='block';
setTimeout(showsmall, 200);
 }
 
  
 
 function showsmall(){
 var slidesmall = new Spry.Effect.Fade('small', { duration:2000,from: '0%', to: '100%', finish:showbottommenu});
 slidesmall.start();
 }
 
  function showbottommenu(){
 var slidebottommenu = new Spry.Effect.Slide('bottommenu', { from: '0%', to: '100%', finish:startslide});
 slidebottommenu.start();
 }
 
 
  function startslide(){
	   document.getElementById("canadaprovinces").style.display='block';
	   document.getElementById("controler").style.display='block';
setTimeout(showslideim, 200);
	  }
	 
 
 function showslideim(){
 var slideslideim = new Spry.Effect.Slide('slideim', { horizontal: true,duration:2000,from: '0%', to: '100%'});
 slideslideim.start();
 }
 

 
function show(){
	slidermenu.start(); 
	
	
	if(fleshe==1){
	
	document["fleshe"].src = 'images/arrow-r.png';
	fleshe=0;
	}else{
		
		document["fleshe"].src = 'images/arrow-left.png';
		fleshe=1;
		
		}
		
		
	
}

function resetmailform(){
document.mailing.email.value="  enter your email"; 
}
function stopmailload(aa){

if(aa==0){
alert('Your have registred before to our newsletter \n Please register with another email ');}
else{
	alert('You are successfully registered in our newsletter');}

}


