/*
-----::: ABCnet.nl � 2011 :::-----
DATE: 15/12/2011
EDITED: 20/12/2011
DESCRIPTION: This is the JavaScript required to activelink Requires jQuery library 
*/
$(document).ready(function() {
						   // remove last border green topmenu
						   $(".nextmainbtns a:last").css("border","none");
						   
						   // hover social icons
						   $('.nextmaintxtarea01 a').css('opacity','0.6');
						   $('.nextmaintxtarea01 a').hover(
											function () {
												$(this).fadeTo('slow', 1.0);
												}, 
												function () {
													$(this).fadeTo('slow', 0.6);
													});
						   
						   // set active link
						   var path = location.pathname.substring(1);
						   if ( path )
						   $('.topmenu a[href$="' + path + '"]').attr('class', 'topmenu_selected');
						   $('.nextmainbtns a[href$="' + path + '"]').attr('class', 'nextmainbtns_selected');
});
