// JavaScript Document

function MM_jumpMenu(targ,selObj,restore){ //v3.0

  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  
  if (restore) selObj.selectedIndex=0;
  
}

function show_sub (category,subcat) {
	
	for(i=1; i<=5; i++) {
			
		if(i == subcat) {
			if(document.getElementById('cat'+i).style.display == 'none') {
				document.getElementById('cat'+i).style.display = 'block';
			} else {
				document.getElementById('cat'+i).style.display = 'none';
			}
		} else {
			document.getElementById('cat'+i).style.display = 'none';
		}
		
	}
		
}

function openwin(page) {
	window.open(page, "profile", "width=300,height=350, scrollbars=yes");
}