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]=5; starkl[33500]=2321; itemvperf[6166]=0; itemcpuperf[6166]=0; itemramperf[6166]=0; itempcislots[6166]=0; itemdelta[6166]=65; itemdelaydays[6166]=0; starkl[6166]=4695; itemvperf[6165]=0; itemcpuperf[6165]=0; itemramperf[6165]=0; itempcislots[6165]=0; itemdelta[6165]=45; itemdelaydays[6165]=0; starkl[6165]=650; itemvperf[33492]=0; itemcpuperf[33492]=0; itemramperf[33492]=0; itempcislots[33492]=0; itemdelta[33492]=55; itemdelaydays[33492]=0; starkl[33492]=6617; itemvperf[33464]=0; itemcpuperf[33464]=0; itemramperf[33464]=0; itempcislots[33464]=0; itemdelta[33464]=20; itemdelaydays[33464]=0; starkl[33464]=2943; itemvperf[33321]=0; itemcpuperf[33321]=0; itemramperf[33321]=0; itempcislots[33321]=0; itemdelta[33321]=0; itemdelaydays[33321]=0; starkl[33321]=8605; itemvperf[33487]=0; itemcpuperf[33487]=0; itemramperf[33487]=0; itempcislots[33487]=0; itemdelta[33487]=0; itemdelaydays[33487]=0; starkl[33487]=8446; itemvperf[33512]=0; itemcpuperf[33512]=0; itemramperf[33512]=0; itempcislots[33512]=0; itemdelta[33512]=160; itemdelaydays[33512]=0; starkl[33512]=311; itemvperf[32315]=0; itemcpuperf[32315]=0; itemramperf[32315]=0; itempcislots[32315]=0; itemdelta[32315]=55; itemdelaydays[32315]=0; starkl[32315]=8222; itemvperf[32317]=0; itemcpuperf[32317]=0; itemramperf[32317]=0; itempcislots[32317]=0; itemdelta[32317]=25; itemdelaydays[32317]=0; starkl[32317]=9051; itemvperf[33493]=0; itemcpuperf[33493]=0; itemramperf[33493]=0; itempcislots[33493]=0; itemdelta[33493]=0; itemdelaydays[33493]=0; starkl[33493]=2758; itemvperf[33508]=0; itemcpuperf[33508]=0; itemramperf[33508]=0; itempcislots[33508]=0; itemdelta[33508]=90; itemdelaydays[33508]=0; starkl[33508]=4719; itemvperf[33509]=0; itemcpuperf[33509]=0; itemramperf[33509]=0; itempcislots[33509]=0; itemdelta[33509]=75; itemdelaydays[33509]=0; starkl[33509]=2282; itemvperf[33458]=0; itemcpuperf[33458]=0; itemramperf[33458]=0; itempcislots[33458]=0; itemdelta[33458]=50; itemdelaydays[33458]=0; starkl[33458]=8861; itemvperf[14918]=0; itemcpuperf[14918]=0; itemramperf[14918]=0; itempcislots[14918]=0; itemdelta[14918]=35; itemdelaydays[14918]=0; starkl[14918]=6610; itemvperf[33510]=0; itemcpuperf[33510]=0; itemramperf[33510]=0; itempcislots[33510]=0; itemdelta[33510]=35; itemdelaydays[33510]=0; starkl[33510]=8137; itemvperf[33465]=0; itemcpuperf[33465]=0; itemramperf[33465]=0; itempcislots[33465]=0; itemdelta[33465]=0; itemdelaydays[33465]=0; starkl[33465]=9830; itemvperf[33502]=0; itemcpuperf[33502]=0; itemramperf[33502]=0; itempcislots[33502]=0; itemdelta[33502]=25; itemdelaydays[33502]=0; starkl[33502]=9239; itemvperf[33503]=0; itemcpuperf[33503]=0; itemramperf[33503]=0; itempcislots[33503]=0; itemdelta[33503]=20; itemdelaydays[33503]=0; starkl[33503]=1125; itemvperf[33504]=0; itemcpuperf[33504]=0; itemramperf[33504]=0; itempcislots[33504]=0; itemdelta[33504]=0; itemdelaydays[33504]=0; starkl[33504]=304; itemvperf[33469]=0; itemcpuperf[33469]=0; itemramperf[33469]=0; itempcislots[33469]=0; itemdelta[33469]=345; itemdelaydays[33469]=0; starkl[33469]=2623; itemvperf[33468]=0; itemcpuperf[33468]=0; itemramperf[33468]=0; itempcislots[33468]=0; itemdelta[33468]=125; itemdelaydays[33468]=0; starkl[33468]=2488; itemvperf[26514]=0; itemcpuperf[26514]=0; itemramperf[26514]=0; itempcislots[26514]=0; itemdelta[26514]=0; itemdelaydays[26514]=0; starkl[26514]=7366; itemvperf[33489]=0; itemcpuperf[33489]=0; itemramperf[33489]=0; itempcislots[33489]=0; itemdelta[33489]=0; itemdelaydays[33489]=0; starkl[33489]=7404; itemvperf[32321]=190; itemcpuperf[32321]=0; itemramperf[32321]=0; itempcislots[32321]=0; itemdelta[32321]=260; itemdelaydays[32321]=0; starkl[32321]=1492; itemvperf[33519]=190; itemcpuperf[33519]=0; itemramperf[33519]=0; itempcislots[33519]=0; itemdelta[33519]=120; itemdelaydays[33519]=0; starkl[33519]=5263; itemvperf[33481]=190; itemcpuperf[33481]=0; itemramperf[33481]=0; itempcislots[33481]=0; itemdelta[33481]=85; itemdelaydays[33481]=0; starkl[33481]=7416; itemvperf[33479]=0; itemcpuperf[33479]=0; itemramperf[33479]=0; itempcislots[33479]=0; itemdelta[33479]=0; itemdelaydays[33479]=0; starkl[33479]=1750; itemvperf[33528]=0; itemcpuperf[33528]=0; itemramperf[33528]=0; itempcislots[33528]=0; itemdelta[33528]=599; itemdelaydays[33528]=0; starkl[33528]=5513; itemvperf[33454]=0; itemcpuperf[33454]=0; itemramperf[33454]=0; itempcislots[33454]=0; itemdelta[33454]=589; itemdelaydays[33454]=7; starkl[33454]=2795; itemvperf[29922]=0; itemcpuperf[29922]=0; itemramperf[29922]=0; itempcislots[29922]=0; itemdelta[29922]=599; itemdelaydays[29922]=0; starkl[29922]=5124; itemvperf[29920]=0; itemcpuperf[29920]=0; itemramperf[29920]=0; itempcislots[29920]=0; itemdelta[29920]=249; itemdelaydays[29920]=0; starkl[29920]=9866; itemvperf[29921]=0; itemcpuperf[29921]=0; itemramperf[29921]=0; itempcislots[29921]=0; itemdelta[29921]=189; itemdelaydays[29921]=0; starkl[29921]=2190; itemvperf[6199]=0; itemcpuperf[6199]=0; itemramperf[6199]=0; itempcislots[6199]=0; itemdelta[6199]=0; itemdelaydays[6199]=0; starkl[6199]=2847; itemvperf[6202]=0; itemcpuperf[6202]=0; itemramperf[6202]=0; itempcislots[6202]=0; itemdelta[6202]=0; itemdelaydays[6202]=0; starkl[6202]=2661; itemvperf[33466]=0; itemcpuperf[33466]=0; itemramperf[33466]=0; itempcislots[33466]=0; itemdelta[33466]=195; itemdelaydays[33466]=0; starkl[33466]=2761; itemvperf[6204]=0; itemcpuperf[6204]=0; itemramperf[6204]=0; itempcislots[6204]=0; itemdelta[6204]=130; itemdelaydays[6204]=0; starkl[6204]=3851; itemvperf[6206]=0; itemcpuperf[6206]=0; itemramperf[6206]=0; itempcislots[6206]=0; itemdelta[6206]=120; itemdelaydays[6206]=0; starkl[6206]=1267; itemvperf[6208]=0; itemcpuperf[6208]=0; itemramperf[6208]=0; itempcislots[6208]=0; itemdelta[6208]=50; itemdelaydays[6208]=0; starkl[6208]=7091; itemvperf[6209]=0; itemcpuperf[6209]=0; itemramperf[6209]=0; itempcislots[6209]=0; itemdelta[6209]=30; itemdelaydays[6209]=0; starkl[6209]=9713; itemvperf[6210]=0; itemcpuperf[6210]=0; itemramperf[6210]=0; itempcislots[6210]=0; itemdelta[6210]=0; itemdelaydays[6210]=0; starkl[6210]=1524; itemvperf[33474]=0; itemcpuperf[33474]=0; itemramperf[33474]=0; itempcislots[33474]=0; itemdelta[33474]=740; itemdelaydays[33474]=0; starkl[33474]=8876; itemvperf[33473]=0; itemcpuperf[33473]=0; itemramperf[33473]=0; itempcislots[33473]=0; itemdelta[33473]=355; itemdelaydays[33473]=0; starkl[33473]=9725; itemvperf[6216]=0; itemcpuperf[6216]=0; itemramperf[6216]=0; itempcislots[6216]=0; itemdelta[6216]=200; itemdelaydays[6216]=0; starkl[6216]=9964; itemvperf[33495]=0; itemcpuperf[33495]=0; itemramperf[33495]=0; itempcislots[33495]=0; itemdelta[33495]=340; itemdelaydays[33495]=0; starkl[33495]=6880; itemvperf[33496]=0; itemcpuperf[33496]=0; itemramperf[33496]=0; itempcislots[33496]=0; itemdelta[33496]=150; itemdelaydays[33496]=0; starkl[33496]=372; itemvperf[33497]=0; itemcpuperf[33497]=0; itemramperf[33497]=0; itempcislots[33497]=0; itemdelta[33497]=70; itemdelaydays[33497]=0; starkl[33497]=3450; itemvperf[33522]=0; itemcpuperf[33522]=0; itemramperf[33522]=0; itempcislots[33522]=0; itemdelta[33522]=330; itemdelaydays[33522]=0; starkl[33522]=4431; itemvperf[33521]=0; itemcpuperf[33521]=0; itemramperf[33521]=0; itempcislots[33521]=0; itemdelta[33521]=120; itemdelaydays[33521]=0; starkl[33521]=4926; itemvperf[33476]=0; itemcpuperf[33476]=0; itemramperf[33476]=0; itempcislots[33476]=0; itemdelta[33476]=65; itemdelaydays[33476]=0; starkl[33476]=3573; itemvperf[33463]=0; itemcpuperf[33463]=0; itemramperf[33463]=0; itempcislots[33463]=0; itemdelta[33463]=35; itemdelaydays[33463]=0; starkl[33463]=398; itemvperf[6220]=0; itemcpuperf[6220]=0; itemramperf[6220]=0; itempcislots[6220]=0; itemdelta[6220]=0; itemdelaydays[6220]=0; starkl[6220]=8041; itemvperf[33524]=0; itemcpuperf[33524]=0; itemramperf[33524]=0; itempcislots[33524]=0; itemdelta[33524]=395; itemdelaydays[33524]=0; starkl[33524]=7618; itemvperf[33484]=0; itemcpuperf[33484]=0; itemramperf[33484]=0; itempcislots[33484]=0; itemdelta[33484]=185; itemdelaydays[33484]=0; starkl[33484]=3495; itemvperf[33456]=0; itemcpuperf[33456]=0; itemramperf[33456]=0; itempcislots[33456]=0; itemdelta[33456]=130; itemdelaydays[33456]=0; starkl[33456]=7363; itemvperf[32329]=0; itemcpuperf[32329]=0; itemramperf[32329]=0; itempcislots[32329]=0; itemdelta[32329]=100; itemdelaydays[32329]=0; starkl[32329]=2196; itemvperf[32327]=0; itemcpuperf[32327]=0; itemramperf[32327]=0; itempcislots[32327]=0; itemdelta[32327]=65; itemdelaydays[32327]=0; starkl[32327]=1695; itemvperf[6239]=0; itemcpuperf[6239]=0; itemramperf[6239]=0; itempcislots[6239]=0; itemdelta[6239]=0; itemdelaydays[6239]=0; starkl[6239]=6985; itemvperf[33525]=0; itemcpuperf[33525]=0; itemramperf[33525]=0; itempcislots[33525]=0; itemdelta[33525]=0; itemdelaydays[33525]=0; starkl[33525]=9509; itemvperf[33526]=0; itemcpuperf[33526]=0; itemramperf[33526]=0; itempcislots[33526]=0; itemdelta[33526]=0; itemdelaydays[33526]=0; starkl[33526]=9374; itemvperf[33527]=0; itemcpuperf[33527]=0; itemramperf[33527]=0; itempcislots[33527]=0; itemdelta[33527]=0; itemdelaydays[33527]=0; starkl[33527]=495; itemvperf[26518]=0; itemcpuperf[26518]=0; itemramperf[26518]=0; itempcislots[26518]=0; itemdelta[26518]=70; itemdelaydays[26518]=0; starkl[26518]=1191; itemvperf[20469]=0; itemcpuperf[20469]=0; itemramperf[20469]=0; itempcislots[20469]=0; itemdelta[20469]=55; itemdelaydays[20469]=0; starkl[20469]=7999; itemvperf[6241]=0; itemcpuperf[6241]=0; itemramperf[6241]=0; itempcislots[6241]=0; itemdelta[6241]=0; itemdelaydays[6241]=0; starkl[6241]=5979; itemvperf[6254]=0; itemcpuperf[6254]=0; itemramperf[6254]=0; itempcislots[6254]=0; itemdelta[6254]=0; itemdelaydays[6254]=0; starkl[6254]=2852; itemvperf[33471]=0; itemcpuperf[33471]=0; itemramperf[33471]=0; itempcislots[33471]=0; itemdelta[33471]=50; itemdelaydays[33471]=0; starkl[33471]=4608; itemvperf[33520]=0; itemcpuperf[33520]=0; itemramperf[33520]=0; itempcislots[33520]=0; itemdelta[33520]=40; itemdelaydays[33520]=0; starkl[33520]=5270; itemvperf[33460]=0; itemcpuperf[33460]=0; itemramperf[33460]=0; itempcislots[33460]=0; itemdelta[33460]=25; itemdelaydays[33460]=0; starkl[33460]=2026; itemvperf[33461]=0; itemcpuperf[33461]=0; itemramperf[33461]=0; itempcislots[33461]=0; itemdelta[33461]=0; itemdelaydays[33461]=0; starkl[33461]=236; itemvperf[25272]=0; itemcpuperf[25272]=0; itemramperf[25272]=0; itempcislots[25272]=0; itemdelta[25272]=25; itemdelaydays[25272]=0; starkl[25272]=2771; itemvperf[25271]=0; itemcpuperf[25271]=0; itemramperf[25271]=0; itempcislots[25271]=0; itemdelta[25271]=0; itemdelaydays[25271]=0; starkl[25271]=3193; itemvperf[33514]=0; itemcpuperf[33514]=0; itemramperf[33514]=0; itempcislots[33514]=0; itemdelta[33514]=70; itemdelaydays[33514]=0; starkl[33514]=3795; itemvperf[33515]=0; itemcpuperf[33515]=0; itemramperf[33515]=0; itempcislots[33515]=0; itemdelta[33515]=0; itemdelaydays[33515]=0; starkl[33515]=1834; itemvperf[31305]=0; itemcpuperf[31305]=0; itemramperf[31305]=0; itempcislots[31305]=0; itemdelta[31305]=259; itemdelaydays[31305]=0; starkl[31305]=6532; itemvperf[31306]=0; itemcpuperf[31306]=0; itemramperf[31306]=0; itempcislots[31306]=0; itemdelta[31306]=169; itemdelaydays[31306]=0; starkl[31306]=5843; itemvperf[6271]=0; itemcpuperf[6271]=0; itemramperf[6271]=0; itempcislots[6271]=0; itemdelta[6271]=0; itemdelaydays[6271]=0; starkl[6271]=1837; itemvperf[25890]=0; itemcpuperf[25890]=0; itemramperf[25890]=0; itempcislots[25890]=0; itemdelta[25890]=199; itemdelaydays[25890]=0; starkl[25890]=3150; itemvperf[33250]=0; itemcpuperf[33250]=0; itemramperf[33250]=0; itempcislots[33250]=0; itemdelta[33250]=15; itemdelaydays[33250]=0; starkl[33250]=5405; itemvperf[6280]=0; itemcpuperf[6280]=0; itemramperf[6280]=0; itempcislots[6280]=0; itemdelta[6280]=0; itemdelaydays[6280]=0; starkl[6280]=3918; itemvperf[33516]=0; itemcpuperf[33516]=0; itemramperf[33516]=0; itempcislots[33516]=0; itemdelta[33516]=99; itemdelaydays[33516]=0; starkl[33516]=4254; itemvperf[19713]=0; itemcpuperf[19713]=0; itemramperf[19713]=0; itempcislots[19713]=0; itemdelta[19713]=89; itemdelaydays[19713]=0; starkl[19713]=4995; itemvperf[33251]=0; itemcpuperf[33251]=0; itemramperf[33251]=0; itempcislots[33251]=0; itemdelta[33251]=15; itemdelaydays[33251]=0; starkl[33251]=4905; itemvperf[6284]=0; itemcpuperf[6284]=0; itemramperf[6284]=0; itempcislots[6284]=0; itemdelta[6284]=0; itemdelaydays[6284]=0; starkl[6284]=1127; itemvperf[33517]=0; itemcpuperf[33517]=0; itemramperf[33517]=0; itempcislots[33517]=0; itemdelta[33517]=0; itemdelaydays[33517]=0; starkl[33517]=2851; itemvperf[33518]=0; itemcpuperf[33518]=0; itemramperf[33518]=0; itempcislots[33518]=0; itemdelta[33518]=0; itemdelaydays[33518]=0; starkl[33518]=8459; itemvperf[6294]=0; itemcpuperf[6294]=0; itemramperf[6294]=0; itempcislots[6294]=0; itemdelta[6294]=0; itemdelaydays[6294]=0; starkl[6294]=8559; itemvperf[6293]=0; itemcpuperf[6293]=0; itemramperf[6293]=0; itempcislots[6293]=0; itemdelta[6293]=19; itemdelaydays[6293]=0; starkl[6293]=793; itemvperf[24935]=0; itemcpuperf[24935]=0; itemramperf[24935]=0; itempcislots[24935]=0; itemdelta[24935]=0; itemdelaydays[24935]=0; starkl[24935]=9661; itemvperf[33501]=0; itemcpuperf[33501]=0; itemramperf[33501]=0; itempcislots[33501]=0; itemdelta[33501]=0; itemdelaydays[33501]=0; starkl[33501]=4547; itemvperf[6295]=0; itemcpuperf[6295]=0; itemramperf[6295]=0; itempcislots[6295]=0; itemdelta[6295]=0; itemdelaydays[6295]=0; starkl[6295]=6135; itemvperf[6297]=0; itemcpuperf[6297]=0; itemramperf[6297]=0; itempcislots[6297]=0; itemdelta[6297]=0; itemdelaydays[6297]=0; starkl[6297]=3181; itemvperf[6298]=0; itemcpuperf[6298]=0; itemramperf[6298]=0; itempcislots[6298]=0; itemdelta[6298]=0; itemdelaydays[6298]=0; starkl[6298]=2469; itemvperf[6299]=0; itemcpuperf[6299]=0; itemramperf[6299]=0; itempcislots[6299]=0; itemdelta[6299]=0; itemdelaydays[6299]=0; starkl[6299]=1643; itemvperf[6300]=0; itemcpuperf[6300]=0; itemramperf[6300]=0; itempcislots[6300]=0; itemdelta[6300]=175; itemdelaydays[6300]=0; starkl[6300]=5148; itemvperf[6301]=0; itemcpuperf[6301]=0; itemramperf[6301]=0; itempcislots[6301]=0; itemdelta[6301]=0; itemdelaydays[6301]=0; starkl[6301]=411; itemvperf[6304]=0; itemcpuperf[6304]=0; itemramperf[6304]=0; itempcislots[6304]=0; itemdelta[6304]=269; itemdelaydays[6304]=0; starkl[6304]=5020; itemvperf[6305]=0; itemcpuperf[6305]=0; itemramperf[6305]=0; itempcislots[6305]=0; itemdelta[6305]=199; itemdelaydays[6305]=0; starkl[6305]=1717; itemvperf[6306]=0; itemcpuperf[6306]=0; itemramperf[6306]=0; itempcislots[6306]=0; itemdelta[6306]=169; itemdelaydays[6306]=0; starkl[6306]=603; itemvperf[6307]=0; itemcpuperf[6307]=0; itemramperf[6307]=0; itempcislots[6307]=0; itemdelta[6307]=99; itemdelaydays[6307]=0; starkl[6307]=9659; itemvperf[6308]=0; itemcpuperf[6308]=0; itemramperf[6308]=0; itempcislots[6308]=0; itemdelta[6308]=69; itemdelaydays[6308]=0; starkl[6308]=3325; itemvperf[6309]=0; itemcpuperf[6309]=0; itemramperf[6309]=0; itempcislots[6309]=0; itemdelta[6309]=0; itemdelaydays[6309]=0; starkl[6309]=7613; itemvperf[6310]=0; itemcpuperf[6310]=0; itemramperf[6310]=0; itempcislots[6310]=0; itemdelta[6310]=0; itemdelaydays[6310]=0; starkl[6310]=8219; itemvperf[33529]=0; itemcpuperf[33529]=0; itemramperf[33529]=0; itempcislots[33529]=0; itemdelta[33529]=0; itemdelaydays[33529]=0; starkl[33529]=4094; itemvperf[33532]=0; itemcpuperf[33532]=0; itemramperf[33532]=0; itempcislots[33532]=0; itemdelta[33532]=0; itemdelaydays[33532]=0; starkl[33532]=2178; itemvperf[33491]=0; itemcpuperf[33491]=0; itemramperf[33491]=0; itempcislots[33491]=0; itemdelta[33491]=0; itemdelaydays[33491]=0; starkl[33491]=1737; itemvperf[33506]=0; itemcpuperf[33506]=0; itemramperf[33506]=0; itempcislots[33506]=0; itemdelta[33506]=-75; itemdelaydays[33506]=0; starkl[33506]=7111; itemvperf[33490]=0; itemcpuperf[33490]=0; itemramperf[33490]=0; itempcislots[33490]=0; itemdelta[33490]=-75; itemdelaydays[33490]=0; starkl[33490]=7680; caseImages[33500]=new Image(); caseImages[33500].src='/images/upload/GX4_main.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()