var gnb_http_url  = "" ; 
var gnb_ssl_url  = "" ; 


////sales///////////////////////////////////////////////
function goLink(idx){
//alert(idx);
	switch(idx){
		
		case "m_1_0" :
				//document.location.href = gnb_http_url + "#";
				gnb_01_0();
				break;
				
		case "m_1_1" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_01_1();
				break;
				
		case "m_1_2" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_01_2();
				break;

		case "m_1_3" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_01_3();
				break;
		case "m_1_4" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_01_4();
				break;

		case "m_2_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_0();
				break;
				
		case "m_2_1" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_1();
				break;
				
		case "m_2_2" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_2();
				break;
		case "m_2_3" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_3();
				break;



		case "m_3_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_03_0();
				break;
				
		case "m_3_1" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_03_1();
				break;
				
		case "m_3_2" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_03_2();
				break;

		case "m_3_3" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_03_3();
				break;

		case "m_4_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_04_1();
				break;
				
		case "m_4_1" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_04_1();
				break;
				
		case "m_4_2" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_04_2();
				break;

		case "m_5_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_05_2();
				break;
				
		case "m_5_1" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_05_1();
				break;
				
		case "m_5_2" :
				//document.location.href = "";
				
				gnb_05_2();
				break;

		case "m_6_0" : //		
				gnb_06_1();
				break;
				
		case "m_6_1" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_06_1();
				break;
				
		case "m_6_2" :
				//document.location.href = "";
				
				gnb_06_2();
				break;

		case "m_6_3" :
				//document.location.href = "";
				
				gnb_06_3();
				break;

		case "m_6_4" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_06_4();
				break;
				

		case "direct_1_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_1();
				break;

		case "direct_2_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_2();
				break;

		case "direct_3_0" :
				//document.location.href = gnb_http_url + "#";
				
				gnb_02_3();
				break;
				
		
		case "p_1" :
			//popup_url("#");
			break;		
		
		case "p_2" :
			//popup_url("#");
			break;
			
		case "p_3" :
			//popup_url("#");
			break;

		case "p_4" :
			//popup_url("#");
			break;

		case "p_5" :
			//popup_url("#");
			break;

		case "p_6" :
			//popup_url("#");
			break;

		case "p_7" :
			//popup_url("#");
			break;

		case "p_8" :
			//popup_url("#");
			break;
			
		default :
			alert('Error');
			return;
			break;
		}

}

function popup_url(pURL)
{
	try{ 
		window.open(pURL).focus(); 
	} 
	catch(e){ 
		alert('Error.'); 
	} 
}
////about///////////////////////////////////////////////
function gnb_01_0()
{
	window.location.href = gnb_http_url + "about.asp"
}
function gnb_01_1()
{
	window.location.href = gnb_http_url + "about.asp?action=about"
}
function gnb_01_2()
{
	window.location.href = gnb_http_url + "about.asp?action=sbsj"
}
function gnb_01_3()
{
	window.location.href = gnb_http_url + "about.asp?action=gwlc"
}
function gnb_01_4()
{
	window.location.href = gnb_http_url + "about.asp?action=gwlc"
}

/////product///////////////////////////////////////////////
function gnb_02_0()
{
	window.location.href = gnb_http_url + "Product.asp"
}
function gnb_02_1()
{
	window.location.href = gnb_http_url + "product.asp?lx=big&anid=63"
}
function gnb_02_2()
{
	window.location.href = gnb_http_url + "product.asp?lx=big&anid=73"
}
function gnb_02_3()
{
	window.location.href = gnb_http_url + "product.asp?lx=big&anid=62"
}

////user///////////////////////////////////////////////
function gnb_03_0()
{
	window.location.href = gnb_http_url + "user.asp"
}
function gnb_03_1()
{
	window.location.href = gnb_http_url + "register.asp"
}
function gnb_03_2()
{
	window.location.href = gnb_http_url + "user.asp"
}
function gnb_03_3()
{
	window.location.href = gnb_http_url + "download.asp"
}

////plaza///////////////////////////////////////////////
function gnb_04_1()
{
	window.location.href = gnb_ssl_url+ "viewreturn.asp"
}
function gnb_04_2()
{
	window.location.href = gnb_http_url + "addreturn.asp"
}

////weve///////////////////////////////////////////////
function gnb_05_1()
{
	window.location.href = gnb_http_url + "ditu.asp"
}

function gnb_05_2()
{
	window.location.href = gnb_http_url + "contact.asp"
}

////mypage///////////////////////////////////////////////
function gnb_06_1()		//
{
	window.location.href = gnb_ssl_url+ "#";
}
function gnb_06_2()		//
{
	window.location.href = gnb_http_url + "#";
}
function gnb_06_3()		//
{
	window.location.href = gnb_http_url + "#";
}
function gnb_06_4()		//
{
	window.location.href = gnb_http_url + "#";
}


////main///////////////////////////////////////////////
function top_logo()
{
	window.location.href = gnb_http_url + "index.asp"
}


//// top /////////////////////////////////////////
function gnb_0_0()	//
{
	window.location.href = gnb_http_url + "#"
}

function gnb_0_1()  //login
{
	window.open("http://www.superfurn.com.au");
}
function gnb_0_2()	//
{
	gnb_06_1();
}
function gnb_0_3()	//contact us
{
	window.location.href="contact.asp"
}
function gnb_0_4()	//english
{
	window.location.href = gnb_ssl_url+ "EN/"
}

function gnb_0_5()	//join
{
	window.location.href = gnb_ssl_url+ "#"
}

////±âÅ¸ bottom ///////////////////////////////////////
function gnb_99_1()
{
	window.location.href = gnb_http_url + "#"
}
function gnb_99_2()
{
	window.open(gnb_http_url + "#", "email_collection", "width=400,height=314");
}
function gnb_99_3()
{
	window.location.href = gnb_http_url + "#"
}
function gnb_99_4()
{
	window.location.href="#"
}
function gnb_99_5()
{
	window.location.href = gnb_http_url + "#"
}

////ÇöÀåÁ¤º¸ Áöµµ  ///////////////////////////////////////
function map_1()
{
	window.location.href = gnb_http_url + "#"
}
function map_2()
{
	window.location.href = gnb_http_url + "#"
}
function map_3()
{
	window.location.href = gnb_http_url + "#"
}
function map_4()
{
	window.location.href = gnb_http_url + "#"
}
function map_5()
{
	window.location.href = gnb_http_url + "#"
}
function map_6()
{
	window.location.href = gnb_http_url + "#"
}
function map_7()
{
	window.location.href = gnb_http_url + "#"
}