var blGettingFile=false;function clearFormValue(A){A.value="undefined"}function ClearStepPlatform(){document.frmBrowse.platform.value="";ClearStepModel()}function ClearStepModel(){document.frmBrowse.model.value="";ClearStepOS()}function ClearStepOS(){document.frmBrowse.os.value="";ClearStepType()}function ClearStepType(){document.frmBrowse.type.value="";document.frmBrowse.submit()}function modelSubmit(){if(document.frmBrowse.curSystem.options[document.frmBrowse.curSystem.selectedIndex].value=="NA"){return false}if(document.frmBrowse.curSystem.options[document.frmBrowse.curSystem.selectedIndex].value=="HEADER"){alert("Category headers cannot be selected.  Please select a specific model.");return false}parent.frames.frmGWData.location.href=parent.frames.frmGWData.location.pathname+"?pg=2&"+document.frmBrowse.curSystem.options[document.frmBrowse.curSystem.selectedIndex].value}function validateFN(A){var B=A.param.value;if(B.length<1){alert("Please enter a file name.");return false}if(B.indexOf(".")==-1){alert('"'+document.frmFileSearch.fn.value+'" is not a valid file name.  Re-enter file name, including extension.');return false}else{if((B.indexOf("*")!=-1)||(B.indexOf("?")!=-1)){alert("Wildcard characters are not allowed in this file name search.");return false}else{if((B.indexOf("/")!=-1)||(B.indexOf("\\")!=-1)||(B.indexOf(":")!=-1)){alert("Only enter the file name.  Please do not include path information.");return false}else{if(B.indexOf(" ")!=-1){alert("Spaces are not allowed in this file name search.");return false}else{return true}}}}}function validatePN(C){var B=100;var A=4;var D=""+C.param.value;if(D.length<A){alert("Part numbers must be at least "+A+" characters long.");return false}else{if(D.length>B){alert("Part numbers must not be longer than "+B+" characters.");return false}else{return true}}}function validateKW(A){var B=""+A.param.value;while((B.length>0)&&(B.charAt(0)==" ")){B=B.substring(1,B.length)}while((B.length>0)&&(B.charAt(B.length-1)==" ")){B=B.substring(0,B.length-1)}if(B.length<1){alert("Please enter a keyword.");return false}else{if(B.length<2){alert("Please enter a keyword longer than one character.");return false}else{return true}}}var ns6=document.getElementById&&!document.all;function PopupReadMe(A){options="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=600,height=400,top=0,left=50";window.open("moreinfo.asp?readmeURL="+escape(A),null,options)}function PopupDLInstructions(B,D,C,E){var A="toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=340,height=500,top=0,left=0";window.open("/support/drivers/instrPop.asp?fn="+escape(D)+"&ffn="+escape(B)+"&rp="+escape(C)+"&now="+E,"dlInstructrions",A)}function GetFile(B,E,D,G,C,A){try{var F=new ActiveXObject("GWAssistant.DLAssistant");F.SetDocument(document);if(!F.Enabled){throw"Downloader not enabled."}F.GetFile(B,A)}catch(H){if(C){PopupDLInstructions(B,E,D,G)}document.location=B}}function GetAssistantStat(){try{var A=new ActiveXObject("GWAssistant.DLAssistant");A.SetDocument(document);if(!A.Enabled){return"Disabled"}return"Enabled"}catch(B){return"NotInstalled"}}var blnCanDownLoadFile="";function CheckIsDownLoad(){if(blnCanDownLoadFile!=""){if(confirm(blnCanDownLoadFile)){return true}return false}return true}function CallImportantInfo(B){var C,A;var D;D=B.split("###");C=D[0];A=D[1];if(A==""){document.write("<tr>");document.write("<td height=7><img src=http://cdnsupport.gateway.com/images/ub/ub_greylight.gif width=100% height=1/></td>");document.write("</tr>");document.write("<tr>");document.write("<td><table border=0 cellpadding=0 cellspacing=0><tr><td style=color:#c00 valign=top><b>Important <br> Information:&nbsp;</b></td><td valign=top>We are unable to detect if this file supports the version of Windows on the computer in front of you right now,be sure to double-check that this file matches the computer's version of Windows before continuing.<br> </td></tr></table></td>");document.write("</tr>");blnCanDownLoadFile="We are unable to detect if this file supports the version of Windows on the computer in front of you right now,be sure to double-check that this file matches the computer's version of Windows before continuing.";return }if((C.indexOf(A)==-1)&&(C.indexOf("Not ")==-1)&&(C.indexOf("All ")==-1)){document.write("<tr>");document.write("<td height=7><img src=http://cdnsupport.gateway.com/images/ub/ub_greylight.gif width=100% height=1/></td>");document.write("</tr>");document.write("<tr>");document.write("<td><table border=0 cellpadding=0 cellspacing=0><tr><td style=color:#C00; valign=top><b>Important <br> Information:&nbsp;</b></td><td valign=top>This file is not compatible with the version of Windows installed on the computer that you are using right now. If you are accessing this file for another computer, be sure to double-check that this file matches that computer's version of Windows before continuing.<br> </td></tr></table></td>");document.write("</tr>");blnCanDownLoadFile="This file is not compatible with the version of Windows installed on the computer that you are using right now. If you are accessing this file for another computer, be sure to double-check that this file matches that computer's version of Windows before continuing.";return }}function validateFileOS(E,C,F,B,D,A){GetFile(F,"","",true,D,A)}function DrawAssistantStat(){if(navigator.appName=="Microsoft Internet Explorer"){document.write('<tr><td class="BgBlue"><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="1" title="" alt=" "></td><td></td><td><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="6" title="" alt=" "><br /><b><a href="/support/drivers/assistant/default.asp" class="link1">Download Assistant</a></b><br />');var A=GetAssistantStat();if(A=="NotInstalled"){document.write('Make downloading files easy by using <a href="/support/drivers/assistant/default.asp" class="link2new">Gateway Download Assistant</a>.<br />')}else{document.write('Status:<form style="display:inline;" name="frmAssistantStatus"><select onChange="EnabledChanged();" name="AssistStat" style="width:110px;font-size:9px;font-family: Verdana,  Arial, Helvetica, sans-serif;" align="baseline"><option>Enabled</option>');if(A=="Disabled"){document.write("<option selected>Disabled</option>")}else{document.write("<option>Disabled</option>")}document.write('</select></form><br /><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="3" title="" alt=" "><br /><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="left"><a href="feedback.shtml" class="link2new">Feedback</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/s/Misc/DownloadAsst/troubleshootsu17.shtml" class="link2">FAQs</a></td><td width="8"><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="8" height="1" title="" alt=" "></td></tr></table>')}document.write('<img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="6" title="" alt=" "></td><td></td><td class="BgBlue"><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="1" title="" alt=" "></td></tr><tr class="BgBlue"><td colspan="5"><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="1" title="" alt=" "></td></tr>')}}function MyDrawAssistantStat(){if((navigator.appName=="Microsoft Internet Explorer")&&((navigator.appVersion.indexOf("Windows NT 5.1")!=-1)||(navigator.appVersion.indexOf("Windows NT 5.0")!=-1))){document.write('<b><a href="/support/drivers/assistant/default.asp" class="link1">Download Assistant</a></b><br />');var A=GetAssistantStat();if(A=="NotInstalled"){document.write('Make downloading files easy by using <a href="/support/drivers/assistant/default.asp" class="link2new">Gateway Download Assistant</a>.<br />')}else{document.write('Status:<form style="display:inline;" name="frmAssistantStatus"><select onChange="EnabledChanged();" name="AssistStat" style="width:110px;font-size:9px;font-family: Verdana,  Arial, Helvetica, sans-serif;" align="baseline"><option>Enabled</option>');if(A=="Disabled"){document.write("<option selected>Disabled</option>")}else{document.write("<option>Disabled</option>")}document.write('</select></form>&nbsp;<a class="link2new" href="/support/drivers/help/index.shtml"><img src="/support/drivers/images/helpbook.gif" width="16" height="16" hspace="3" align="absmiddle" border="0" alt="Help" />Help</a><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="1" height="3" title="" alt=" "><br /><table width="100%" border="0" cellpadding="0" cellspacing="0"><tr><td align="left"><a href="feedback.shtml" class="link2new">Feedback</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="/s/Misc/DownloadAsst/troubleshootsu17.shtml" class="link2">FAQs</a></td><td width="8"><img src="http://cdnsupport.gateway.com/images/ub/ub_clear.gif" width="8" height="1" title="" alt=" "></td></tr></table>')}}}function EnabledChanged(){var A=new ActiveXObject("GWAssistant.DLAssistant");A.SetDocument(document);if(document.frmAssistantStatus.AssistStat.options[document.frmAssistantStatus.AssistStat.selectedIndex].text=="Enabled"){A.SetEnabledState(true)}else{A.SetEnabledState(false)}A=null}document.myFlag=false;