//********************
//image email function
//********************
function create_mail(eNaam, eDomain, eTLD, eLabel) {
	var wMail = "";
	if (eLabel == "show") {
		eLabel = eNaam + '&#64;' + eDomain + '.' + eTLD;
	}
	wMail += '<a href="' + 'ma' + 'il' + 'to:' + eNaam;
	wMail += '&#64;' + eDomain + '.' + eTLD;
	wMail += '">' + eLabel + '<' + '/a>';
	document.write(wMail);
}

jQuery(document).ready(function () {
	jqMainNavLink = jQuery('.navItem');
	jqMainNavLink.hover(function () {
		jQuery(this).removeClass('navItem');
		jQuery(this).addClass('navItemHover');
	}, function () {
		jQuery(this).removeClass('navItemHover');
		jQuery(this).addClass('navItem');
	});

	jqlink = jQuery('.page_item').addClass('navitem');
	jqlink.hover(function () {
		jQuery(this).removeClass('navItem');
		jQuery(this).addClass('navItemHover');
	}, function () {
		jQuery(this).removeClass('navItemHover');
		jQuery(this).addClass('navItem');
	});

	//********************
	//image hover states
	//********************
	jQuery('img.imgFade').hover(function () {
		jQuery(this).stop().animate({ opacity: 0.6 }, 200);
	}, function () {
		jQuery(this).stop().animate({ opacity: 1 }, 300);
	});
	jQuery('.subbanner').hover(function () {
		jQuery(this).stop().animate({ opacity: 0.6 }, 200);
		jQuery('.smallBannerBox', this).stop().animate({ opacity: 0.6 }, 200);
	}, function () {
		jQuery(this).stop().animate({ opacity: 1 }, 300);
		jQuery('.smallBannerBox', this).stop().animate({ opacity: 1 }, 300);
	});
})
