
//

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		bsti_menu_10_over = newImage("../images_tc/bsti_menu_tc_10-over.png");
		bsti_menu_11_over = newImage("../images_tc/bsti_menu_tc_11-over.png");
		bsti_menu_12_bsti_menu_11_over = newImage("../images_tc/bsti_menu_tc_12-bsti_menu_11_o.png");
		bsti_menu_14_over = newImage("../images_tc/bsti_menu_tc_14-over.png");
		bsti_menu_16_over = newImage("../images_tc/bsti_menu_tc_16-over.png");
		bsti_menu_18_over = newImage("../images_tc/bsti_menu_tc_18-over.png");
		bsti_menu_19_bsti_menu_18_over = newImage("../images_tc/bsti_menu_tc_19-bsti_menu_18_o.png");
		bsti_menu_20_over = newImage("../images_tc/bsti_menu_tc_20-over.png");
		bsti_menu_22_over = newImage("../images_tc/bsti_menu_tc_22-over.png");
		bsti_menu_24_over = newImage("../images_tc/bsti_menu_tc_24-over.png");
		bsti_menu_26_over = newImage("../images_tc/bsti_menu_tc_26-over.png");
		bsti_menu_28_over = newImage("../images_tc/bsti_menu_tc_28-over.png");
		preloadFlag = true;
	}
}



//new Menu("root",90,25,"",12,"#000000","#0066CC","#74A5E1","#0066CC","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false); 
//new Menu("root",td¼e,td°ª,"",¦r¤j¤p,"¦rcolor","link  font color","td color,"link font color","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false); 


function mmLoadMenus() {
  if (window.mm_menu_1123085714_0) return;
window.mm_menu_1123085714_0 = new Menu("root",100,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-10,7,true,true,true,0,true,false);
  mm_menu_1123085714_0.addMenuItem("網路攝影機","window.open('../ip-surveillance/ip-surveillance-ipcameras-tc_index.html', '_top');");
  mm_menu_1123085714_0.addMenuItem("影音伺服器","window.open('../ip-surveillance/ip-surveillance-videoservers-tc_index.html', '_top');");
  mm_menu_1123085714_0.addMenuItem("錄影軟體","window.open('../ip-surveillance/ip-surveillance-software-tc_index.html', '_top');");
  mm_menu_1123085714_0.addMenuItem("相關配件","window.open('../ip-surveillance/ip-surveillance-accessories-tc_index.html', '_top');");
   mm_menu_1123085714_0.hideOnMouseOut=true;
   mm_menu_1123085714_0.bgColor='#FFFFFF';
   mm_menu_1123085714_0.menuBorder=1;
   mm_menu_1123085714_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1123085714_0.menuBorderBgColor='';
   
 window.mm_menu_1123095152_0 = new Menu("root",100,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1123095152_0.addMenuItem("攝影機","location='../cctv-surveillance/cctv-surveillance-cameras-tc_index.html', '_top'");
  mm_menu_1123095152_0.addMenuItem("數位錄影主機","location='../cctv-surveillance/cctv-surveillance-dvrs-tc_index.html', '_top'");
  mm_menu_1123095152_0.addMenuItem("相關配件","location='../cctv-surveillance/cctv-surveillance-accessories-tc_index.html', '_top'");
   mm_menu_1123095152_0.hideOnMouseOut=true;
   mm_menu_1123095152_0.bgColor='#FFFFFF';
   mm_menu_1123095152_0.menuBorder=1;
   mm_menu_1123095152_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1123095152_0.menuBorderBgColor='';
 
 window.mm_menu_1214141801_0 = new Menu("root",80,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1214141801_0.addMenuItem("美洲","location='../market/ebay-tc-index.html', '_top'");
  mm_menu_1214141801_0.addMenuItem("英國","window.open('../market/ebay-tc-index.html', '_top');");
  mm_menu_1214141801_0.addMenuItem("歐洲","window.open('../market/ebay-tc-index.html', '_top');");
  mm_menu_1214141801_0.addMenuItem("澳洲","window.open('../market/ebay-tc-index.html', '_top');");
  mm_menu_1214141801_0.addMenuItem("亞洲","window.open('../market/ebay-tc-index.html', '_top');");  
   mm_menu_1214141801_0.hideOnMouseOut=true;
   mm_menu_1214141801_0.bgColor='#FFFFFF';
   mm_menu_1214141801_0.menuBorder=1;
   mm_menu_1214141801_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1214141801_0.menuBorderBgColor='';
  
window.mm_menu_1123095559_0 = new Menu("root",80,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1123095559_0.addMenuItem("台灣","window.open('../market/yahoo-tc-index.html', '_top');");
   mm_menu_1123095559_0.hideOnMouseOut=true;
   mm_menu_1123095559_0.bgColor='#FFFFFF';
   mm_menu_1123095559_0.menuBorder=1;
   mm_menu_1123095559_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1123095559_0.menuBorderBgColor='';

        window.mm_menu_1214141800_0 = new Menu("root",100,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1214141800_0.addMenuItem("購物車","location='../market/shopping-cart-tc-index.html', '_top'");  
  mm_menu_1214141800_0.addMenuItem("郵件訂購","location='../market/mail-order-tc-index.html', '_top'");
  mm_menu_1214141800_0.addMenuItem("運送資訊","location='../market/shipping-info-tc-index.html', '_top'"); 
  mm_menu_1214141800_0.hideOnMouseOut=true;
   mm_menu_1214141800_0.bgColor='#FFFFFF';
   mm_menu_1214141800_0.menuBorder=1;
   mm_menu_1214141800_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1214141800_0.menuBorderBgColor='';

window.mm_menu_1214141802_0 = new Menu("root",130,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1214141802_0.addMenuItem("多項產品折扣","location='../market/prices-discount-tc-index.html', '_top'");
  mm_menu_1214141802_0.addMenuItem("零售店 / 工程行","location='../market/prices-all-tc-index.html', '_top'");
  mm_menu_1214141802_0.addMenuItem("區域經銷 / 發貨中心","location='../market/prices-all-tc-index.html', '_top'");
  mm_menu_1214141802_0.addMenuItem("OEM / ODM","location='../market/prices-all-tc-index.html', '_top'");        
//  mm_menu_1214141802_0.addMenuItem("Dealer / Installer  MOQ10","window.open('http://www.bsti.com.tw', '_blank','menubar=no,status=no,scrollbars=auto,toolbar=no,top=1,left=1,width=1000,height=700');");
   mm_menu_1214141802_0.hideOnMouseOut=true;
   mm_menu_1214141802_0.bgColor='#FFFFFF';
   mm_menu_1214141802_0.menuBorder=1;
   mm_menu_1214141802_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1214141802_0.menuBorderBgColor='';
   
        window.mm_menu_1214141803_0 = new Menu("root",110,25,"",12,"#ffffff","#FFFFFF","#74A5E1","#34AACD","Left","middle",3,0,1000,-5,7,true,true,true,0,true,false);
  mm_menu_1214141803_0.addMenuItem("IP 工具程式","location='../download-contact/download-tc_index.html', '_top'");
  mm_menu_1214141803_0.addMenuItem("快速安裝指引","location='../download-contact/download-tc_index.html', '_top'");
  mm_menu_1214141803_0.addMenuItem("使用手冊","location='../download-contact/download-tc_index.html', '_top'");
  mm_menu_1214141803_0.addMenuItem("軔體","location='../download-contact/download-tc_index.html', '_top'");
  mm_menu_1214141803_0.addMenuItem("開發工具","location='../download-contact/download-tc_index.html', '_top'");
  mm_menu_1214141803_0.addMenuItem("電腦軟體","location='../download-contact/download-tc_index.html', '_top'");
//  mm_menu_1214141803_0.addMenuItem("Technical Support ","location='download-contact/contact-tc.html', '_top'");  
   mm_menu_1214141803_0.hideOnMouseOut=true;
   mm_menu_1214141803_0.bgColor='#FFFFFF';
   mm_menu_1214141803_0.menuBorder=1;
   mm_menu_1214141803_0.menuLiteBgColor='#FFFFFF';
   mm_menu_1214141803_0.menuBorderBgColor='';

mm_menu_1214141803_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


