jQuery(document).ready(function() {

	// TOGGLE sections
	$('#internet.toggler').click(function() { 
		$('#section-internet').slideToggle();
		return false;
	});

	$('#razvoj-softvera.toggler').click(function() { 
		$('#section-razvoj-softvera').slideToggle() 
		return false;
	});
	
	$('#software-development.toggler').click(function() { 
		$('#section-software-development').slideToggle() 
		return false;
	});
	
	$('#multimedia.toggler').click(function() { 
		$('#section-multimedia').slideToggle()
		return false;
	 });
	 
	// TOGGLE from other page
	function anchor() {
		var x = /.*#(.*)/.exec(location.href);
		if (x != null && x.length > 1)
			return x[1];
		else
			return null;
	}
	
	if (anchor()) $('#' + 'section-' + anchor()).slideToggle();
	 
});
