function WriteFlash(flash,_width,_height) {
document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0\" width=\"" + _width + "\" height=\"" + _height + "\">");
document.writeln("    <param name=\"movie\" value=\"" + flash + "\" />");
document.writeln("    <param name=\"quality\" value=\"high\" />");
document.writeln("    <param name=\"wmode\" value=\"transparent\" />");
document.writeln("    <embed src=\"" + flash + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" + _width + "\" height=\"" + _height + "\" wmode=\"transparent\"></embed>");
document.writeln("</object>");
}
//µ¯³ö²ã
function showLayer(layer) {
    if (layer != null && document.getElementById) {
        document.getElementById(layer).style.visibility = 'visible';
    }  else if (layer != null && document.all) {
        document.all[layer].style.visibility = 'visible';
    } else {
        openPopWin();
    }
}
//Òþ²Ø²ã
function hideLayer(layer) {
    if (layer != null && document.getElementById) {
        document.getElementById(layer).style.visibility = 'hidden';
    }  else if (layer != null && document.all) {
        document.all[layer].style.visibility = 'hidden';
    } else {
        closePopWin();
    }
}

function hintHandler(show,element) {
    if (show) {
        showLayer(element);
    } else {
        hideLayer(element);
    }
    void('');
}