﻿<!--
/* 20110819 add mobile button*/
var topicon='';
topicon +='<table width="100%" border="0" cellpadding="0" cellspacing="0" background="/common_images/bg2.gif">';
topicon +='<tr>';
topicon +='<td><table width="255" border="0" align="left" cellpadding="0" cellspacing="0">';
topicon +='<tr>';
topicon +='<td background="/common_images/bg2.gif"><a href="javascript:englang()" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image1","","/gallery_tc/images/newbut_01-over.gif",1)><img src="/gallery_tc/images/newbut_01.gif" alt="英文" name="Image1" width="85" height="25" border="0" id="Image1"></a></td>';

if (atgb){
topicon +='<td background="/common_images/bg2.gif"><a href="javascript:chglang(\'tc\')" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image2","","/gallery_chs/images/newbut_02-over.gif",1)><img src="/gallery_chs/images/newbut_02.gif" alt="繁體" name="Image2" width="85" height="25" border="0" id="Image2"></a></td>';
topicon +='<td background="/common_images/bg2.gif"><a href="/index.htm" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image3","","/gallery_chs/images/newbut_03-over.gif",1)><img src="/gallery_chs/images/newbut_03.gif" alt="主頁" name="Image3" width="85" height="25" border="0" id="Image3"></a></td>';

}else{

topicon +='<td background="/common_images/bg2.gif"><a href="javascript:chglang(\'chs\')" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image2","","/gallery_tc/images/newbut_02-over.gif",1)><img src="/gallery_tc/images/newbut_02.gif" alt="簡體" name="Image2" width="85" height="25" border="0" id="Image2"></a></td>';
topicon +='<td background="/common_images/bg2.gif"><a href="/index.htm" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image3","","/gallery_tc/images/newbut_03-over.gif",1)><img src="/gallery_tc/images/newbut_03.gif" alt="主頁" name="Image3" width="85" height="25" border="0" id="Image3"></a></td>';
}

var locapath = document.location.href;

if (locapath.indexOf("gallery_tc")!=-1){
topicon +='<td background="/common_images/bg2.gif"><a href="/mobile/gallery_tc/index.html" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image4","","/common_images/mobile_tradbut-over.gif",1)><img src="/common_images/mobile_tradbut.gif" alt="手機版" name="Image4" width="85" height="25" border="0" id="Image1"></a></td>';
}

if (locapath.indexOf("gallery_chs")!=-1){
topicon +='<td background="/common_images/bg2.gif"><a href="/mobile/gallery_chs/index.html" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image4","","/common_images/mobile_scbut-over.gif",1)><img src="/common_images/mobile_scbut.gif" alt="手机版" name="Image4" width="85" height="25" border="0" id="Image1"></a></td>';
}

if (locapath.indexOf("gallery_en")!=-1){
topicon +='<td background="/common_images/bg2.gif"><a href="/mobile/gallery_en/index.html" onMouseOut=MM_swapImgRestore() onMouseOver=MM_swapImage("Image4","","/common_images/mobile_engbut-over.gif",1)><img src="/common_images/mobile_engbut.gif" alt="Mobile" name="Image4" width="85" height="25" border="0" id="Image1"></a></td>';
}

topicon +='</tr>';
topicon +='</table></td>';
topicon +='</tr>';
topicon +='</table>';
document.write(topicon);
//-->
