// Fix background image flickering in IE
try {
  document.execCommand('BackgroundImageCache', false, true);
} catch(e) { }

/* begin - Navigation Primary */
var NavigationPrimary = {
  init: function() {
		var c = this;
		var n = $('#NavigationPrimary');

		// Use bgiframe to fix dropdowns over selects if it's available.
		$.fn.bgiframe && $('li', n).bgiframe();

		// Mark parent elements so that we can style them with CSS
		$('> li', n).each(function() { c.markParents(this); });

  	// Use the hoverintent plugin if it's available
  	if ($.fn.hoverIntent)
    {
  	  $('li', n).hoverIntent( {
  	    sensitivity: 1,
  	    over: this.mouseenter,
  	    out: this.mouseleave,
  	    timeout: 100
  	  });
    }
  	else
  	  $('li', n).hover(this.mouseenter, this.mouseleave);
  },
  markParents: function(li) {
    var c = this;
    if ($('> ul', li).size() > 0)
	    $(li).addClass('parent').find('> a').addClass('parent').end().find('> ul li').each( function() { c.markParents(this); });
	},
	mouseenter: function() { $(this).addClass('over').children('a').addClass('over'); },
	mouseleave: function() { $(this).removeClass('over').children('a').removeClass('over'); }

};

// NOTE! something is overriding window['$'], so jQuery isn't mapping properly...
jQuery(function() { NavigationPrimary.init(); });
/* end - Primary Navigation */


/* email addresses */
function empartners() {
  document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,112,97,114,116,110,101,114,115,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,112,97,114,116,110,101,114,115,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function empartneradmin() {
  document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,112,97,114,116,110,101,114,97,100,109,105,110,64,101,120,116,114,97,104,111,112,46,99,111,109,63,115,117,98,106,101,99,116,61,80,97,114,116,110,101,114,32,65,100,109,105,110,32,114,101,113,117,101,115,116,34,62,112,97,114,116,110,101,114,97,100,109,105,110,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function emjobs() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,106,111,98,115,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,106,111,98,115,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function emsales() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,115,97,108,101,115,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,115,97,108,101,115,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function emsupport() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,115,117,112,112,111,114,116,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,115,117,112,112,111,114,116,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function eminfo() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,105,110,102,111,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,105,110,102,111,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function emrob() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,112,114,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,112,114,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function emfreetrial() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,115,97,108,101,115,64,101,120,116,114,97,104,111,112,46,99,111,109,63,83,117,98,106,101,99,116,61,39,70,82,69,69,32,84,114,105,97,108,32,39,34,62,82,101,113,117,101,115,116,32,97,32,60,101,109,62,70,114,101,101,32,84,114,105,97,108,60,47,101,109,62,60,47,97,62))
}

function emremove() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,114,101,109,111,118,101,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,114,101,109,111,118,101,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62))
}

function empr() {
document.write(String.fromCharCode(60,97,32,104,114,101,102,61,34,109,97,105,108,116,111,58,112,114,64,101,120,116,114,97,104,111,112,46,99,111,109,34,62,112,114,64,101,120,116,114,97,104,111,112,46,99,111,109,60,47,97,62));
}

