/* scripts/global/control_panel.js */		

// HOST AND DOMAIN

	// Used to serve resources locally for development or from google.apis when live.
	// Also used to fix an ajax bug in IE7
	
	
	var host; 
		// served local or live
	
	var this_domain = window.location.hostname;
		// or document.domain
		// alert(this_domain);
    
	if (this_domain.indexOf('local') > 0 ) {
		// alert('served locally');
		host = 'local';
	}
	else {
		// alert('served live')
		host = 'live';
	}
		
	
	
		// CRITICAL!! make sure this is set
		// this is used to fix an AJAX bug for IE7 only


// RENDERING MODE
	var rendering_mode = ( document.compatMode == 'CSS1Compat' ) ? 'Standards' : 'Quirks'; 
	// alert(rendering_mode);
			

// NOTIFICATIONS
	//alert('notify alerts')
	var notify_load_stats = 		false;
	var notify_ajax_stats = 		false;
	var notify_ajax_action =	 	false; // essesntally the same as notify_change_function
	var notify_change_function = 	false;
	var notify_refreshed_stats = 	false;
	
	
	function exclude_from_IE6() {
	    //if(!window.XMLHttpRequest) return;
	    //else // ok to continue
	}



