/* 
-----------------------------------------------------------------
	BRANZ
	interface.js
	
	Manages all other scripts
-----------------------------------------------------------------
*/

	var Settings = {
		importPath: "/resources/scripts/imported/"
	}
	
	function isArray(obj) 
	{
	//	DS
	//	check if an object is an array or not
	
		if (obj instanceof Array)
		{
			return true;
		}
		else
		{
			return false;
		}
	}	
	
	if (!browser.isIE5orBelow)
	{
		importScript("browserdetect.js");
		importScript("branz.js");
		importScript("printbutton.js");		
		importScript("styleswitcher.js");	
		importScript("ajax.js");			
		importScript("glossarypopups.js");		
		importScript("clear_form_inputs.js");
		
		UI.onload(function() 
		{	
			addPrintButton('Print this page. ');
			
			if (cssIsEnabled())
			{
				addStyleSwitcherButton();
				applyResize();
			}

			makeFauxLinks();		
			glossarypopup.init();	
			clearFormBox();
			if ( window.swap_image ) {
				swap_image();
			}			
		});
	}