 /* AJAX 
    Author: GC Web Studio - Gustavo Campos me@guscampos.com
	original: javascript-array.com
	Small drop down menu.
  */

			navo = {  

				timeout:300,
				closetimer:0,
				ddmenuitem:0,
				
				 mopen:function(id)
				{	
					navo.mcancelclosetime();
					
					//rid current
					if(navo.ddmenuitem) {
						//navo.ddmenuitem.css('visibility','hidden');
						navo.ddmenuitem.fadeOut('fast');
					}
					try {
						navo.ddmenuitem = $j('#'+id);
						//navo.ddmenuitem.css('visibility','visible');
						navo.ddmenuitem.fadeIn('fast');
						//hide flash rotator
						if(navigator.userAgent.indexOf('Safari') != -1 && $j('#theRotator').length > 0) {
							$j('#theRotator').hide();
						}
					} catch(e) {
						alert(e.description);
					}
					
				
				},
				mclose:function ()
				{
					try {
						if(navo.ddmenuitem) {
							//navo.ddmenuitem.css('visibility','hidden');
							navo.ddmenuitem.fadeOut('fast');
						}
						//show flash rotator
						if(navigator.userAgent.indexOf('Safari') != -1 && $j('#theRotator').length > 0) {
							$j('#theRotator').show();
						}
					} catch(e) {
						alert(e);
					}
				},
				
				mclosetime: function()
				{
					navo.closetimer = setTimeout(navo.mclose, navo.timeout);
				},
				
				mcancelclosetime: function()
				{
					if(navo.closetimer)
					{
						clearTimeout(navo.closetimer);
						navo.closetimer = null;
					}
				}
				
				
			}
