  function showAnimation(anim,w,h,m,l){

    aD = document.getElementById('animDiv');

	aF = document.getElementById('animFrame');

	aF.src = 'animations/' + anim + '.html';

	aF.setAttribute('height',h-15);

	aF.setAttribute('width',w);

	

	aD.style.display = 'block';

	aD.style.width   = w+'px';

	aD.style.height  = h+'px';

	aD.style.marginTop = m+'px';

	aD.style.marginLeft = l+'px';

	

	fd = document.getElementById('fadeDiv');

	fd.style.display='block';

	fd.style.zIndex = '7000';

  }

  

  function closeD(){

    aD = document.getElementById('animDiv');

	aD.style.display = 'none';

	fd = document.getElementById('fadeDiv');

	fd.style.display='none';

	fd.style.zIndex = '-1';

  }
