/*
if(location.host!='www.hansung.or.kr' && location.host!='hansung.or.kr') {
// block the iezn embed patch
if(document.attachEvent) {
    //version 0.1: window.attachEvent('onload',Embed_Patch.load);
    var to_attach_iezn_patch_overwrite = window.onload;
    window.onload = function() {
        if(typeof(Embed_Patch)!='undefined' && typeof(Embed_Patch.load)!='undefined') {
            window.detachEvent('onload',Embed_Patch.load);
        }
        if(to_attach_iezn_patch_overwrite) to_attach_iezn_patch_overwrite();
    };

    //version 0.2 and later:
    //var __embed_target_id = null;
    //var __embed_tags = {object:true,embed:true,applet:true}
    //document.attachEvent('onreadystatechange',function(){...});
    document.attachEvent('onreadystatechange',function() {
        __embed_target_id = 'dummy_2_avoid_iezn_embed_patch';
        __embed_tags = {object:false,embed:false,applet:false}
    });

    //version 0.3 and later: document.write('<style type="text/css">object,embed{display:none;}</style>');
    document.attachEvent('onreadystatechange',function() {
        if(document.readyState=='complete') {
            for(var i=0; i<document.styleSheets.length; i++) {
                var re = new RegExp("object(.|\n)*embed(.|\n)*display.*none","i");
                if(re.test(document.styleSheets[i].cssText)){
                    document.styleSheets[i].cssText = '';
                }
            }
        }
    });
}

//document.write("<style type='text/css'>object,embed{display:none;}</style>");

function Q_replace_objct(objct) {
    if(objct.getAttribute('name')!='ASP_sct0323_p' && objct.getAttribute('HTTP_OR_KR')!='no_touch') {
        var rplc;
        if(objct.outerHTML) {
            var html = objct.outerHTML;
            if(html.match(/<param\s*name\s*=\s*('|\")wmode('|\")\s*value\s*=\s*('|\")[a-z]+('|\")\s*\/?>/i))
                 rplc = html.replace(/<param\s*name\s*=\s*('|\")wmode('|\")\s*value\s*=\s*('|\")window('|\")\s*\/*\>/i,"<param name='wmode' value='opaque' />");
            else rplc = html.replace(/<\/object>/i,"<param name='wmode' value='opaque' />\n</object>");
            if(!html.match(/display\s*:/i)) rplc = rplc.replace(/<object\s/i,"<object style='display:inline;' ");
            objct.insertAdjacentHTML('beforeBegin',rplc);
            objct.parentNode.removeChild(objct);
        } else {
            rplc = objct.cloneNode(true);
            if(!rplc.getAttribute('wmode') || rplc.getAttribute('wmode').toLowerCase()=='window')
                rplc.setAttribute('wmode','opaque');
            if(!rplc.style.display) rplc.style.display = 'inline';
            objct.parentNode.replaceChild(rplc,objct);

        }
    }
}

function Q_replace_embed(embd) {
    if(embd.getAttribute('name')!='ASP_sct0323_p' && embd.getAttribute('HTTP_OR_KR')!='no_touch') {
        var rplc;
        if(embd.outerHTML) {
            var html = embd.outerHTML;
            if(html.match(/wmode\s*=\s*('|\")[a-z]+('|\")/i))
                 rplc = html.replace(/wmode\s*=\s*('|\")window('|\")/i,"wmode='opaque'");
            else rplc = html.replace(/<embed\s/i,"<embed wmode='opaque' ");
            if(!html.match(/display\s*:/i)) rplc = rplc.replace(/<embed\s/i,"<embed style='display:inline;' ");
            embd.insertAdjacentHTML('beforeBegin',rplc);
            embd.parentNode.removeChild(embd);
        } else {
            rplc = embd.cloneNode(true);
            if(!rplc.getAttribute('wmode') || rplc.getAttribute('wmode').toLowerCase()=='window')
                rplc.setAttribute('wmode','opaque');
            if(!rplc.style.display) 
                rplc.style.display = 'inline';
            embd.parentNode.replaceChild(rplc,embd);
        }
    }
}

// start our flash after the iezn embed patch blocked
var to_attach_start_flash = window.onload;
window.onload = function() {
    if(to_attach_start_flash) to_attach_start_flash();
    // change the wmode from window or default to opaque while activating
    var embds = document.getElementsByTagName('embed');
    for(i=0; i<embds.length; i++) Q_replace_embed(embds[i]);
    var objcts = document.getElementsByTagName('object');
    for(i=0; i<objcts.length; i++) Q_replace_objct(objcts[i]);
    // write the flash part after the iezn embed patch 0.2 and later have already executed

};

}
*/