if(typeof file2 == 'undefined') var file2 = {}; file2 = { 'index.html':'[an error occurred while processing the directive]', 'terms_of_wifi_spots.pdf':'[an error occurred while processing the directive]', 'i_attention.pdf':'[an error occurred while processing the directive]', 'i_agreement_ja.pdf':'[an error occurred while processing the directive]', 'new_incoming_mms.pdf':'[an error occurred while processing the directive]', 'i_guide_email_i.pdf':'[an error occurred while processing the directive]', 'i_guide_mms-email_i.pdf':'[an error occurred while processing the directive]', 'i_guide_ssl-email_i.pdf':'[an error occurred while processing the directive]', 'i_guide_folder-email_i.pdf':'[an error occurred while processing the directive]', 'i_guide_environment.pdf':'[an error occurred while processing the directive]', '4_from_3g-3gs.pdf':'[an error occurred while processing the directive]' } function fsizeGetBB(path){ if(!path){txt = 'ファイルを指定してください'} else if(!file2[path]){txt = '指定されたファイルがデータベースに登録されていません'} else {txt = file2[path].replace(' ','').replace('k','K') + 'バイト'} document.write(txt); }