function openWindow (url,name,width,height)
{
    var popupWin;
	var frame;	frame="toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,scrollbars=yes,history=no,top=5,left=5,width="+width+",height="+height;
	popupWin = window.open (url,name,frame);
	popupWin.focus();
}


function colle(val)
 {
		var nodes = document.getElementsByTagName("tr");
		var obj = document.getElementById("sym" + val);
		var res = null;

	for (i = 0; i < nodes.length; i++) 
		{
			res = nodes[i].getAttribute("myAttr");
		if ((res != null) && (res == val)) 
		    {
				if (nodes[i].style.display == "none")
					{
					nodes[i].style.display = "block";
					if (obj != null) obj.innerText = "[-]";
				     } 
					 else 
					{
					   nodes[i].style.display = "none";
					   if (obj != null) obj.innerText = "[+]";
				    }
              
			}
		}
	}

function copy(val)
 {

	 var range=document.all[val].createTextRange();
		 
		 if (range.text != '')
		 {
			 range.execCommand("copy");
			 alert("¤w½Æ»s¦Ü°Å¶KÃ¯");
		 }
}
