document.write('
'); document.write('
'); document.write("
");document.write("
");document.write("
");document.write("
");document.write("
");document.write("
");document.write("
"); function bnr_gnb_set(idx){ if(idx!='undefined'){ for(var i=0; i<4; i++){ Elem("bnr_gnb_div_"+i).style.display="none"; } Elem("bnr_gnb_div_"+idx).style.display=""; } } function main_right_banner(num){ if(num==1){ document.getElementById("main_right_bnr_1").style.display=""; document.getElementById("main_right_bnr_0").style.display="none"; setAttributeValue('main_right_bnr_dd_1','class','right_banner_blue'); setAttributeValue('main_right_bnr_dd_0','class','right_banner_gray'); }else{ document.getElementById("main_right_bnr_1").style.display="none"; document.getElementById("main_right_bnr_0").style.display=""; setAttributeValue('main_right_bnr_dd_1','class','right_banner_gray'); setAttributeValue('main_right_bnr_dd_0','class','right_banner_blue'); } } function setAttributeValue(elem, attri, val){ var el = Elem(elem); if(el){ if(getNavigatorType()==1){ var st = document.createAttribute(attri); st.value = val; el.setAttributeNode(st); }else{ el.setAttribute(attri, val); } } } function Elem(elem){ var el = null; if(document.getElementById(elem)){ el = document.getElementById(elem); }else if(document.getElementsByName(elem).length > 0){ el = document.getElementsByName(elem); }else{ el = null; } return el; } function getNavigatorType(){ if ( navigator.appName == "Microsoft Internet Explorer" ) return 1; else if ( navigator.appName == "Netscape" ) return 2; else return 0; } function setStyle(elem, stylePropertyName, strVal){ var el = Elem(elem); if(el) el.style[stylePropertyName] = strVal; } function bnr_gnb_set(idx){ if(idx!='undefined'){ for(var i=0; i<4; i++){ Elem("bnr_gnb_div_"+i).style.display="none"; } Elem("bnr_gnb_div_"+idx).style.display=""; } } function main_right_banner(num){ if(num==1){ document.getElementById("main_right_bnr_1").style.display=""; document.getElementById("main_right_bnr_0").style.display="none"; setAttributeValue('main_right_bnr_dd_1','class','right_banner_blue'); setAttributeValue('main_right_bnr_dd_0','class','right_banner_gray'); }else{ document.getElementById("main_right_bnr_1").style.display="none"; document.getElementById("main_right_bnr_0").style.display=""; setAttributeValue('main_right_bnr_dd_1','class','right_banner_gray'); setAttributeValue('main_right_bnr_dd_0','class','right_banner_blue'); } } function setAttributeValue(elem, attri, val){ var el = Elem(elem); if(el){ if(getNavigatorType()==1){ var st = document.createAttribute(attri); st.value = val; el.setAttributeNode(st); }else{ el.setAttribute(attri, val); } } } function Elem(elem){ var el = null; if(document.getElementById(elem)){ el = document.getElementById(elem); }else if(document.getElementsByName(elem).length > 0){ el = document.getElementsByName(elem); }else{ el = null; } return el; } function getNavigatorType(){ if ( navigator.appName == "Microsoft Internet Explorer" ) return 1; else if ( navigator.appName == "Netscape" ) return 2; else return 0; } function setStyle(elem, stylePropertyName, strVal){ var el = Elem(elem); if(el) el.style[stylePropertyName] = strVal; } document.write('
'); document.write('
'); document.write('
');