<!--
function scrollup() {
	parent.scroll(0,50);
  }
function scrolldown() {
	parent.scroll(0,660);        <!--移動捲軸-->
  }
function back_page() {
	history.back();              <!--上一頁-->
  }
  
function sbar(st) {
 st.style.backgroundColor = '#FCF2D9'; <!--滑鼠移動的背景顏色-->
}
function cbar(st) {
 st.style.backgroundColor = '';
}

function openWindow(former)      <!--開1個新視窗-->
  {
    var SelectedIndex = former.selector.selectedIndex;
    var URLocation = former.selector.options[SelectedIndex].value;
    window.open(URLocation);
    // msg = open(URLocation,"","location=no,scrollbars=no,status=no");
  }
function MM_openBrWindow(theURL,winName,features) 
  { 
    wdow=window.open(theURL,winName,features);
    wdow.focus();
  }

function printit(){                                    <!--啟動印表機-->
if (window.print) {
window.print() ; 
} else {
var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6, 2);
WebBrowser1.outerHTML = ""; 
}
}

function tips_show(a)
{
  switch (a)
   {
      case 1:
        document.getElementById("tips").innerHTML='Shopping Cart';
      break
      case 2:
        document.getElementById("tips").innerHTML='Viewed Items';
      break
      case 3:
        document.getElementById("tips").innerHTML='Select Your Currency';
      break
      case 4:
        document.getElementById("tips").innerHTML='Q & A';
      break
      case 5:
        document.getElementById("tips").innerHTML='Feedback';
      break
      case 6:
        document.getElementById("tips").innerHTML='Widgets';
      break
      case 7:
        document.getElementById("tips").innerHTML='購物車';
      break
      case 8:
        document.getElementById("tips").innerHTML='已看商品';
      break
      case 9:
        document.getElementById("tips").innerHTML='選擇貨幣';
      break
      case 10:
        document.getElementById("tips").innerHTML='Q & A';
      break
      case 11:
        document.getElementById("tips").innerHTML='客戶評價';
      break
      case 12:
        document.getElementById("tips").innerHTML='小工具';
      break
      case 13:
        document.getElementById("tips").innerHTML='购物车';
      break
      case 14:
        document.getElementById("tips").innerHTML='已看商品';
      break
      case 15:
        document.getElementById("tips").innerHTML='选择货币';
      break
      case 16:
        document.getElementById("tips").innerHTML='Q & A';
      break
      case 17:
        document.getElementById("tips").innerHTML='客户评价';
      break
      case 18:
        document.getElementById("tips").innerHTML='小工具';
      break
      default:
        document.getElementById("tips").innerHTML='';
   }
}

function tips_close()
{
  document.getElementById("tips").innerHTML='';
}
//-->