/*
 * iDiver Core - Web framework
 * Copyright (c) 2004-2006 m3y
 * $Revision: 1.4 $
 */
var nfok = 0;
function findObj(id) {
   if(document.all)
      return document.all[id];
   else
      return document.getElementById(id);
}

function hideall () {
	fl = findObj('flashcontent');
	if(!fl) return;
	fl.style.display = 'block';
   fl.style.height = '100%';
   fl.style.width = '100%';

	fd = findObj('noflash');
	if(!fd) return;
	fd.style.display = 'none';
   fd.style.height = '0px';
   fd.style.width = '0px';

	ov = findObj('overall');
	if(!ov) return;
	ov.style.display = 'none';

	fot = findObj('footer');
	if(!fot) return;
	fot.style.display = 'none';
	var nfok = 1;
}

function hideover(){
	if(nfok != 1){
	   ov = findObj('overall');
	   if(!ov) return;
	   ov.style.display = 'none';
	   ov.style.height = '100%';
	   ov.style.width = '100%';

	   fot = findObj('footer');
	   if(!fot) return;
	   fot.style.display = 'none';
	   fot.style.height = '0px';
	   fot.style.width = '0px';

	   nf = findObj('noflash');
	   if(!nf) return;
	   nf.style.display = 'block';
	   nf.style.height = '100%';
	   nf.style.width = '100%';
	}
}
