//to escape site-robber
if(self != top) top.location.href = self.location.href;



/* ---------- Netscape4 ---------- */

NNString = "最新版の Netscape 7 のご利用をお勧めします。\nダウンロードしますか？";
if(document.layers){
	if(window.confirm(NNString)){
		window.location.href = "http://home.netscape.co.jp/";
	}
//	else{
//		window.location.href = "http://www.XXXXXX.co.jp/";
//	}
}




/* ---------- common library ---------- */

function puWindow(url,nam,wid,hei,prop){
	var offset = 100;
	var w = window.screen.width;
	var h = window.screen.height;
	var l = (w-wid)/2;
	var t = ((h-hei)/2)-offset;
	sty = prop;
	sty+= ",width=";
	sty+= wid;
	sty+= ",height=";
	sty+= hei;
	sty+= ",left=";
	sty+= l;
	sty+= ",top=";
	sty+= t;
	window.open(url,nam,sty);
}

function popup0(url,nam,wid,hei){
	prop = "status=yes,scrollbars=no,resizable=yes";
	puWindow(url,nam,wid,hei,prop);
	}

function popup1(url,nam,wid,hei){
	prop = "status=yes,scrollbars=yes,resizable=yes";
	puWindow(url,nam,wid,hei,prop);
	}



window.onload = function(){
	var tmp = document.getElementsByTagName("a");
	for(var i=0 ; i<tmp.length ; i++){
		if(tmp[i].href.indexOf("/community/journal/042050107/") == -1) continue;
		tmp[i].onclick = function(){
			popup1(this.href,"winning","581","500");
			return false;
		}
	}
}







