
	// browser DOM check
var theBrowserInfo = new Object();
var use_fallback_html = false;

function ClientSniffer()
{
		//====================== DOM CK ============================
			// sniff the browser for DOM and JavaScript support
	theBrowserInfo.DOM =	(document.getElementById);
	ClientSniffer();
	if(theBrowserInfo.DOM){
		if(window && window.location && window.location.search){
			if(window.location.search.slice(1) == 'dumb'){
				use_fallback_html = true;
			}
		}
	}else{
		use_fallback_html = true;
	}
}
//====================== Load and Synch =========================

function include_once(theFilename){
	document.write('\r<script type="text/javascript" src="'+theFilename+'"></script>');
}

if(use_fallback_html === false){
	include_once('_scripts/fastinit.js');

	include_once('_scripts/prototype/dist/c.prototype.js');
	include_once('_scripts/scriptaculous-js/src/scriptaculous.js');

	include_once('_scripts/cc_defs.js');
	include_once('_scripts/js_lib.js');

	include_once('_scripts/_pop/supernote_commented.js');
	include_once('_scripts/_pop/supernote_include.js');
	include_once('_scripts/swfobject/swfobject_modified.js');
	include_once('_scripts/wimpy_button.js');

	include_once('_scripts/cc.js');
}
