var c=0;
function hajime(){
	document.getElementById('wrapper1').style.top=c+'px';
	c+=5;
	if(c>850){
		document.getElementById('wrapper1').style.display='none';
		slideshow1();
		return;
	}
	setTimeout('hajime()',1);	
}

var a=1;
var n=2;
function slideshow1(){
	document.getElementById('p'+n).style.display='block';
	document.getElementById('p'+n).style.filter='alpha(opacity='+a+')';
	document.getElementById('p'+n).style.opacity=a/100;
	a+=5;
	if(a>100){
		n++;
		if(n==11){
			setTimeout('slideshow2()',130);
			return;
			}
		a=1;
		}
	setTimeout('slideshow1()',80);
}

var b=1;
function slideshow2(){
	document.getElementById('p11').style.display='block';
	document.getElementById('p11').style.filter='alpha(opacity='+b+')';
	document.getElementById('p11').style.opacity=b/100;
	b+=5;
	if(b>100){
		return;
	}	
	setTimeout('slideshow2()',120);
}

