// JavaScript Document
var obj11,obj12,obj21, obj22;
var timer;
function opentheflash(flag){
	obj11 = document.getElementById('flashdiv11');
	obj12 = document.getElementById('flashdiv12');
	obj21 = document.getElementById('flashdiv21');
	obj22 = document.getElementById('flashdiv22');

	if(flag == 'open'){
		obj11.style.display = 'none';
		obj21.style.display = '';
		obj21.style.height = '135px';
		timer = setInterval(flashtomax,1);
	}else{
		timer = setInterval(flashtomin,1);
	}
}

function flashtomax(){
	var h =parseInt(obj21.style.height)+100;
	obj21.style.height =h+'px';
	if( h >= 270){
		clearInterval(timer);
		obj21.style.height = '270px';
	}
}
function flashtomin(){
	var h =parseInt(obj21.style.height)-100;
	obj21.style.height = h+'px';//obj22.style.height =
	if( h <= 135){
		clearInterval(timer);
		obj21.style.display = 'none';
		obj11.style.height = '135px';
		obj11.style.display = '';
	}
}
