// JavaScript Document
var newWindow

function pop(theURL,winName,this_width,this_height) 

{

ax=screen.availWidth; ay=screen.availHeight; 

bx = this_width; by = this_height;

if (!newWindow || newWindow.closed) 

{

features = "location=no,scrollbars=yes,menubar=no,toolbar=no,statusbar=no,resizable=yes,width=" + this_width + ",height=" + this_height;

newWindow = window.open(theURL,winName,features);

newWindow.moveTo((ax/2)-(bx/2),20);

} 

else 

{

newWindow.focus()

newWindow.location = theURL

}

}

function onewe(){
if(document.form2.bank.value=="a"){
location.href="javascript:pop('http://www.btm.co.jp/english/index.htm','Bank','600','600')";
} else if(document.form2.bank.value=="b"){
location.href="javascript:pop('http://www.citibank.co.jp/en/index.html','Bank','600','600')";
} else if(document.form2.bank.value=="c"){
location.href="javascript:pop('http://www.mizuhocbk.co.jp/english/','Bank','600','600')";
} else if(document.form2.bank.value=="d"){
location.href="javascript:pop('http://www.ufjbank.co.jp/ippan/english/index.html','Bank','600','600')";
} else if(document.form2.bank.value=="e"){
location.href="javascript:pop('http://www.smbc.co.jp/global/index.html','Bank','600','600')";
} else if(document.form2.bank.value=="f"){
location.href="javascript:pop('http://www.westernunion.com/info/homePage.asp?country=JP','Bank','600','600')";
} else if(document.form2.bank.value=="g"){
location.href="javascript:pop('http://www.alliance-leicester.co.uk/home/index.asp','Bank','600','600')";
} else if(document.form2.bank.value=="h"){
location.href="javascript:pop('http://www.lloydstsb.co.jp/','Bank','600','600')";
} else if(document.form2.bank.value=="i"){
location.href="javascript:pop('http://www.resona-gr.co.jp/resonabank/index.htm','Bank','600','600')";
} else if(document.form2.bank.value=="j"){
location.href="javascript:pop('http://www.shinseibank.com/english/index.html','Bank','600','600')";
} else if(document.form2.bank.value=="k"){
location.href="javascript:pop('http://www.aozorabank.co.jp/en/company/','Bank','600','600')";
} else if(document.form2.bank.value=="l"){
location.href="javascript:pop('http://www.boj.or.jp/en/','Bank','600','600')";
} else if(document.form2.bank.value=="m"){
location.href="javascript:pop('http://www.worldbank.or.jp/top.html','Bank','600','600')";
} else {
location.href="javascript:pop('otherfbank.htm','Bank','600','600')";
}
}
function oneus(){
if(document.form3.newspaper.value=="1"){
location.href="javascript:pop('http://www.asahi.com/home.html','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="2"){
location.href="javascript:pop('http://www.asahi.com/english/english.html','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="3"){
location.href="javascript:pop('http://www.fpcj.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="4"){
location.href="javascript:pop('http://www.japantimes.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="5"){
location.href="javascript:pop('http://www.mainichi.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="6"){
location.href="javascript:pop('http://www.mainichi.co.jp/english/index.html','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="7"){
location.href="javascript:pop('http://www.nikkei.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="8"){
location.href="javascript:pop('http://www.nni.nikkei.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="9"){
location.href="javascript:pop('http://www.sankei.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="10"){
location.href="javascript:pop('http://www.yomiuri.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="11"){
location.href="javascript:pop('http://www.chunichi.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="12"){
location.href="javascript:pop('http://www.hokkaido-np.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="13"){
location.href="javascript:pop('http://www.hokkoku.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="14"){
location.href="javascript:pop('http://www.hokkoku.co.jp/_e_index/e_index.htm','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="15"){
location.href="javascript:pop('http://www.kobe-np.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="16"){
location.href="javascript:pop('http://kumanichi.com/index.htm','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="17"){
location.href="javascript:pop('http://www.kyoto-np.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="18"){
location.href="javascript:pop('http://www.nankainn.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="19"){
location.href="javascript:pop('http://www.nishinippon.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="20"){
location.href="javascript:pop('http://www.okinawatimes.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="21"){
location.href="javascript:pop('http://ryukyushimpo.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="22"){
location.href="javascript:pop('http://www.saga-s.co.jp/error.html','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="23"){
location.href="javascript:pop('http://www.toyama.hokkoku.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="24"){
location.href="javascript:pop('http://www.sannichi.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="25"){
location.href="javascript:pop('http://www.osakanews.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="26"){
location.href="javascript:pop('http://www.nikkeius.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="27"){
location.href="javascript:pop('http://home.kyodo.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="28"){
location.href="javascript:pop('http://www.cnn.co.jp/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="29"){
location.href="javascript:pop('http://www.nytimes.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="3"){
location.href="javascript:pop('http://www.usatoday.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="31"){
location.href="javascript:pop('http://online.wsj.com/public/us','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="32"){
location.href="javascript:pop('http://news.ft.com/home/us','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="33"){
location.href="javascript:pop('http://www.chicagotribune.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="34"){
location.href="javascript:pop('http://www.latimes.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="35"){
location.href="javascript:pop('http://sfgate.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="36"){
location.href="javascript:pop('http://www.bostonherald.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="37"){
location.href="javascript:pop('http://www.miami.com/mld/miamiherald/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="38"){
location.href="javascript:pop('http://news.enquirer.com/apps/pbcs.dll/frontpage','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="39"){
location.href="javascript:pop('http://timesofindia.indiatimes.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="40"){
location.href="javascript:pop('http://www.hindustantimes.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="41"){
location.href="javascript:pop('http://www.thestatesman.net/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="42"){
location.href="javascript:pop('http://economictimes.indiatimes.com/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="43"){
location.href="javascript:pop('http://www.nanfangdaily.com.cn/southnews/','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="44"){
location.href="javascript:pop('http://www3.chinesenewsnet.com/index.html','Newspaper','600','600')";
} else if(document.form3.newspaper.value=="45"){
location.href="javascript:pop('http://www.bjd.com.cn/','Newspaper','600','600')";
} else {
location.href="javascript:pop('http://www.chinadaily.com.cn/english/home/index.html','Newspaper','600','600')";
}
}

function timer(v){

GMT = v;

var week = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");

var gmt = new Date();

var now = new Date();

var set = now.getTimezoneOffset();

gmt.setTime(now.getTime()+(set/60+parseFloat(GMT))*60*60*1000);

Mon = gmt.getMonth() + 1;

Wee = week[gmt.getDay()];

Dat = gmt.getDate();

hor = gmt.getHours();   if(hor < 10)hor = "0" + hor;

min = gmt.getMinutes(); if(min < 10)min = "0" + min;

sec = gmt.getSeconds(); if(sec < 10)sec = "0" + sec;

document.form1.show_time.value = " "+hor+":"+min+":"+sec;

setTimeout("timer(GMT)",999);

}
