function openWinScroll(winName, loc, width, height) {					// Opens a new window
	var newWindow;
	newWindow = window.open(loc, winName, "location=no,status=yes,scrollbars=yes,toolbar=no,menubar=no,directories=no,resizable=yes,width="+width+",height="+height);		
	newWindow.focus();	
}

function dropdown(el, container)
{   
    if ($$('.' + container + ' .content')[0].empty() || $(el).hasClassName('active'))
	   return false;
	
    Effect.toggle(el, 'appear', {
	    duration: 0, 
	    afterFinish: function(){$(container).removeClassName('active');}
    });		
}