<!--
function openArticle(url)
{
	if(url=='')
		return;
	var option = "";
	window.open(url,'',option);
}

var isDOM = (document.getElementById ? true : false); 
var isIE4 = ((document.all && !isDOM) ? true : false);
var isNS4 = (document.layers ? true : false);
function getRef(id) 
{
	if (isDOM) return document.getElementById(id);
	if (isIE4) return document.all[id];
	if (isNS4) return document.layers[id];
}

function openNotice(url,winOption)
{
	if(url=='')
		return;
	window.open(url,'',winOption);
}

function openWin(url,left,top,width,height)
{
	if(url=='')
		return;
	var winOption = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+width+",height="+height+",left="+left+",top="+top;
	window.open(url,'',winOption);
	return;
}

function openWin(url,left,top,width,height,resizable)
{
	if(url=='')
		return;
	var winOption = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable="+resizable+",width="+width+",height="+height+",left="+left+",top="+top;
	window.open(url,'',winOption);
	return;
}

function DrawImage(ImgD){ 
	var image=new Image(); 
	image.src=ImgD.src; 
	if(image.width>0 && image.height>0){ 
		flag=true; 
		if(image.width>=540){
			ImgD.width=540; 
			ImgD.height=(image.height*540)/image.width; 
		}
		//ImgD.alt=image.width+"x"+image.height; 
	} 
}

InitMenu();

function InitMenu()
{
	//alert("init...");
    var str = location.href;
    str = str.substr(0,str.lastIndexOf("/"));
    str = str.substr(0,str.lastIndexOf("/")); 
    str = str.substr(str.lastIndexOf("/")+1);
   //alert(str); 
    var targetId = str + "details";
    var targetElement = document.all(targetId);
    if (targetElement != null)
    {
        targetElement.style.display = "";
    }
	else
	{
	//	alert("is null");
	}
}

function ShowMenu(obj)
{
    //alert(obj.id);
    var targetId,  targetElement;
    if (obj.className == "Outline")
     {
        targetId = obj.id + "details";
        targetElement = document.all(targetId);
        if (targetElement.style.display == "none") 
        {
            targetElement.style.display = "";
         } 
         else 
         {
            targetElement.style.display = "none";
        }
    }
}  


//-->