
zenary = new Array("Ž±","Ž²","Ž³","Ž´","Žµ","Ž¶","Ž·","Ž¸","Ž¹","Žº","Ž»","Ž¼","Ž½","Ž¾","Ž¿","ŽÀ","ŽÁ","ŽÂ","ŽÃ","ŽÄ","ŽÅ","ŽÆ","ŽÇ","ŽÈ","ŽÉ","ŽÊ","ŽË","ŽÌ","ŽÍ","ŽÎ","ŽÏ","ŽÐ","ŽÑ","ŽÒ","ŽÓ","ŽÔ","ŽÕ","ŽÖ","Ž×","ŽØ","ŽÙ","ŽÚ","ŽÛ","ŽÜ","Ž¦","ŽÝ","Ž¯","Ž§","Ž¨","Ž©","Žª","Ž«","Ž¬","Ž­","Ž®","-","Ž°","ŽÞ","Žß");

hanary = new Array("ƒA","ƒC","ƒE","ƒG","ƒI","ƒJ","ƒL","ƒN","ƒP","ƒR","ƒT","ƒV","ƒX","ƒZ","ƒ\","ƒ^","ƒ`","ƒc","ƒe","ƒg","ƒi","ƒj","ƒk","ƒl","ƒm","ƒn","ƒq","ƒt","ƒw","ƒz","ƒ}","ƒ~","ƒ€","ƒ","ƒ‚","ƒ„","ƒ†","ƒˆ","ƒ‰","ƒŠ","ƒ‹","ƒŒ","ƒ","ƒ","ƒI","ƒ“","ƒb","ƒ@","ƒB","ƒD","ƒF","ƒH","ƒƒ","ƒ…","ƒ‡","|","[","J","K");

zenary2 = new Array("0","1","2","3","4","5","6","7","8","9");
hanary2 = new Array("‚O","‚P","‚Q","‚R","‚S","‚T","‚U","‚V","‚W","‚X");

zenary3 = new Array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z");
hanary3 = new Array("‚`","‚a","‚b","‚c","‚d","‚e","‚f","‚g","‚h","‚i","‚j","‚k","‚l","‚m","‚n","‚o","‚p","‚q","‚r","‚s","‚t","‚u","‚v","‚w","‚x","‚y");

zenary4 = new Array("A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z");
hanary4 = new Array("‚`","‚a","‚b","‚c","‚d","‚e","‚f","‚g","‚h","‚i","‚j","‚k","‚l","‚m","‚n","‚o","‚p","‚q","‚r","‚s","‚t","‚u","‚v","‚w","‚x","‚y");

function chktext_azToAZ(obj) {
	var i ;
	str = obj.value ;
	for (i=0; i< zenary.length; i++) {
		tmpary = str.split(zenary[i]) ;
		str = tmpary.join(hanary[i]) ;
	}
	for (i=0; i< zenary2.length; i++) {
		tmpary = str.split(zenary2[i]) ;
		str = tmpary.join(hanary2[i]) ;
	}
	for (i=0; i< zenary3.length; i++) {
		tmpary = str.split(zenary3[i]) ;
		str = tmpary.join(hanary3[i]) ;
	}
	for (i=0; i< zenary4.length; i++) {
		tmpary = str.split(zenary4[i]) ;
		str = tmpary.join(hanary4[i]) ;
	}
	obj.value = str ;
}


// ƒ|ƒbƒvƒAƒbƒv•\Ž¦
function ShowDetail(strURL){

	var newWin;
	newWin = window.open(strURL, "desc", "toolbar=no, menubar=no, status=no, resizable=yes, scrollbars=yes, width=340, height=600");
	newWin.focus();

}


// ƒ|ƒbƒvƒAƒbƒv•\Ž¦(‰æ‘œ)
function ShowPict(urlPICT, strCOMMENT, wWidth, wHeight){

	var newWin;

	newWin = window.open('', 'bPict', 'toolbar=no, menubar=no, status=no, resizable=yes, scrollbars=yes, width=' + wWidth + ', height=' + wHeight);

	newWin.document.open();

	newWin.document.writeln('<HTML><HEAD><TITLE>GooWorld.jp</TITLE>');
	newWin.document.writeln('<META http-equiv="Content-Type" content="text/html; charset=Shift_JIS">');
	newWin.document.writeln('</HEAD><BODY onContextmenu="return false" style="font-size:9pt;" bgcolor="#FDFDFF">');

	newWin.document.writeln('<IMG src="/img/spread_logo.gif" width="174" height="32" border="0" align="middle"><BR>');

	newWin.document.writeln('<CENTER>');
	newWin.document.writeln('<IMG src="/img/sp.gif" width="1" height="10"><BR>');
	newWin.document.writeln('<IMG src="' + urlPICT + '"><BR>');
	newWin.document.writeln('<IMG src="/img/sp.gif" width="1" height="5"><BR>');
	newWin.document.writeln('<FONT color="#000080"><B>' + strCOMMENT + '</B></FONT><BR>');
	newWin.document.writeln('<IMG src="/img/sp.gif" width="1" height="10"><BR>');
	newWin.document.writeln('<TABLE width="' + (wWidth * 0.80) + '"><TBODY><TR><TD align="center" bgcolor="#A0A0E0"><FONT color="#FFFFFF" style="font-size:9pt;">copyright(c) PROTO CORPORATION. All rights reserved</FONT></TD></TR></TBODY></TABLE>');
	newWin.document.writeln('<IMG src="/img/sp.gif" width="1" height="10"><BR>');
	newWin.document.writeln('<FORM><INPUT type="button" value="@close@" onClick="JavaScript:window.close();"></FORM>');
	newWin.document.writeln('</CENTER>');

	newWin.document.writeln('</BODY></HTML>');

	newWin.document.close();

	newWin.focus();

}


