<!--
var listofimages = new Array();
var listofimagesnames = new Array();
var listofurls = new Array();
var listofcontent = new Array();
var sdlistofimagesnames = new Array();
var sdlistofurls = new Array();
var sdlistofcontent = new Array();
var sdlistofimages = new Array();

var http = getHTTPObject();

listofurls[0] = "/detail.asp?comp_id=30&manu_id=23&categ=Notebook+Computer";
listofurls[1] = "/promotions/Samsung/samsung_landing.asp?Rsidebanner=Y";
listofurls[2] = "/promotions/msi/msi_landing.asp?Rsidebanner=Y";
listofurls[3] = "/detail.asp?manu_id=311&showm=1&topbanner=Y";
listofurls[4] = "/promotions/toshiba/toshiba_landing.asp?Rsidebanner=Y";
listofurls[5] = "/Promotions/amd/amd_landing.asp?Rsidebanner=Y";
listofurls[6] = "/Promotions/6GbsTeaserUS.html";
listofurls[7] = "http://www.malabs.com/search.asp?sm=222";
listofurls[8] = "/promotions/chenbro/chenbro_landing.asp";
listofurls[9] = "/detail.asp?comp_id=118&s_comp_id=6500&manu_id=350&categ=";
listofurls[10] = "/search.asp?sm=217";
listofurls[11] = "/detail.asp?manu_id=511&showm=1&topbanner=Y";
listofurls[12] = "/detail.asp?comp_id=21&s_comp_id=9511&manu_id=339&categ=Cases+%28for+Server%29";
listofurls[13] = "/maphp/eblast/create_flyer.php?d=2010-07-16&i=eccbc87e4b5ce2fe28308fd9f2a7baf3";
listofurls[14] = "/detail.asp?manu_id=51&showm=1&topbanner=Y";
listofurls[15] = "/promotions/nvidia/nvidia_Landing.asp?Rsidebanner=Y";
listofurls[16] = "/promotions/wd/images/WD VelociRaptor.pdf";
listofurls[17] = "/detail.asp?manu_id=225&comp_id=103&showm=1&topbanner=Y";
listofurls[18] = "/promotions/lg/lg.asp?Rsidebanner=Y";
listofurls[19] = "/detail.asp?manu_id=234&showm=1&topbanner=Y";
listofurls[20] = "/search.asp?sm=55";
listofurls[21] = "/detail.asp?manu_id=269&showm=1&topbanner=Y";
listofurls[22] = "/detail.asp?manu_id=436&showm=1&topbanner=Y";
listofurls[23] = "/Promotions/nec/nec_landing.asp?Rsidebanner=Y";
listofurls[24] = "/promotions/Quantum/quantum_landing.asp?Rsidebanner=Y";
listofurls[25] = "/detail.asp?comp_id=118&s_comp_id=6500&manu_id=156&categ=";




sdlistofurls[0] = "/eblast/all/200910/domestic/win7.html";
sdlistofurls[1] = "/promotions/microsoft/Landing_Page_Office2010 TechGv2.html";



var numBanners = listofurls.length;
var sdnumBanners = sdlistofurls.length;
var banneradcode = Math.floor(Math.random()*numBanners);
var browsertype;
var sdbanneradcode = Math.floor(Math.random()*sdnumBanners);
function loadpage() {
 browver= parseInt(navigator.appVersion);
 browtype = navigator.appName;
 browsertype = "old";
 if (browtype == "Microsoft Internet Explorer" && !(browver < 4)) {
  browsertype = "new";
 } else if (browtype == "Netscape" && !(browver < 3)) {
  browsertype = "new";
 }
 if (browsertype == "new") {
//  banneradcode = 0;
  //thetimer = setTimeout("changeimage()", 6000);

  // just need path to image
  // using getElementById does not need to an actual image to be created
  listofimagesnames[0] = "/img/468x60/Samsung-NB.gif";
  listofimagesnames[1] = "/img/468x60/Samsung-Ca.gif";
  listofimagesnames[2] = "/img/468x60/MSI.gif";
  listofimagesnames[3] = "/img/468x60/cisco.gif";
  listofimagesnames[4] = "/img/468x60/toshiba.jpg";
  listofimagesnames[5] = "/img/468x60/AMD2.jpg";
  listofimagesnames[6] = "/img/468x60/LSI.jpg";
  listofimagesnames[7] = "/img/468x60/coolmax_banner.gif";
  listofimagesnames[8] = "/img/468x60/chenbro.gif";
  listofimagesnames[9] = "/img/468x60/Tripp-Lite.gif";
  listofimagesnames[10] = "/img/468x60/antec.gif";
  listofimagesnames[11] = "/img/468x60/clickfree.bmp";
  listofimagesnames[12] = "/img/468x60/AIC.gif";
  listofimagesnames[13] = "/img/468x60/Inwin.gif";
  listofimagesnames[14] = "/img/468x60/logitech.gif";
  listofimagesnames[15] = "/img/468x60/nvidia.gif";
  listofimagesnames[16] = "/img/468x60/WD.jpg";
  listofimagesnames[17] = "/img/468x60/shuttle.gif";
  listofimagesnames[18] = "/img/468x60/lg.gif";
  listofimagesnames[19] = "/img/468x60/linksys.gif";
  listofimagesnames[20] = "/img/468x60/epson.gif";
  listofimagesnames[21] = "/img/468x60/TRENDnet.gif";
  listofimagesnames[22] = "/img/468x60/arctic.gif";
  listofimagesnames[23] = "/img/468x60/NEC.gif";
  listofimagesnames[24] = "/img/468x60/Quantum.gif";
  listofimagesnames[25] = "/img/468x60/APC.gif";

  
  for(i=0;i<numBanners;i++)
     {
        if (listofimagesnames[i].indexOf(".swf") > 0) { // the source image is a flash file
          
            // source code taken from showFlash() in utils.asp
        
           listofcontent[i] ="<a href='"+listofurls[i]+"' target=_blank><div style=\"z-index:1;position:relative;\"><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"";
            listofcontent[i]+="codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\"";
            listofcontent[i]+="WIDTH=\"468\" HEIGHT=\"60\" id=\""+ listofimagesnames[i] + "\">";
            listofcontent[i]+="<PARAM NAME=movie VALUE=\""+ listofimagesnames[i] + "\">";
            listofcontent[i]+="<PARAM NAME=quality VALUE=high>";
            listofcontent[i]+="<param name=\"wmode\" value=\"transparent\">";
            listofcontent[i]+="<EMBED src=\""+ listofimagesnames[i] + "\" quality=high bgcolor=#FFFFFF WIDTH=\"468\" HEIGHT=\"60\"";
            listofcontent[i]+="NAME=\""+ listofimagesnames[i] + "\" wmode=\"transparent\" TYPE=\"application/x-shockwave-flash\"";
            listofcontent[i]+="PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">";
            listofcontent[i]+="</EMBED></OBJECT></div>"; 
        }
        else {
            listofcontent[i]="<a href='"+listofurls[i]+"' target=_blank><img src='"+ listofimagesnames[i]+"' border=0 width='468' height='60'></a>";
        }
     }
//  listofimages[1].src = "/img/RadeonX1K_468x60.swf";
//  listofcontent[1]="<embed src='"+listofimages[1].src+"' type='application/x-shockwave-flash' border=0 width=468 height=60>";

    sideloadpage();
    changeimage();
 }
}

function changeimage() {
 if (browsertype == "new") {
  banneradcode = banneradcode + 1;
  if (banneradcode == numBanners) {
   banneradcode = 0;
  }
//  window.document.bannerad.src = listofimages[banneradcode].src;
  var node=window.document.getElementById("adImg");
  node.innerHTML=listofcontent[banneradcode];
  thetimer = setTimeout("changeimage()", 8000);
 }
 else if (browsertype == "old") {
 }

}

//Added so that the side area can also change images
function sideloadpage() {
if(document.getElementById('sidead').style.visibility == "visible")
    {
        browver= parseInt(navigator.appVersion);
         browtype = navigator.appName;
         browsertype = "old";
         if (browtype == "Microsoft Internet Explorer" && !(browver < 4)) {
          browsertype = "new";
         } else if (browtype == "Netscape" && !(browver < 3)) {
          browsertype = "new";
         }
         if (browsertype == "new") {
        //  banneradcode = 0;
          //thetimer = setTimeout("changeimage()", 6000);
        
          // just need path to image
          // using getElementById does not need to an actual image to be created
          sdlistofimagesnames[0] = "/img/SideNav/windows7e.jpg";
          sdlistofimagesnames[1] = "/img/SideNav/banner.jpg";
          //sdlistofimagesnames[0] = "/img/SideNav/WD_vista_V.gif";
          //sdlistofimagesnames[0] = "";
          //sdlistofimagesnames[1] = "/img/SideNav/OR_console.jpg";


          for(i=0;i<sdnumBanners;i++)
             {
                if (sdlistofimagesnames[i].indexOf(".swf") > 0) { // the source image is a flash file
                  
                    // source code taken from showFlash() in utils.asp
                
                   sdlistofcontent[i] ="<a href='"+sdlistofurls[i]+"' target=_blank><div style=\"z-index:1;position:relative;\"><OBJECT classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"";
                    sdlistofcontent[i]+="codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\"";
                    sdlistofcontent[i]+="WIDTH=\"120\" HEIGHT=\"240\" id=\""+ sdlistofimagesnames[i] + "\">";
                   sdlistofcontent[i]+="<PARAM NAME=movie VALUE=\""+ sdlistofimagesnames[i] + "\">";
                    sdlistofcontent[i]+="<PARAM NAME=quality VALUE=high>";
                    sdlistofcontent[i]+="<param name=\"wmode\" value=\"transparent\">";
                    sdlistofcontent[i]+="<EMBED src=\""+ sdlistofimagesnames[i] + "\" quality=high bgcolor=#FFFFFF WIDTH=\"120\" HEIGHT=\"240\"";
                    sdlistofcontent[i]+="NAME=\""+ sdlistofimagesnames[i] + "\" wmode=\"transparent\" TYPE=\"application/x-shockwave-flash\"";
                    sdlistofcontent[i]+="PLUGINSPAGE=\"http://www.macromedia.com/go/getflashplayer\">";
                    sdlistofcontent[i]+="</EMBED></OBJECT></div>"; 
                }
                
                else {
                    
                        if(sdlistofurls[i].substr(0,5) == "popup")
                            { 
                            sdlistofcontent[i]="<a href='#' onClick = \""+sdlistofurls[i]+"; return false;\"><img src='"+ sdlistofimagesnames[i]+"' border=0 ></a>";
                            }
                        else
                            {
                        sdlistofcontent[i]="<a href='"+sdlistofurls[i]+"' target=_blank><img src='"+ sdlistofimagesnames[i]+"' border=0 ></a>";
                            }
                }
             }
        //  listofimages[1].src = "/img/RadeonX1K_468x60.swf";
        //  listofcontent[1]="<embed src='"+listofimages[1].src+"' type='application/x-shockwave-flash' border=0 width=468 height=60>";

        
             sidechangeimage();
         }
 }
}
function sidechangeimage() {
 if (browsertype == "new") {
  sdbanneradcode = sdbanneradcode + 1;
  if (sdbanneradcode == sdnumBanners) {
   sdbanneradcode = 0;
  }
//  window.document.bannerad.src = listofimages[banneradcode].src;
  var node=window.document.getElementById("sidead");
  node.innerHTML=sdlistofcontent[sdbanneradcode];
  sdthetimer = setTimeout("sidechangeimage()", 8000);
 }
 else if (browsertype == "old") {
 }
}
function SearchClear()
{
 if (document.search_frm.search_string.value == 'Search by Keyword')
    document.search_frm.search_string.value = '';
}
function goAd() {
    var adlink = listofurls[banneradcode];
    if (adlink.substring(0,4) == "http") {
        //if (banneradcode == 1) {
        window.open(adlink, "ms", "scrollbars=1, resizable, width=800, height=600");
    } else {
        window.location.href = adlink;
    }
}

var message="Copyright" + String.fromCharCode(169) + " 2005 by MALABS.com. \n\nWARNING ! All images & content contained within this site is protected by copyright laws. \n\nUnauthorized use of our material is strictly prohibited.";
var disable = false;
function click(e) {
  if (disable) {
    if (document.all) {
      if (event.button==2||event.button==3) {
        alert(message);
        return false;
      }
    } else if (document.layers) {
      if (e.which == 3) {
        alert(message);
        return false;
      }
    }
  }
}
if (document.layers) {
    document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
function on() {
  disable = true;
}
function off() {
  disable = false;
}
function out() {
    disable = false;
}
function popS(value) {
    var link = "";
    var targ = "";
    if (value.indexOf(";") != -1) {
     link = value.substring(0,value.indexOf(";"));
     targ = value.substring(value.indexOf(";"+1, value.length));
    }
    else {
        link = value;
        targ = "_self";
    }
    window.open(link,targ);
}

function getSelVendor(value)
{ 
//var vendors = ['325','11Wave','19','3Com','159','3Dlabs','129','Abit','126','Acer','439','ACTON','29','Adaptec','79','Adobe','416','AENEON','339','AIC','379','Altec Lansing','452','ALURATEK','259','AMCC/3ware','2','AMD','389','Amigo','217','Antec','175','AOC','156','APC','180','Apex/Supercase','414','Apple','436','ARCTIC COOLING','319','Arctic Silver','430','ARECA','467','Arima','302','ASRock','391','Astak','9','Asus','16','ATI','249','Bafo','279','Belkin','262','BenQ','272','BFG','195','Biostar','433','BLUETAKE','398','Brother','111','BTC','463','CA','182','Canon','317','Case Logic','255','Casetronic','434','CENTRE','438','CFI','179','Chaintech','305','Chenbro','448','chimei','311','Cisco','123','Cnet','454','Compal','345','Connect3D','222','Cooler Master','408','Coolmax','41','Creative Labs','135','CTX','173','D-Link','10','DFI','373','DRAM Master','266','Dynatron','442','Eagle Tech','130','ECS','282','Elixir','428','ENCORE','340','ENERMAX','227','Enhance','55','Epson','193','Evercase','312','EVGA','466','ExcelStor','127','Ezonics','390','Formosa','181','Foxconn','401','FSP Group','314','Fuji','22','Fujitsu','453','Garmin','386','Generic','7','GIGABYTE','30','Global WIN/Cooltium','228','Goodway','26','Hewlett Packard','206','HighPoint','376','Hightech Information System','372','Hipro','441','HiRO','61','Hitachi','58','Hyundai','423','I-ROCKS','323','I-Star USA','4','IBM','417','IGO','342','Iiyama','444','iMicro','231','In-Win','210','Infocus','435','INOi','1','Intel','419','Intron','77','Intuit','460','IOGEAR','28','Iomega','18','Jaton','349','Juster','304','K-World','289','Kaser','355','Kensington','203','Kingston','132','Kodak','348','LanReady','450','LENMAR','447','lenovo','176','Lexmark','42','LG Electronics','234','Linksys','69','Lite-On','445','LOGISYS','51','Logitech','194','LSILogic','320','Maruson','394','MassCool','15','Matrox','133','Maxell','20','Maxtor','201','McAfee','341','Media-To-Go','393','MGE','62','Micron','31','Microsoft','63','Mitsubishi','150','MSI','74','Nanya','27','NEC','343','NEC Display Solutions','184','Neovo','241','Netgear','177','Nikon','406','nMedia System','411','NovaTech','83','OEM','14','OEM Memory','456','OLEVIA','264','Olympus','34','Panasonic','215','PC CHIPS','53','Philips','248','Pinnacle','39','Pioneer','446','Plantronics','161','Plextor','239','PNY','200','Power Color','370','Powmax','143','Promise','199','Qimonda','451','QNAP','449','QSSC','24','Quantum','371','Raidmax','138','Ricoh','23','Samsung','283','Sandisk','462','SANS DIGITAL','358','Sanyo Denki','236','Sapphire','310','Sceptre','25','Seagate','403','Seasonic','465','SENNHEISER','225','Shuttle','137','SMC','40','Sony','458','SonyNEC Optiarc','190','Soyo','242','Sparkle','219','Spectek','421','Spire','346','Sunon','252','Super Talent','327','Supercase','6','Supermicro','78','Symantec','459','Synology','461','TAGAN','315','Targus','35','Teac','265','Thermaltake','457','TOMTOM','395','Topower/Epower','32','Toshiba','381','Travla','269','TRENDnet','350','Tripp Lite','131','Tyan','464','ULTRA','46','US Robotics','243','Vantec','232','Vastech','218','VIA','70','ViewSonic','172','ViPower','187','Vitex','21','Western Digital','429','X2gen','388','XFX','268','Zalman','204','Zonet']; 
//var vendors = ['19','3Com','159','3Dlabs','129','Abit','126','Acer','439','ACTON','29','Adaptec','79','Adobe','416','AENEON','339','AIC','379','Altec Lansing','452','ALURATEK','259','AMCC/3ware','2','AMD','389','Amigo','217','Antec','175','AOC','156','APC','180','Apex/Supercase','414','Apple','436','ARCTIC COOLING','319','Arctic Silver','430','ARECA','467','Arima','256','Artec','302','ASRock','391','Astak','9','Asus','16','ATI','249','Bafo','279','Belkin','262','BenQ','272','BFG','195','Biostar','433','BLUETAKE','398','Brother','111','BTC','463','CA','182','Canon','317','Case Logic','192','Casedge/Foxconn','255','Casetronic','434','CENTRE','438','CFI','179','Chaintech','305','Chenbro','448','chimei','311','Cisco','123','Cnet','454','Compal','345','Connect3D','222','Cooler Master','408','Coolmax','41','Creative Labs','135','CTX','173','D-Link','10','DFI','373','DRAM Master','266','Dynatron','442','Eagle Tech','130','ECS','282','Elixir','428','ENCORE','340','ENERMAX','227','Enhance','55','Epson','193','Evercase','312','EVGA','466','ExcelStor','127','Ezonics','390','Formosa','181','Foxconn','401','FSP Group','314','Fuji','22','Fujitsu','453','Garmin','386','Generic','7','GIGABYTE','30','Global WIN/Cooltium','228','Goodway','26','Hewlett Packard','206','HighPoint','376','Hightech Information System','372','Hipro','441','HiRO','61','Hitachi','247','Hynix','58','Hyundai','423','I-ROCKS','323','I-Star USA','4','IBM','417','IGO','342','Iiyama','444','iMicro','231','In-Win','210','Infocus','435','INOi','1','Intel','419','Intron','77','Intuit','460','IOGEAR','28','Iomega','18','Jaton','349','Juster','304','K-World','289','Kaser','355','Kensington','203','Kingston','132','Kodak','348','LanReady','450','LENMAR','447','lenovo','176','Lexmark','42','LG Electronics','234','Linksys','69','Lite-On','445','LOGISYS','51','Logitech','194','LSILogic','320','Maruson','394','MassCool','15','Matrox','133','Maxell','20','Maxtor','201','McAfee','341','Media-To-Go','393','MGE','62','Micron','31','Microsoft','63','Mitsubishi','150','MSI','74','Nanya','27','NEC','343','NEC Display Solutions','184','Neovo','241','Netgear','177','Nikon','406','nMedia System','411','NovaTech','83','OEM','14','OEM Memory','456','OLEVIA','264','Olympus','34','Panasonic','215','PC CHIPS','53','Philips','248','Pinnacle','39','Pioneer','446','Plantronics','161','Plextor','239','PNY','200','Power Color','370','Powmax','143','Promise','199','Qimonda','451','QNAP','449','QSSC','24','Quantum','371','Raidmax','138','Ricoh','23','Samsung','283','Sandisk','462','SANS DIGITAL','358','Sanyo Denki','236','Sapphire','310','Sceptre','25','Seagate','403','Seasonic','465','SENNHEISER','225','Shuttle','137','SMC','40','Sony','458','SonyNEC Optiarc','190','Soyo','242','Sparkle','219','Spectek','421','Spire','346','Sunon','252','Super Talent','327','Supercase','6','Supermicro','78','Symantec','459','Synology','461','TAGAN','315','Targus','35','Teac','265','Thermaltake','457','TOMTOM','395','Topower/Epower','32','Toshiba','381','Travla','269','TRENDnet','350','Tripp Lite','131','Tyan','464','ULTRA','46','US Robotics','243','Vantec','232','Vastech','218','VIA','70','ViewSonic','172','ViPower','187','Vitex','21','Western Digital','429','X2gen','388','XFX','268','Zalman','204','Zonet']; 


var vendors = ['19','3Com','159','3Dlabs','129','Abit','507', 'Accell', '126','Acer','439','ACTON','29','Adaptec','79','Adobe','416','AENEON','339','AIC','499','Airlink101','379','Altec Lansing','452','ALURATEK','171','Ambicom','259','AMCC/3ware','2','AMD','389','Amigo','217','Antec','175','AOC','156','APC','180','Apex/Supercase','414','Apple','436','ARCTIC COOLING','319','Arctic Silver','430','ARECA','407','Argosy','467','Arima','256','Artec','302','ASRock','391','Astak','9','Asus','16','ATI','249','Bafo','279','Belkin','262','BenQ','272','BFG','195','Biostar','433','BLUETAKE','398','Brother','111','BTC','463','CA','182','Canon','317','Case Logic','192','Casedge/Foxconn','255','Casetronic','438','CFI','179','Chaintech','305','Chenbro','448','chimei','311','Cisco','123','Cnet','454','Compal','345','Connect3D','222','Cooler Master','408','Coolmax','41','Creative Labs','135','CTX','173','D-Link','10','DFI','373','DRAM Master','266','Dynatron','442','Eagle Tech','130','ECS','282','Elixir','428','ENCORE','340','ENERMAX','227','Enhance','486','Enhance Technology','55','Epson','193','Evercase','312','EVGA','466','ExcelStor','127','Ezonics','390','Formosa','181','Foxconn','401','FSP Group','314','Fuji','22','Fujitsu','453','Garmin','481','GammaTech','386','Generic','57','Genius','7','GIGABYTE','30','Global WIN/Cooltium','228','Goodway','26','Hewlett Packard','206','HighPoint','376','Hightech Information System','372','Hipro','441','HiRO','61','Hitachi','247','Hynix','58','Hyundai','423','I-ROCKS','323','I-Star USA','4','IBM','417','IGO','342','Iiyama','444','iMicro','231','In-Win','210','Infocus','435','INOi','1','Intel','419','Intron','77','Intuit','460','IOGEAR','28','Iomega','18','Jaton','470','Jetway','349','Juster','304','K-World','289','Kaser','355','Kensington','203','Kingston','132','Kodak','348','LanReady','450','LENMAR','447','Lenovo','176','Lexmark','42','LG Electronics','234','Linksys','69','Lite-On','445','LOGISYS','51','Logitech','194','LSI','320','Maruson','394','MassCool','15','Matrox','133','Maxell','20','Maxtor','201','McAfee','341','Media-To-Go','393','MGE','62','Micron','31','Microsoft','63','Mitsubishi','150','MSI','74','Nanya','27','NEC','343','NEC Display Solutions','184','Neovo','241','Netgear','177','Nikon','406','nMedia System','387','nVidia','411','NovaTech','83','OEM','64','Okidata','456','OLEVIA','264','Olympus','468','Palit','34','Panasonic','215','PC CHIPS','53','Philips','248','Pinnacle','39','Pioneer','446','Plantronics','161','Plextor','239','PNY','200','Power Color','370','Powmax','143','Promise','199','Qimonda','451','QNAP','449','QSSC','24','Quantum','371','Raidmax','138','Ricoh','23','Samsung','283','Sandisk','462','SANS DIGITAL','358','Sanyo Denki','236','Sapphire','25','Seagate','403','Seasonic','465','SENNHEISER','225','Shuttle','137','SMC','40','Sony','458','SonyNEC Optiarc','190','Soyo','242','Sparkle','219','Spectek','421','Spire','346','Sunon','252','Super Talent','327','Supercase','6','Supermicro','78','Symantec','459','Synology','461','TAGAN','315','Targus','35','Teac','265','Thermaltake','457','TOMTOM','395','Topower/Epower','32','Toshiba','381','Travla','269','TRENDnet','350','Tripp Lite','131','Tyan','464','ULTRA','46','US Robotics','243','Vantec','232','Vastech','218','VIA','70','ViewSonic','172','ViPower','187','Vitex','21','Western Digital','429','X2gen','388','XFX','268','Zalman','204','Zonet', '474', 'Zotac'];







for (var i=0; i<vendors.length; i+=2) 
        {
    if(vendors[i]==value)
        {
            document.write("<option value=" + vendors[i]+" SELECTED>"+vendors[i+1]+"</option>");
        }
        else
        {
            document.write("<option value=" + vendors[i]+">"+vendors[i+1]+"</option>");
        }
    }

}

var pWin;
function popWin(url, attr) {
  if (!pWin || pWin.closed) {
    pWin = window.open(url, "pWin", attr);
        if (!pWin.opener) {
        pWin.opener = window;
        }
  }
  pWin.focus();
  //window.onunload = function(){pWin.close();}
  //return true;
}
function getHTTPObject() {

  var xmlhttp;

  /*@cc_on

  @if (@_jscript_version >= 5)

    try {

      xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");

    } catch (e) {

      try {

        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");

      } catch (E) {

        xmlhttp = false;

      }

    }

  @else

  xmlhttp = false;

  @end @*/

  if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {

    try {

      xmlhttp = new XMLHttpRequest();

    } catch (e) {

      xmlhttp = false;

    }

  }

  return xmlhttp;

}
function datasend(url,params)
    {
        http.open("POST",url,true)
        http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
        http.setRequestHeader("Content-length", params.length);
        http.setRequestHeader("Connection", "close");
        http.onreadystatechange = textdump;
        http.send(params);
    }
    
function selected(op)
    {
        var sel = "";
        for (i = 0 ; i < op.length ; ++i) 
            { 
                if (op.options[i].selected) 
                    { sel += op.options[i].value+"," }
            }
        sel = sel.substr(0,sel.length-1);
        return sel;
    }
    
    
function popup(newURL,newName,newFeatures,orgName) { //v2.0
  var remote = open(newURL, newName, newFeatures);
  if (remote.opener == null)
    remote.opener = window;
  remote.opener.name = orgName;
  return remote;
}

function radioselect(op)
    { 
        for(var i = 0;i<op.length;i++)
            {
                if(op[i].checked == true)
                    { return op[i].value; }
            }
    }
// -->