<!--
var ns4 = (document.layers)? true:false;
var ie4 = (document.all)? true:false;	

function findObj(theObj, theDoc)
{
  var p, i, foundObj;
  
  if(!theDoc) theDoc = document;
  if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
  {
    theDoc = parent.frames[theObj.substring(p+1)].document;
    theObj = theObj.substring(0,p);
  }
  if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
  for (i=0; !foundObj && i < theDoc.forms.length; i++) 
    foundObj = theDoc.forms[i][theObj];
  for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++) 
    foundObj = findObj(theObj,theDoc.layers[i].document);
  if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
  
  return foundObj;
}

function showHideDiv(obj, mode)
{
	var myObj = findObj(obj);
	if (ns4) { myObj.display = mode; }
	else { myObj.style.display = mode; }
}

function showHideDiv2(obj)
{
	var myObj = findObj(obj);
	
	if (ns4)
	{
		if (myObj.display == 'inline') { myObj.display = 'none'; }
		else { myObj.display = 'inline'; }
	}
	else {
		if (myObj.style.display == 'inline') { myObj.style.display = 'none'; }
		else { myObj.style.display = 'inline'; }
	}
}

function showHideDiv3(obj)
{
	var myObj = findObj(obj);
	
	if (ns4)
	{
		if (myObj.display == 'inline') { myObj.display = 'none'; }
		else { myObj.display = 'inline'; }
	}
	else {
		if (myObj.style.display == 'inline') { myObj.style.display = 'none'; }
		else { myObj.style.display = 'inline'; }
	}
}

function showHideDiv4(obj)
{
	var myObj = findObj(obj);
	
	if (ns4)
	{
		if (myObj.display == 'inline') { myObj.display = 'none'; }
		else { myObj.display = 'inline'; }
	}
	else {
		if (myObj.style.display == 'inline') { myObj.style.display = 'none'; }
		else { myObj.style.display = 'inline'; }
	}
}

function chCourse()
{
	var myObj = findObj("courseDD");
	var divObj = findObj("editPass");
	var courseObj = findObj("courseID")
	
	courseObj.value = myObj.options.value
	
	if (myObj.options.value == 0)
	{
		if (ns4) { divObj.display = 'inline'; }
		else { divObj.style.display = 'inline'; }
	}
	else {
		if (ns4) { divObj.display = 'none'; }
		else { divObj.style.display = 'none'; }
	} 
}

function chScoreBoard()
{
	var myObj = findObj("scoreBoard");
	
	if (myObj.options.value == 0)
	{
		parent.mainFrame.location.href = 'admin_tResult_body2.aspx'; 
	}
	else if (myObj.options.value == 1)
	{
		parent.mainFrame.location.href = 'admin_tResult_6Best.aspx'; 
	} 
	else if (myObj.options.value == 2)
	{
		parent.mainFrame.location.href = 'admin_tResult_mostHcp.aspx'; 
	} 
}

function newsDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delNews.aspx?ID=' + id,'delete_win', winprops);
}

function EditTopic(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_EditTopic.aspx?ReplyID=' + id,'delete_win', winprops);
}

function jokesDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delJokes.aspx?ID=' + id,'delete_win', winprops);
}

function factsDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delFacts.aspx?ID=' + id,'delete_win', winprops);
}

function memberDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delMember.aspx?ID=' + id,'delete_win', winprops);
}

function DelBoard(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'
	window.open('admin_delMemberBoard.aspx?ID=' + id,'delete_win', winprops);
}

function guestDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delGuest.aspx?ID=' + id,'delete_win', winprops);
}

function tourDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delTour.aspx?ID=' + id,'delete_win', winprops);
}

function minDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delMin.aspx?ID=' + id,'delete_win', winprops);
}

function linkDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delLink.aspx?ID=' + id,'delete_win', winprops);
}

function comDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delCom.aspx?ID=' + id,'delete_win', winprops);
}

function forDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delFor.aspx?ID=' + id,'delete_win', winprops);
}

function picDel(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delPic.aspx?ID=' + id,'delete_win', winprops);
}

function picDelete(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delPic.aspx?ID=' + id,'delete_win', winprops);
}

function picDelete1(w, h, id, id1)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_delPic1.aspx?ID=' + id + '&ID1=' + id1,'delete_win', winprops);
}

function UpdateAct(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_updateact.aspx?ID=' + id,'delete_win', winprops);
}

function UpdateActPic(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'
	
	window.open('admin_updateactpic.aspx?ID=' + id,'delete_win', winprops);
}

function EditContent(w, h, id)
{
	

	window.open('admin_EditFront.aspx?ID=' + id,'delete_win');
}

function UpdateIna(w, h, id)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_updateina.aspx?ID=' + id,'delete_win', winprops);
}

function UpdateIna1(w, h, id, id1)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=yes'

	window.open('admin_updateactpic.aspx?ID=' + id + '&ID1=' + id1,'delete_win', winprops);
}

function openWin(w, h, watFile)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=no'

	window.open(watFile,'delete_win', winprops);
}

function openWin1(w, h, watFile)
{
	var winW = (ns4)? window.innerWidth-16 : document.body.offsetWidth-20;
	var winl = (winW - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+'resizable=no, menubar=yes, toolbar=no'

	window.open(watFile,'delete_win', winprops);
}

function cancelBtn_Click()
{
	window.close();
}


-->