jQuery(window).load(function() {

	// Select external links
	var externalLink = jQuery('#toplevel_page_upeo-setup').find('a[href*="upeothemes.com"]');

	// Open external links in new tab
	externalLink.attr('target', '_blank');

	// Select upgrade link
	var upgradeLink   = jQuery('#toplevel_page_upeo-setup').find('a[href*="upeothemes.com"]');
	var upgradeParent = upgradeLink.closest('li');

	// Highlight upgrade link
	upgradeParent.addClass('upeo-sidebar-upgrade-pro');
});
