if (document.images) {  
	img1 = new Image();
	img1.src = "gfx/photo-1-blue.gif";
 	img1_ = new Image();
	img1_.src = "gfx/photo-1.gif";
	
	
	img2 = new Image();
	img2.src = "gfx/photo-2-blue.gif";
 	img2_ = new Image();
	img2_.src = "gfx/photo-2.gif";
	
	img3 = new Image();
	img3.src = "gfx/photo-3-bw.gif";
 	img3_ = new Image();
	img3_.src = "gfx/photo-3.gif";
	
	img4 = new Image();
	img4.src = "gfx/photo-4-bw.gif";
 	img4_ = new Image();
	img4_.src = "gfx/photo-4.gif";			
}
function intro(){
	layerphoto1 = new DynLayer("photo1",null);
	layerphoto2 =new DynLayer("photo2",null);
	layerphoto3 =new DynLayer("photo3",null);
	layerphoto4 =new DynLayer("photo4",null);
	layermask= new DynLayer("mask",null);
	layerlogoab = new DynLayer("logoab",null);
	layerlogonext = new DynLayer("logonext",null);
	layerphoto1.moveBy(0,140);
	layerphoto2.moveBy(0,70);
	layerphoto4.moveBy(0,-140)
	layerphoto3.moveBy(0,-70)		
//	layermottobottom =new DynLayer("mottobottom",null);
//	layerdata = new DynLayer("data" ,null);
//	layerphotothree.moveBy(-230,-215);
//	layerphototwo.moveBy(-115,0);	
synchro(1);	
}
function rotate(){
obj = eval("layerphoto1");
obj.slideBy(-70,0,20,10,null);
//layerone.slideBy(-70,0,10,10,null);
}
function synchro(phase){
	if (phase==1){
	layerphoto1.show();
	layerphoto2.show();	
	layerphoto1.slideBy(0,-140,10,10,null);
	layerphoto2.slideBy(0,-70,8,10,"setTimeout('synchro(2)',500);");	
	}
	if (phase==2){
	layermask.hide()
	layerphoto3.show();
	layerphoto4.show();	
	layerphoto4.slideBy(0,140,10,10,"setTimeout('synchro(3)',500);");
	layerphoto3.slideBy(0,70,8,10,null);	
	}
	if (phase==3){
	layerlogoab.show();
	setTimeout('synchro(4)',500);
	}
	if (phase==4){
	layerlogonext.show();
	setTimeout("synchro(5)",1000);
	}
	if (phase==5){
  photoblink("f1","img1_");
	}
}



