// JavaScript Document


var prevID;
var prevTag;
var Tag;


function putMark(whichID)
{
	//alert(whichID);
	if (prevID)
	{			
		prevTag = document.getElementById(prevID);
		prevTag.setAttribute("border-style","none");
		prevTag.setAttribute("border","0");
																
	}
	Tag = document.getElementById(whichID);
	Tag.setAttribute("border-style","solid");
	Tag.setAttribute("border","1");

	
	// save curr question num in cookie
	setCookie(whichID);	
	
	prevID = whichID;
	
}

function setCookie(curr) {
	document.cookie = curr;
}

function clearCookie() {
	document.cookie = "";
}

$(document).ready(function(){
$('#footer').append("All content &copy; <strong>The Musical Intervals Tutor</strong>, all rights reserved&nbsp;|&nbsp;Website design &amp; development by Madeline Salocks 2000-present<br /><span style='vertical-align:3px;'>contact: </span><img src='images/contact.gif' style='padding-top:4px;' alt='' /><br />");
});


