var ROOT_URL = "/en";

/****** »çÀÌÆ® ¸µÅ© ****************************/

function link_0000() { location.href = ROOT_URL; } /* È¨ */
function link_0901() { location.href = ROOT_URL+"/sitemap/sitemap.asp"; } /* »çÀÌÆ®¸Ê */
function link_0902() { location.href ="/kr"; } /* ±¹¹® */
function link_0903() { window.open("http://www.inter-m.com.hk"); } /* Áß¹® */
function link_logout() { location.href = ROOT_URL+"/product/logout.asp"; } /* ·Î±×¾Æ¿ô */

/****** È¸»ç¼Ò°³ ********/
function link_01() { location.href = ROOT_URL+"/company/greetings.asp"; } /* È¸»ç¼Ò°³ */
function link_0101() { location.href = ROOT_URL+"/company/greetings.asp"; } /* ceoÀÎ»ç¸» */
function link_0102() { location.href = ROOT_URL+"/company/ci.asp"; } /* ci */
function link_0103() { location.href = ROOT_URL+"/company/summary.asp"; } /* °³¿ä */
function link_0104() { location.href = ROOT_URL+"/company/history.asp"; } /* È¸»ç¿¬Çõ */
function link_0105() { location.href = ROOT_URL+"/company/organizaion.asp"; } /* Á¶Á÷µµ */
function link_0106() { location.href = ROOT_URL+"/company/work.asp"; } /* »ç¾÷/°ø»ç½ÇÀû */
function link_0107() { location.href = ROOT_URL+"/company/environment.asp"; } /* È¯°æ°æ¿µ */


/****** ´º½º ********/
function link_02() { location.href = ROOT_URL+"/news/company_news.asp"; } /* ÀÎÅÍ¿¥´º½º */
function link_0201() { location.href = ROOT_URL+"/news/company_news.asp"; } /* ÀÎÅÍ¿¥´º½º */
function link_0202() { location.href = ROOT_URL+"/news/global_news.asp"; } /* ±Û·Î¹ú´º½º */


/****** Á¦Ç°Á¤º¸ ********/
function link_03() { location.href = ROOT_URL+"/product/product_main.asp"; } /* Á¦Ç°Á¤º¸ */
function link_0301() { location.href = ROOT_URL+"/product/ca_audio.asp"; } /* Commercial Audio  */
function link_03011() { location.href = ROOT_URL+"/product/ca_System.asp"; } /* System */
function link_03012() { location.href = ROOT_URL+"/product/ca_Amplifier.asp"; } /* Amplifier */
function link_03013() { location.href = ROOT_URL+"/product/ca_Speaker.asp"; } /* Speaker */
function link_03014() { location.href = ROOT_URL+"/product/ca_Source.asp"; } /* Source */
function link_03015() { location.href = ROOT_URL+"/product/ca_Misc.asp"; } /* Misc. */

function link_0302() { location.href = ROOT_URL+"/product/pa_audio.asp"; } /* Professional Audio */
function link_03021() { location.href = ROOT_URL+"/product/pa_Mixer.asp"; } /* Mixer */
function link_03022() { location.href = ROOT_URL+"/product/pa_Amplifier.asp"; } /* Amplifier */
function link_03023() { location.href = ROOT_URL+"/product/pa_Misc.asp"; } /* Misc. */
function link_03024() { location.href = ROOT_URL+"/product/pa_Speaker.asp"; } /* Speaker */

function link_0303() { location.href = ROOT_URL+"/product/security.asp"; } /* Security  */
function link_03031() { location.href = ROOT_URL+"/product/security_Camera.asp"; } /* Camera  */
function link_03032() { location.href = ROOT_URL+"/product/security_Lens.asp"; } /* Lens  */
function link_03033() { location.href = ROOT_URL+"/product/security_DVR.asp"; } /* DVR  */
function link_03034() { location.href = ROOT_URL+"/product/security_Network.asp"; } /* Network  */
function link_03035() { location.href = ROOT_URL+"/product/security_Controller.asp"; } /* Controller  */
function link_03036() { location.href = ROOT_URL+"/product/security_Misc.asp"; } /* Misc.  */


/****** ¼­Æ÷Æ® ********/
function link_04() { location.href = ROOT_URL+"/support/contactus.asp"; } /* contactus */
function link_0401() { location.href = ROOT_URL+"/support/contactus.asp"; } /* contactus */
function link_0402() { location.href = ROOT_URL+"/support/newsletter.asp"; } /* »çº¸/È«º¸¹° */
function link_0403() { location.href = "javascript:open_link('http://ebook.inter-m.com/home3/index.php?lang=en','cyber','1000','870','yes','default');popup_0414()"; } /* download */



/****** ±Û·Î¹ú ********/
function link_05() { location.href = ROOT_URL+"/global/office.asp"; } /*ÇÑ±¹*/
function link_0501() { location.href = ROOT_URL+"/global/office.asp"; } /* ÇÑ±¹ */
/*function link_0502() { location.href = ROOT_URL+"/global/AMERICA.asp"; } /* ¹Ì±¹ */
/*function link_0503() { location.href = ROOT_URL+"/global/EUROPE.asp"; } /* À¯·´ */
/*function link_0504() { location.href = ROOT_URL+"/global/HONGKONG.asp"; } /* È«Äá */
/*function link_0505() { location.href = ROOT_URL+"/global/CHINA.asp"; } /* Áß±¹ */
/*function link_0506() { location.href = ROOT_URL+"/global/JAPAN.asp"; } /* ÀÏº» */
function link_0502() { location.href = ROOT_URL+"/global/distributor.asp"; } /* ÆÇ¸ÅÀÚ */

/****** ´ë¸®Á¡°ø°£01 ********/
function link_10() { location.href = ROOT_URL+"/space/join_name.asp"; } /* ´ë¸®Á¡°ø°£ */
function link_1001() { location.href = ROOT_URL+"/space/login.asp"; } /* ·Î±×ÀÎ */

function popup_0414()
{
var eventCookie=GetCookie("enmemo1"); 
if (eventCookie != "no") 
window.open('/en/popup/20100414.html','enmemo1','scrollbars=no,resizable=no,width=315,height=395,top=20,left=0'); 
}
//ÆË¾÷Ã¢ ½ÇÇà
function setCookie( name, value, expiredays )
{
        var todayDate = new Date();
        todayDate.setDate( todayDate.getDate() + expiredays );
        document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
function GetCookie(name){
    var arg = name + "=";
    var alen = arg.length;
    var clen = document.cookie.length;
    var i = 0;
    
    while(i < clen)
	{
        var j = i + alen;
        if(document.cookie.substring(i, j) == arg)
        return getCookieVal(j)
        i = document.cookie.indexOf(" ", i) + 1
        if(i == 0) break
    }
    return null
}

function getCookieVal(offset){
    var endstr = document.cookie.indexOf(";", offset)
    if(endstr == -1)
      endstr = document.cookie.length
		return unescape(document.cookie.substring(offset, endstr))
}