function tagFall(NUM) {
	var d = document.getElementById(NUM);
	d.style.color = "#C33";
}
function tagSummer(NUM) {
	var d = document.getElementById(NUM);
	d.style.color = "#690";
}
function tagSpring(NUM) {
	var d = document.getElementById(NUM);
	d.style.color = "#9C3";
}
function tagWinter(NUM) {
	var d = document.getElementById(NUM);
	d.style.color = "#C63";
}
function getIssue() {
	
	var month = document.newissue.month;
	var year = document.newissue.year;
	
	var i = month.selectedIndex;
	var x = month.options[i].value;
	
	var j = year.selectedIndex;
	var y = year.options[j].value;
	if (y == "2004" && x == "10") {
		window.top.location.href = '/mednews/i' + y + x + '_01.shtml';
	} else  {
		window.top.location.href = '/archive/i' + y + x + '_01.shtml';
	}
}
function tagIssue() {
	var name;
		
	x = location.href.lastIndexOf('/');
	
	if (x != -1) {
		name = location.href.substr(x+1);
	} else {
		name = location.href;
	}
	
	month=name.substr(5,2);
	year=name.substr(1,4);
	
	for (var i=0; i<document.newissue.month.options.length; i++) {
		
		if (document.newissue.month.options[i].value == month) {
			document.newissue.month.options[i].selected = 1;
			break;
		}
	
	}
	for (var i=0; i<document.newissue.year.options.length; i++) {
		
		if (document.newissue.year.options[i].value == year) {
			document.newissue.year.options[i].selected = 1;
			break;
		}
	
	}
	
}
