function page_init(){
	$('._shpic').dropShadow({left: 2, top: 2, blur: 2,color:'#22112f', opacity: 0.8});$('.left').dropShadow({left: 0, top: 5, blur: 6,color:'#9f572f', opacity: 0.4});$('.right').dropShadow({left: 0, top: 5, blur: 6,color:'#306108', opacity: 0.4});$('.center').dropShadow({left: 0, top: 5, blur: 6,color:'#3f3b32', opacity: 0.4});
}

function shadowsOfThePast(){
	
	//$('.left').dropShadow({left: 0, top: 5, blur: 6,color:'#9f572f', opacity: 0.4});
	//$('.right').dropShadow({left: 0, top: 5, blur: 6,color:'#306108', opacity: 0.4});
	//$('.center').dropShadow({left: 0, top: 5, blur: 6,color:'#3f3b32', opacity: 0.4});
	$('.shpica').dropShadow({left: 2, top: 2, blur: 2,color:'#22112f', opacity: 0.8});
}
function fade2side(div,type,delay){
    if(type=='out'){
        $("#"+div).fadeOut(delay);
    }else $("#"+div).fadeIn(delay);
}

function empty(){
	
}
function left2center2(){
	time = 300;
	var left = document.getElementById('left_content');
	var right = document.getElementById('center_content');
	var tmp1 = document.getElementById('left_content').innerHTML;
	var tmp2 = document.getElementById('center_content').innerHTML;
	left.innerHTML = tmp2;
	right.innerHTML = tmp1;
	fade2side('left_content','in',time);
	fade2side('center_content','in',time);
}
function left2center(){
	time = 300;
	fade2side('left_content','out',time);
	fade2side('center_content','out',time);
	setTimeout('left2center2()',time*2);
	
}
function right2center2(){
	time = 300;
	var left = document.getElementById('right_content');
	var right = document.getElementById('center_content');
	var tmp1 = document.getElementById('right_content').innerHTML;
	var tmp2 = document.getElementById('center_content').innerHTML;
	left.innerHTML = tmp2;
	right.innerHTML = tmp1;
	fade2side('right_content','in',time);
	fade2side('center_content','in',time);
}
function right2center(){
	time = 300;
	fade2side('right_content','out',time);
	fade2side('center_content','out',time);
	setTimeout('right2center2()',time*2);
	
}
