//	if (typeof jQuery !== 'undefined')$jq = jQuery.noConflict();
	

	function include(PATH, SCRIPT){
		var script = document.createElement('script');
		if (PATH == "")script.src = 'js/' + SCRIPT;
		else script.src = 'js/' + PATH + '/' + SCRIPT;
		script.type = 'text/javascript';
		var head = document.getElementsByTagName('head').item(0);
		head.appendChild(script);
	}

	
	include('', 'rotating-header.js');
	include('', 'lightbox.js');
	include('', 'dropdownmenu.js');
	
	$(function(){
		$('#nav a').hover(function(){
			var ELE = $(this);
/*			var settings = {
				tl: {radius: 5},
				tr: {radius: 5},
				bl: {radius: 0},
				br: {radius: 0}, 
				antiAlias: true
			};
				
			var ELE = $(this);
			curvyCorners(settings, ELE);*/
			curvyCorners.adjust(ELE, 'className', 'active');
			curvyCorners.redraw();
		});
	});
