//Pdown Menu Jump
function goMenu(Val,Sel)
{
	Sel.value = '';
	if (Val) location=Val;
	
}
function over(str)
{
  aa=eval("line"+str);
 aa.style.background='#ffffff'
}
function out(str)
{
  aa=eval("line"+ str);
  aa.style.background='#FEFFF8'
}

function overtd(str)
{
  bb=eval("linetd"+str);
 bb.style.background='#F8F8F8'
}
function outtd(str)
{
  bb=eval("linetd"+ str);
  bb.style.background='#F1F2F2'
}

/* For Navi Menu*/
for(c=1;c<=2;c++){
eval('n'+c+'_on = new Image()');
eval('n'+c+'_off = new Image()');
eval('n'+c+'_on.src = \"/images/main/navi0'+c+'_o.gif\"');
eval('n'+c+'_off.src = \"/images/main/navi0'+c+'.gif\"');
}
function changen(num,tog){
eval("document.n"+num+".src=n"+num+"_"+tog+".src");
}		

/* For Sub Logout */
for(d=1;d<=3;d++){
eval('o'+d+'_on = new Image()');
eval('o'+d+'_off = new Image()');
eval('o'+d+'_on.src = \"/images/common/login0'+d+'_o.gif\"');
eval('o'+d+'_off.src = \"/images/common/login0'+d+'.gif\"');
}
function changeo(num,tog){
eval("document.o"+num+".src=o"+num+"_"+tog+".src");
}

/* topbutton */
document.write("<div id='top_b' style='position:absolute;  visibility:show; left:846px;'>				");	
document.write("		<a href='#top'>																	");
document.write("	<img src='/images/common/btn_top.gif' width='19' height='27' border='0'></a>								");
document.write("</div>																					");

function top_b()
{
	document.all.top_b.style.pixelTop = document.body.clientHeight + document.body.scrollTop - 68;
}

function right_top_controll()
{
	document.all.top_b.style.pixelTop = document.body.clientHeight - 173;
}

function top_init()
{
	document.all.top_b.style.pixelTop = document.body.clientHeight - 173;
}

setInterval("top_b()",100);
onresize = right_top_controll;