function smartRollover() {
	if(document.getElementsByTagName) {
		var images = document.getElementsByTagName("img");

		for(var i=0; i < images.length; i++) {
			if(images[i].getAttribute("src").match("_off."))
			{
				images[i].onmouseover = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_off.", "_on."));
				}
				images[i].onmouseout = function() {
					this.setAttribute("src", this.getAttribute("src").replace("_on.", "_off."));
				}
			}
		}
	}
}

if(window.addEventListener) {
	window.addEventListener("load", smartRollover, false);
}
else if(window.attachEvent) {
	window.attachEvent("onload", smartRollover);
}


var addCnt = 0;

function AddDoctor(){
	var addName;
	var n = document.form1.slct_doc1.selectedIndex;
   addName = document.form1.slct_doc1.options[n].text;

	document.form1.slct_doc2.options[addCnt].text=addName;
	addCnt++;
}

function DelDoctor(){
	var n;
	for (n = 0; n < 10; n++){
    document.form1.slct_doc2.options[n].text="";
	}
	document.form1.slct_doc2.options[0].text="　　　　　　　　";
	addCnt = 0;
}

