// Add parent class to anchors that contain sub navigation
$(document).ready(function() {
	$("#topnavigation ul ul li:has(ul) > a").each(function(){
	    $(this).addClass("parent");
	});
	$("#topnavigation > ul > li > a").each(function(){
	    $(this).addClass("parent");
	});
});