var itemdelta = new Array(); var itemdelaydays = new Array(); var starkl = new Array(); var caseImages = new Array(); var itemvperf = new Array(); var itemcpuperf = new Array(); var itemramperf = new Array(); var itempcislots = new Array(); itemvperf[33500]=0; itemcpuperf[33500]=0; itemramperf[33500]=0; itempcislots[33500]=0; itemdelta[33500]=0; itemdelaydays[33500]=0; starkl[33500]=8910; itemvperf[6166]=0; itemcpuperf[6166]=0; itemramperf[6166]=0; itempcislots[6166]=0; itemdelta[6166]=65; itemdelaydays[6166]=0; starkl[6166]=4709; itemvperf[6165]=0; itemcpuperf[6165]=0; itemramperf[6165]=0; itempcislots[6165]=0; itemdelta[6165]=45; itemdelaydays[6165]=0; starkl[6165]=4202; itemvperf[33492]=0; itemcpuperf[33492]=0; itemramperf[33492]=0; itempcislots[33492]=0; itemdelta[33492]=55; itemdelaydays[33492]=0; starkl[33492]=7089; itemvperf[33464]=0; itemcpuperf[33464]=0; itemramperf[33464]=0; itempcislots[33464]=0; itemdelta[33464]=20; itemdelaydays[33464]=0; starkl[33464]=5308; itemvperf[33321]=0; itemcpuperf[33321]=0; itemramperf[33321]=0; itempcislots[33321]=0; itemdelta[33321]=0; itemdelaydays[33321]=0; starkl[33321]=1167; itemvperf[33487]=0; itemcpuperf[33487]=0; itemramperf[33487]=0; itempcislots[33487]=0; itemdelta[33487]=0; itemdelaydays[33487]=0; starkl[33487]=3674; itemvperf[33514]=0; itemcpuperf[33514]=0; itemramperf[33514]=0; itempcislots[33514]=0; itemdelta[33514]=160; itemdelaydays[33514]=0; starkl[33514]=8688; itemvperf[32315]=0; itemcpuperf[32315]=0; itemramperf[32315]=0; itempcislots[32315]=0; itemdelta[32315]=55; itemdelaydays[32315]=0; starkl[32315]=2782; itemvperf[32317]=0; itemcpuperf[32317]=0; itemramperf[32317]=0; itempcislots[32317]=0; itemdelta[32317]=25; itemdelaydays[32317]=0; starkl[32317]=4785; itemvperf[33493]=0; itemcpuperf[33493]=0; itemramperf[33493]=0; itempcislots[33493]=0; itemdelta[33493]=0; itemdelaydays[33493]=0; starkl[33493]=5944; itemvperf[33508]=0; itemcpuperf[33508]=0; itemramperf[33508]=0; itempcislots[33508]=0; itemdelta[33508]=205; itemdelaydays[33508]=0; starkl[33508]=7773; itemvperf[33509]=0; itemcpuperf[33509]=0; itemramperf[33509]=0; itempcislots[33509]=0; itemdelta[33509]=180; itemdelaydays[33509]=0; starkl[33509]=8837; itemvperf[33510]=0; itemcpuperf[33510]=0; itemramperf[33510]=0; itempcislots[33510]=0; itemdelta[33510]=90; itemdelaydays[33510]=0; starkl[33510]=1894; itemvperf[33511]=0; itemcpuperf[33511]=0; itemramperf[33511]=0; itempcislots[33511]=0; itemdelta[33511]=75; itemdelaydays[33511]=0; starkl[33511]=974; itemvperf[33512]=0; itemcpuperf[33512]=0; itemramperf[33512]=0; itempcislots[33512]=0; itemdelta[33512]=50; itemdelaydays[33512]=0; starkl[33512]=6289; itemvperf[33458]=0; itemcpuperf[33458]=0; itemramperf[33458]=0; itempcislots[33458]=0; itemdelta[33458]=25; itemdelaydays[33458]=0; starkl[33458]=9053; itemvperf[14918]=0; itemcpuperf[14918]=0; itemramperf[14918]=0; itempcislots[14918]=0; itemdelta[14918]=25; itemdelaydays[14918]=0; starkl[14918]=7619; itemvperf[33465]=0; itemcpuperf[33465]=0; itemramperf[33465]=0; itempcislots[33465]=0; itemdelta[33465]=0; itemdelaydays[33465]=0; starkl[33465]=3282; itemvperf[33502]=0; itemcpuperf[33502]=0; itemramperf[33502]=0; itempcislots[33502]=0; itemdelta[33502]=25; itemdelaydays[33502]=0; starkl[33502]=1491; itemvperf[33503]=0; itemcpuperf[33503]=0; itemramperf[33503]=0; itempcislots[33503]=0; itemdelta[33503]=20; itemdelaydays[33503]=0; starkl[33503]=1925; itemvperf[33504]=0; itemcpuperf[33504]=0; itemramperf[33504]=0; itempcislots[33504]=0; itemdelta[33504]=0; itemdelaydays[33504]=0; starkl[33504]=1795; itemvperf[33469]=0; itemcpuperf[33469]=0; itemramperf[33469]=0; itempcislots[33469]=0; itemdelta[33469]=350; itemdelaydays[33469]=0; starkl[33469]=5329; itemvperf[33468]=0; itemcpuperf[33468]=0; itemramperf[33468]=0; itempcislots[33468]=0; itemdelta[33468]=125; itemdelaydays[33468]=0; starkl[33468]=9421; itemvperf[26514]=0; itemcpuperf[26514]=0; itemramperf[26514]=0; itempcislots[26514]=0; itemdelta[26514]=0; itemdelaydays[26514]=0; starkl[26514]=3164; itemvperf[33489]=0; itemcpuperf[33489]=0; itemramperf[33489]=0; itempcislots[33489]=0; itemdelta[33489]=0; itemdelaydays[33489]=0; starkl[33489]=5462; itemvperf[32321]=190; itemcpuperf[32321]=0; itemramperf[32321]=0; itempcislots[32321]=0; itemdelta[32321]=260; itemdelaydays[32321]=0; starkl[32321]=8935; itemvperf[33521]=190; itemcpuperf[33521]=0; itemramperf[33521]=0; itempcislots[33521]=0; itemdelta[33521]=120; itemdelaydays[33521]=0; starkl[33521]=1270; itemvperf[33481]=190; itemcpuperf[33481]=0; itemramperf[33481]=0; itempcislots[33481]=0; itemdelta[33481]=85; itemdelaydays[33481]=0; starkl[33481]=7541; itemvperf[33479]=0; itemcpuperf[33479]=0; itemramperf[33479]=0; itempcislots[33479]=0; itemdelta[33479]=0; itemdelaydays[33479]=0; starkl[33479]=595; itemvperf[33534]=0; itemcpuperf[33534]=0; itemramperf[33534]=0; itempcislots[33534]=0; itemdelta[33534]=599; itemdelaydays[33534]=0; starkl[33534]=7646; itemvperf[29923]=0; itemcpuperf[29923]=0; itemramperf[29923]=0; itempcislots[29923]=0; itemdelta[29923]=589; itemdelaydays[29923]=7; starkl[29923]=6512; itemvperf[29922]=0; itemcpuperf[29922]=0; itemramperf[29922]=0; itempcislots[29922]=0; itemdelta[29922]=599; itemdelaydays[29922]=0; starkl[29922]=8998; itemvperf[29920]=0; itemcpuperf[29920]=0; itemramperf[29920]=0; itempcislots[29920]=0; itemdelta[29920]=259; itemdelaydays[29920]=0; starkl[29920]=8166; itemvperf[29921]=0; itemcpuperf[29921]=0; itemramperf[29921]=0; itempcislots[29921]=0; itemdelta[29921]=189; itemdelaydays[29921]=0; starkl[29921]=3642; itemvperf[6199]=0; itemcpuperf[6199]=0; itemramperf[6199]=0; itempcislots[6199]=0; itemdelta[6199]=0; itemdelaydays[6199]=0; starkl[6199]=4596; itemvperf[6202]=0; itemcpuperf[6202]=0; itemramperf[6202]=0; itempcislots[6202]=0; itemdelta[6202]=0; itemdelaydays[6202]=0; starkl[6202]=8306; itemvperf[33466]=0; itemcpuperf[33466]=0; itemramperf[33466]=0; itempcislots[33466]=0; itemdelta[33466]=195; itemdelaydays[33466]=0; starkl[33466]=7603; itemvperf[6204]=0; itemcpuperf[6204]=0; itemramperf[6204]=0; itempcislots[6204]=0; itemdelta[6204]=125; itemdelaydays[6204]=0; starkl[6204]=710; itemvperf[6206]=0; itemcpuperf[6206]=0; itemramperf[6206]=0; itempcislots[6206]=0; itemdelta[6206]=120; itemdelaydays[6206]=0; starkl[6206]=6069; itemvperf[6208]=0; itemcpuperf[6208]=0; itemramperf[6208]=0; itempcislots[6208]=0; itemdelta[6208]=39; itemdelaydays[6208]=0; starkl[6208]=1223; itemvperf[6209]=0; itemcpuperf[6209]=0; itemramperf[6209]=0; itempcislots[6209]=0; itemdelta[6209]=19; itemdelaydays[6209]=0; starkl[6209]=2951; itemvperf[6210]=0; itemcpuperf[6210]=0; itemramperf[6210]=0; itempcislots[6210]=0; itemdelta[6210]=0; itemdelaydays[6210]=0; starkl[6210]=7867; itemvperf[33496]=0; itemcpuperf[33496]=0; itemramperf[33496]=0; itempcislots[33496]=0; itemdelta[33496]=740; itemdelaydays[33496]=0; starkl[33496]=3714; itemvperf[33525]=0; itemcpuperf[33525]=0; itemramperf[33525]=0; itempcislots[33525]=0; itemdelta[33525]=355; itemdelaydays[33525]=0; starkl[33525]=3792; itemvperf[33524]=0; itemcpuperf[33524]=0; itemramperf[33524]=0; itempcislots[33524]=0; itemdelta[33524]=200; itemdelaydays[33524]=0; starkl[33524]=6986; itemvperf[33475]=0; itemcpuperf[33475]=0; itemramperf[33475]=0; itempcislots[33475]=0; itemdelta[33475]=340; itemdelaydays[33475]=0; starkl[33475]=4956; itemvperf[33474]=0; itemcpuperf[33474]=0; itemramperf[33474]=0; itempcislots[33474]=0; itemdelta[33474]=150; itemdelaydays[33474]=0; starkl[33474]=8390; itemvperf[33473]=0; itemcpuperf[33473]=0; itemramperf[33473]=0; itempcislots[33473]=0; itemdelta[33473]=70; itemdelaydays[33473]=0; starkl[33473]=9763; itemvperf[33529]=0; itemcpuperf[33529]=0; itemramperf[33529]=0; itempcislots[33529]=0; itemdelta[33529]=330; itemdelaydays[33529]=0; starkl[33529]=3596; itemvperf[33528]=0; itemcpuperf[33528]=0; itemramperf[33528]=0; itempcislots[33528]=0; itemdelta[33528]=120; itemdelaydays[33528]=0; starkl[33528]=2820; itemvperf[33476]=0; itemcpuperf[33476]=0; itemramperf[33476]=0; itempcislots[33476]=0; itemdelta[33476]=65; itemdelaydays[33476]=0; starkl[33476]=6946; itemvperf[33463]=0; itemcpuperf[33463]=0; itemramperf[33463]=0; itempcislots[33463]=0; itemdelta[33463]=35; itemdelaydays[33463]=0; starkl[33463]=5361; itemvperf[6220]=0; itemcpuperf[6220]=0; itemramperf[6220]=0; itempcislots[6220]=0; itemdelta[6220]=0; itemdelaydays[6220]=0; starkl[6220]=2676; itemvperf[33530]=0; itemcpuperf[33530]=0; itemramperf[33530]=0; itempcislots[33530]=0; itemdelta[33530]=395; itemdelaydays[33530]=0; starkl[33530]=2348; itemvperf[33484]=0; itemcpuperf[33484]=0; itemramperf[33484]=0; itempcislots[33484]=0; itemdelta[33484]=185; itemdelaydays[33484]=0; starkl[33484]=7897; itemvperf[33456]=0; itemcpuperf[33456]=0; itemramperf[33456]=0; itempcislots[33456]=0; itemdelta[33456]=130; itemdelaydays[33456]=0; starkl[33456]=4992; itemvperf[32329]=0; itemcpuperf[32329]=0; itemramperf[32329]=0; itempcislots[32329]=0; itemdelta[32329]=100; itemdelaydays[32329]=0; starkl[32329]=2854; itemvperf[32327]=0; itemcpuperf[32327]=0; itemramperf[32327]=0; itempcislots[32327]=0; itemdelta[32327]=65; itemdelaydays[32327]=0; starkl[32327]=4613; itemvperf[6239]=0; itemcpuperf[6239]=0; itemramperf[6239]=0; itempcislots[6239]=0; itemdelta[6239]=0; itemdelaydays[6239]=0; starkl[6239]=2441; itemvperf[33531]=0; itemcpuperf[33531]=0; itemramperf[33531]=0; itempcislots[33531]=0; itemdelta[33531]=0; itemdelaydays[33531]=0; starkl[33531]=7715; itemvperf[33532]=0; itemcpuperf[33532]=0; itemramperf[33532]=0; itempcislots[33532]=0; itemdelta[33532]=0; itemdelaydays[33532]=0; starkl[33532]=5696; itemvperf[33533]=0; itemcpuperf[33533]=0; itemramperf[33533]=0; itempcislots[33533]=0; itemdelta[33533]=0; itemdelaydays[33533]=0; starkl[33533]=3799; itemvperf[26518]=0; itemcpuperf[26518]=0; itemramperf[26518]=0; itempcislots[26518]=0; itemdelta[26518]=70; itemdelaydays[26518]=0; starkl[26518]=6498; itemvperf[20469]=0; itemcpuperf[20469]=0; itemramperf[20469]=0; itempcislots[20469]=0; itemdelta[20469]=55; itemdelaydays[20469]=0; starkl[20469]=4654; itemvperf[6241]=0; itemcpuperf[6241]=0; itemramperf[6241]=0; itempcislots[6241]=0; itemdelta[6241]=0; itemdelaydays[6241]=0; starkl[6241]=4497; itemvperf[6254]=0; itemcpuperf[6254]=0; itemramperf[6254]=0; itempcislots[6254]=0; itemdelta[6254]=0; itemdelaydays[6254]=0; starkl[6254]=7331; itemvperf[33471]=0; itemcpuperf[33471]=0; itemramperf[33471]=0; itempcislots[33471]=0; itemdelta[33471]=50; itemdelaydays[33471]=0; starkl[33471]=1550; itemvperf[33522]=0; itemcpuperf[33522]=0; itemramperf[33522]=0; itempcislots[33522]=0; itemdelta[33522]=40; itemdelaydays[33522]=0; starkl[33522]=5788; itemvperf[33460]=0; itemcpuperf[33460]=0; itemramperf[33460]=0; itempcislots[33460]=0; itemdelta[33460]=25; itemdelaydays[33460]=0; starkl[33460]=3118; itemvperf[33461]=0; itemcpuperf[33461]=0; itemramperf[33461]=0; itempcislots[33461]=0; itemdelta[33461]=0; itemdelaydays[33461]=0; starkl[33461]=5106; itemvperf[25272]=0; itemcpuperf[25272]=0; itemramperf[25272]=0; itempcislots[25272]=0; itemdelta[25272]=25; itemdelaydays[25272]=0; starkl[25272]=8571; itemvperf[25271]=0; itemcpuperf[25271]=0; itemramperf[25271]=0; itempcislots[25271]=0; itemdelta[25271]=0; itemdelaydays[25271]=0; starkl[25271]=706; itemvperf[33516]=0; itemcpuperf[33516]=0; itemramperf[33516]=0; itempcislots[33516]=0; itemdelta[33516]=70; itemdelaydays[33516]=0; starkl[33516]=7578; itemvperf[33517]=0; itemcpuperf[33517]=0; itemramperf[33517]=0; itempcislots[33517]=0; itemdelta[33517]=0; itemdelaydays[33517]=0; starkl[33517]=837; itemvperf[31305]=0; itemcpuperf[31305]=0; itemramperf[31305]=0; itempcislots[31305]=0; itemdelta[31305]=259; itemdelaydays[31305]=0; starkl[31305]=5018; itemvperf[31306]=0; itemcpuperf[31306]=0; itemramperf[31306]=0; itempcislots[31306]=0; itemdelta[31306]=169; itemdelaydays[31306]=0; starkl[31306]=7942; itemvperf[6271]=0; itemcpuperf[6271]=0; itemramperf[6271]=0; itempcislots[6271]=0; itemdelta[6271]=0; itemdelaydays[6271]=0; starkl[6271]=6639; itemvperf[33498]=0; itemcpuperf[33498]=0; itemramperf[33498]=0; itempcislots[33498]=0; itemdelta[33498]=0; itemdelaydays[33498]=0; starkl[33498]=7814; itemvperf[33499]=0; itemcpuperf[33499]=0; itemramperf[33499]=0; itempcislots[33499]=0; itemdelta[33499]=0; itemdelaydays[33499]=0; starkl[33499]=7374; itemvperf[25890]=0; itemcpuperf[25890]=0; itemramperf[25890]=0; itempcislots[25890]=0; itemdelta[25890]=199; itemdelaydays[25890]=0; starkl[25890]=9888; itemvperf[33250]=0; itemcpuperf[33250]=0; itemramperf[33250]=0; itempcislots[33250]=0; itemdelta[33250]=15; itemdelaydays[33250]=0; starkl[33250]=1725; itemvperf[6280]=0; itemcpuperf[6280]=0; itemramperf[6280]=0; itempcislots[6280]=0; itemdelta[6280]=0; itemdelaydays[6280]=0; starkl[6280]=4493; itemvperf[33518]=0; itemcpuperf[33518]=0; itemramperf[33518]=0; itempcislots[33518]=0; itemdelta[33518]=95; itemdelaydays[33518]=0; starkl[33518]=9613; itemvperf[19713]=0; itemcpuperf[19713]=0; itemramperf[19713]=0; itempcislots[19713]=0; itemdelta[19713]=90; itemdelaydays[19713]=0; starkl[19713]=6306; itemvperf[33251]=0; itemcpuperf[33251]=0; itemramperf[33251]=0; itempcislots[33251]=0; itemdelta[33251]=15; itemdelaydays[33251]=0; starkl[33251]=4385; itemvperf[6284]=0; itemcpuperf[6284]=0; itemramperf[6284]=0; itempcislots[6284]=0; itemdelta[6284]=0; itemdelaydays[6284]=0; starkl[6284]=7005; itemvperf[33519]=0; itemcpuperf[33519]=0; itemramperf[33519]=0; itempcislots[33519]=0; itemdelta[33519]=0; itemdelaydays[33519]=0; starkl[33519]=2082; itemvperf[33520]=0; itemcpuperf[33520]=0; itemramperf[33520]=0; itempcislots[33520]=0; itemdelta[33520]=0; itemdelaydays[33520]=0; starkl[33520]=3021; itemvperf[6294]=0; itemcpuperf[6294]=0; itemramperf[6294]=0; itempcislots[6294]=0; itemdelta[6294]=0; itemdelaydays[6294]=0; starkl[6294]=2857; itemvperf[6293]=0; itemcpuperf[6293]=0; itemramperf[6293]=0; itempcislots[6293]=0; itemdelta[6293]=19; itemdelaydays[6293]=0; starkl[6293]=9015; itemvperf[24935]=0; itemcpuperf[24935]=0; itemramperf[24935]=0; itempcislots[24935]=0; itemdelta[24935]=0; itemdelaydays[24935]=0; starkl[24935]=6169; itemvperf[33501]=0; itemcpuperf[33501]=0; itemramperf[33501]=0; itempcislots[33501]=0; itemdelta[33501]=0; itemdelaydays[33501]=0; starkl[33501]=2232; itemvperf[6295]=0; itemcpuperf[6295]=0; itemramperf[6295]=0; itempcislots[6295]=0; itemdelta[6295]=0; itemdelaydays[6295]=0; starkl[6295]=2140; itemvperf[6297]=0; itemcpuperf[6297]=0; itemramperf[6297]=0; itempcislots[6297]=0; itemdelta[6297]=0; itemdelaydays[6297]=0; starkl[6297]=4811; itemvperf[6298]=0; itemcpuperf[6298]=0; itemramperf[6298]=0; itempcislots[6298]=0; itemdelta[6298]=0; itemdelaydays[6298]=0; starkl[6298]=6244; itemvperf[6299]=0; itemcpuperf[6299]=0; itemramperf[6299]=0; itempcislots[6299]=0; itemdelta[6299]=0; itemdelaydays[6299]=0; starkl[6299]=7020; itemvperf[6300]=0; itemcpuperf[6300]=0; itemramperf[6300]=0; itempcislots[6300]=0; itemdelta[6300]=175; itemdelaydays[6300]=0; starkl[6300]=1925; itemvperf[6301]=0; itemcpuperf[6301]=0; itemramperf[6301]=0; itempcislots[6301]=0; itemdelta[6301]=0; itemdelaydays[6301]=0; starkl[6301]=2849; itemvperf[6302]=0; itemcpuperf[6302]=0; itemramperf[6302]=0; itempcislots[6302]=0; itemdelta[6302]=369; itemdelaydays[6302]=0; starkl[6302]=8259; itemvperf[6303]=0; itemcpuperf[6303]=0; itemramperf[6303]=0; itempcislots[6303]=0; itemdelta[6303]=299; itemdelaydays[6303]=0; starkl[6303]=8476; itemvperf[6304]=0; itemcpuperf[6304]=0; itemramperf[6304]=0; itempcislots[6304]=0; itemdelta[6304]=269; itemdelaydays[6304]=0; starkl[6304]=7001; itemvperf[6305]=0; itemcpuperf[6305]=0; itemramperf[6305]=0; itempcislots[6305]=0; itemdelta[6305]=199; itemdelaydays[6305]=0; starkl[6305]=651; itemvperf[6306]=0; itemcpuperf[6306]=0; itemramperf[6306]=0; itempcislots[6306]=0; itemdelta[6306]=169; itemdelaydays[6306]=0; starkl[6306]=8472; itemvperf[6307]=0; itemcpuperf[6307]=0; itemramperf[6307]=0; itempcislots[6307]=0; itemdelta[6307]=99; itemdelaydays[6307]=0; starkl[6307]=7244; itemvperf[6308]=0; itemcpuperf[6308]=0; itemramperf[6308]=0; itempcislots[6308]=0; itemdelta[6308]=69; itemdelaydays[6308]=0; starkl[6308]=3079; itemvperf[6309]=0; itemcpuperf[6309]=0; itemramperf[6309]=0; itempcislots[6309]=0; itemdelta[6309]=0; itemdelaydays[6309]=0; starkl[6309]=4666; itemvperf[6310]=0; itemcpuperf[6310]=0; itemramperf[6310]=0; itempcislots[6310]=0; itemdelta[6310]=0; itemdelaydays[6310]=0; starkl[6310]=3697; itemvperf[33535]=0; itemcpuperf[33535]=0; itemramperf[33535]=0; itempcislots[33535]=0; itemdelta[33535]=0; itemdelaydays[33535]=0; starkl[33535]=8503; itemvperf[33536]=0; itemcpuperf[33536]=0; itemramperf[33536]=0; itempcislots[33536]=0; itemdelta[33536]=0; itemdelaydays[33536]=0; starkl[33536]=2456; itemvperf[33491]=0; itemcpuperf[33491]=0; itemramperf[33491]=0; itempcislots[33491]=0; itemdelta[33491]=0; itemdelaydays[33491]=0; starkl[33491]=7196; itemvperf[33506]=0; itemcpuperf[33506]=0; itemramperf[33506]=0; itempcislots[33506]=0; itemdelta[33506]=-75; itemdelaydays[33506]=0; starkl[33506]=2947; itemvperf[33490]=0; itemcpuperf[33490]=0; itemramperf[33490]=0; itempcislots[33490]=0; itemdelta[33490]=-75; itemdelaydays[33490]=0; starkl[33490]=2963; caseImages[33500]=new Image(); caseImages[33500].src='/images/upload/main_mx3.jpg'; var windowprops = "width=695,height=650,top=15,left=15,location=no,toolbar=no,menubar=no,scrollbars=yes,resizable=yes"; function gopop(page) { window.open(page, "", windowprops); } function disable() { if (event.button == 2) { alert("Thank you for visiting Velocity Micro!") } } function PickUserSelections () { } function ChangePrice () { var newprice =new Number(document.wizform.currentprice.value); var newlease =new Number(document.wizform.currentlease.value); var newdelaydays =new Number(document.wizform.builddays.value); var highdelaydays = 0; var usethisvperf = 100; var usethiscpuperf = 100; var usethisramperf = 100; var usethisoverallperf = 100; var newpcislots = 0; var jjkopl =56985; if (document.wizform.starkldo.value==1) { jjkopl = 0; } for (x = 0; x < document.wizform.elements.length; x++) { if (document.wizform.elements[x].type == "select-one") { thisdd = document.wizform.elements[x]; thisindex = thisdd.selectedIndex; thisdelaydays = (thisindex >= 0 ? itemdelaydays[thisdd[thisindex].value] : 0); thisdelta = (thisindex >= 0 ? itemdelta[thisdd[thisindex].value] : 0); thisvperf = (thisindex >= 0 ? itemvperf[thisdd[thisindex].value] : 0); if (thisvperf > 0) { usethisvperf = thisvperf; } thiscpuperf = (thisindex >= 0 ? itemcpuperf[thisdd[thisindex].value] : 0); if (thiscpuperf > 0) { usethiscpuperf = thiscpuperf; } thisramperf = (thisindex >= 0 ? itemramperf[thisdd[thisindex].value] : 0); if (thisramperf > 0) { usethisramperf = thisramperf; } thisoverallperf = usethisramperf + usethiscpuperf + usethisvperf; if (thisoverallperf > 0) { usethisoverallperf = Math.round((usethisramperf + usethiscpuperf + usethisvperf)/3); } thispcislots = (thisindex >= 0 ? itempcislots[thisdd[thisindex].value] : 0); newpcislots += new Number(thispcislots); sujask = (thisindex >= 0 ? starkl[thisdd[thisindex].value] : 0); newprice += new Number(thisdelta); if (thisdelaydays > highdelaydays) { highdelaydays = thisdelaydays; newdelaydays += new Number(thisdelaydays); } jjkopl += new Number(sujask); newlease = ((newprice * .03)); newlease = Math.round(newlease*1)/1; } if (document.wizform.elements[x].type == "radio") { thisindex = document.wizform.elements[x].value thischecked = document.wizform.elements[x].checked; thisdelta = (thischecked ? itemdelta[thisindex] : 0); sujask = (thischecked ? starkl[thisindex] : 0); newprice += new Number(thisdelta); jjkopl += new Number(sujask); newlease = ((newprice * .03)); newlease = Math.round(newlease*1)/1; } if (document.wizform.elements[x].type == "checkbox") { thisindex = document.wizform.elements[x].value thischecked = document.wizform.elements[x].checked; thisdelta = (thischecked ? itemdelta[thisindex] : 0); sujask = (thischecked ? starkl[thisindex] : 0); newprice += new Number(thisdelta); jjkopl += new Number(sujask); newlease = ((newprice * .03)); newlease = Math.round(newlease*1)/1; } } //if (document.images) { //alert ("starting statement"); var statement = ''; var statementlt = ''; //newprice = 1000; //newlease = 100; //if (document.all) //statement += "document.all['pricetopt'].innerHTML = '" + newprice + "';"; //else if (document.getElementById) //statement += "document.getElementById('pricetopt').innerHTML = '" + newprice + "';"; // eval(statement); //for lease pmt uncomment eval below if (document.all) statementlt += "document.all['pricetopL'].innerHTML = '" + newlease + "';"; else if (document.getElementById) statementlt += "document.getElementById('pricetopL').innerHTML = '" + newlease + "';"; eval(statementlt); var statementb = ''; var statementlb = ''; if (document.all) statementb += "document.all['pricetopb'].innerHTML = '" + newprice + "';"; else if (document.getElementById) statementb += "document.getElementById('pricetopb').innerHTML = '" + newprice + "';"; eval(statementb); if (document.all) statementb += "document.all['pricetopbb'].innerHTML = '" + newprice + "';"; else if (document.getElementById) statementb += "document.getElementById('pricetopbb').innerHTML = '" + newprice + "';"; eval(statementb); //for lease pmt uncomment eval below //if (document.all) statementlb += "document.all['pricetoplb'].innerHTML = '" + newlease + "';"; //else if (document.getElementById) statementlb += "document.getElementById('pricetoplb').innerHTML = '" + newlease + "';"; //eval(statementlb); myDate = new Date(); newoutdate = new Date(myDate.getTime() + newdelaydays*24*60*60*1000); newoutdatef = (newoutdate.getMonth() + 1) + "/" + newoutdate.getDate() +"/" + newoutdate.getFullYear(); var days = 0; var difference = 0; Christmas = new Date("December 22, 2008"); compdate = new Date(newoutdatef); difference = Christmas - compdate; days = Math.round(difference/(1000*60*60*24)); if (days >=0) { //show the shipping image if (document.all) document.all.bn24.style.visibility = 'visible'; else if (document.getElementById) document.getElementById('bn24').style.visibility = 'visible'; } else { //hide the image if (document.all) document.all.bn24.style.visibility = 'hidden'; else if (document.getElementById) document.getElementById('bn24').style.visibility = 'hidden'; } //if (document.all) //document.all['delaydays'].innerHTML = newoutdatef; //else if (document.getElementById) //document.getElementById('delaydays').innerHTML = newoutdatef; if (document.all) document.all['delaydays2'].innerHTML = newoutdatef; else if (document.getElementById) document.getElementById('delaydays2').innerHTML = newoutdatef; //video perf if (document.all) document.all['vperf'].value = usethisvperf; else if (document.getElementById) document.getElementById('vperf').value = usethisvperf; //cpu perf if (document.all) document.all['cpuperf'].value = usethiscpuperf; else if (document.getElementById) document.getElementById('cpuperf').value = usethiscpuperf; //ram perf if (document.all) document.all['ramperf'].value = usethisramperf; else if (document.getElementById) document.getElementById('ramperf').value = usethisramperf; //overall perf if (document.all) document.all['overallperf'].value = usethisoverallperf; else if (document.getElementById) document.getElementById('overallperf').value = usethisoverallperf; //pci slots if (document.all) document.all['pcislots'].value = newpcislots; else if (document.getElementById) document.getElementById('pcislots').value = newpcislots; //below is for pcislot checking if (newpcislots > 0) { //alert("You have too many PCI slots used. See highlighted items."); } var slok = newprice - jjkopl; var ojeko = slok / newprice; document.wizform.starkl.value = "c" + Math.round(jjkopl*100)/100 + " p" + Math.round(slok*100)/100 + " " + Math.round(ojeko*100) + "%"; document.wizform.emailprice.value = newprice; } function ReloadIframe() { usethisvperf = document.wizform.vperf.value; usethiscpuperf = document.wizform.cpuperf.value; usethisramperf = document.wizform.ramperf.value; usethisoverallperf = document.wizform.overallperf.value; window.document.mymovie.SetVariable("newramBarw", usethisramperf); window.document.mymovie.SetVariable("newcpuBarw", usethiscpuperf); window.document.mymovie.SetVariable("newvidBarw", usethisvperf); window.document.mymovie.SetVariable("newovrBarw", usethisoverallperf); //alert(usethisoverallperf); } var vNewImage = new Image(); function SwapCase () { if (document.caseImage) { vIndex = document.wizform.elements['configurator_item[]'][0].selectedIndex; vImageIndex = document.wizform.elements['configurator_item[]'][0].options[vIndex].value; document.caseImage.src = caseImages[vImageIndex].src; //document.caseImageF.src = caseImages[vImageIndex].src; DocURL = caseImages[vImageIndex].src; lastchr = DocURL.length; urlresult=DocURL.substring(0,lastchr - 4)+'.html'; //if (document.all) { //document.all['caseLink'] = "javascript:gopop('"+urlresult+"');"; // document.all['caseLinkb'] = "javascript:gopop('"+urlresult+"');"; // document.all['caseLinkc'] = "javascript:gopop('"+urlresult+"');"; //} //else if (document.getElementById) { //document.getElementById('caseLink').href = "javascript:gopop('"+urlresult+"');"; document.getElementById('caseLinkb').href = "javascript:gopop('"+urlresult+"');"; document.getElementById('caseLinkc').href = "javascript:gopop('"+urlresult+"');"; //} } } function setEditedSelections (vInvID) { for (x = 0; x < document.wizform.elements.length; x++) { if (document.wizform.elements[x].type == "select-one") { vEle = document.wizform.elements[x]; for (y = 0; y < vEle.options.length; y++) { if (vEle.options[y].value == vInvID) { document.wizform.elements[x].options[y].selected = true; return; } } } //now do radio if (document.wizform.elements[x].type == "radio") { vEle = document.wizform.elements[x]; if (vEle.value == vInvID) { document.wizform.elements[x].checked = true; return; } //else //{ // document.wizform.elements[x].checked = false; // return; //} } //now do checkboxes if (document.wizform.elements[x].type == "checkbox") { vEle = document.wizform.elements[x]; if (vEle.value == vInvID) { document.wizform.elements[x].checked = true; return; } //else //{ // document.wizform.elements[x].checked = false; // return; //} } } } // Begin. Specify URLs to randomly select from and pop-under. Edit & add freely. var popunder=new Array() popunder[0]="vm_survey_2.htm" // Specify the width and height of new popunder window (in pixels). var width = '780'; var height = '590'; var p = 'scrollbars=yes,resizable=yes,toolbar=no,' + //these are obvious variables. set "yes" or "no". 'menubar=no,status=no,location=no,left=20,top=20,height=' + //yes/no, & the screen location height + ',width=' + width; // Load new PopUnder only once per browser session? (0=no, 1=yes) // Putting 0 will cause the Popunder to load every time page is loaded // Specifying 1 will cause it to load only once per session var one_time=1 function get_cookie(Name) { var search = Name + "=" var returnvalue = ""; if (document.cookie.length > 0) { offset = document.cookie.indexOf(search) if (offset != -1) { // if the cookie exists offset += search.length end = document.cookie.indexOf(";", offset); // set the index of beginning value if (end == -1) // set the index of the end of cookie value end = document.cookie.length; returnvalue=unescape(document.cookie.substring(offset, end)) } } return returnvalue; } function loadornot(){ if (get_cookie('popunder')==''){ load_pop_power() document.cookie="popunder=yes" } } function load_pop_power(){ win2=window.open(popunder[Math.floor(Math.random()*(popunder.length))],"bw",p) win2.blur() window.focus() } // comment load_pop_power and loadornot to not run this //if (one_time==0) //load_pop_power() //else //loadornot()