
// *********** livedoor 「読みたいブログを検索」用 ************
function Search(type){
	switch (type) {
		case "tag":
			document.f4.q.value = document.s.q.value;
			document.f4.submit();
			break;
		case "news":
			document.f3.word.value = document.s.q.value;
			document.f3.t.value = type;
			document.f3.submit();
			break;
		case "blog2":
			document.f2.q.value = document.s.q.value;
			document.f2.t.value = "blog";
			document.f2.l.value = 1;
			document.f2.submit();
			break;
		default:
			document.f.q.value = document.s.q.value;
			document.f.t.value = type;
			document.f.submit();
	}
}

// *******************　スイブルスイーパー 2006.09.18　Movie 用　*********************************

function Change()
{parent.ifSample.location.href="http://www.geocities.jp/h28068/SwivelSweeper/SwivelSweeper.html";}

//-->

function Change_2()
{parent.ifSample.location.href="http://www.geocities.jp/h28068/SwivelSweeper/SS_gif.html";}

// ************************************************************

function TallWindow(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=1,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=310,height=600');
}

// ************************************************************

function wmvDisp7(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=1,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=485,height=655');
}

// ************************************************************

function wmvDisp9(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=365,height=550');
}

// ************************************************************

function flvDisp(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=595,height=515');
}

// ************************************************************

function wmvDisp000(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=390,height=585');
}

// ************************************************************

var scriptwin;
function newURL(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
            scriptwin = window.open(url,'url','scrollbars=yes,resizable=yes,width=790,height=650,toolbar=1,location=1,left=15,top=15');
}

// ************************************************************
function leave99()
{window.open("http://www.google.co.jp/","zzz","width=620, height=405,left=15,top=15"); }


// ************************************************************
function newURL_LL(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=1,resizable=1,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=765,height=835');
}

// ************************************************************
function newURL_SS(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=1,resizable=1,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=750,height=595');
}



// ************************************************************
function mmmmmm_MM(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=1,resizable=1,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=810,height=628');
}



// ************************************************************
function newsview(url){
	if (scriptwin)
	{
		scriptwin.close(); //サブウインドウを表示したとき、アクティブにするため、一度消してから表示！
	}
scriptwin = window.open(url,'url','scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=50,height=25');
}

// ************************************************************

// function right(e) {
// if (navigator.appName == 'Netscape' && 
// (e.which == 3 || e.which == 2))
// return false;
// else if (navigator.appName == 'Microsoft Internet Explorer' && 
// (event.button == 2 || event.button == 3)) 
// {
// alert("　　( ~_^; ...　　A right button cannot be used.");
// return false;
// }
// return true;
// }
// document.onmousedown=right;
// if (document.layers) window.captureEvents(Event.MOUSEDOWN);
// window.onmousedown=right;

// ************************************************************
//　ＴＢＳ Ｎｅｗｓ ｉを表示する（ポップアップ表示）
function disp_TBS_00(url){ 
window.open(url, "window_petit00", "scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=550 height=750"); 
} 

// ************************************************************
//　動画再生ページを表示する（ポップアップ表示）
function MoviePages(url){ 
window.open(url, "window_petit00", "scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=505 height=505"); 
} 

// ************************************************************
//　動画再生ページを表示する・YouTube 表示用！ 2009.04.25（ポップアップ表示）
function YouTubePage(url){ 
window.open(url, "window_petit00", "scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=665 height=525"); 
} 

// ************************************************************
//　動画再生ページを表示する・YouTube 表示用！ 2010.04.06（ポップアップ表示 YouTube の表示画面の変更に対応）
function YouTubePage02(url){ 
window.open(url, "window_petit00", "scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=665 height=575"); 
} 

// ************************************************************
//　動画再生ページを表示する・YouTube 表示用！ 2010.04.06（ポップアップ表示 YouTube の表示画面の変更に対応）
function YouTubePage03(url){ 
window.open(url, "window_petit00", "scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=675 height=590"); 
} 

// ************************************************************
//　世界の車窓からを表示する（ポップアップ表示）
function carwin(url){ 
window.open(url, "window_petit00", "scrollbars=0,resizable=0,toolbar=0,status=0,menubar=0,location=0,left=15,top=15,width=788 height=650"); 
} 

// ************************************************************



//今日の一枚／Peachez 表示用
function disp_ptomato(url){ 
window.open(url, "window_peachez", "scrollbars=1,resizable=1,toolbar=0,status=0,menubar=0,location=0,left=0,top=0,width=1,height=1"); 
} 

// ************************************************************



//プルダウン表示のスクリプト（NHK クロ現）から・・・　　2010.12.15 Wed
jQuery(document).ready(function($){
	$('#comment-box div.comment').css('display','none');
	$('#comment-box h3').click(function() {
			$(this).next().slideToggle('fast');
	});
	$('#comment-box h3').toggle(function() {
		$(this).addClass('open');
		}, function () {
		$(this).removeClass('open');
	});
});
// ************************************************************



