function subproject(sub) {


var project;
for (var a = 1; a <= 30; a++) 
	{
		project = document.getElementById("pr" + a);  
		
		if (project && project.style) { 			
			project.style.opacity = "0.2";																									
		}
		
		if (project && project.filters) {
		project.style.filter = "alpha(opacity=20)";
		}
	    
		
		
	}
	
var items = subproject.arguments.length;
var itemid;
var item;
var header;

for (i=1;i<items; i++){
				
		itemid = subproject.arguments[i];
		item = document.getElementById("pr" + itemid);  
		header = document.getElementById("hd" + itemid);  
			
		if (item && item.style) { 			
			item.style.opacity = "1";					
		}		
		if (item && item.filters) {			
			item.style.filter = "alpha(opacity=100)";				
		}					
}	

var link;
for (var x = 1; x <= 12; x++)
	{
		link = document.getElementById("sub" + x);   
	
		if (link && link.style) { 
			link.style.fontWeight = "100";   
			link.style.color = "#666";
			link.style.textIndent = "0px";
		}
}
link = document.getElementById(sub);   
link.style.fontWeight = "bold";
link.style.color = "#000";
link.style.textIndent = "-300px";

}

