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[33534]=0; itemcpuperf[33534]=0; itemramperf[33534]=0; itempcislots[33534]=0; itemdelta[33534]=60; itemdelaydays[33534]=0; starkl[33534]=9265; itemvperf[33500]=0; itemcpuperf[33500]=0; itemramperf[33500]=0; itempcislots[33500]=0; itemdelta[33500]=0; itemdelaydays[33500]=0; starkl[33500]=1266; itemvperf[6166]=0; itemcpuperf[6166]=0; itemramperf[6166]=0; itempcislots[6166]=0; itemdelta[6166]=75; itemdelaydays[6166]=0; starkl[6166]=383; itemvperf[6165]=0; itemcpuperf[6165]=0; itemramperf[6165]=0; itempcislots[6165]=0; itemdelta[6165]=60; itemdelaydays[6165]=0; starkl[6165]=2331; itemvperf[33492]=0; itemcpuperf[33492]=0; itemramperf[33492]=0; itempcislots[33492]=0; itemdelta[33492]=80; itemdelaydays[33492]=0; starkl[33492]=4119; itemvperf[33464]=0; itemcpuperf[33464]=0; itemramperf[33464]=0; itempcislots[33464]=0; itemdelta[33464]=20; itemdelaydays[33464]=0; starkl[33464]=3372; itemvperf[33321]=0; itemcpuperf[33321]=0; itemramperf[33321]=0; itempcislots[33321]=0; itemdelta[33321]=0; itemdelaydays[33321]=0; starkl[33321]=2297; itemvperf[33487]=0; itemcpuperf[33487]=0; itemramperf[33487]=0; itempcislots[33487]=0; itemdelta[33487]=0; itemdelaydays[33487]=0; starkl[33487]=8349; itemvperf[33538]=0; itemcpuperf[33538]=0; itemramperf[33538]=0; itempcislots[33538]=0; itemdelta[33538]=240; itemdelaydays[33538]=0; starkl[33538]=7988; itemvperf[33533]=0; itemcpuperf[33533]=0; itemramperf[33533]=0; itempcislots[33533]=0; itemdelta[33533]=120; itemdelaydays[33533]=0; starkl[33533]=9162; itemvperf[33512]=0; itemcpuperf[33512]=0; itemramperf[33512]=0; itempcislots[33512]=0; itemdelta[33512]=90; itemdelaydays[33512]=0; starkl[33512]=6648; itemvperf[32315]=0; itemcpuperf[32315]=0; itemramperf[32315]=0; itempcislots[32315]=0; itemdelta[32315]=75; itemdelaydays[32315]=0; starkl[32315]=2432; itemvperf[32317]=0; itemcpuperf[32317]=0; itemramperf[32317]=0; itempcislots[32317]=0; itemdelta[32317]=60; itemdelaydays[32317]=0; starkl[32317]=3049; itemvperf[33493]=0; itemcpuperf[33493]=0; itemramperf[33493]=0; itempcislots[33493]=0; itemdelta[33493]=0; itemdelaydays[33493]=0; starkl[33493]=7692; itemvperf[33508]=0; itemcpuperf[33508]=0; itemramperf[33508]=0; itempcislots[33508]=0; itemdelta[33508]=90; itemdelaydays[33508]=0; starkl[33508]=9175; itemvperf[33509]=0; itemcpuperf[33509]=0; itemramperf[33509]=0; itempcislots[33509]=0; itemdelta[33509]=75; itemdelaydays[33509]=0; starkl[33509]=5730; itemvperf[33458]=0; itemcpuperf[33458]=0; itemramperf[33458]=0; itempcislots[33458]=0; itemdelta[33458]=50; itemdelaydays[33458]=0; starkl[33458]=3646; itemvperf[14918]=0; itemcpuperf[14918]=0; itemramperf[14918]=0; itempcislots[14918]=0; itemdelta[14918]=35; itemdelaydays[14918]=0; starkl[14918]=1858; itemvperf[33510]=0; itemcpuperf[33510]=0; itemramperf[33510]=0; itempcislots[33510]=0; itemdelta[33510]=35; itemdelaydays[33510]=0; starkl[33510]=5518; itemvperf[33465]=0; itemcpuperf[33465]=0; itemramperf[33465]=0; itempcislots[33465]=0; itemdelta[33465]=0; itemdelaydays[33465]=0; starkl[33465]=3627; itemvperf[33502]=0; itemcpuperf[33502]=0; itemramperf[33502]=0; itempcislots[33502]=0; itemdelta[33502]=25; itemdelaydays[33502]=0; starkl[33502]=4399; itemvperf[33503]=0; itemcpuperf[33503]=0; itemramperf[33503]=0; itempcislots[33503]=0; itemdelta[33503]=20; itemdelaydays[33503]=0; starkl[33503]=3575; itemvperf[33504]=0; itemcpuperf[33504]=0; itemramperf[33504]=0; itempcislots[33504]=0; itemdelta[33504]=0; itemdelaydays[33504]=0; starkl[33504]=6913; itemvperf[33537]=0; itemcpuperf[33537]=0; itemramperf[33537]=0; itempcislots[33537]=0; itemdelta[33537]=500; itemdelaydays[33537]=0; starkl[33537]=2794; itemvperf[33536]=0; itemcpuperf[33536]=0; itemramperf[33536]=0; itempcislots[33536]=0; itemdelta[33536]=170; itemdelaydays[33536]=0; starkl[33536]=6281; itemvperf[33469]=0; itemcpuperf[33469]=0; itemramperf[33469]=0; itempcislots[33469]=0; itemdelta[33469]=345; itemdelaydays[33469]=0; starkl[33469]=872; itemvperf[33468]=0; itemcpuperf[33468]=0; itemramperf[33468]=0; itempcislots[33468]=0; itemdelta[33468]=125; itemdelaydays[33468]=0; starkl[33468]=2916; itemvperf[26514]=0; itemcpuperf[26514]=0; itemramperf[26514]=0; itempcislots[26514]=0; itemdelta[26514]=0; itemdelaydays[26514]=0; starkl[26514]=2121; itemvperf[33489]=0; itemcpuperf[33489]=0; itemramperf[33489]=0; itempcislots[33489]=0; itemdelta[33489]=0; itemdelaydays[33489]=0; starkl[33489]=7037; itemvperf[32321]=190; itemcpuperf[32321]=0; itemramperf[32321]=0; itempcislots[32321]=0; itemdelta[32321]=280; itemdelaydays[32321]=0; starkl[32321]=2570; itemvperf[33519]=190; itemcpuperf[33519]=0; itemramperf[33519]=0; itempcislots[33519]=0; itemdelta[33519]=140; itemdelaydays[33519]=0; starkl[33519]=5006; itemvperf[33481]=190; itemcpuperf[33481]=0; itemramperf[33481]=0; itempcislots[33481]=0; itemdelta[33481]=75; itemdelaydays[33481]=0; starkl[33481]=5247; itemvperf[33479]=0; itemcpuperf[33479]=0; itemramperf[33479]=0; itempcislots[33479]=0; itemdelta[33479]=0; itemdelaydays[33479]=0; starkl[33479]=4020; itemvperf[33528]=0; itemcpuperf[33528]=0; itemramperf[33528]=0; itempcislots[33528]=0; itemdelta[33528]=599; itemdelaydays[33528]=0; starkl[33528]=6491; itemvperf[33454]=0; itemcpuperf[33454]=0; itemramperf[33454]=0; itempcislots[33454]=0; itemdelta[33454]=589; itemdelaydays[33454]=7; starkl[33454]=5981; itemvperf[29922]=0; itemcpuperf[29922]=0; itemramperf[29922]=0; itempcislots[29922]=0; itemdelta[29922]=599; itemdelaydays[29922]=0; starkl[29922]=1491; itemvperf[29920]=0; itemcpuperf[29920]=0; itemramperf[29920]=0; itempcislots[29920]=0; itemdelta[29920]=249; itemdelaydays[29920]=0; starkl[29920]=3632; itemvperf[29921]=0; itemcpuperf[29921]=0; itemramperf[29921]=0; itempcislots[29921]=0; itemdelta[29921]=189; itemdelaydays[29921]=0; starkl[29921]=6653; itemvperf[6199]=0; itemcpuperf[6199]=0; itemramperf[6199]=0; itempcislots[6199]=0; itemdelta[6199]=0; itemdelaydays[6199]=0; starkl[6199]=8592; itemvperf[6202]=0; itemcpuperf[6202]=0; itemramperf[6202]=0; itempcislots[6202]=0; itemdelta[6202]=0; itemdelaydays[6202]=0; starkl[6202]=3680; itemvperf[33466]=0; itemcpuperf[33466]=0; itemramperf[33466]=0; itempcislots[33466]=0; itemdelta[33466]=195; itemdelaydays[33466]=0; starkl[33466]=7058; itemvperf[6204]=0; itemcpuperf[6204]=0; itemramperf[6204]=0; itempcislots[6204]=0; itemdelta[6204]=130; itemdelaydays[6204]=0; starkl[6204]=3016; itemvperf[6206]=0; itemcpuperf[6206]=0; itemramperf[6206]=0; itempcislots[6206]=0; itemdelta[6206]=120; itemdelaydays[6206]=0; starkl[6206]=7335; itemvperf[6208]=0; itemcpuperf[6208]=0; itemramperf[6208]=0; itempcislots[6208]=0; itemdelta[6208]=50; itemdelaydays[6208]=0; starkl[6208]=1095; itemvperf[6209]=0; itemcpuperf[6209]=0; itemramperf[6209]=0; itempcislots[6209]=0; itemdelta[6209]=30; itemdelaydays[6209]=0; starkl[6209]=5649; itemvperf[6210]=0; itemcpuperf[6210]=0; itemramperf[6210]=0; itempcislots[6210]=0; itemdelta[6210]=0; itemdelaydays[6210]=0; starkl[6210]=1829; itemvperf[33474]=0; itemcpuperf[33474]=0; itemramperf[33474]=0; itempcislots[33474]=0; itemdelta[33474]=490; itemdelaydays[33474]=0; starkl[33474]=8239; itemvperf[33473]=0; itemcpuperf[33473]=0; itemramperf[33473]=0; itempcislots[33473]=0; itemdelta[33473]=240; itemdelaydays[33473]=0; starkl[33473]=4232; itemvperf[6216]=0; itemcpuperf[6216]=0; itemramperf[6216]=0; itempcislots[6216]=0; itemdelta[6216]=130; itemdelaydays[6216]=0; starkl[6216]=4672; itemvperf[33495]=0; itemcpuperf[33495]=0; itemramperf[33495]=0; itempcislots[33495]=0; itemdelta[33495]=215; itemdelaydays[33495]=0; starkl[33495]=9332; itemvperf[33496]=0; itemcpuperf[33496]=0; itemramperf[33496]=0; itempcislots[33496]=0; itemdelta[33496]=90; itemdelaydays[33496]=0; starkl[33496]=9776; itemvperf[33497]=0; itemcpuperf[33497]=0; itemramperf[33497]=0; itempcislots[33497]=0; itemdelta[33497]=40; itemdelaydays[33497]=0; starkl[33497]=389; itemvperf[33522]=0; itemcpuperf[33522]=0; itemramperf[33522]=0; itempcislots[33522]=0; itemdelta[33522]=280; itemdelaydays[33522]=0; starkl[33522]=973; itemvperf[33521]=0; itemcpuperf[33521]=0; itemramperf[33521]=0; itempcislots[33521]=0; itemdelta[33521]=95; itemdelaydays[33521]=0; starkl[33521]=6874; itemvperf[33476]=0; itemcpuperf[33476]=0; itemramperf[33476]=0; itempcislots[33476]=0; itemdelta[33476]=65; itemdelaydays[33476]=0; starkl[33476]=339; itemvperf[33463]=0; itemcpuperf[33463]=0; itemramperf[33463]=0; itempcislots[33463]=0; itemdelta[33463]=35; itemdelaydays[33463]=0; starkl[33463]=6579; itemvperf[6220]=0; itemcpuperf[6220]=0; itemramperf[6220]=0; itempcislots[6220]=0; itemdelta[6220]=0; itemdelaydays[6220]=0; starkl[6220]=1858; itemvperf[33524]=0; itemcpuperf[33524]=0; itemramperf[33524]=0; itempcislots[33524]=0; itemdelta[33524]=350; itemdelaydays[33524]=0; starkl[33524]=8202; itemvperf[33484]=0; itemcpuperf[33484]=0; itemramperf[33484]=0; itempcislots[33484]=0; itemdelta[33484]=160; itemdelaydays[33484]=0; starkl[33484]=3190; itemvperf[33456]=0; itemcpuperf[33456]=0; itemramperf[33456]=0; itempcislots[33456]=0; itemdelta[33456]=130; itemdelaydays[33456]=0; starkl[33456]=9383; itemvperf[32329]=0; itemcpuperf[32329]=0; itemramperf[32329]=0; itempcislots[32329]=0; itemdelta[32329]=100; itemdelaydays[32329]=0; starkl[32329]=959; itemvperf[32327]=0; itemcpuperf[32327]=0; itemramperf[32327]=0; itempcislots[32327]=0; itemdelta[32327]=65; itemdelaydays[32327]=0; starkl[32327]=780; itemvperf[6239]=0; itemcpuperf[6239]=0; itemramperf[6239]=0; itempcislots[6239]=0; itemdelta[6239]=0; itemdelaydays[6239]=0; starkl[6239]=8746; itemvperf[33525]=0; itemcpuperf[33525]=0; itemramperf[33525]=0; itempcislots[33525]=0; itemdelta[33525]=0; itemdelaydays[33525]=0; starkl[33525]=7646; itemvperf[33526]=0; itemcpuperf[33526]=0; itemramperf[33526]=0; itempcislots[33526]=0; itemdelta[33526]=0; itemdelaydays[33526]=0; starkl[33526]=8181; itemvperf[33527]=0; itemcpuperf[33527]=0; itemramperf[33527]=0; itempcislots[33527]=0; itemdelta[33527]=0; itemdelaydays[33527]=0; starkl[33527]=9086; itemvperf[26518]=0; itemcpuperf[26518]=0; itemramperf[26518]=0; itempcislots[26518]=0; itemdelta[26518]=70; itemdelaydays[26518]=0; starkl[26518]=1498; itemvperf[20469]=0; itemcpuperf[20469]=0; itemramperf[20469]=0; itempcislots[20469]=0; itemdelta[20469]=55; itemdelaydays[20469]=0; starkl[20469]=6416; itemvperf[6241]=0; itemcpuperf[6241]=0; itemramperf[6241]=0; itempcislots[6241]=0; itemdelta[6241]=0; itemdelaydays[6241]=0; starkl[6241]=497; itemvperf[6254]=0; itemcpuperf[6254]=0; itemramperf[6254]=0; itempcislots[6254]=0; itemdelta[6254]=0; itemdelaydays[6254]=0; starkl[6254]=3348; itemvperf[33514]=0; itemcpuperf[33514]=0; itemramperf[33514]=0; itempcislots[33514]=0; itemdelta[33514]=70; itemdelaydays[33514]=0; starkl[33514]=9627; itemvperf[33515]=0; itemcpuperf[33515]=0; itemramperf[33515]=0; itempcislots[33515]=0; itemdelta[33515]=0; itemdelaydays[33515]=0; starkl[33515]=1646; itemvperf[31305]=0; itemcpuperf[31305]=0; itemramperf[31305]=0; itempcislots[31305]=0; itemdelta[31305]=259; itemdelaydays[31305]=0; starkl[31305]=8273; itemvperf[31306]=0; itemcpuperf[31306]=0; itemramperf[31306]=0; itempcislots[31306]=0; itemdelta[31306]=169; itemdelaydays[31306]=0; starkl[31306]=9285; itemvperf[6271]=0; itemcpuperf[6271]=0; itemramperf[6271]=0; itempcislots[6271]=0; itemdelta[6271]=0; itemdelaydays[6271]=0; starkl[6271]=2419; itemvperf[25890]=0; itemcpuperf[25890]=0; itemramperf[25890]=0; itempcislots[25890]=0; itemdelta[25890]=199; itemdelaydays[25890]=0; starkl[25890]=9853; itemvperf[33250]=0; itemcpuperf[33250]=0; itemramperf[33250]=0; itempcislots[33250]=0; itemdelta[33250]=15; itemdelaydays[33250]=0; starkl[33250]=7920; itemvperf[6280]=0; itemcpuperf[6280]=0; itemramperf[6280]=0; itempcislots[6280]=0; itemdelta[6280]=0; itemdelaydays[6280]=0; starkl[6280]=5088; itemvperf[33516]=0; itemcpuperf[33516]=0; itemramperf[33516]=0; itempcislots[33516]=0; itemdelta[33516]=99; itemdelaydays[33516]=0; starkl[33516]=4537; itemvperf[19713]=0; itemcpuperf[19713]=0; itemramperf[19713]=0; itempcislots[19713]=0; itemdelta[19713]=89; itemdelaydays[19713]=0; starkl[19713]=5843; itemvperf[33251]=0; itemcpuperf[33251]=0; itemramperf[33251]=0; itempcislots[33251]=0; itemdelta[33251]=15; itemdelaydays[33251]=0; starkl[33251]=2134; itemvperf[6284]=0; itemcpuperf[6284]=0; itemramperf[6284]=0; itempcislots[6284]=0; itemdelta[6284]=0; itemdelaydays[6284]=0; starkl[6284]=415; itemvperf[33517]=0; itemcpuperf[33517]=0; itemramperf[33517]=0; itempcislots[33517]=0; itemdelta[33517]=0; itemdelaydays[33517]=0; starkl[33517]=7260; itemvperf[33518]=0; itemcpuperf[33518]=0; itemramperf[33518]=0; itempcislots[33518]=0; itemdelta[33518]=0; itemdelaydays[33518]=0; starkl[33518]=8916; itemvperf[6294]=0; itemcpuperf[6294]=0; itemramperf[6294]=0; itempcislots[6294]=0; itemdelta[6294]=0; itemdelaydays[6294]=0; starkl[6294]=7520; itemvperf[6293]=0; itemcpuperf[6293]=0; itemramperf[6293]=0; itempcislots[6293]=0; itemdelta[6293]=19; itemdelaydays[6293]=0; starkl[6293]=1253; itemvperf[24935]=0; itemcpuperf[24935]=0; itemramperf[24935]=0; itempcislots[24935]=0; itemdelta[24935]=0; itemdelaydays[24935]=0; starkl[24935]=6530; itemvperf[33501]=0; itemcpuperf[33501]=0; itemramperf[33501]=0; itempcislots[33501]=0; itemdelta[33501]=0; itemdelaydays[33501]=0; starkl[33501]=4243; itemvperf[6295]=0; itemcpuperf[6295]=0; itemramperf[6295]=0; itempcislots[6295]=0; itemdelta[6295]=0; itemdelaydays[6295]=0; starkl[6295]=7472; itemvperf[6297]=0; itemcpuperf[6297]=0; itemramperf[6297]=0; itempcislots[6297]=0; itemdelta[6297]=0; itemdelaydays[6297]=0; starkl[6297]=596; itemvperf[6298]=0; itemcpuperf[6298]=0; itemramperf[6298]=0; itempcislots[6298]=0; itemdelta[6298]=0; itemdelaydays[6298]=0; starkl[6298]=2737; itemvperf[6299]=0; itemcpuperf[6299]=0; itemramperf[6299]=0; itempcislots[6299]=0; itemdelta[6299]=0; itemdelaydays[6299]=0; starkl[6299]=8434; itemvperf[6300]=0; itemcpuperf[6300]=0; itemramperf[6300]=0; itempcislots[6300]=0; itemdelta[6300]=175; itemdelaydays[6300]=0; starkl[6300]=1697; itemvperf[6301]=0; itemcpuperf[6301]=0; itemramperf[6301]=0; itempcislots[6301]=0; itemdelta[6301]=0; itemdelaydays[6301]=0; starkl[6301]=2599; itemvperf[6304]=0; itemcpuperf[6304]=0; itemramperf[6304]=0; itempcislots[6304]=0; itemdelta[6304]=269; itemdelaydays[6304]=0; starkl[6304]=7880; itemvperf[6305]=0; itemcpuperf[6305]=0; itemramperf[6305]=0; itempcislots[6305]=0; itemdelta[6305]=199; itemdelaydays[6305]=0; starkl[6305]=5201; itemvperf[6306]=0; itemcpuperf[6306]=0; itemramperf[6306]=0; itempcislots[6306]=0; itemdelta[6306]=169; itemdelaydays[6306]=0; starkl[6306]=4459; itemvperf[6307]=0; itemcpuperf[6307]=0; itemramperf[6307]=0; itempcislots[6307]=0; itemdelta[6307]=99; itemdelaydays[6307]=0; starkl[6307]=4573; itemvperf[6308]=0; itemcpuperf[6308]=0; itemramperf[6308]=0; itempcislots[6308]=0; itemdelta[6308]=69; itemdelaydays[6308]=0; starkl[6308]=2814; itemvperf[6309]=0; itemcpuperf[6309]=0; itemramperf[6309]=0; itempcislots[6309]=0; itemdelta[6309]=0; itemdelaydays[6309]=0; starkl[6309]=1315; itemvperf[6310]=0; itemcpuperf[6310]=0; itemramperf[6310]=0; itempcislots[6310]=0; itemdelta[6310]=0; itemdelaydays[6310]=0; starkl[6310]=5330; itemvperf[33529]=0; itemcpuperf[33529]=0; itemramperf[33529]=0; itempcislots[33529]=0; itemdelta[33529]=0; itemdelaydays[33529]=0; starkl[33529]=3261; itemvperf[33532]=0; itemcpuperf[33532]=0; itemramperf[33532]=0; itempcislots[33532]=0; itemdelta[33532]=0; itemdelaydays[33532]=0; starkl[33532]=7842; itemvperf[33491]=0; itemcpuperf[33491]=0; itemramperf[33491]=0; itempcislots[33491]=0; itemdelta[33491]=0; itemdelaydays[33491]=0; starkl[33491]=7167; itemvperf[33506]=0; itemcpuperf[33506]=0; itemramperf[33506]=0; itempcislots[33506]=0; itemdelta[33506]=-50; itemdelaydays[33506]=0; starkl[33506]=9121; itemvperf[33490]=0; itemcpuperf[33490]=0; itemramperf[33490]=0; itempcislots[33490]=0; itemdelta[33490]=-50; itemdelaydays[33490]=0; starkl[33490]=8562; caseImages[33534]=new Image(); caseImages[33534].src='/img/category-thumbnails/gx5-category-thumbnail.png'; caseImages[33500]=new Image(); caseImages[33500].src='/img/category-thumbnails/gx4-category-thumbnail.png'; 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()