function m_t(){
 var obj=document.getElementById("dl_1");
 var obj2=document.getElementById("dl_2");
 obj.style.display="block";
 obj2.style.display="block";
 var changeW=function(){
  var obj_t=parseInt(obj.style.top);
  var obj_l=parseInt(obj.style.left);
  
  var obj2_t=parseInt(obj2.style.top);
  var obj2_l=parseInt(obj2.style.right);
  
  if(obj_l>1){
   obj.style.top=1+(obj_t-Math.ceil((obj_t+1)/15))+"px";
   obj.style.left=(obj_l-Math.ceil((obj_l-1)/15))+"px";
   
   obj2.style.top=1+(obj2_t-Math.ceil((obj2_t)/15))+"px";
   obj2.style.right=(obj2_l-Math.ceil((obj2_l)/15))+"px";
  }
  else{
  clearInterval(bw);
  }
 } 
 var bw=window.setInterval(changeW,1)
}



function closeW(id,w){
 var obj=document.getElementById(id);
 obj.style.width=w;
 var closeDiv=function(){
  var obj_w=parseInt(obj.style.width);
  if(obj_w>1){ 
   obj.style.width=(obj_w-Math.ceil(obj_w)/20)+"px";
  }
  else{
  clearInterval(bw);
  obj.style.display="none";
  }
 } 
 var bw=window.setInterval(closeDiv,1)
}




var ttt = function(ttt) {   
    return document.getElementById(ttt);   
}  




	function later(){
	var ww=document.documentElement.clientWidth;
	var hh=document.documentElement.clientHeight;
	ttt("dl_1").style.display="block";
	ttt("dl_2").style.display="block";
var box=document.getElementById("dl_1");
var box2=document.getElementById("dl_2");
	box.style.left=(ww/2-ttt("dl_1").clientWidth/2)+"px";
	box.style.top=(document.documentElement.scrollTop+hh/2-ttt("dl_1").clientHeight/2)+"px";
	box2.style.right=(ww/2-ttt("dl_2").clientWidth/2-6)+"px";
	box2.style.top=(document.documentElement.scrollTop+hh/2-ttt("dl_2").clientHeight/2)+"px";
	m_t();
	}
	setTimeout(later,1000);

