var version = "0";
var picked = "";

bVer = parseInt(navigator.appVersion);
if      (bVer >= 4) version = "4";
else if (bVer == 3) version = "3";
else if (bVer == 2) version = "2";

if (version == "3" || version == "4"){

amenu1_a = new Image(94, 28);
amenu1_a.src = "img/menu1_1.gif";
amenu1_i= new Image(94, 28);
amenu1_i.src = "img/menu1_0.gif";

amenu2_a = new Image(94, 28);
amenu2_a.src = "img/menu2_1.gif";
amenu2_i= new Image(94, 28);
amenu2_i.src = "img/menu2_0.gif";

amenu3_a = new Image(94, 28);
amenu3_a.src = "img/menu3_1.gif";
amenu3_i= new Image(94, 28);
amenu3_i.src = "img/menu3_0.gif";

amenu4_a = new Image(94, 28);
amenu4_a.src = "img/menu4_1.gif";
amenu4_i= new Image(94, 28);
amenu4_i.src = "img/menu4_0.gif";

amenu5_a = new Image(94, 28);
amenu5_a.src = "img/menu5_1.gif";
amenu5_i= new Image(94, 28);
amenu5_i.src = "img/menu5_0.gif";

amenu6_a = new Image(94, 28);
amenu6_a.src = "img/menu6_1.gif";
amenu6_i= new Image(94, 28);
amenu6_i.src = "img/menu6_0.gif";

}

function overImg(objName){
	if (version == "3" || version == "4"){
		if (picked != objName){
			imgSrc = eval(objName + "_a.src");
			document[objName].src = imgSrc;
		}
	}
}

function outImg(objName){
	if (picked != objName){
		if (version == "3" || version == "4"){
			imgSrc = eval(objName + "_i.src");
			document[objName].src = imgSrc;
		}
	}
}
//-->


function bg(what,color){
what.style.backgroundColor=color
}

function bg_on(e){
if (document.all)
source3=event.srcElement
else if (document.getElementById)
source3=e.target
if (source3.className=="bg"){
bg(source3,"#829FBD")
}
else{
while(source3.tagName!="TABLE"){
source3=document.getElementById? source3.parentNode : source3.parentElement
if (source3.className=="bg")
bg(source3,"#829FBD")
}
}
}

function bg_off(e){
if (document.all)
source4=event.srcElement
else if (document.getElementById)
source4=e.target
if (source4.className=="bg")
bg(source4,"#E2E9F0")
else{
while(source4.tagName!="TABLE"){
source4=document.getElementById? source4.parentNode : source4.parentElement
if (source4.className=="bg")
bg(source4,"#E2E9F0")
}
}
}




/*-------------------------------------------
Required menu Settings
--------------------------------------------*/

   DQM_sub_menu_width = 130
   
   DQM_urltarget = ""
   
   DQM_onload_statement = ""
   DQM_codebase = ""

   DQM_border_color = "B0C0D0"
   
   DQM_menu_bgcolor = "#C0CFDE"
   DQM_hl_bgcolor = "#336699"

   DQM_sub_xy = "0,0"
   DQM_border_width = 1
   DQM_divider_height = 1

   /*---IE5-MAC Offset Fix - The following two
   -----parameters correct a position reporting
   -----bug in IE5 on the Mac platform. Adjust
   -----the offsets below untill the first level
   -----sub menus pop up in the correct location.*/
   
   DQM_ie5mac_offset_X = 10
   DQM_ie5mac_offset_Y = 12


/*-------------------------------------------
Required font Settings
--------------------------------------------*/
   

   DQM_textcolor = "#333333"
   DQM_fontfamily = "sans-serif, Arial, Helvetica"
   DQM_fontsize = 11
   DQM_textdecoration = "normal"
   DQM_fontweight = "normal"
   DQM_fontstyle = "normal"
   DQM_hl_textcolor = "#ffffff"
   DQM_hl_textdecoration = "normal"

   DQM_margin_top = 2
   DQM_margin_bottom = 3
   DQM_margin_left = 5



/*-------------------------------------------
Optional main menu rollover images
--------------------------------------------*/
  
   DQM_rollover_image0 = 
   DQM_rollover_wh0 = 

   DQM_rollover_image1 = 
   DQM_rollover_wh1 = 

   DQM_rollover_image2 = 
   DQM_rollover_wh2 = 

   DQM_rollover_image3 = 
   DQM_rollover_wh3 = 

   DQM_rollover_image4 = 
   DQM_rollover_wh4 = 

   DQM_rollover_image5 = 
   DQM_rollover_wh5 = 

   DQM_rollover_image6 = 
   DQM_rollover_wh6 = 

   DQM_rollover_image7 = 
   DQM_rollover_wh7 = 

   DQM_rollover_image8 = 
   DQM_rollover_wh8 = 

   DQM_rollover_image9 = 
   DQM_rollover_wh9 = 

   DQM_rollover_image10 = 
   DQM_rollover_wh10 = 

   DQM_rollover_image11 = 
   DQM_rollover_wh11 = 

   DQM_rollover_image12 = 
   DQM_rollover_wh12 = 

/*---------------------------------------------
Optional Icon Images
-----------------------------------------------*/

   DQM_icon_image0 = "img/bullet.gif"
   DQM_icon_rollover0 = "img/bullet_hl.gif"
   DQM_icon_image_wh0 = "12,7"


/*---------------------------------------------
Sub Menu Item Settings
-----------------------------------------------*/

DQM_sub_xy0 = "0,-3"
DQM_sub_menu_width0 = 160

DQM_subdesc0_0 = "BNT & BNT Pro Series"
DQM_subdesc0_1 = "King & King Pro Series"
DQM_subdesc0_2 = "Smart King Series"
DQM_subdesc0_3 = "Home Series"

DQM_icon_index0_0 = 0
DQM_icon_index0_1 = 0
DQM_icon_index0_2 = 0
DQM_icon_index0_3 = 0

DQM_url0_0 = "th_bnt.htm"
DQM_url0_1 = "th_kin.htm"
DQM_url0_2 = "th_smk.htm"
DQM_url0_3 = "th_hom.htm"

DQM_sub_xy1 = "0,-3"
DQM_sub_menu_width1 = 160

DQM_subdesc1_0 = "Vanguard Series"
DQM_subdesc1_1 = "ONL Series"

DQM_icon_index1_0 = 0
DQM_icon_index1_1 = 0

DQM_url1_0 = "th_vgd.htm"
DQM_url1_1 = "th_onl.htm"

DQM_sub_xy2 = "0,-3"
DQM_sub_menu_width2 = 160

DQM_subdesc2_0 = "TAP-Change AVR"

DQM_icon_index2_0 = 0

DQM_url2_0 = "th_tca.htm"

DQM_sub_xy3 = "0,-3"
DQM_sub_menu_width3 = 160

DQM_subdesc3_0 = "Notbook Pro"

DQM_icon_index3_0 = 0

DQM_url3_0 = "th_nbp.htm"

DQM_sub_xy4 = "0,-3"
DQM_sub_menu_width4 = 194

DQM_subdesc4_0 = "UPSMON Plus"
DQM_subdesc4_1 = "UPSMON Plus Network"
DQM_subdesc4_2 = "UPSMON Plus Network S (Slave)"
DQM_subdesc4_3 = "UPSMON Plus Network M (Manager)"

DQM_icon_index4_0 = 0
DQM_icon_index4_1 = 0
DQM_icon_index4_2 = 0
DQM_icon_index4_3 = 0

DQM_url4_0 = "th_monp.htm"
DQM_url4_1 = "th_monn.htm"
DQM_url4_2 = "th_mons.htm"
DQM_url4_3 = "th_monm.htm"

DQM_sub_xy5 = "0,-3"
DQM_sub_menu_width5 = 160

DQM_subdesc5_0 = "WOW Series"
DQM_subdesc5_1 = "Compact Series"
DQM_subdesc5_2 = "e-Book Series"

DQM_icon_index5_0 = 0
DQM_icon_index5_1 = 0
DQM_icon_index5_2 = 0

DQM_url5_0 = "w_wow.htm"
DQM_url5_1 = "w_com.htm"
DQM_url5_2 = "w_ebk.htm"

DQM_sub_xy6 = "0,-3"
DQM_sub_menu_width6 = 160

DQM_subdesc6_0 = "BNT & BNT Pro Series"
DQM_subdesc6_1 = "King & King Pro Series"
DQM_subdesc6_2 = "Smart King Series"
DQM_subdesc6_3 = "Home Series"

DQM_icon_index6_0 = 0
DQM_icon_index6_1 = 0
DQM_icon_index6_2 = 0
DQM_icon_index6_3 = 0

DQM_url6_0 = "w_bnt.htm"
DQM_url6_1 = "w_kin.htm"
DQM_url6_2 = "w_smk.htm"
DQM_url6_3 = "w_hom.htm"

DQM_sub_xy7 = "0,-3"
DQM_sub_menu_width7 = 160

DQM_subdesc7_0 = "Ultimate Series"
DQM_subdesc7_1 = "Vanguard Series"
DQM_subdesc7_2 = "ONL Series"
DQM_subdesc7_3 = "ONL-33 Series"

DQM_icon_index7_0 = 0
DQM_icon_index7_1 = 0
DQM_icon_index7_2 = 0
DQM_icon_index7_3 = 0

DQM_url7_0 = "w_ult.htm"
DQM_url7_1 = "w_vgd.htm"
DQM_url7_2 = "w_onl.htm"
DQM_url7_3 = "w_onl33.htm"

DQM_sub_xy8 = "0,-3"
DQM_sub_menu_width8 = 160

DQM_subdesc8_0 = "Inverter"
DQM_subdesc8_1 = "INVCHA LOW"
DQM_subdesc8_2 = "INVCHA HI"


DQM_icon_index8_0 = 0
DQM_icon_index8_1 = 0
DQM_icon_index8_2 = 0

DQM_url8_0 = "w_inver.htm"
DQM_url8_1 = "w_icl.htm"
DQM_url8_2 = "w_ich.htm"

DQM_sub_xy9 = "0,-3"
DQM_sub_menu_width9 = 160

DQM_subdesc9_0 = "TAP-Change AVR"
DQM_subdesc9_1 = "HI-AVR-LCD Series"
DQM_subdesc9_2 = "HI-AVR 33 Series"


DQM_icon_index9_0 = 0
DQM_icon_index9_1 = 0
DQM_icon_index9_2 = 0

DQM_url9_0 = "w_tca.htm"
DQM_url9_1 = "w_hiar.htm"
DQM_url9_2 = "w_ar33.htm"

DQM_sub_xy10 = "0,-3"
DQM_sub_menu_width10 = 160

DQM_subdesc10_0 = "Notbook Pro"
DQM_subdesc10_1 = "Desk/Strip Pro"
DQM_subdesc10_2 = "WOW Series"


DQM_icon_index10_0 = 0
DQM_icon_index10_1 = 0
DQM_icon_index10_2 = 0

DQM_url10_0 = "w_nbp.htm"
DQM_url10_1 = "w_dtp.htm"
DQM_url10_2 = "w_wow.htm"

DQM_sub_xy11 = "0,-3"
DQM_sub_menu_width11 = 194

DQM_subdesc11_0 = "UPSMON Plus"
DQM_subdesc11_1 = "UPSMON Plus Network"
DQM_subdesc11_2 = "UPSMON Plus Network S (Slave)"
DQM_subdesc11_3 = "UPSMON Plus Network M (Manager)"

DQM_icon_index11_0 = 0
DQM_icon_index11_1 = 0
DQM_icon_index11_2 = 0
DQM_icon_index11_3 = 0

DQM_url11_0 = "w_monp.htm"
DQM_url11_1 = "w_monn.htm"
DQM_url11_2 = "w_mons.htm"
DQM_url11_3 = "w_monm.htm"

DQM_sub_xy12 = "0,-3"
DQM_sub_menu_width12 = 160

DQM_subdesc12_0 = "Cable TV UPS"
DQM_subdesc12_1 = "DC-UPS"
DQM_subdesc12_2 = "Home Series"

DQM_icon_index12_0 = 0
DQM_icon_index12_1 = 0
DQM_icon_index12_2 = 0

DQM_url12_0 = "w_ctv.htm"
DQM_url12_1 = "w_dc.htm"
DQM_url12_2 = "w_hom.htm"
