function toggleBlock( blockId ) {

	var block = document.getElementById( blockId );

	// alert( block )

	if (block.style.display == 'none') {

		block.style.display = 'block';

	} else {

		block.style.display = 'none';

	}

}

/**

 * from quirksmode 

 * and http://dorward.me.uk/software/disablecss/

 */

function disableCSS() {

	nr = 0;

	if (document.getElementsByTagName) {

		x = document.getElementsByTagName('link');

	} else if (document.all) {

		x = document.all.tags('link');

	} else {

		alert('Your browser does not support disabling style sheets.\nDownload the free FireFox browser (www.mozilla.org) \nor the latest Microsoft Internet Explorer (www.microsoft.com).');

		return;

	}

	// disable linked css

	nr--;

	for (var i=0;i<x.length;i++)

	{

		dis = !(i == nr);

		x[i].disabled = dis;

	}

	// disable inline styles

	el = document.getElementsByTagName('*');

	for ( i=0; i<el.length; i++) {

		void(el[i].style.cssText = '');

	}

}


