// JavaScript Document

 $(document).ready(function(){
					
			$('.expcol').click(function() {
																	   							
				if ($(this).attr('title') == 'col_closed') {
								
					$(this).removeClass('col_closed');
					$(this).addClass('col_open');
			
					$(this).attr({'title': 'col_open'});

					var linkParent = this.parentNode;
					var theList = linkParent.childNodes[2];
				
					if (theList.className != 'port_visible') {
						
						var masterlist = document.getElementsByTagName('ul');
			
						for (var i = 0; i < masterlist.length; i++) {
			
							var current = masterlist[i];
					
						}	
						
						theList.className = 'port_visible';
					}	
					
				}
				
				else if ($(this).attr('title') == 'col_open')
					
					{
						
						$(this).removeClass('col_open');
						$(this).addClass('col_closed');
						$(this).attr({'title': 'col_closed'});
										
						var linkParent = this.parentNode;
						var theList = linkParent.childNodes[2];
						
						$(theList).removeClass('port_visible');
					}
			});
	
		});
