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[33857]=0; itemcpuperf[33857]=0; itemramperf[33857]=0; itempcislots[33857]=0; itemdelta[33857]=0; itemdelaydays[33857]=0; starkl[33857]=4976; itemvperf[33821]=0; itemcpuperf[33821]=0; itemramperf[33821]=0; itempcislots[33821]=0; itemdelta[33821]=315; itemdelaydays[33821]=0; starkl[33821]=3571; itemvperf[32771]=0; itemcpuperf[32771]=0; itemramperf[32771]=0; itempcislots[32771]=0; itemdelta[32771]=200; itemdelaydays[32771]=0; starkl[32771]=1234; itemvperf[33712]=0; itemcpuperf[33712]=0; itemramperf[33712]=0; itempcislots[33712]=0; itemdelta[33712]=175; itemdelaydays[33712]=0; starkl[33712]=3606; itemvperf[33711]=0; itemcpuperf[33711]=0; itemramperf[33711]=0; itempcislots[33711]=0; itemdelta[33711]=0; itemdelaydays[33711]=0; starkl[33711]=1381; itemvperf[32772]=0; itemcpuperf[32772]=0; itemramperf[32772]=0; itempcislots[32772]=0; itemdelta[32772]=0; itemdelaydays[32772]=0; starkl[32772]=2361; itemvperf[33885]=0; itemcpuperf[33885]=0; itemramperf[33885]=0; itempcislots[33885]=0; itemdelta[33885]=2495; itemdelaydays[33885]=0; starkl[33885]=4755; itemvperf[32255]=0; itemcpuperf[32255]=0; itemramperf[32255]=0; itempcislots[32255]=0; itemdelta[32255]=14380; itemdelaydays[32255]=0; starkl[32255]=5158; itemvperf[33714]=0; itemcpuperf[33714]=0; itemramperf[33714]=0; itempcislots[33714]=0; itemdelta[33714]=7495; itemdelaydays[33714]=0; starkl[33714]=5821; itemvperf[33680]=0; itemcpuperf[33680]=0; itemramperf[33680]=0; itempcislots[33680]=0; itemdelta[33680]=5100; itemdelaydays[33680]=0; starkl[33680]=8079; itemvperf[33681]=0; itemcpuperf[33681]=0; itemramperf[33681]=0; itempcislots[33681]=0; itemdelta[33681]=250; itemdelaydays[33681]=0; starkl[33681]=2150; itemvperf[33713]=0; itemcpuperf[33713]=0; itemramperf[33713]=0; itempcislots[33713]=0; itemdelta[33713]=0; itemdelaydays[33713]=0; starkl[33713]=3532; itemvperf[33771]=0; itemcpuperf[33771]=0; itemramperf[33771]=0; itempcislots[33771]=0; itemdelta[33771]=0; itemdelaydays[33771]=0; starkl[33771]=221; itemvperf[33749]=0; itemcpuperf[33749]=0; itemramperf[33749]=0; itempcislots[33749]=0; itemdelta[33749]=40; itemdelaydays[33749]=0; starkl[33749]=5142; itemvperf[33750]=0; itemcpuperf[33750]=0; itemramperf[33750]=0; itempcislots[33750]=0; itemdelta[33750]=35; itemdelaydays[33750]=0; starkl[33750]=9801; itemvperf[33751]=0; itemcpuperf[33751]=0; itemramperf[33751]=0; itempcislots[33751]=0; itemdelta[33751]=0; itemdelaydays[33751]=0; starkl[33751]=5873; itemvperf[33872]=0; itemcpuperf[33872]=0; itemramperf[33872]=0; itempcislots[33872]=0; itemdelta[33872]=20135; itemdelaydays[33872]=0; starkl[33872]=6644; itemvperf[33871]=0; itemcpuperf[33871]=0; itemramperf[33871]=0; itempcislots[33871]=0; itemdelta[33871]=0; itemdelaydays[33871]=0; starkl[33871]=7652; itemvperf[33874]=0; itemcpuperf[33874]=0; itemramperf[33874]=0; itempcislots[33874]=0; itemdelta[33874]=43450; itemdelaydays[33874]=0; starkl[33874]=1526; itemvperf[33841]=0; itemcpuperf[33841]=0; itemramperf[33841]=0; itempcislots[33841]=0; itemdelta[33841]=20250; itemdelaydays[33841]=0; starkl[33841]=1660; itemvperf[33815]=0; itemcpuperf[33815]=0; itemramperf[33815]=0; itempcislots[33815]=0; itemdelta[33815]=11320; itemdelaydays[33815]=0; starkl[33815]=7304; itemvperf[33687]=0; itemcpuperf[33687]=0; itemramperf[33687]=0; itempcislots[33687]=0; itemdelta[33687]=20250; itemdelaydays[33687]=0; starkl[33687]=3925; itemvperf[33688]=0; itemcpuperf[33688]=0; itemramperf[33688]=0; itempcislots[33688]=0; itemdelta[33688]=8650; itemdelaydays[33688]=0; starkl[33688]=9825; itemvperf[33743]=0; itemcpuperf[33743]=0; itemramperf[33743]=0; itempcislots[33743]=0; itemdelta[33743]=3780; itemdelaydays[33743]=0; starkl[33743]=3343; itemvperf[33690]=0; itemcpuperf[33690]=0; itemramperf[33690]=0; itempcislots[33690]=0; itemdelta[33690]=8650; itemdelaydays[33690]=0; starkl[33690]=1931; itemvperf[32246]=0; itemcpuperf[32246]=0; itemramperf[32246]=0; itempcislots[32246]=0; itemdelta[32246]=2850; itemdelaydays[32246]=0; starkl[32246]=1350; itemvperf[32245]=0; itemcpuperf[32245]=0; itemramperf[32245]=0; itempcislots[32245]=0; itemdelta[32245]=0; itemdelaydays[32245]=0; starkl[32245]=6399; itemvperf[33733]=0; itemcpuperf[33733]=0; itemramperf[33733]=0; itempcislots[33733]=0; itemdelta[33733]=0; itemdelaydays[33733]=0; starkl[33733]=7152; itemvperf[33880]=0; itemcpuperf[33880]=0; itemramperf[33880]=0; itempcislots[33880]=0; itemdelta[33880]=15705; itemdelaydays[33880]=0; starkl[33880]=7229; itemvperf[33869]=0; itemcpuperf[33869]=0; itemramperf[33869]=0; itempcislots[33869]=0; itemdelta[33869]=8420; itemdelaydays[33869]=0; starkl[33869]=9470; itemvperf[33868]=0; itemcpuperf[33868]=0; itemramperf[33868]=0; itempcislots[33868]=0; itemdelta[33868]=7415; itemdelaydays[33868]=0; starkl[33868]=4060; itemvperf[33879]=0; itemcpuperf[33879]=0; itemramperf[33879]=0; itempcislots[33879]=0; itemdelta[33879]=3440; itemdelaydays[33879]=0; starkl[33879]=704; itemvperf[33659]=0; itemcpuperf[33659]=0; itemramperf[33659]=0; itempcislots[33659]=0; itemdelta[33659]=1650; itemdelaydays[33659]=0; starkl[33659]=6172; itemvperf[33884]=0; itemcpuperf[33884]=0; itemramperf[33884]=0; itempcislots[33884]=0; itemdelta[33884]=0; itemdelaydays[33884]=0; starkl[33884]=5060; itemvperf[33883]=0; itemcpuperf[33883]=0; itemramperf[33883]=0; itempcislots[33883]=0; itemdelta[33883]=790; itemdelaydays[33883]=0; starkl[33883]=1979; itemvperf[33850]=0; itemcpuperf[33850]=0; itemramperf[33850]=0; itempcislots[33850]=0; itemdelta[33850]=1209; itemdelaydays[33850]=0; starkl[33850]=342; itemvperf[33752]=0; itemcpuperf[33752]=0; itemramperf[33752]=0; itempcislots[33752]=0; itemdelta[33752]=589; itemdelaydays[33752]=7; starkl[33752]=1295; itemvperf[29945]=0; itemcpuperf[29945]=0; itemramperf[29945]=0; itempcislots[29945]=0; itemdelta[29945]=469; itemdelaydays[29945]=0; starkl[29945]=6133; itemvperf[29943]=0; itemcpuperf[29943]=0; itemramperf[29943]=0; itempcislots[29943]=0; itemdelta[29943]=439; itemdelaydays[29943]=0; starkl[29943]=6828; itemvperf[29941]=0; itemcpuperf[29941]=0; itemramperf[29941]=0; itempcislots[29941]=0; itemdelta[29941]=259; itemdelaydays[29941]=0; starkl[29941]=5430; itemvperf[29942]=0; itemcpuperf[29942]=0; itemramperf[29942]=0; itempcislots[29942]=0; itemdelta[29942]=189; itemdelaydays[29942]=0; starkl[29942]=6640; itemvperf[7519]=0; itemcpuperf[7519]=0; itemramperf[7519]=0; itempcislots[7519]=0; itemdelta[7519]=0; itemdelaydays[7519]=0; starkl[7519]=1687; itemvperf[7522]=0; itemcpuperf[7522]=0; itemramperf[7522]=0; itempcislots[7522]=0; itemdelta[7522]=0; itemdelaydays[7522]=0; starkl[7522]=7495; itemvperf[7526]=0; itemcpuperf[7526]=0; itemramperf[7526]=0; itempcislots[7526]=0; itemdelta[7526]=89; itemdelaydays[7526]=0; starkl[7526]=4800; itemvperf[7528]=0; itemcpuperf[7528]=0; itemramperf[7528]=0; itempcislots[7528]=0; itemdelta[7528]=49; itemdelaydays[7528]=0; starkl[7528]=3205; itemvperf[7529]=0; itemcpuperf[7529]=0; itemramperf[7529]=0; itempcislots[7529]=0; itemdelta[7529]=19; itemdelaydays[7529]=0; starkl[7529]=3860; itemvperf[7530]=0; itemcpuperf[7530]=0; itemramperf[7530]=0; itempcislots[7530]=0; itemdelta[7530]=0; itemdelaydays[7530]=0; starkl[7530]=7689; itemvperf[33803]=0; itemcpuperf[33803]=0; itemramperf[33803]=0; itempcislots[33803]=0; itemdelta[33803]=1600; itemdelaydays[33803]=0; starkl[33803]=4294; itemvperf[33882]=0; itemcpuperf[33882]=0; itemramperf[33882]=0; itempcislots[33882]=0; itemdelta[33882]=1400; itemdelaydays[33882]=0; starkl[33882]=8379; itemvperf[33881]=0; itemcpuperf[33881]=0; itemramperf[33881]=0; itempcislots[33881]=0; itemdelta[33881]=460; itemdelaydays[33881]=0; starkl[33881]=8195; itemvperf[33776]=0; itemcpuperf[33776]=0; itemramperf[33776]=0; itempcislots[33776]=0; itemdelta[33776]=1090; itemdelaydays[33776]=0; starkl[33776]=9588; itemvperf[33775]=0; itemcpuperf[33775]=0; itemramperf[33775]=0; itempcislots[33775]=0; itemdelta[33775]=440; itemdelaydays[33775]=0; starkl[33775]=6510; itemvperf[33870]=0; itemcpuperf[33870]=0; itemramperf[33870]=0; itempcislots[33870]=0; itemdelta[33870]=0; itemdelaydays[33870]=0; starkl[33870]=7046; itemvperf[33832]=0; itemcpuperf[33832]=0; itemramperf[33832]=0; itempcislots[33832]=0; itemdelta[33832]=2730; itemdelaydays[33832]=0; starkl[33832]=7802; itemvperf[33831]=0; itemcpuperf[33831]=0; itemramperf[33831]=0; itempcislots[33831]=0; itemdelta[33831]=1570; itemdelaydays[33831]=0; starkl[33831]=3755; itemvperf[33784]=0; itemcpuperf[33784]=0; itemramperf[33784]=0; itempcislots[33784]=0; itemdelta[33784]=730; itemdelaydays[33784]=0; starkl[33784]=7649; itemvperf[33783]=0; itemcpuperf[33783]=0; itemramperf[33783]=0; itempcislots[33783]=0; itemdelta[33783]=2760; itemdelaydays[33783]=0; starkl[33783]=3204; itemvperf[33782]=0; itemcpuperf[33782]=0; itemramperf[33782]=0; itempcislots[33782]=0; itemdelta[33782]=1020; itemdelaydays[33782]=0; starkl[33782]=7908; itemvperf[33781]=0; itemcpuperf[33781]=0; itemramperf[33781]=0; itempcislots[33781]=0; itemdelta[33781]=365; itemdelaydays[33781]=0; starkl[33781]=8892; itemvperf[7541]=0; itemcpuperf[7541]=0; itemramperf[7541]=0; itempcislots[7541]=0; itemdelta[7541]=0; itemdelaydays[7541]=0; starkl[7541]=8597; itemvperf[33878]=0; itemcpuperf[33878]=0; itemramperf[33878]=0; itempcislots[33878]=0; itemdelta[33878]=1640; itemdelaydays[33878]=0; starkl[33878]=5410; itemvperf[33877]=0; itemcpuperf[33877]=0; itemramperf[33877]=0; itempcislots[33877]=0; itemdelta[33877]=1335; itemdelaydays[33877]=0; starkl[33877]=443; itemvperf[33876]=0; itemcpuperf[33876]=0; itemramperf[33876]=0; itempcislots[33876]=0; itemdelta[33876]=875; itemdelaydays[33876]=0; starkl[33876]=3808; itemvperf[33875]=0; itemcpuperf[33875]=0; itemramperf[33875]=0; itempcislots[33875]=0; itemdelta[33875]=820; itemdelaydays[33875]=0; starkl[33875]=6939; itemvperf[33837]=0; itemcpuperf[33837]=0; itemramperf[33837]=0; itempcislots[33837]=0; itemdelta[33837]=670; itemdelaydays[33837]=0; starkl[33837]=1057; itemvperf[33836]=0; itemcpuperf[33836]=0; itemramperf[33836]=0; itempcislots[33836]=0; itemdelta[33836]=440; itemdelaydays[33836]=0; starkl[33836]=4832; itemvperf[33835]=0; itemcpuperf[33835]=0; itemramperf[33835]=0; itempcislots[33835]=0; itemdelta[33835]=220; itemdelaydays[33835]=0; starkl[33835]=2652; itemvperf[33833]=0; itemcpuperf[33833]=0; itemramperf[33833]=0; itempcislots[33833]=0; itemdelta[33833]=0; itemdelaydays[33833]=0; starkl[33833]=4919; itemvperf[33800]=0; itemcpuperf[33800]=0; itemramperf[33800]=0; itempcislots[33800]=0; itemdelta[33800]=300; itemdelaydays[33800]=0; starkl[33800]=6192; itemvperf[33792]=0; itemcpuperf[33792]=0; itemramperf[33792]=0; itempcislots[33792]=0; itemdelta[33792]=300; itemdelaydays[33792]=0; starkl[33792]=1368; itemvperf[33793]=0; itemcpuperf[33793]=0; itemramperf[33793]=0; itempcislots[33793]=0; itemdelta[33793]=300; itemdelaydays[33793]=0; starkl[33793]=2855; itemvperf[33794]=0; itemcpuperf[33794]=0; itemramperf[33794]=0; itempcislots[33794]=0; itemdelta[33794]=0; itemdelaydays[33794]=0; starkl[33794]=5757; itemvperf[21862]=0; itemcpuperf[21862]=0; itemramperf[21862]=0; itempcislots[21862]=0; itemdelta[21862]=140; itemdelaydays[21862]=0; starkl[21862]=1222; itemvperf[33691]=0; itemcpuperf[33691]=0; itemramperf[33691]=0; itempcislots[33691]=0; itemdelta[33691]=50; itemdelaydays[33691]=0; starkl[33691]=9956; itemvperf[33867]=0; itemcpuperf[33867]=0; itemramperf[33867]=0; itempcislots[33867]=0; itemdelta[33867]=0; itemdelaydays[33867]=0; starkl[33867]=2438; itemvperf[7555]=0; itemcpuperf[7555]=0; itemramperf[7555]=0; itempcislots[7555]=0; itemdelta[7555]=0; itemdelaydays[7555]=0; starkl[7555]=4458; itemvperf[33808]=0; itemcpuperf[33808]=0; itemramperf[33808]=0; itempcislots[33808]=0; itemdelta[33808]=0; itemdelaydays[33808]=0; starkl[33808]=298; itemvperf[33851]=0; itemcpuperf[33851]=0; itemramperf[33851]=0; itempcislots[33851]=0; itemdelta[33851]=170; itemdelaydays[33851]=0; starkl[33851]=539; itemvperf[33859]=0; itemcpuperf[33859]=0; itemramperf[33859]=0; itempcislots[33859]=0; itemdelta[33859]=0; itemdelaydays[33859]=0; starkl[33859]=3654; itemvperf[33765]=0; itemcpuperf[33765]=0; itemramperf[33765]=0; itempcislots[33765]=0; itemdelta[33765]=85; itemdelaydays[33765]=0; starkl[33765]=4092; itemvperf[31317]=0; itemcpuperf[31317]=0; itemramperf[31317]=0; itempcislots[31317]=0; itemdelta[31317]=299; itemdelaydays[31317]=0; starkl[31317]=4802; itemvperf[31318]=0; itemcpuperf[31318]=0; itemramperf[31318]=0; itempcislots[31318]=0; itemdelta[31318]=199; itemdelaydays[31318]=0; starkl[31318]=9510; itemvperf[7571]=0; itemcpuperf[7571]=0; itemramperf[7571]=0; itempcislots[7571]=0; itemdelta[7571]=0; itemdelaydays[7571]=0; starkl[7571]=3560; itemvperf[33787]=0; itemcpuperf[33787]=0; itemramperf[33787]=0; itempcislots[33787]=0; itemdelta[33787]=80; itemdelaydays[33787]=0; starkl[33787]=8026; itemvperf[33786]=0; itemcpuperf[33786]=0; itemramperf[33786]=0; itempcislots[33786]=0; itemdelta[33786]=105; itemdelaydays[33786]=0; starkl[33786]=8909; itemvperf[33252]=0; itemcpuperf[33252]=0; itemramperf[33252]=0; itempcislots[33252]=0; itemdelta[33252]=20; itemdelaydays[33252]=0; starkl[33252]=3583; itemvperf[7580]=0; itemcpuperf[7580]=0; itemramperf[7580]=0; itempcislots[7580]=0; itemdelta[7580]=0; itemdelaydays[7580]=0; starkl[7580]=4675; itemvperf[33789]=0; itemcpuperf[33789]=0; itemramperf[33789]=0; itempcislots[33789]=0; itemdelta[33789]=60; itemdelaydays[33789]=0; starkl[33789]=3308; itemvperf[33788]=0; itemcpuperf[33788]=0; itemramperf[33788]=0; itempcislots[33788]=0; itemdelta[33788]=55; itemdelaydays[33788]=0; starkl[33788]=1806; itemvperf[33253]=0; itemcpuperf[33253]=0; itemramperf[33253]=0; itempcislots[33253]=0; itemdelta[33253]=20; itemdelaydays[33253]=0; starkl[33253]=9103; itemvperf[7584]=0; itemcpuperf[7584]=0; itemramperf[7584]=0; itempcislots[7584]=0; itemdelta[7584]=0; itemdelaydays[7584]=0; starkl[7584]=6834; itemvperf[7593]=0; itemcpuperf[7593]=0; itemramperf[7593]=0; itempcislots[7593]=0; itemdelta[7593]=20; itemdelaydays[7593]=0; starkl[7593]=3950; itemvperf[7594]=0; itemcpuperf[7594]=0; itemramperf[7594]=0; itempcislots[7594]=0; itemdelta[7594]=0; itemdelaydays[7594]=0; starkl[7594]=8403; itemvperf[33873]=0; itemcpuperf[33873]=0; itemramperf[33873]=0; itempcislots[33873]=0; itemdelta[33873]=0; itemdelaydays[33873]=0; starkl[33873]=8702; itemvperf[33746]=0; itemcpuperf[33746]=0; itemramperf[33746]=0; itempcislots[33746]=0; itemdelta[33746]=0; itemdelaydays[33746]=0; starkl[33746]=7734; itemvperf[33747]=0; itemcpuperf[33747]=0; itemramperf[33747]=0; itempcislots[33747]=0; itemdelta[33747]=0; itemdelaydays[33747]=0; starkl[33747]=5119; itemvperf[33748]=0; itemcpuperf[33748]=0; itemramperf[33748]=0; itempcislots[33748]=0; itemdelta[33748]=0; itemdelaydays[33748]=0; starkl[33748]=7329; itemvperf[7597]=0; itemcpuperf[7597]=0; itemramperf[7597]=0; itempcislots[7597]=0; itemdelta[7597]=0; itemdelaydays[7597]=0; starkl[7597]=7100; itemvperf[7598]=0; itemcpuperf[7598]=0; itemramperf[7598]=0; itempcislots[7598]=0; itemdelta[7598]=0; itemdelaydays[7598]=0; starkl[7598]=7055; itemvperf[7599]=0; itemcpuperf[7599]=0; itemramperf[7599]=0; itempcislots[7599]=0; itemdelta[7599]=0; itemdelaydays[7599]=0; starkl[7599]=4449; itemvperf[7605]=0; itemcpuperf[7605]=0; itemramperf[7605]=0; itempcislots[7605]=0; itemdelta[7605]=699; itemdelaydays[7605]=0; starkl[7605]=8217; itemvperf[7609]=0; itemcpuperf[7609]=0; itemramperf[7609]=0; itempcislots[7609]=0; itemdelta[7609]=0; itemdelaydays[7609]=0; starkl[7609]=3345; itemvperf[7610]=0; itemcpuperf[7610]=0; itemramperf[7610]=0; itempcislots[7610]=0; itemdelta[7610]=0; itemdelaydays[7610]=0; starkl[7610]=6994; itemvperf[33852]=0; itemcpuperf[33852]=0; itemramperf[33852]=0; itempcislots[33852]=0; itemdelta[33852]=0; itemdelaydays[33852]=0; starkl[33852]=4530; itemvperf[33858]=0; itemcpuperf[33858]=0; itemramperf[33858]=0; itempcislots[33858]=0; itemdelta[33858]=-200; itemdelaydays[33858]=0; starkl[33858]=7748; itemvperf[33753]=0; itemcpuperf[33753]=0; itemramperf[33753]=0; itempcislots[33753]=0; itemdelta[33753]=-200; itemdelaydays[33753]=0; starkl[33753]=292; itemvperf[33754]=0; itemcpuperf[33754]=0; itemramperf[33754]=0; itempcislots[33754]=0; itemdelta[33754]=0; itemdelaydays[33754]=0; starkl[33754]=7234; caseImages[33857]=new Image(); caseImages[33857].src='/img/category-thumbnails/qx2-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()