// CSS
var os = (navigator.appVersion.indexOf ("Win", 0) != -1) ? "win" : "mac";
document.write ('<link rel="alternate stylesheet" type="text/css" href="' + __path + 'common/css/' + os + '_xsmall.css" title="css_xs">');
document.write ('<link rel="alternate stylesheet" type="text/css" href="' + __path + 'common/css/' + os + '_small.css" title="css_s">');
document.write ('<link rel="alternate stylesheet" type="text/css" href="' + __path + 'common/css/' + os + '_middle.css" title="css_m">');
document.write ('<link rel="alternate stylesheet" type="text/css" href="' + __path + 'common/css/' + os + '_large.css" title="css_l">');
document.write ('<link rel="stylesheet" type="text/css" href="' + __path + 'common/css/' + os + '_small.css" title="css_s">');
document.write ('<link rel="stylesheet" type="text/css" href="' + __path + 'common/css/text_' + os + '.css" title="text">');
window.focus();

// Text Size Selector
function changeTextsize() {
document.write('<img src="' + __path + 'common/img/textsize.gif" width="211" height="27" border="0" alt="" usemap="#map_textsize">')
document.write('<map name="map_textsize">')
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_s\'); return false;" target="WFP" coords="113,4,134,22" alt="text size small" title="text size small">')
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_m\'); return false;" target="WFP" coords="143,4,164,22" alt="text size middle" title="text size middle">')
document.write('<area shape="rect" href="#" onClick="setActiveStyleSheet(\'css_l\'); return false;" target="WFP" coords="173,4,194,22" alt="text size large" title="text size large">')
document.write('</map>')
}

// Donate Online Banner
function donateOnline() {

document.write('<ul><li><a href="' + __path + 'cooperate/donation.html"><img src="' + __path + 'common/img/donation.gif" alt="寄付はこちらから"></a></li>')

document.write('<li class="addText"><a href="' + __path + 'kyokai/hunger.html"><img src="' + __path + 'common/top_img/banner_hmap.jpg" alt="世界の飢餓状況"></a>')
document.write('<p class="text1">世界では6人に1人が飢えに苦しみ、6秒に1人、子どもが飢えやそれに関係する原因のため亡くなっています。</p></li>')


document.write('<li class="addText"><a href="' + __path + 'activities/sfp.html#ac"><img src="' + __path + 'common/img/banner_ac2009.gif" alt="学校給食支援広告キャンペーン"></a>')
document.write('<p class="text1">WFPが学校で配給する給食は、子どもたちを飢えから救い、教育の機会をひろげています。</p></li>')


document.write('<li class="addText"><a href="http://www.foodforce.konami.jp/" target="_blank"><img src="' + __path + 'common/img/banner_foodforce.gif" alt=""></a>')
document.write('<p class="text1">WFPの緊急食糧支援活動を疑似体験することができるビデオゲームです。(無料でダウンロードできます）</p></li>')

document.write('<li><a href="https://www.jawfp.org/cgi-bin/form/wfp.cgi?action=input&form=mmn" target="_blank"><img src="' + __path + 'common/img/banner_mail.gif" alt="WFPメールニュース"></a></li>')

document.write('<li><a href="' + __path + 'press/inmedia.html"><img src="' + __path + 'common/top_img/banner_media.jpg" alt="プレス掲載"></a></li>')

document.write('<li><a href="' + __path + 'kyokai/index.html"><img src="' + __path + 'common/img/banner_jawfp.gif" alt="国連WFP協会"></a></li></ul>')


}

<!--国連banner-->
function donateOnline2() {
document.write('<a href="http://www.jawfp.org/" target="JAWFP"><img class="banner" src="' + __path + 'common/img/banner_jawfp.gif" width="211" height="50" border="0" alt="国連WFP協会"></a>')
<!--国連banner-->



}

// Display Topics (2~4 pieces)

function displayTopics() {
document.write('<img id="topictitle" src="' + __path + 'common/img/topic.gif" width="211" height="31" border="0" alt="Topic">')

document.write('<a href="http://www.foodforce.konami.jp/" target="_blank"><img class="banner1" src="' + __path + 'common/img/banner_foodforce.gif" border="0" alt=""></a><br>')
document.write('<a href="' + __path + 'activities/story/050727_sumatra.html" onclick="JavaScript:popUp(this.href); return false;"><img class="banner2" src="' + __path + 'common/img/banner_tsunami2.gif" border="0" alt="フードフォース日本語版サイトへのリンク"></a><br>')
document.write('<a href="' + __path + 'activities/sfp.html#ac" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_ac2005.gif" border="0" alt=""></a><br>')
document.write('<a href="' + __path + 'activities/story.php" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_genba.gif" border="0" alt=""></a><br>')
document.write('<a href="' + __path + 'gallery/photo.php" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_photo.gif" border="0" alt=""></a><br>')

}


<!--トピックスindex-->

// Display Topics for TopPage (2 pieces)
function displayTopicsTopindex() {
document.write('<img id="topictitle" src="' + __path + 'common/img/topic.gif" width="211" height="31" border="0" alt="Topic">')
document.write('<a href="http://www.foodforce.konami.jp/" target="_blank"><img class="banner1" src="' + __path + 'common/img/banner_foodforce.gif" border="0" alt="フードフォース日本語版サイトへのリンク"></a><br>')
document.write('<a href="' + __path + 'activities/sfp.html#ac" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_ac2005.gif" border="0" alt=""></a><br>')

document.write('<a href="' + __path + 'activities/sfp.html" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_sfp.gif" border="0" alt=""></a><br>')

document.write('<a href="' + __path + 'activities/story.php" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_genba.gif" border="0" alt=""></a><br>')

document.write('<a href="' + __path + 'gallery/photo.php" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_photo.gif" border="0" alt=""></a><br>')

}

<!--トピックスindex-->



<!--トピックス-->

// Display Topics for TopPage (2 pieces)
function displayTopicsTop() {
document.write('<img id="topictitle" src="' + __path + 'common/img/topic.gif" width="211" height="31" border="0" alt="Topic">')
document.write('<a href="http://www.foodforce.konami.jp/" target="_blank"><img class="banner1" src="' + __path + 'common/img/banner_foodforce.gif" border="0" alt="フードフォース日本語版サイトへのリンク"></a><br>')
document.write('<a href="' + __path + 'activities/sfp.html#ac" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_ac2005.gif" border="0" alt=""></a><br>')
document.write('<a href="' + __path + 'activities/story.php" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_genba.gif" border="0" alt=""></a><br>')

document.write('<a href="' + __path + 'gallery/photo.php" target="WFP"><img class="banner2" src="' + __path + 'common/img/banner_photo.gif" border="0" alt=""></a><br>')

}

<!--トピックス-->


// Footer
function footer() {
document.write('<img src="' + __path + 'common/img/footer.gif" width="748" height="35" border="0" alt="Copyright (c) World Food Programme 2006. All rights reserved." usemap="#map_copyright">')
document.write('<map name="map_copyright">')
document.write('<area shape="rect" alt="" coords="0,1,48,27" href="' + __path + 'func/termofuse.html" target="WFP">')
document.write('<area shape="rect" alt="" coords="50,1,173,27" href="' + __path + 'func/termofuse.html#privacypolicy" target="WFP">')
document.write('</map>')
}

// Open HungerMap Window
function hungerMap(area) {
var area = String(area);
if (area == 'undefined') {
	area = '';
}
window.open(__path + "hungermap/index" + area + ".html", "HungerMap", "fullscreen=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,directories=no,location=no,width=820,height=580")
}

// Open PopUp Window
function popUp(filename) {
var filename = String(filename);
window.open(filename, "Popup", "fullscreen=no,toolbar=no,status=yes,menubar=no,scrollbars=yes,resizable=no,directories=no,location=no,width=630")
}

// Open PopUp Window Food Force
function popUPFF(filename) {
var filename = String(filename);
window.open(filename, "Popup", "fullscreen=no,toolbar=yes,status=yes,menubar=no,scrollbars=yes,resizable=no,directories=no,location=no,width=630")
}

//
function Signature() {
document.write('<div id="pr_template"><span class="text0">WFPは世界最大の人道援助機関であり、世界の飢餓撲滅に取り組む国連機関です。WFPは2003年、82カ国で世界の難民や国内避難民の大部分を含むおよそ1億1000万人の人々に食糧を支援しました。<br><br>WFPの世界の学校給食キャンペーン<br>貧しい子供たちに栄養のある食事を供給する世界最大の組織であるWFPは、世界3億人の栄養不足の子どもたちが教育を受けられるよう、世界規模のキャンペーンを展開しています。 </span></div>');
document.write('<table id="credit" class="text1" width="400" border="0" cellspacing="0" cellpadding="0">');
document.write('<tr><td class="tl" colspan="2">本件記事についての問い合わせ先 :</td></tr>');
document.write('<tr><td class="l" colspan="2">WFP 国際連合世界食糧計画 日本事務所</td></tr>');
document.write('<tr><td class="l">広報官</td><td>根本かおる</td></tr>');
document.write('<tr><td class="l">携帯電話</td><td>090-9844-9990</td></tr>');
document.write('<tr><td class="l">電話</td><td>045-221-2510 (内線 : 5364)</td></tr>');
document.write('<tr><td class="l">Fax</td><td>045-221-2511</td></tr>');
document.write('</table>');
}
