/*
var myAnchors=document.all.tags("A"); 
function allblur()
{
	for(i=0;i<myAnchors.length;i++)myAnchors[i].onfocus=new Function("blur()");
}
allblur();
function bluring()
{
	if(event.srcElement&&(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG"))document.body.focus();
}
document.onfocusin=bluring;
*/
function imageOver(imgEl)
{
	imgEl.src=imgEl.src.replace(".gif", "_on.gif");
}
function imageOut(imgEl)
{
	imgEl.src = imgEl.src.replace("_on.gif", ".gif");
}
function OpenBr(theURL,winName,features)
{ 
	window.open(theURL,winName,features);
}
function flashLoad(url,w,h,id,bg,vars,win)
{
	win = "transparent";
	var flashStr=
	"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='allowScriptAccess' value='always' />"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='FlashVars' value='"+vars+"' />"+
	"<param name='wmode' value='"+win+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<param name='base' value='.'>"+
	"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";
	document.write(flashStr);
}
function xFamily(s)
{
	var h=null;
	switch(s.selectedIndex)
	{
	case 1:h="http://www.projectware.co.kr";break;
	case 2:h="http://www.pm1.kr/neoPLAN/";break;
	}
	if(h)window.open(h);
}  
window.onload=function()
{
	var s=document.cookie;
	if(s!="")
	{
		s=s.split(';');
		if(s.length>0)
		{
			var i,c;
			for(i=0;i<s.length;i++)
			{
				c=s[i].split('=');
				if(c.length>1 && (c[0]=='nm' || c[0]==' nm') && c[1]!="")
				{
					var o=document.getElementById("xL1");
					if(o==null)break;
					o.style.display='none';
					document.getElementById("xL0").style.display='';
					document.getElementById("xJ1").style.display='none';
					document.getElementById("xJ0").style.display='';
					document.getElementById("xL2").style.display='';
					document.getElementById("xNm").innerHTML=decodeURI(c[1]);
					break;
				}
			}
		}
	}
	if(typeof(xLoad)=="function")xLoad();
}
