// Artiko Javascript
//=============================================================================

//jQuery section
//--------------------------------------------------------------------------

jQuery().ready(function(){

	// Accordion menus
	if ($('#accordion01').length != 0) // If accordion01 is present
	{
		jQuery('#accordion01').accordion({
			header: "h3",
			autoHeight: false,
			active: false,
			alwaysOpen: false
		});		
	}

	// Accordion menus
	if ($('#accordion02').length != 0) // If accordion02 is present
	{
		jQuery('#accordion02').accordion({
			header: "h3",
			autoHeight: false,
			active: false,
			alwaysOpen: false
		});		
	}
	
 	// Email obfuscation
 	if ($('.email').length != 0) // If an email element is present
 	{
 	
		// No Spam (1.3) by Mike Branski (www.leftrightdesigns.com) mikebranski@gmail.com	
		$('a.email').nospam({
			replaceText: true,    // BOOLEAN, optional default false. If set to true, replaces matched elements' text with the e-mail address
			filterLevel: 'normal' 		// STRING, optional accepts 'low' or 'normal', default 'normal'.
														// low: email/domain/tld
														// normal: dlt/niamod/liame (email/domain/tld reversed)
		});
		
	}
   
    
});

