页面
http://support.asus.com.cn/download/download.aspx?SLanguage=zh-cn
js脚本

function MM_findObj(n, d)
{

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_showHideLayers()
{
var i,p,v,obj,args=MM_showHideLayers.arguments;

for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null)
{ v=args[i+2];

if (obj.style)
{ obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}

function MM_swapImgRestore()
{
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_preloadImages()
{

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_swapImage()
{
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];}
}
NN = (!document.all && document.getElementById);

function body_load()
{
document.getElementById("txt_search").onkeydown = txt_search_KeyDown;
document.getElementById("ibtn_search").onclick = ibtn_search_Click;
hide_loading();
}

function txt_search_KeyDown(e)
{
var keyCode;
if (NN)
keyCode = e.keyCode;
else
keyCode = event.keyCode;

if (keyCode == 13)
{
ibtn_search_Click();
return false;
}
}

function ibtn_search_Click()
{
keyword = alltrim(document.getElementById("txt_search").value.toLowerCase());
lang_id = document.getElementById("langNormal").value;
if (keyword == "")
return;
show_loading();
document.getElementById("ifr_user_left").src = "../search/search_left.aspx?SLanguage=" + lang_id + "&global=1";
document.getElementById("ifr_user_right").src = "../search/search_right.aspx?keyword=" + escape(keyword) + "&SLanguage=" + lang_id;
}

function alltrim()
{
return arguments[0].replace(/(^ +)|( +$)/g,'');
}

function adjust_iframe_left_height(h)
{
if (h==0)
document.getElementById("ifr_user_left").src = document.getElementById("ifr_user_left").src;
document.getElementById("ifr_user_left").style.height = h;
}

function adjust_iframe_right_height(h)
{
if (h==0)
document.getElementById("ifr_user_right").src = document.getElementById("ifr_user_right").src;
document.getElementById("ifr_user_right").style.height = h;
}

function scroll_top()
{
window.scrollTo(0,0);
}

function body_resize()
{

if (document.body.clientWidth>=778)
{
nShift = 505;
document.getElementById("contact").style.left = document.body.clientWidth - nShift;
document.getElementById("search").style.left = document.body.clientWidth - nShift;
document.getElementById("sitemap").style.left = document.body.clientWidth - nShift;
document.getElementById("home").style.left = document.body.clientWidth - nShift;
document.getElementById("home").style.left = document.body.clientWidth - nShift;
document.getElementById("asus").style.left = document.body.clientWidth - nShift;
}

else
{
nPlace = 270
document.getElementById("contact").style.left = nPlace + 40;
document.getElementById("search").style.left = nPlace + 40;
document.getElementById("sitemap").style.left = nPlace + 40;
document.getElementById("home").style.left = nPlace + 40;
document.getElementById("home").style.left = nPlace + 40;
document.getElementById("asus").style.left = nPlace + 40;
}
}

function show_loading()
{
IE = (document.all && navigator.userAgent.indexOf("Opera") == -1)

if (IE)
{
document.getElementById("loading").style.display = "inline";
document.getElementById("loading").offsetHeight;
document.getElementById("loading").style.pixelTop = (document.body.clientHeight/2)-(document.getElementById("loading").offsetHeight/2)+(document.body.scrollTop);
document.getElementById("loading").style.pixelLeft = (document.body.clientWidth/2)-(document.getElementById("loading").offsetWidth/2)+(document.body.scrollLeft);
}
}

function hide_loading()
{
document.getElementById("loading").style.display = "none";
}

function go(url)
{
show_loading();
location.href = url;
}

function replace(as,as_rex,as_out)
{
var ls_rex;
ls_rex = new RegExp(as_rex,"g");
as = as.replace(ls_rex, as_out);
return as;
}

function switch_lang(lang_id)
{
s = location.href;
if (s.indexOf(document.getElementById("langNormal").value) != -1)
location.href = replace(s,document.getElementById("langNormal").value,lang_id);
else
location.href = s + '?SLanguage=' + lang_id;
}





skm_registerMenu('topmenu',new skm_styleInfo('','','','','','','','','','selectmenuitem'),new skm_styleInfo('','','','','','','','','',''),1,true);

function hide_loading()
{
if (parent.document.getElementById("loading").style.display == "none")
clearInterval(timerID);
else
parent.hide_loading();
}


function parent_hide_loading()
{
if (parent.parent.document.getElementById("loading").style.display == "none")
clearInterval(timerID);
else
parent.parent.hide_loading();
}


function go(url)
{
parent.show_loading();
parent.document.getElementById("ifr_user_right").src = url;
}

var hld_model_keyword;
NN = (!document.all && document.getElementById);


function body_load()
{
document.getElementById("img_search_info").onclick = img_searach_info_click;
document.getElementById("txt_keyword").onmouseover = txt_keyword_mouseover;
document.getElementById("txt_keyword").onmouseout = txt_keyword_mouseout;
document.getElementById("txt_keyword").onkeydown = txt_keyword_KeyDown;
if (NN)
document.getElementById("ddl_dltype").style.width = 150;
hld_model_keyword = document.getElementById("hld_model_keyword").value;
document.getElementById("txt_keyword").value = document.getElementById("hld_model_keyword").value;
parent.adjust_iframe_left_height(document.body.scrollHeight);
}


function txt_keyword_KeyDown(e)
{
var keyCode;
if (NN)
keyCode = e.keyCode;
else
keyCode = event.keyCode;

if (keyCode == 13)
{
img_searach_info_click();
return false;
}
}


function img_searach_info_click()
{
keyword = document.getElementById("txt_keyword").value;
dltype = document.getElementById("ddl_dltype").value;
if (keyword == "" || keyword == hld_model_keyword)
return;

else
{
parent.show_loading();
parent.document.getElementById("ifr_user_right").src = "../common/search_model.aspx?mode=1&model_name=" + keyword + "&type=" + dltype + "&SLanguage=" + document.getElementById("langNormal").value;
}
}


function txt_keyword_mouseover()
{
o = document.getElementById("txt_keyword");
if (o.value == hld_model_keyword)
o.value = "";
}


function txt_keyword_mouseout()
{
o = document.getElementById("txt_keyword");
if (o.value == "")
o.value = document.getElementById("hld_model_keyword").value;
}

var timerID;

function body_load()
{
document.getElementById("btn_search").onclick = btn_search_click;
document.getElementById("select1").value = "0";
document.getElementById("select1").onchange = select1_change;
document.getElementById("select2").onchange = select2_change;
document.getElementById("select2")[0] = new Option(document.getElementById("hld_select2_welcome").value,"0");
document.getElementById("select3")[0] = new Option(document.getElementById("hld_select3_welcome").value,"0");
timerID = setInterval("hide_loading()",500);
parent.adjust_iframe_right_height(document.body.scrollHeight);
}


function select1_change()
{

if (document.getElementById("select1").value == "0")
{
document.getElementById("select2").innerHTML = "";
document.getElementById("select2").add(new Option(document.getElementById("hld_select2_welcome").value,"0"));
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
return;
}
parent.show_loading();
setTimeout("get_select2()",500);
}


function get_select2()
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET","../common/3combo_databind.aspx?workMode=0&select1_id=" + document.getElementById("select1").value + "&SLanguage=" + document.getElementById("langNormal").value,false);
xmlhttp.send();
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.loadXML(xmlhttp.responseText);
document.getElementById("select2").innerHTML = "";
document.getElementById("select2").add(new Option(document.getElementById("hld_select2_welcome").value,"0"));
nodes = xmldoc.selectNodes("/NewDataSet/Table");
for(i=0; i<nodes.length; i++)
document.getElementById("select2").add(new Option(nodes[i].childNodes(0).text,nodes[i].childNodes(1).text));
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
parent.hide_loading();
}


function select2_change()
{

if (document.getElementById("select2").value == "0")
{
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
return;
}
parent.show_loading();
setTimeout("get_select3()",500);
}


function get_select3()
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET","../common/3combo_databind.aspx?workMode=0&select1_id=" + document.getElementById("select1").value + "&select2_id=" + document.getElementById("select2").value + "&SLanguage=" + document.getElementById("langNormal").value,false);
xmlhttp.send();
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.loadXML(xmlhttp.responseText);
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
nodes = xmldoc.selectNodes("/NewDataSet/Table");
for(i=0; i<nodes.length; i++)
document.getElementById("select3").add(new Option(nodes[i].childNodes(0).text,nodes[i].childNodes(1).text));
parent.hide_loading();
}


function btn_search_click()
{
select1_value = document.getElementById("select1").value;
select2_value = document.getElementById("select2").value;
select3_value = document.getElementById("select3").value;
if (select1_value == "0" && select2_value == "0" && select3_value == "0")
return;

if (select1_value != "0" && select2_value == "0" && select3_value == "0")
{
parent.show_loading();
location.href = "model_list.aspx?product=" + select1_value + "&SLanguage=" + document.getElementById("langNormal").value;
return;
}

if (select1_value != "0" && select2_value != "0" && select3_value == "0")
{
parent.show_loading();
location.href = "model_list.aspx?product=" + select1_value + "&series=" + select2_value + "&SLanguage=" + document.getElementById("langNormal").value;
return;
}
model = document.getElementById("select3")[document.getElementById("select3").selectedIndex].text;
location.href = "download_item.aspx?product=" + select1_value + "&model=" + model + "&SLanguage=" + document.getElementById("langNormal").value;
}


function model_click()
{
parent.show_loading();
if (arguments.length == 2)
location.href = "download_item.aspx?product=" + arguments[0] + "&model=" + arguments[1] + "&SLanguage=" + document.getElementById("langNormal").value;
else
location.href = "download_item.aspx?product=" + arguments[0] + "&model=" + arguments[1] + "&f_name=" + arguments[2] + "&SLanguage=" + document.getElementById("langNormal").value;
}


function live_update_click()
{
parent.show_loading();

if (document.getElementById("sp_ocx").innerHTML == "")
{
document.getElementById("sp_ocx").innerHTML = "";
chk_live_installed();
}
else
RunDetermineModel();
}


function chk_live_installed()
{
loaded = false;

try
{
if (document.getElementById("asusTek_sysctrl").MB_Product)
loaded = true;
}

catch(e)
{}
if (loaded)
RunDetermineModel();
else
location.href = "../common/nav_guide.aspx?mode=0&SLanguage=" + document.getElementById("langNormal").getAttribute("value");
}


function RunDetermineModel()
{
BIOSVersion = document.getElementById("asusTek_sysctrl").BIOS_SMBIOSBIOSVersion;
MBProduct = document.getElementById("asusTek_sysctrl").MB_Product;

if (BIOSVersion == "" && MBProduct == "")
{
setTimeout(RunDetermineModel(),1000);
return;
}
// mode : 0 => download
// mode : 1 => faq
location.href = "../common/determine_model.aspx?mode=0&BIOSVersion=" + BIOSVersion + "&MBProduct=" + MBProduct + "&SLanguage=" + document.getElementById("langNormal").value;
}


function first_use_click()
{
parent.show_loading();

location.href = "../common/nav_guide.aspx?mode=0&SLanguage=" + document.getElementById("langNormal").getAttribute("value");
}

http://support.asus.com.cn/download/download.aspx?SLanguage=zh-cn
js脚本

function MM_findObj(n, d)
{
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_showHideLayers()
{
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null)
{ v=args[i+2];
if (obj.style)
{ obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
function MM_swapImgRestore()
{
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_preloadImages()
{
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_swapImage()
{
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];}
}
NN = (!document.all && document.getElementById);

function body_load()
{
document.getElementById("txt_search").onkeydown = txt_search_KeyDown;
document.getElementById("ibtn_search").onclick = ibtn_search_Click;
hide_loading();
}

function txt_search_KeyDown(e)
{
var keyCode;
if (NN)
keyCode = e.keyCode;
else
keyCode = event.keyCode;

if (keyCode == 13)
{
ibtn_search_Click();
return false;
}
}

function ibtn_search_Click()
{
keyword = alltrim(document.getElementById("txt_search").value.toLowerCase());
lang_id = document.getElementById("langNormal").value;
if (keyword == "")
return;
show_loading();
document.getElementById("ifr_user_left").src = "../search/search_left.aspx?SLanguage=" + lang_id + "&global=1";
document.getElementById("ifr_user_right").src = "../search/search_right.aspx?keyword=" + escape(keyword) + "&SLanguage=" + lang_id;
}

function alltrim()
{
return arguments[0].replace(/(^ +)|( +$)/g,'');
}

function adjust_iframe_left_height(h)
{
if (h==0)
document.getElementById("ifr_user_left").src = document.getElementById("ifr_user_left").src;
document.getElementById("ifr_user_left").style.height = h;
}

function adjust_iframe_right_height(h)
{
if (h==0)
document.getElementById("ifr_user_right").src = document.getElementById("ifr_user_right").src;
document.getElementById("ifr_user_right").style.height = h;
}

function scroll_top()
{
window.scrollTo(0,0);
}

function body_resize()
{
if (document.body.clientWidth>=778)
{
nShift = 505;
document.getElementById("contact").style.left = document.body.clientWidth - nShift;
document.getElementById("search").style.left = document.body.clientWidth - nShift;
document.getElementById("sitemap").style.left = document.body.clientWidth - nShift;
document.getElementById("home").style.left = document.body.clientWidth - nShift;
document.getElementById("home").style.left = document.body.clientWidth - nShift;
document.getElementById("asus").style.left = document.body.clientWidth - nShift;
}
else
{
nPlace = 270
document.getElementById("contact").style.left = nPlace + 40;
document.getElementById("search").style.left = nPlace + 40;
document.getElementById("sitemap").style.left = nPlace + 40;
document.getElementById("home").style.left = nPlace + 40;
document.getElementById("home").style.left = nPlace + 40;
document.getElementById("asus").style.left = nPlace + 40;
}
}

function show_loading()
{
IE = (document.all && navigator.userAgent.indexOf("Opera") == -1)

if (IE)
{
document.getElementById("loading").style.display = "inline";
document.getElementById("loading").offsetHeight;
document.getElementById("loading").style.pixelTop = (document.body.clientHeight/2)-(document.getElementById("loading").offsetHeight/2)+(document.body.scrollTop);
document.getElementById("loading").style.pixelLeft = (document.body.clientWidth/2)-(document.getElementById("loading").offsetWidth/2)+(document.body.scrollLeft);
}
}

function hide_loading()
{
document.getElementById("loading").style.display = "none";
}

function go(url)
{
show_loading();
location.href = url;
}

function replace(as,as_rex,as_out)
{
var ls_rex;
ls_rex = new RegExp(as_rex,"g");
as = as.replace(ls_rex, as_out);
return as;
}

function switch_lang(lang_id)
{
s = location.href;
if (s.indexOf(document.getElementById("langNormal").value) != -1)
location.href = replace(s,document.getElementById("langNormal").value,lang_id);
else
location.href = s + '?SLanguage=' + lang_id;
}




skm_registerMenu('topmenu',new skm_styleInfo('','','','','','','','','','selectmenuitem'),new skm_styleInfo('','','','','','','','','',''),1,true);
function hide_loading()
{
if (parent.document.getElementById("loading").style.display == "none")
clearInterval(timerID);
else
parent.hide_loading();
}

function parent_hide_loading()
{
if (parent.parent.document.getElementById("loading").style.display == "none")
clearInterval(timerID);
else
parent.parent.hide_loading();
}

function go(url)
{
parent.show_loading();
parent.document.getElementById("ifr_user_right").src = url;
}
var hld_model_keyword;
NN = (!document.all && document.getElementById);

function body_load()
{
document.getElementById("img_search_info").onclick = img_searach_info_click;
document.getElementById("txt_keyword").onmouseover = txt_keyword_mouseover;
document.getElementById("txt_keyword").onmouseout = txt_keyword_mouseout;
document.getElementById("txt_keyword").onkeydown = txt_keyword_KeyDown;
if (NN)
document.getElementById("ddl_dltype").style.width = 150;
hld_model_keyword = document.getElementById("hld_model_keyword").value;
document.getElementById("txt_keyword").value = document.getElementById("hld_model_keyword").value;
parent.adjust_iframe_left_height(document.body.scrollHeight);
}

function txt_keyword_KeyDown(e)
{
var keyCode;
if (NN)
keyCode = e.keyCode;
else
keyCode = event.keyCode;

if (keyCode == 13)
{
img_searach_info_click();
return false;
}
}

function img_searach_info_click()
{
keyword = document.getElementById("txt_keyword").value;
dltype = document.getElementById("ddl_dltype").value;
if (keyword == "" || keyword == hld_model_keyword)
return;
else
{
parent.show_loading();
parent.document.getElementById("ifr_user_right").src = "../common/search_model.aspx?mode=1&model_name=" + keyword + "&type=" + dltype + "&SLanguage=" + document.getElementById("langNormal").value;
}
}

function txt_keyword_mouseover()
{
o = document.getElementById("txt_keyword");
if (o.value == hld_model_keyword)
o.value = "";
}

function txt_keyword_mouseout()
{
o = document.getElementById("txt_keyword");
if (o.value == "")
o.value = document.getElementById("hld_model_keyword").value;
}
var timerID;

function body_load()
{
document.getElementById("btn_search").onclick = btn_search_click;
document.getElementById("select1").value = "0";
document.getElementById("select1").onchange = select1_change;
document.getElementById("select2").onchange = select2_change;
document.getElementById("select2")[0] = new Option(document.getElementById("hld_select2_welcome").value,"0");
document.getElementById("select3")[0] = new Option(document.getElementById("hld_select3_welcome").value,"0");
timerID = setInterval("hide_loading()",500);
parent.adjust_iframe_right_height(document.body.scrollHeight);
}

function select1_change()
{
if (document.getElementById("select1").value == "0")
{
document.getElementById("select2").innerHTML = "";
document.getElementById("select2").add(new Option(document.getElementById("hld_select2_welcome").value,"0"));
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
return;
}
parent.show_loading();
setTimeout("get_select2()",500);
}

function get_select2()
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET","../common/3combo_databind.aspx?workMode=0&select1_id=" + document.getElementById("select1").value + "&SLanguage=" + document.getElementById("langNormal").value,false);
xmlhttp.send();
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.loadXML(xmlhttp.responseText);
document.getElementById("select2").innerHTML = "";
document.getElementById("select2").add(new Option(document.getElementById("hld_select2_welcome").value,"0"));
nodes = xmldoc.selectNodes("/NewDataSet/Table");
for(i=0; i<nodes.length; i++)
document.getElementById("select2").add(new Option(nodes[i].childNodes(0).text,nodes[i].childNodes(1).text));
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
parent.hide_loading();
}

function select2_change()
{
if (document.getElementById("select2").value == "0")
{
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
return;
}
parent.show_loading();
setTimeout("get_select3()",500);
}

function get_select3()
{
xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
xmlhttp.open("GET","../common/3combo_databind.aspx?workMode=0&select1_id=" + document.getElementById("select1").value + "&select2_id=" + document.getElementById("select2").value + "&SLanguage=" + document.getElementById("langNormal").value,false);
xmlhttp.send();
xmldoc = new ActiveXObject("Microsoft.XMLDOM");
xmldoc.loadXML(xmlhttp.responseText);
document.getElementById("select3").innerHTML = "";
document.getElementById("select3").add(new Option(document.getElementById("hld_select3_welcome").value,"0"));
nodes = xmldoc.selectNodes("/NewDataSet/Table");
for(i=0; i<nodes.length; i++)
document.getElementById("select3").add(new Option(nodes[i].childNodes(0).text,nodes[i].childNodes(1).text));
parent.hide_loading();
}

function btn_search_click()
{
select1_value = document.getElementById("select1").value;
select2_value = document.getElementById("select2").value;
select3_value = document.getElementById("select3").value;
if (select1_value == "0" && select2_value == "0" && select3_value == "0")
return;

if (select1_value != "0" && select2_value == "0" && select3_value == "0")
{
parent.show_loading();
location.href = "model_list.aspx?product=" + select1_value + "&SLanguage=" + document.getElementById("langNormal").value;
return;
}

if (select1_value != "0" && select2_value != "0" && select3_value == "0")
{
parent.show_loading();
location.href = "model_list.aspx?product=" + select1_value + "&series=" + select2_value + "&SLanguage=" + document.getElementById("langNormal").value;
return;
}
model = document.getElementById("select3")[document.getElementById("select3").selectedIndex].text;
location.href = "download_item.aspx?product=" + select1_value + "&model=" + model + "&SLanguage=" + document.getElementById("langNormal").value;
}

function model_click()
{
parent.show_loading();
if (arguments.length == 2)
location.href = "download_item.aspx?product=" + arguments[0] + "&model=" + arguments[1] + "&SLanguage=" + document.getElementById("langNormal").value;
else
location.href = "download_item.aspx?product=" + arguments[0] + "&model=" + arguments[1] + "&f_name=" + arguments[2] + "&SLanguage=" + document.getElementById("langNormal").value;
}

function live_update_click()
{
parent.show_loading();

if (document.getElementById("sp_ocx").innerHTML == "")
{
document.getElementById("sp_ocx").innerHTML = "";
chk_live_installed();
}
else
RunDetermineModel();
}

function chk_live_installed()
{
loaded = false;

try
{
if (document.getElementById("asusTek_sysctrl").MB_Product)
loaded = true;
}
catch(e)
{}
if (loaded)
RunDetermineModel();
else
location.href = "../common/nav_guide.aspx?mode=0&SLanguage=" + document.getElementById("langNormal").getAttribute("value");
}

function RunDetermineModel()
{
BIOSVersion = document.getElementById("asusTek_sysctrl").BIOS_SMBIOSBIOSVersion;
MBProduct = document.getElementById("asusTek_sysctrl").MB_Product;

if (BIOSVersion == "" && MBProduct == "")
{
setTimeout(RunDetermineModel(),1000);
return;
}
// mode : 0 => download
// mode : 1 => faq
location.href = "../common/determine_model.aspx?mode=0&BIOSVersion=" + BIOSVersion + "&MBProduct=" + MBProduct + "&SLanguage=" + document.getElementById("langNormal").value;
}

function first_use_click()
{
parent.show_loading();
location.href = "../common/nav_guide.aspx?mode=0&SLanguage=" + document.getElementById("langNormal").getAttribute("value");
}

