// JavaScript Document

function fadein(obj){
	new Effect.Appear(obj, {duration: 0.5, to: 0.9});
}


function zoom(){
	if ( typeof zoom.stat == 'undefined' ) {
		zoom.stat = 0;
	}
	
	if (zoom.stat == 0){
		new Effect.Scale('screenshot', 166.6, {scaleFromCenter: true, duration: 0.5});
		zoom.stat = 1;
	}else if(zoom.stat = 1){
		new Effect.Scale('screenshot', 60, {scaleFromCenter: true, duration: 0.5});
		zoom.stat = 0;
	}
}


