// JavaScript Document

/* Drop Menu javascript set-up */
$(document).ready(function() {
	// when the DOM is ready, convert the feed anchors into feed content
	$('#dropMenu').hide().append('<ul id="dropMenuList"><li id="current"><a href="http://www.controlco.com/automation.html"><span class="post_name">Automation</span></a></li><li><a href="http://www.controlco.com/lighting.html"><span class="post_name">Lighting</span></a></li><li><a href="http://www.controlco.com/access-video.html"><span class="post_name">Access Control & Digital Video</span></a></li><li><a href="http://www.controlco.com/software-it.html"><span class="post_name">IT/Software Solutions</span></a></li><li><a href="http://www.controlco.com/energy.html"><span class="post_name">Energy</span></a></li></ul>').css({'visibility' : 'visible'});
	$('a#products').click(function() {
			$('#dropMenu').slideToggle(400);//css({'visibility' : 'visible'});
	});
});