// overture 呼び出し (jQuery前提)

// overture 設定
var o = new Mag2Overture();
function setOverture( ctxtid, otype ) {
	o.setPartner( "magmag_jp_cat_ctxt1" );
	o.setContextId( ctxtid );
	o.setMaxCount(6);
	o.setType( otype );
	o.getDataList();
}

// overture 表示

function overtureContent( viewMax ) {
	var overtureHtml = '';
	if (overtureBeanList.length > 0) {	
		overtureHtml += '<div class="ovtr">';
		overtureHtml += '<p>インタレストマッチ(<a href="http://ov.yahoo.co.jp/service/int/index.html">詳細</a>)</p>';
		overtureHtml += '<ul>';
		for(var i = 0; i < 3; ++i){
			var data = overtureBeanList.shift();
			if (!data) break;
			overtureHtml += '<li>';
			overtureHtml += '<a href="' + escapeHtml(data.getClickUrl()) + '" target="_blank"><span class="ovtr-title">';
			overtureHtml += escapeHtml(data.getTitle());
			overtureHtml += '</span>';
			overtureHtml += '<span class="ovtr-desc">';
			overtureHtml += escapeHtml(data.getDescription());
			overtureHtml += '</span></a>';
			overtureHtml += '</li>';
		}
		overtureHtml += '</ul>';
		overtureHtml += '</div>';
	}
	document.write( overtureHtml );
}

function overtureSidebar( viewMax ) {
	var overtureHtml = '';
	if (overtureBeanList.length > 0) {	
		overtureHtml += '<dl class="ovtr">';
		overtureHtml += '<dt>インタレストマッチ(<a href="http://ov.yahoo.co.jp/service/int/index.html">詳細</a>)</dt>';
		overtureHtml += '<dd>';
		overtureHtml += '<ul>';
		for(var i = 0; i < 3; ++i){
			var data = overtureBeanList.shift();
			if (!data) break;
			overtureHtml += '<li>';
			overtureHtml += '<a href="' + escapeHtml(data.getClickUrl()) + '" target="_blank"><span class="ovtr-title">';
			overtureHtml += escapeHtml(data.getTitle());
			overtureHtml += '</span><br />';
			overtureHtml += '<span class="ovtr-desc">';
			overtureHtml += escapeHtml(data.getDescription());
			overtureHtml += '</span><br />';
			overtureHtml += '<span class="ovtr-uri">' + escapeHtml(data.getSiteHost()) + '</span></a>';
			overtureHtml += '</li>';
		}
		overtureHtml += '</ul>';
		overtureHtml += '</dd>';
		overtureHtml += '</dl>';
	}
	document.write( overtureHtml );
}

var keywords = new Array();

// トップ
keywords[ 'top' ] = new Array(
'ビジネス	http://x.mag2.com/ov/?type=newstop1&keyword=%83r%83W%83l%83X',
'キャリア	http://x.mag2.com/ov/?type=newstop2&keyword=%83L%83%83%83%8A%83A',
'SNS	http://x.mag2.com/ov/?type=newstop3&keyword=SNS',
'インターネット	http://x.mag2.com/ov/?type=newstop4&keyword=%83C%83%93%83^%81[%83l%83b%83g',
'英語	http://x.mag2.com/ov/?type=newstop5&keyword=%89p%8C%EA',
'ダイエット	http://x.mag2.com/ov/?type=newstop6&keyword=%83_%83C%83G%83b%83g',
'アート	http://x.mag2.com/ov/?type=newstop7&keyword=%83A%81[%83g',
'占い	http://x.mag2.com/ov/?type=newstop8&keyword=%90%E8%82%A2',
'独立	http://x.mag2.com/ov/?type=newstop9&keyword=%93%C6%97%A7',
'美容	http://x.mag2.com/ov/?type=newstop10&keyword=%94%FC%97e',
'結婚	http://x.mag2.com/ov/?type=newstop11&keyword=%8C%8B%8D%A5',
'育児	http://x.mag2.com/ov/?type=newstop12&keyword=%88%E7%8E%99',
'受験	http://x.mag2.com/ov/?type=newstop13&keyword=%8E%F3%8C%B1',
'健康	http://x.mag2.com/ov/?type=newstop14&keyword=%8C%92%8DN',
'医療	http://x.mag2.com/ov/?type=newstop15&keyword=%88%E3%97%C3',
'投資	http://x.mag2.com/ov/?type=newstop16&keyword=%93%8A%8E%91',
'開運	http://x.mag2.com/ov/?type=newstop17&keyword=%8AJ%89^	情報	http://x.mag2.com/ov/?type=newstop18&keyword=%8F%EE%95%F1',
'サプリメント	http://x.mag2.com/ov/?type=newstop19&keyword=%83T%83v%83%8A%83%81%83%93%83g',
'化粧品	http://x.mag2.com/ov/?type=newstop20&keyword=%89%BB%8F%CF%95i',
'ビジネス	http://x.mag2.com/ov/?type=newsmain1&keyword=%83r%83W%83l%83X',
'');

// 主要
keywords[ 'main' ] = new Array(
'キャリア	http://x.mag2.com/ov/?type=newsmain2&keyword=%83L%83%83%83%8A%83A',
'SNS	http://x.mag2.com/ov/?type=newsmain3&keyword=SNS',
'インターネット	http://x.mag2.com/ov/?type=newsmain4&keyword=%83C%83%93%83^%81[%83l%83b%83g',
'英語	http://x.mag2.com/ov/?type=newsmain5&keyword=%89p%8C%EA',
'ダイエット	http://x.mag2.com/ov/?type=newsmain6&keyword=%83_%83C%83G%83b%83g',
'アート	http://x.mag2.com/ov/?type=newsmain7&keyword=%83A%81[%83g',
'占い	http://x.mag2.com/ov/?type=newsmain8&keyword=%90%E8%82%A2',
'独立	http://x.mag2.com/ov/?type=newsmain9&keyword=%93%C6%97%A7',
'美容	http://x.mag2.com/ov/?type=newsmain10&keyword=%94%FC%97e',
'結婚	http://x.mag2.com/ov/?type=newsmain11&keyword=%8C%8B%8D%A5',
'育児	http://x.mag2.com/ov/?type=newsmain12&keyword=%88%E7%8E%99',
'受験	http://x.mag2.com/ov/?type=newsmain13&keyword=%8E%F3%8C%B1',
'健康	http://x.mag2.com/ov/?type=newsmain14&keyword=%8C%92%8DN',
'医療	http://x.mag2.com/ov/?type=newsmain15&keyword=%88%E3%97%C3',
'投資	http://x.mag2.com/ov/?type=newsmain16&keyword=%93%8A%8E%91',
'開運	http://x.mag2.com/ov/?type=newsmain17&keyword=%8AJ%89^',
'情報	http://x.mag2.com/ov/?type=newsmain18&keyword=%8F%EE%95%F1',
'サプリメント	http://x.mag2.com/ov/?type=newsmain19&keyword=%83T%83v%83%8A%83%81%83%93%83g',
'化粧品	http://x.mag2.com/ov/?type=newsmain20&keyword=%89%BB%8F%CF%95i',
'流通	http://x.mag2.com/ov/?type=newssocial1&keyword=%97%AC%92%CA',
'');

// 社会
keywords[ 'society' ] = new Array(
'交通	http://x.mag2.com/ov/?type=newssocial2&keyword=%8C%F0%92%CA',
'建築	http://x.mag2.com/ov/?type=newssocial3&keyword=%8C%9A%92z',
'福祉	http://x.mag2.com/ov/?type=newssocial4&keyword=%95%9F%8E%83',
'社会福祉	http://x.mag2.com/ov/?type=newssocial5&keyword=%8E%D0%89%EF%95%9F%8E%83',
'火災保険	http://x.mag2.com/ov/?type=newssocial6&keyword=%89%CE%8D%D0%95%DB%8C%AF',
'金融	http://x.mag2.com/ov/?type=newssocial7&keyword=%8B%E0%97Z',
'調査	http://x.mag2.com/ov/?type=newssocial8&keyword=%92%B2%8D%B8',
'パソコン	http://x.mag2.com/ov/?type=newssocial9&keyword=%83p%83\%83R%83%93',
'ネットワーク	http://x.mag2.com/ov/?type=newssocial10&keyword=%83l%83b%83g%83%8F%81[%83N',
'セキュリティ	http://x.mag2.com/ov/?type=newssocial11&keyword=%83Z%83L%83%85%83%8A%83e%83B',
'防犯	http://x.mag2.com/ov/?type=newssocial12&keyword=%96h%94%C6',
'ボランティア	http://x.mag2.com/ov/?type=newssocial13&keyword=%83{%83%89%83%93%83e%83B%83A',
'自動車	http://x.mag2.com/ov/?type=newssocial14&keyword=%8E%A9%93%AE%8E%D4',
'情報	http://x.mag2.com/ov/?type=newssocial15&keyword=%8F%EE%95%F1',
'ビジネス	http://x.mag2.com/ov/?type=newssocial16&keyword=%83r%83W%83l%83X',
'ペット	http://x.mag2.com/ov/?type=newssocial17&keyword=%83y%83b%83g',
'住宅	http://x.mag2.com/ov/?type=newssocial18&keyword=%8FZ%91%EE',
'食品	http://x.mag2.com/ov/?type=newssocial19&keyword=%90H%95i',
'求人	http://x.mag2.com/ov/?type=newssocial20&keyword=%8B%81%90l',
'国家資格	http://x.mag2.com/ov/?type=newspolitics1&keyword=%8D%91%89%C6%8E%91%8Ai',
'');

// 政治
keywords[ 'politics' ] = new Array(
'公務員	http://x.mag2.com/ov/?type=newspolitics2&keyword=%8C%F6%96%B1%88%F5',
'消費者	http://x.mag2.com/ov/?type=newspolitics3&keyword=%8F%C1%94%EF%8E%D2',
'国債	http://x.mag2.com/ov/?type=newspolitics4&keyword=%8D%91%8D%C2',
'貿易	http://x.mag2.com/ov/?type=newspolitics5&keyword=%96f%88%D5',
'税金	http://x.mag2.com/ov/?type=newspolitics6&keyword=%90%C5%8B%E0',
'ボランティア	http://x.mag2.com/ov/?type=newspolitics7&keyword=%83{%83%89%83%93%83e%83B%83A',
'輸入	http://x.mag2.com/ov/?type=newspolitics8&keyword=%97A%93%FC',
'法律	http://x.mag2.com/ov/?type=newspolitics9&keyword=%96@%97%A5',
'司法書士	http://x.mag2.com/ov/?type=newspolitics10&keyword=%8Ei%96@%8F%91%8Em',
'会計士	http://x.mag2.com/ov/?type=newspolitics11&keyword=%89%EF%8Cv%8Em',
'消費	http://x.mag2.com/ov/?type=newspolitics12&keyword=%8F%C1%94%EF',
'環境問題	http://x.mag2.com/ov/?type=newspolitics13&keyword=%8A%C2%8B%AB%96%E2%91%E8',
'エコ	http://x.mag2.com/ov/?type=newspolitics14&keyword=%83G%83R',
'経済	http://x.mag2.com/ov/?type=newspolitics15&keyword=%8Co%8D%CF',
'労働	http://x.mag2.com/ov/?type=newspolitics16&keyword=%98J%93%AD',
'GBP	http://x.mag2.com/ov/?type=newspolitics17&keyword=GBP',
'雇用	http://x.mag2.com/ov/?type=newspolitics18&keyword=%8C%D9%97p',
'福祉	http://x.mag2.com/ov/?type=newspolitics19&keyword=%95%9F%8E%83',
'生涯学習	http://x.mag2.com/ov/?type=newspolitics20&keyword=%90%B6%8AU%8Aw%8FK',
'株	http://x.mag2.com/ov/?type=newseconomy1&keyword=%8A%94',
'');

// 経済
keywords[ 'economy' ] = new Array(
'証券会社	http://x.mag2.com/ov/?type=newseconomy2&keyword=%8F%D8%8C%94%89%EF%8E%D0',
'生命保険	http://x.mag2.com/ov/?type=newseconomy3&keyword=%90%B6%96%BD%95%DB%8C%AF',
'医療保険	http://x.mag2.com/ov/?type=newseconomy4&keyword=%88%E3%97%C3%95%DB%8C%AF',
'税金	http://x.mag2.com/ov/?type=newseconomy5&keyword=%90%C5%8B%E0',
'金利	http://x.mag2.com/ov/?type=newseconomy6&keyword=%8B%E0%97%98',
'ユーロ	http://x.mag2.com/ov/?type=newseconomy7&keyword=%83%86%81[%83%8D',
'ドル	http://x.mag2.com/ov/?type=newseconomy8&keyword=%83h%83%8B',
'為替	http://x.mag2.com/ov/?type=newseconomy9&keyword=%88%D7%91%D6',
'ｆｘ	http://x.mag2.com/ov/?type=newseconomy10&keyword=%82%86%82%98',
'土地	http://x.mag2.com/ov/?type=newseconomy11&keyword=%93y%92n',
'金融商品	http://x.mag2.com/ov/?type=newseconomy12&keyword=%8B%E0%97Z%8F%A4%95i',
'投資	http://x.mag2.com/ov/?type=newseconomy13&keyword=%93%8A%8E%91',
'相続	http://x.mag2.com/ov/?type=newseconomy14&keyword=%91%8A%91%B1',
'株銘柄	http://x.mag2.com/ov/?type=newseconomy15&keyword=%8A%94%96%C1%95%BF',
'先物取引	http://x.mag2.com/ov/?type=newseconomy16&keyword=%90%E6%95%A8%8E%E6%88%F8',
'投資信託	http://x.mag2.com/ov/?type=newseconomy17&keyword=%93%8A%8E%91%90M%91%F5',
'利回り	http://x.mag2.com/ov/?type=newseconomy18&keyword=%97%98%89%F1%82%E8',
'家計	http://x.mag2.com/ov/?type=newseconomy19&keyword=%89%C6%8Cv',
'債券	http://x.mag2.com/ov/?type=newseconomy20&keyword=%8D%C2%8C%94',
'留学	http://x.mag2.com/ov/?type=newsworld1&keyword=%97%AF%8Aw',
'');

// 海外
keywords[ 'world' ] = new Array(
'航空券	http://x.mag2.com/ov/?type=newsworld2&keyword=%8Dq%8B%F3%8C%94',
'ロングステイ	http://x.mag2.com/ov/?type=newsworld3&keyword=%83%8D%83%93%83O%83X%83e%83C',
'ハワイ	http://x.mag2.com/ov/?type=newsworld4&keyword=%83n%83%8F%83C',
'グアム	http://x.mag2.com/ov/?type=newsworld5&keyword=%83O%83A%83%80',
'海外出張	http://x.mag2.com/ov/?type=newsworld6&keyword=%8AC%8AO%8Fo%92%A3',
'国際	http://x.mag2.com/ov/?type=newsworld7&keyword=%8D%91%8D%DB',
'海外旅行	http://x.mag2.com/ov/?type=newsworld8&keyword=%8AC%8AO%97%B7%8Ds',
'リゾート	http://x.mag2.com/ov/?type=newsworld9&keyword=%83%8A%83]%81[%83g',
'外貨	http://x.mag2.com/ov/?type=newsworld10&keyword=%8AO%89%DD',
'為替	http://x.mag2.com/ov/?type=newsworld11&keyword=%88%D7%91%D6',
'英語	http://x.mag2.com/ov/?type=newsworld12&keyword=%89p%8C%EA',
'中国語	http://x.mag2.com/ov/?type=newsworld13&keyword=%92%86%8D%91%8C%EA',
'韓国語	http://x.mag2.com/ov/?type=newsworld14&keyword=%8A%D8%8D%91%8C%EA',
'ヨーロッパ	http://x.mag2.com/ov/?type=newsworld15&keyword=%83%88%81[%83%8D%83b%83p',
'海外ホテル	http://x.mag2.com/ov/?type=newsworld16&keyword=%8AC%8AO%83z%83e%83%8B',
'旅行保険	http://x.mag2.com/ov/?type=newsworld17&keyword=%97%B7%8Ds%95%DB%8C%AF',
'海外携帯	http://x.mag2.com/ov/?type=newsworld18&keyword=%8AC%8AO%8Cg%91%D1',
'ハネムーン	http://x.mag2.com/ov/?type=newsworld19&keyword=%83n%83l%83%80%81[%83%93',
'外国語	http://x.mag2.com/ov/?type=newsworld20&keyword=%8AO%8D%91%8C%EA',
'カラオケ	http://x.mag2.com/ov/?type=newsentertainmet1&keyword=%83J%83%89%83I%83P',
'');

// 芸能
keywords[ 'entertainment' ] = new Array(
'アート	http://x.mag2.com/ov/?type=newsentertainmet2&keyword=%83A%81[%83g',
'ナレーション	http://x.mag2.com/ov/?type=newsentertainmet3&keyword=%83i%83%8C%81[%83V%83%87%83%93',
'歌舞伎	http://x.mag2.com/ov/?type=newsentertainmet4&keyword=%89%CC%95%91%8A%EA',
'俳優	http://x.mag2.com/ov/?type=newsentertainmet5&keyword=%94o%97D',
'アナウンサー	http://x.mag2.com/ov/?type=newsentertainmet6&keyword=%83A%83i%83E%83%93%83T%81[',
'芸人	http://x.mag2.com/ov/?type=newsentertainmet7&keyword=%8C%7C%90l',
'お笑い	http://x.mag2.com/ov/?type=newsentertainmet8&keyword=%82%A8%8F%CE%82%A2',
'写真	http://x.mag2.com/ov/?type=newsentertainmet9&keyword=%8E%CA%90^',
'スクープ	http://x.mag2.com/ov/?type=newsentertainmet10&keyword=%83X%83N%81[%83v',
'自費出版	http://x.mag2.com/ov/?type=newsentertainmet11&keyword=%8E%A9%94%EF%8Fo%94%C5',
'メイク	http://x.mag2.com/ov/?type=newsentertainmet12&keyword=%83%81%83C%83N',
'テレビ	http://x.mag2.com/ov/?type=newsentertainmet13&keyword=%83e%83%8C%83r',
'モデル	http://x.mag2.com/ov/?type=newsentertainmet14&keyword=%83%82%83f%83%8B',
'アーティスト	http://x.mag2.com/ov/?type=newsentertainmet15&keyword=%83A%81[%83e%83B%83X%83g',
'ミュージシャン	http://x.mag2.com/ov/?type=newsentertainmet16&keyword=%83~%83%85%81[%83W%83V%83%83%83%93',
'フォト	http://x.mag2.com/ov/?type=newsentertainmet17&keyword=%83t%83H%83g',
'声優	http://x.mag2.com/ov/?type=newsentertainmet18&keyword=%90%BA%97D',
'イベント	http://x.mag2.com/ov/?type=newsentertainmet19&keyword=%83C%83x%83%93%83g',
'司会者	http://x.mag2.com/ov/?type=newsentertainmet20&keyword=%8Ei%89%EF%8E%D2',
'ウエア	http://x.mag2.com/ov/?type=newssports1&keyword=%83E%83G%83A',
'');

// スポーツ
keywords[ 'sports' ] = new Array(
'スキー	http://x.mag2.com/ov/?type=newssports2&keyword=%83X%83L%81[',
'乗馬	http://x.mag2.com/ov/?type=newssports3&keyword=%8F%E6%94n',
'ヨガ	http://x.mag2.com/ov/?type=newssports4&keyword=%83%88%83K',
'ピラティス	http://x.mag2.com/ov/?type=newssports5&keyword=%83s%83%89%83e%83B%83X',
'テニス	http://x.mag2.com/ov/?type=newssports6&keyword=%83e%83j%83X',
'水泳	http://x.mag2.com/ov/?type=newssports7&keyword=%90%85%89j',
'スイミング	http://x.mag2.com/ov/?type=newssports8&keyword=%83X%83C%83~%83%93%83O',
'サーフィン	http://x.mag2.com/ov/?type=newssports9&keyword=%83T%81[%83t%83B%83%93',
'ダイビング	http://x.mag2.com/ov/?type=newssports10&keyword=%83_%83C%83r%83%93%83O',
'ゴルフ	http://x.mag2.com/ov/?type=newssports11&keyword=%83S%83%8B%83t',
'ダンス	http://x.mag2.com/ov/?type=newssports12&keyword=%83_%83%93%83X',
'アウトドア	http://x.mag2.com/ov/?type=newssports13&keyword=%83A%83E%83g%83h%83A',
'格闘技	http://x.mag2.com/ov/?type=newssports14&keyword=%8Ai%93%AC%8BZ',
'相撲	http://x.mag2.com/ov/?type=newssports15&keyword=%91%8A%96o',
'柔道	http://x.mag2.com/ov/?type=newssports16&keyword=%8F_%93%B9',
'空手	http://x.mag2.com/ov/?type=newssports17&keyword=%8B%F3%8E%E8',
'スノボ	http://x.mag2.com/ov/?type=newssports18&keyword=%83X%83m%83{',
'フィットネス	http://x.mag2.com/ov/?type=newssports19&keyword=%83t%83B%83b%83g%83l%83X',
'フットサル	http://x.mag2.com/ov/?type=newssports20&keyword=%83t%83b%83g%83T%83%8B',
'');
keywords[ 'archive' ] = keywords[ 'top' ];
