﻿/*=======================================================================
* 작 성자 : 원영민
* 최초작성일 : 2006. 06. 15
* 최종수정자 : 
* 최종수정일 : 
* 함수 설명   : 전역변수모음
========================================================================*/
var HomeLink = "http://www.sundosoft.com/";
var IrLink = "http://Company.sundosoft.com/";
var ProductLink = "http://product.sundosoft.com/";
var testProductLink = "http://testproduct.sundosoft.com/";
var SolutionLink = "http://solution.sundosoft.com/";
var SupportLink = "http://support.sundosoft.com/";
var EduLink = "http://edu.sundosoft.com/";
var EventLink = "http://event.sundosoft.com/"
var EventLink1 = EventLink + "Ws/2007Info_invite.aspx?type=Ws&subtype=Ws_Sub1";

var LibLink = "http://library.sundosoft.com/"

var AdminLink = "http://admin.sundosoft.com/";
var MemberLink = "http://member.sundosoft.com/"; 
var LibraryLink = "http://library.sundosoft.com/";
var PrLink = "http://pr.sundosoft.com/";
var HelpLink = "http://help.sundosoft.com/";

/*=======================================================================
플래쉬 테스트  시작 
========================================================================*/

function ShowFlash(url1,url2,type)
{
	if ( type == "HomeMainSiteNavi" ) // 홈페이지 메인의 사이트 네비게이션
	{
		w = 382;
		h = 24;
	}
	if ( type == "topci" )			// Top UserControl 의 CI
	{
		w = 195;
		h = 123;
	}
	else if ( type == "topnavi" )	// Top UserControl 의 Navigation
	{
		w = 653;
		h = 76;
	}
	else if ( type == "main" )		// 각 사이트의 Main 부분의 중앙
	{
		w = 649;
		h = 146;
	}
	else if ( type == "mains" )		// 각 페이지의 중앙
	{
		w = 649;
		h = 98;
	}
	else if ( type == "lside" )		// Lside UserControl
	{
		w = 175;
		h = 71;
	}
	else if ( type == "rside" )		// Rside UserControl
	{
		w = 77;
		h = 119;
	}
	else if ( type == "eduprocess" ) // Edu 페이지
	{
		w = 573;
		h = 114;
	}
	else if ( type == "homemain" ) // 홈페이지 메인
	{
		w = 300;
		h = 470;
	}
	else if ( type == "onlinepr" ) // 홈페이지 메인
	{
		w = 379;
		h = 94;
	}
	else if ( type == "incruit" ) // 홈페이지 메인
	{
		w = 109;
		h = 198;
	}
	else if ( type == "familysite" ) // 홈페이지 메인
	{
		w = 382;
		h = 24;
	}
	else if ( type == "location" ) // 위치정보
	{
		w = 581;
		h = 530;
	}
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width=' + w + ' height=' + h + ' VIEWASTEXT>');
	document.write('<param name="movie" value="' + url1 + '">');
	document.write('<param name="quality" value="high">');
	document.write('<param name=allowScriptAccess value=always />');
	document.write('<embed src="' + url2 + '" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width=' + w + ' height=' + h + ' ></embed></object>');
}




/////////////////////////////////////////////////////////////////////////////////

//<!--top util-->
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

/*=======================================================================
* 작 성자 : 원영민
* 최초작성일 : 2006. 06. 15
* 최종수정자 : 2006.08.23일 //  은정수정 으로 수정하였습니다.
* 최종수정일 : 
* 함수 설명   : 상단의 카테고리 메뉴(플래시) 링크 모음
========================================================================*/
function sendflash(type)
{
	switch(type)
	{
		case "Home" : 
			window.top.location.href = HomeLink;
			break;
	
		/* ///////////////////////////////////////////
		//	회사소개
		////////////////////////////////////////////*/
		case "Ir" : 
			window.top.location.href = IrLink;
			break;
			
		case "Ir01" : 
			location.href = IrLink + "Sundo/Int.aspx?type=Sundo&subtype=Sundo_Sub1";
			break;
			
		case "Ir02" : 
			location.href = IrLink + "Ceo/Say.aspx?type=Ceo&subtype=Ceo_Sub1";
			break;
			
		case "Ir03" : 
			location.href = IrLink + "Customer/Gov.aspx?type=Customer&subtype=Customer_Sub1";
			break;
			
		case "Ir04" : 
			location.href = IrLink + "Ir/Sto.aspx?type=Ir&subtype=Ir_Sub3";
			break;
			
		case "Ir05" : 
			location.href = IrLink + "Cont/Lent.aspx?type=Cont&subtype=Cont_Sub2";
			break;
			
		case "Ir06" : 
			location.href = IrLink + "Emp/talent.aspx?type=Emp&subtype=Emp_Sub1";
			break;
			
		/* ///////////////////////////////////////////
		//	제품소개
		////////////////////////////////////////////*/
		case "Product" : 
			window.top.location.href = ProductLink;
			break;
			
		case "Product01" : 
			location.href = ProductLink + "NEsri/Des_info.aspx?type=Desktop&subtype=Desktop_Sub1";
			break;
			
		case "Product04" : 
			location.href = ProductLink + "NTrim/Gps_ProXRT.aspx?type=Trim1&subtype=Trim1_Sub1";
			break;
			
		case "Product05" : 
			location.href = ProductLink + "NSundo/3DViz.aspx?type=Sundo1&subtype=Sundo1_Sub1";
			break;
			
		case "Product06" : 
			location.href = ProductLink + "Nother/other_envi.aspx";
			break;

		/* ///////////////////////////////////////////
		//	솔루션
		////////////////////////////////////////////*/
		case "Solution" : 
			window.top.location.href = SolutionLink;
			break;
			
		case "Solution01" : 
			location.href = SolutionLink + "gov/gov_gis.aspx?type=gov&subtype=gov_sub1";
			break;
			
		case "Solution02" : 
			location.href = SolutionLink + "fac/gas_gis.aspx?type=fac&subtype=gas_sub1";
			break;
			
		case "Solution03" : 
			location.href = SolutionLink + "def/def_gis.aspx?type=def&subtype=def_sub1";
			break;
			
		case "Solution04" : 
			location.href = SolutionLink + "tra/tra_gis.aspx?type=tra&subtype=tra_sub1";
			break;
			
		case "Solution05" : 
			location.href = SolutionLink + "env/agr_gis.aspx?type=env&subtype=agr_sub1";
			break;
			
		case "Solution06" : 
			location.href = SolutionLink + "biz/bank_gis.aspx?type=biz&subtype=bank_sub1";
			break;
			
		case "Solution07" : 
			location.href = SolutionLink + "Inter/map_gis.aspx?type=Inter&subtype=map_sub1";
			break;
			
		case "Solution08" : 
			location.href = SolutionLink + "heal/heal_gis.aspx?type=heal&subtype=heal_sub1";
			break;
			
		case "Solution09" : 
			location.href = SolutionLink + "mea/mea_gis.aspx?type=mea&subtype=mea_sub1";
			break;
			
		case "Solution10" : 
			location.href = SolutionLink + "com/lbs_gis.aspx?type=com&subtype=lbs_sub1";
			break;
			
		/* ///////////////////////////////////////////
		//	고객지원
		////////////////////////////////////////////*/
		case "Support" : 
			window.top.location.href = SupportLink;
			break;
			
		case "Support01" : 
			location.href = SupportLink + "Int/Esri_Info.aspx?type=Int&subtype=Int_Sub1";
			break;
			
		case "Support02" : 
			location.href = SupportLink + "Tech/Tech.aspx?type=Tech&subtype=Tech_Sub1";
			break;
			
		case "Support03" : 
			location.href = SupportLink + "MainInfo/Main.aspx?type=MainInfo&subtype=MainInfo_Sub1";
			break;
			
		case "Support04" : 
			location.href = SupportLink + "Lib/Kor.aspx?type=Lib&subtype=Lib_Sub1";
			break;
			
		case "Support05" : 
			location.href = SupportLink + "Part/Real.aspx?type=Part&subtype=Part_Sub1";
			break;
			
		/* ///////////////////////////////////////////
		//	교육센터
		////////////////////////////////////////////*/
		case "Edu" : 
			window.top.location.href = EduLink;
			break;
			
		case "Edu01" : 
			location.href = EduLink + "Int/Vision.aspx?type=Int&subtype=Int_Sub1";
			break;
			
		case "Edu02" : 
			location.href = EduLink + "Info/Book.aspx?type=Info&subtype=Info_Sub1";
			break;
			
		case "Edu03" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "Edu04" : 
			location.href = EduLink + "Apply/Plan_This.aspx?type=App&subtype=App_Sub1";
			break;
			
		case "Edu05" : 
			location.href = EduLink + "Center/GISCommon.aspx?type=Center&subtype=Center_Sub1";
			break;
			
		case "Edu06" : 
			location.href = EduLink + "Pds/Lib.aspx?type=Pds&subtype=Pds_Sub1";
			break;
		
		/* ///////////////////////////////////////////
		//	이벤트
		////////////////////////////////////////////*/
		case "Event" : 
			window.top.location.href = EventLink;
			break;
			
		case "Event01" : 
			location.href = EventLink + "Ws/2010Info_intro.aspx?type=Ws&subtype=Ws_Sub1";
			break;
			
		case "Event02" : 
			location.href = EventLink + "Uc/Guidance.aspx?type=Uc&subtype=Uc_Sub5";
			break;
			
		case "Event03" : 
			location.href = EventLink + "Semi/nt_notice.aspx?type=Semi&subtype=Semi_Sub1";
			break;
			
		case "Event04" : 
			location.href = EventLink + "Etc/Info.aspx?type=Etc&subtype=Etc_Sub1";
			break;
			
		case "Event05" : 
			location.href = EventLink + "Cal/Cal.aspx?type=Cal&subtype=Cal_Sub1";
			break;
			
		/* ///////////////////////////////////////////
		//	GIS Library
		////////////////////////////////////////////*/
		case "Library" : 
			window.top.location.href = LibraryLink;
			break;
			
		/* ///////////////////////////////////////////
		//	온라인 홍보센터
		////////////////////////////////////////////*/
		case "Pr" : 
			window.top.location.href = PrLink;
			//window.open(PrLink, "", "toolbar=0,location=0,directories=0,status=no,menubar=0,scrollbars=no,resizable=0,copyhistory=0,width=742 ,height=602");
			break;
			
		/* ///////////////////////////////////////////
		//	메인 페이지 사업분야
		////////////////////////////////////////////*/
		case "main1a" : 
			location.href = IrLink +  "Sundo/Biz.aspx?type=Sundo&subtype=Sundo_Sub3&tab=biz1";
			break;
			
		case "main1b" : 
			location.href = IrLink +  "Sundo/Biz.aspx?type=Sundo&subtype=Sundo_Sub3&tab=biz2";
			break;
			
		case "main1c" : 
		case "main1d" : 
			location.href = IrLink +  "Sundo/Biz.aspx?type=Sundo&subtype=Sundo_Sub3&tab=biz3";
			break;
			
		/* ///////////////////////////////////////////
		//	메인 오른쪽 (잠시 사용보류) - 플래시안에 주소를 넣었음
		////////////////////////////////////////////*/
		case "main2a" : 
			alert("인재채용");
			break;
			
		case "main2b" : 
			alert("GIS Workshop");
			break;
			
		case "main2c" : 
			alert("선도 ArcNews");
			break;
			
		/* ///////////////////////////////////////////
		//	패밀리 사이트
		////////////////////////////////////////////*/
		case "main3a" : 
			window.open("http://www.esri.com/");
			break;
			
		case "main3b" : 
			window.open("http://rs.sundosoft.com");
			break;
		//  은정수정
		case "main3c" : 
			window.open("http://www.insightful.com");
			break;
			
		case "main3d" : 
			window.open("http://www.trimble.com/index.aspx");
			break;
		//	
		case "main3e" : 
			window.open("http://www.wooricy.com");
			break;
			
		/* ///////////////////////////////////////////
		//	교육센터 네비게이션 교육과정 소개 
		////////////////////////////////////////////*/
		case "lp01" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp01a" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp01b" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp01c" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp02" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp03" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp04" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
		case "lp05" : 
			location.href = EduLink + "Cour/Learn.aspx?type=Cour&subtype=Cour_Sub1";
			break;
			
			
/*		case "lp01" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5283";
			break;
			
		case "lp01a" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5301";
			break;
			
		case "lp01b" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5307";
			break;
			
		case "lp01c" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5284";
			break;
			
		case "lp02" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5288";
			break;
			
		case "lp03" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5292";
			break;
			
		case "lp04" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5295";
			break;
			
		case "lp05" : 
			location.href = EduLink + "Cour/Learn_Conview.aspx?type=Cour&subtype=Cour_Sub1&itemid=5308";
			break;
			*/
	}
}

/*=======================================================================
* 작 성자 : 원종혁
* 최초작성일 : 2006. 07. 07
* 최종수정자 : 
* 최종수정일 : 
* 함수 설명   : 각 페이지 하단부분의 이메일 무단 수집거부 팝업
========================================================================*/
function PopupMail()
{
	window.open(MemberLink+"Mail/MailPop.htm", 'MailPop', 'toolbar=0,location=0,directories=0,status=no,menubar=0,scrollbars=no,resizable=0,copyhistory=0,width=420 ,height=210');
}


/*=======================================================================
* 작 성자 : 원영민
* 최초작성일 : 2006. 06. 21
* 최종수정자 : 
* 최종수정일 : 
* 함수 설명   : 상단의 카테고리를 제외한  메뉴 링크 모음
========================================================================*/
function sendmenu(type)
{
	switch(type)
	{
		/* ///////////////////////////////////////////
		//	관리자
		////////////////////////////////////////////*/
		case "Admin" : 
			window.top.location.href = EventLink;
			break;
			
		case "search" : 
			window.open();
			break;
			
		case "update" : 
			window.open(HelpLink + "?subtype=update", "UPDATE", "toolbar=0, location=0, directories=0, status=no, menubar=0, scrollbars=no, resizable=0, copyhistory=0, width=742, height=602");
			break;
			
		case "faq" : 
			window.open(HelpLink + "?subtype=faq", "FAQ", "toolbar=0, location=0, directories=0, status=no, menubar=0, scrollbars=no, resizable=0, copyhistory=0, width=742, height=602");
			break;
			
		case "qna" : 
			window.open(HelpLink + "?subtype=qna", "QA", "toolbar=0, location=0, directories=0, status=no, menubar=0, scrollbars=no, resizable=0, copyhistory=0, width=742, height=602");
			break;
	}
}

/*=======================================================================
* 작 성자 : 원영민
* 최초작성일 : 2006. 06. 21
* 최종수정자 : 
* 최종수정일 : 
* 함수 설명   : 프린트 관련 함수 모음
========================================================================*/
var strDivExcludedRegion; // 인쇄제외영역이름을 담을 변수 
/************************************************************************
함수명  : PrintRegion
작성목적 : 인쇄영역으로 설정된 Division만 인쇄함.
  ex) 
  Parameter :
  Return :
작 성 자 : 김문석
최초작성일 : 2004.09.23
최종작성일 :
수정내역 :
*************************************************************************/
function PrintRegion(excludedRegionName)
{
	if (document.all && window.print) 
	{  
		strDivExcludedRegion = excludedRegionName;
		window.onbeforeprint = HideDivs;
		window.onafterprint = ShowDivs;
		window.print();
	} 
}

/************************************************************************
함수명  : HideDivs
작성목적 : Division을 않보이게함.
  ex) 
  Parameter :
  Return :
작 성 자 : 김문석
최초작성일 : 2004.09.23
최종작성일 :
수정내역 :
*************************************************************************/
function HideDivs ()
{
	if (document.all) 
	{
		var objDivs = document.all.tags('DIV');

		for (var i = 0; i < objDivs.length; i++)
		{
			if (objDivs[i].name == strDivExcludedRegion)
			{  
				objDivs[i].style.display = 'none';
			}
		}
	} 
}

/************************************************************************
함수명  : ShowDivs
작성목적 : Division을 보이게함.
  ex) 
  Parameter :
  Return :
작 성 자 : 김문석
최초작성일 : 2004.09.23
최종작성일 :
수정내역 :
*************************************************************************/
function ShowDivs () 
{
	var objDivs = document.all.tags('DIV');
	
	for (var i = 0; i < objDivs.length; i++)
	{
		if (objDivs[i].name == strDivExcludedRegion)
			objDivs[i].style.display = '';
	}
}

/************************************************************************
함수명  : LoginMessage
작성목적 : 로그인을 하지 않았을 경우 나타나는 메시지
  ex) 
  Parameter :
  Return :
작 성 자 : 원영민
최초작성일 : 2006. 07. 31
최종작성일 :
수정내역 :
*************************************************************************/
function LoginMessage () 
{
	var aCookie = document.cookie.split("&");
	var userName = "";
	var userID = "";
	var islogin = false;
	
	if(aCookie.length <= 1)
	{
		islogin = false;
	}
	else
	{
		userName = aCookie[0].split("=")[2];
		userID = aCookie[1].split("=")[1];
	}

	if(userName != "" && userID != "")
	{
		islogin = true;
	}
	else
	{
		islogin = false;
	}
	
	if(!islogin)
	{
		if ( confirm("로그인이 필요합니다.\n로그인 화면으로 이동하시겠습니까?"))
		{
			location.href = MemberLink + "mem/log.aspx";
		}
	}
	
	return islogin;
}

/************************************************************************
함수명  : FileDownload
작성목적 : 파일 다운로드 스크립트
  ex) 
  Parameter :
  Return :
작 성 자 : 원영민
최초작성일 : 2006. 08. 01
최종작성일 :
수정내역 :
*************************************************************************/
function FileDownload (url) 
{
	document.frames["filedown"].location.href  = HomeLink + "Download.aspx?url=" + escape(url);
}

/************************************************************************
함수명  : DeleteItem
작성목적 : 항목 삭제
  ex) 
  Parameter :
  Return :
작 성 자 : 원영민
최초작성일 : 2006. 08. 07
최종작성일 :
수정내역 :
*************************************************************************/
function DeleteItem (itemid, returnurl, sub) 
{
	if(sub == null) sub = "";
	
	if(confirm("항목을 삭제하시겠습니까?"))
	{
		document.frames["filedown"].location.href  = HomeLink + "Download.aspx?itemid=" + itemid + "&returnurl=" + escape(returnurl) + "&sub=" + sub;
	}
}

/************************************************************************
함수명  : SubSearch
작성목적 : 항목 검색
  ex) 
  Parameter :
  Return :
작 성 자 : 원영민
최초작성일 : 2006. 08. 07
최종작성일 :
수정내역 :
*************************************************************************/
function SubSearch()
{
	if(document.all["txtSearchValue"].value == "")
	{
		document.all["txtSearchValue"].select();
		alert("검색어를 입력해 주세요");
		
		return;
	}
	else
	{
		if(document.all["hdSearchType"] != null)
			document.all["hdSearchType"].value = document.all["selSearch"].value;

		document.all["hdSearchValue"].value = document.all["txtSearchValue"].value;
	}
		
	document.Form1.submit();		
}

/************************************************************************
함수명  : onKeyDown_SubSearch
작성목적 : 항목 검색 테스트 박스에서 엔터키 처리
  ex) 
  Parameter :
  Return :
작 성 자 : 원영민
최초작성일 : 2006. 08. 07
최종작성일 :
수정내역 :
*************************************************************************/
function onKeyDown_SubSearch()
{
	if(event.keyCode == 13)
	{
		SubSearch();
		
		event.keyCode = 0;
		event.cancelBubble = true;
		event.returnValue = false;
	}	
}

/*=======================================================================
* 작 성자 : 원영민
* 최초작성일 : 2006. 07. 10
* 최종수정자 : 
* 최종수정일 : 
* 함수 설명   : 파일 삭제하기 버튼 이벤트
========================================================================*/
function FileDelete(savetype)
{
	if(confirm("파일을 삭제하시겠습니까?"))
		;
}

/*=======================================================================
* 작 성자 : 원영민
* 최초작성일 : 2006. 08. 18
* 최종수정자 : 
* 최종수정일 : 
* 함수 설명   : 검색 버튼 이벤트
========================================================================*/
function SearchLink()
{
	var searValue = document.all["txtSearch"].value;
	
	if(searValue == "")
	{
		document.all["txtSearch"].select();
		alert("검색어를 입력해 주세요");
		
		return;
	}
	
	location.href = HelpLink +  "Sear/Sear.aspx?searchValue=" + escape(searValue);
}

/************************************************************************
함수명  : onKeyDown_Search
작성목적 : 항목 검색 테스트 박스에서 엔터키 처리
  ex) 
  Parameter :
  Return :
작 성 자 : 원영민
최초작성일 : 2006. 08. 18
최종작성일 :
수정내역 :
*************************************************************************/
function onKeyDown_Search()
{
	if(event.keyCode == 13)
	{
		SearchLink();
		
		event.keyCode = 0;
		event.cancelBubble = true;
		event.returnValue = false;
	}
}

function FooterLink(type) {
    switch (type) {
        case "ContactUs":
            location.href = "/About/Default.aspx?id=40";
            break;
        case "Privacy":
            break;
        case "Legal":
            break;
        case "SiteMap":
            location.href = "/SiteMap.aspx";
            break;
        default:
            break;
    }
}

