function jumpWorldwide(){ 
    var loc=document.TSIndex.JumpStation.options[document.TSIndex.JumpStation.selectedIndex].text;     
	if (loc == "Denmark"){
       window.open("http://www.thai-airways.dk");       
      }else if (loc == "England"){
       window.open("http://www.thaiairways.co.uk");
     }else if (loc == "Germany"){
       window.open("http://www.thai-airways.de");
	 }else if (loc == "Indonesia"){
       window.open("http://www.thaiairways.co.id");
     }else if (loc == "Japan"){
       window.open("http://www.thaiair.co.jp");
     }else if (loc == "Korea"){
       window.open("http://www.thaiair.co.kr");
     }else if (loc == "Norway"){
       window.open("http://www.thaiairways.no");
     }else if (loc == "The Netherlands"){
       window.open("http://www.thaiairways.nl");
     }else if (loc == "Spain"){
       window.open("http://www.thaiairways.es");
     }else if (loc == "Sweden"){
       window.open("http://www.thaiairways.se");
     }else if (loc == "Switzerland"){
       window.open("http://www.thaiair.ch");
     }else if (loc == "Taiwan"){
       window.open("http://www.thaiairways.com.tw");
     }else if (loc == "U.S.A."){
      window.open("/index_station_usa.shtml");
     }else if (loc == "Australia"){
      window.open("http://www.thaiairways.com.au");
     }else if (loc == "Italy"){
      window.open("http://www.thaiair.it");
     }else if (loc == "France"){
      window.open("http://www.thaiairways.fr");
	 }else if (loc == "Thailand"){
      window.open("http://www.thaiair.com/redirect/rdr_mainsite.htm");
     }else if (loc == "Hong Kong"){
      window.open("http://www.thaiairways.com.hk");
     }else if (loc == "Singapore"){
      window.open("http://www.thaiairways.com.sg");
     }else if (loc == "Vietnam"){
      window.open("http://www.thaiairvn.com");
     }
}

function checkup(forms){
		if(forms.userid.value =="") {
			alert("Please fill in Member ID");
			forms.userid.focus();	
			return false;
		}
		if(forms.pin.value=="") {
			alert("Please fill in pin code");
			forms.pin.focus();
			return false;
		}
		return true;
}

var win=null;
function NewWindow(mypage,myname,w,h,scroll,resize){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings ='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable='+resize;
win = window.open(mypage,myname,settings);
}