function loadNavigationMenus() {
			
	$('.menuitem').hover(function() {
		
		$('.submenu').hide()
		unwrap($('#dropdown'))
		
		div = document.createElement('div')
		div.id = 'dropdown'
		
		submenu = $(this).find('ul.submenu').wrap(div).show()
		$('#dropdown').show().animate({height: (submenu[0].clientHeight + 12) + 'px'})
		
	}, function() {
		
		$('.submenu').hide()
		unwrap($('#dropdown'))
	})
	
	$('.menuitemRight').hover(function() {
		
		$('.submenuRight').hide()
		unwrap($('#dropdownRight'))
		
		div = document.createElement('div')
		div.id = 'dropdownRight'
		
		submenu = $(this).find('ul.submenuRight').wrap(div).show()
		$('#dropdownRight').show().animate({height: (submenu[0].clientHeight + 12) + 'px'})
		
	}, function() {
		
		$('.submenuRight').hide()
		unwrap($('#dropdownRight'))
	})
		
}

function loadVideoNavigationMenus() {
			
	$('.vidmenuitemRight').hover(function() {
		
		$('.vidsubmenuRight').hide()
		unwrap($('#viddropdownRight'))
		
		div = document.createElement('div')
		div.id = 'viddropdownRight'
		
		submenu = $(this).find('ul.vidsubmenuRight').wrap(div).show()
		$('#viddropdownRight').show().animate({height: (submenu[0].clientHeight + 12) + 'px'})
		
	}, function() {
		
		$('.vidsubmenuRight').hide()
		unwrap($('#viddropdownRight'))
	})
	
}

function unwrap(e) {
	for(i = 0; i < e.length; i++) {
		$(e[i].parentNode).append(e[i].innerHTML)
		$(e[i]).remove()
	}
}