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[27911]=0; itemcpuperf[27911]=0; itemramperf[27911]=0; itempcislots[27911]=0; itemdelta[27911]=0; itemdelaydays[27911]=0; starkl[27911]=5823; itemvperf[27910]=0; itemcpuperf[27910]=0; itemramperf[27910]=0; itempcislots[27910]=0; itemdelta[27910]=0; itemdelaydays[27910]=0; starkl[27910]=8983; itemvperf[27829]=0; itemcpuperf[27829]=0; itemramperf[27829]=0; itempcislots[27829]=0; itemdelta[27829]=0; itemdelaydays[27829]=0; starkl[27829]=5337; itemvperf[27877]=0; itemcpuperf[27877]=0; itemramperf[27877]=0; itempcislots[27877]=0; itemdelta[27877]=0; itemdelaydays[27877]=0; starkl[27877]=3499; itemvperf[33264]=0; itemcpuperf[33264]=0; itemramperf[33264]=0; itempcislots[33264]=0; itemdelta[33264]=130; itemdelaydays[33264]=0; starkl[33264]=6130; itemvperf[33263]=0; itemcpuperf[33263]=0; itemramperf[33263]=0; itempcislots[33263]=0; itemdelta[33263]=90; itemdelaydays[33263]=0; starkl[33263]=294; itemvperf[33262]=0; itemcpuperf[33262]=0; itemramperf[33262]=0; itempcislots[33262]=0; itemdelta[33262]=50; itemdelaydays[33262]=0; starkl[33262]=5572; itemvperf[27879]=0; itemcpuperf[27879]=0; itemramperf[27879]=0; itempcislots[27879]=0; itemdelta[27879]=0; itemdelaydays[27879]=0; starkl[27879]=9321; itemvperf[27783]=0; itemcpuperf[27783]=0; itemramperf[27783]=0; itempcislots[27783]=0; itemdelta[27783]=30; itemdelaydays[27783]=0; starkl[27783]=9448; itemvperf[27784]=0; itemcpuperf[27784]=0; itemramperf[27784]=0; itempcislots[27784]=0; itemdelta[27784]=0; itemdelaydays[27784]=0; starkl[27784]=526; itemvperf[33265]=0; itemcpuperf[33265]=0; itemramperf[33265]=0; itempcislots[33265]=0; itemdelta[33265]=80; itemdelaydays[33265]=0; starkl[33265]=4643; itemvperf[30062]=0; itemcpuperf[30062]=0; itemramperf[30062]=0; itempcislots[30062]=0; itemdelta[30062]=0; itemdelaydays[30062]=0; starkl[30062]=5455; itemvperf[27830]=160; itemcpuperf[27830]=0; itemramperf[27830]=0; itempcislots[27830]=0; itemdelta[27830]=300; itemdelaydays[27830]=0; starkl[27830]=8822; itemvperf[27832]=0; itemcpuperf[27832]=0; itemramperf[27832]=0; itempcislots[27832]=0; itemdelta[27832]=130; itemdelaydays[27832]=10; starkl[27832]=2894; itemvperf[27831]=192; itemcpuperf[27831]=0; itemramperf[27831]=0; itempcislots[27831]=0; itemdelta[27831]=60; itemdelaydays[27831]=0; starkl[27831]=4585; itemvperf[27833]=0; itemcpuperf[27833]=0; itemramperf[27833]=0; itempcislots[27833]=0; itemdelta[27833]=40; itemdelaydays[27833]=0; starkl[27833]=791; itemvperf[28836]=0; itemcpuperf[28836]=0; itemramperf[28836]=0; itempcislots[28836]=0; itemdelta[28836]=0; itemdelaydays[28836]=0; starkl[28836]=6169; itemvperf[27861]=0; itemcpuperf[27861]=0; itemramperf[27861]=0; itempcislots[27861]=0; itemdelta[27861]=0; itemdelaydays[27861]=0; starkl[27861]=4945; itemvperf[27864]=0; itemcpuperf[27864]=0; itemramperf[27864]=0; itempcislots[27864]=0; itemdelta[27864]=0; itemdelaydays[27864]=0; starkl[27864]=5130; itemvperf[27865]=0; itemcpuperf[27865]=0; itemramperf[27865]=0; itempcislots[27865]=0; itemdelta[27865]=0; itemdelaydays[27865]=0; starkl[27865]=7330; itemvperf[29931]=0; itemcpuperf[29931]=0; itemramperf[29931]=0; itempcislots[29931]=0; itemdelta[29931]=439; itemdelaydays[29931]=0; starkl[29931]=1623; itemvperf[33269]=0; itemcpuperf[33269]=0; itemramperf[33269]=0; itempcislots[33269]=0; itemdelta[33269]=529; itemdelaydays[33269]=14; starkl[33269]=2098; itemvperf[29930]=0; itemcpuperf[29930]=0; itemramperf[29930]=0; itempcislots[29930]=0; itemdelta[29930]=259; itemdelaydays[29930]=0; starkl[29930]=9166; itemvperf[29928]=0; itemcpuperf[29928]=0; itemramperf[29928]=0; itempcislots[29928]=0; itemdelta[29928]=219; itemdelaydays[29928]=0; starkl[29928]=8486; itemvperf[29929]=0; itemcpuperf[29929]=0; itemramperf[29929]=0; itempcislots[29929]=0; itemdelta[29929]=179; itemdelaydays[29929]=0; starkl[29929]=3263; itemvperf[27808]=0; itemcpuperf[27808]=0; itemramperf[27808]=0; itempcislots[27808]=0; itemdelta[27808]=0; itemdelaydays[27808]=0; starkl[27808]=3176; itemvperf[27772]=0; itemcpuperf[27772]=0; itemramperf[27772]=0; itempcislots[27772]=0; itemdelta[27772]=120; itemdelaydays[27772]=0; starkl[27772]=2683; itemvperf[27773]=0; itemcpuperf[27773]=0; itemramperf[27773]=0; itempcislots[27773]=0; itemdelta[27773]=0; itemdelaydays[27773]=0; starkl[27773]=4963; itemvperf[27848]=0; itemcpuperf[27848]=0; itemramperf[27848]=0; itempcislots[27848]=0; itemdelta[27848]=70; itemdelaydays[27848]=0; starkl[27848]=3182; itemvperf[27849]=0; itemcpuperf[27849]=0; itemramperf[27849]=0; itempcislots[27849]=0; itemdelta[27849]=49; itemdelaydays[27849]=0; starkl[27849]=8963; itemvperf[27850]=0; itemcpuperf[27850]=0; itemramperf[27850]=0; itempcislots[27850]=0; itemdelta[27850]=19; itemdelaydays[27850]=0; starkl[27850]=4127; itemvperf[27851]=0; itemcpuperf[27851]=0; itemramperf[27851]=0; itempcislots[27851]=0; itemdelta[27851]=0; itemdelaydays[27851]=0; starkl[27851]=2204; itemvperf[27892]=0; itemcpuperf[27892]=0; itemramperf[27892]=0; itempcislots[27892]=0; itemdelta[27892]=275; itemdelaydays[27892]=0; starkl[27892]=2547; itemvperf[27893]=0; itemcpuperf[27893]=0; itemramperf[27893]=0; itempcislots[27893]=0; itemdelta[27893]=275; itemdelaydays[27893]=0; starkl[27893]=5075; itemvperf[27890]=0; itemcpuperf[27890]=0; itemramperf[27890]=0; itempcislots[27890]=0; itemdelta[27890]=95; itemdelaydays[27890]=0; starkl[27890]=8405; itemvperf[27891]=0; itemcpuperf[27891]=0; itemramperf[27891]=0; itempcislots[27891]=0; itemdelta[27891]=95; itemdelaydays[27891]=0; starkl[27891]=288; itemvperf[27898]=0; itemcpuperf[27898]=0; itemramperf[27898]=0; itempcislots[27898]=0; itemdelta[27898]=40; itemdelaydays[27898]=0; starkl[27898]=9607; itemvperf[27899]=0; itemcpuperf[27899]=0; itemramperf[27899]=0; itempcislots[27899]=0; itemdelta[27899]=0; itemdelaydays[27899]=0; starkl[27899]=7669; itemvperf[27902]=0; itemcpuperf[27902]=0; itemramperf[27902]=0; itempcislots[27902]=0; itemdelta[27902]=180; itemdelaydays[27902]=0; starkl[27902]=5431; itemvperf[27900]=0; itemcpuperf[27900]=0; itemramperf[27900]=0; itempcislots[27900]=0; itemdelta[27900]=140; itemdelaydays[27900]=0; starkl[27900]=1946; itemvperf[27901]=0; itemcpuperf[27901]=0; itemramperf[27901]=0; itempcislots[27901]=0; itemdelta[27901]=100; itemdelaydays[27901]=0; starkl[27901]=703; itemvperf[27903]=0; itemcpuperf[27903]=0; itemramperf[27903]=0; itempcislots[27903]=0; itemdelta[27903]=0; itemdelaydays[27903]=0; starkl[27903]=219; itemvperf[27824]=0; itemcpuperf[27824]=0; itemramperf[27824]=0; itempcislots[27824]=0; itemdelta[27824]=0; itemdelaydays[27824]=0; starkl[27824]=4385; itemvperf[27825]=0; itemcpuperf[27825]=0; itemramperf[27825]=0; itempcislots[27825]=0; itemdelta[27825]=195; itemdelaydays[27825]=0; starkl[27825]=5276; itemvperf[27826]=0; itemcpuperf[27826]=0; itemramperf[27826]=0; itempcislots[27826]=0; itemdelta[27826]=40; itemdelaydays[27826]=0; starkl[27826]=9742; itemvperf[27828]=0; itemcpuperf[27828]=0; itemramperf[27828]=0; itempcislots[27828]=0; itemdelta[27828]=0; itemdelaydays[27828]=0; starkl[27828]=1556; itemvperf[27818]=0; itemcpuperf[27818]=0; itemramperf[27818]=0; itempcislots[27818]=0; itemdelta[27818]=0; itemdelaydays[27818]=0; starkl[27818]=1479; itemvperf[27803]=0; itemcpuperf[27803]=0; itemramperf[27803]=0; itempcislots[27803]=0; itemdelta[27803]=0; itemdelaydays[27803]=0; starkl[27803]=6379; itemvperf[27804]=0; itemcpuperf[27804]=0; itemramperf[27804]=0; itempcislots[27804]=0; itemdelta[27804]=0; itemdelaydays[27804]=0; starkl[27804]=5306; itemvperf[27805]=0; itemcpuperf[27805]=0; itemramperf[27805]=0; itempcislots[27805]=0; itemdelta[27805]=25; itemdelaydays[27805]=0; starkl[27805]=7064; itemvperf[27866]=0; itemcpuperf[27866]=0; itemramperf[27866]=0; itempcislots[27866]=0; itemdelta[27866]=0; itemdelaydays[27866]=0; starkl[27866]=2505; itemvperf[27867]=0; itemcpuperf[27867]=0; itemramperf[27867]=0; itempcislots[27867]=0; itemdelta[27867]=75; itemdelaydays[27867]=0; starkl[27867]=3625; itemvperf[27810]=0; itemcpuperf[27810]=0; itemramperf[27810]=0; itempcislots[27810]=0; itemdelta[27810]=0; itemdelaydays[27810]=0; starkl[27810]=9787; itemvperf[27811]=0; itemcpuperf[27811]=0; itemramperf[27811]=0; itempcislots[27811]=0; itemdelta[27811]=65; itemdelaydays[27811]=0; starkl[27811]=1305; itemvperf[27812]=0; itemcpuperf[27812]=0; itemramperf[27812]=0; itempcislots[27812]=3; itemdelta[27812]=35; itemdelaydays[27812]=0; starkl[27812]=441; itemvperf[27778]=0; itemcpuperf[27778]=0; itemramperf[27778]=0; itempcislots[27778]=0; itemdelta[27778]=25; itemdelaydays[27778]=0; starkl[27778]=794; itemvperf[27779]=0; itemcpuperf[27779]=0; itemramperf[27779]=0; itempcislots[27779]=0; itemdelta[27779]=0; itemdelaydays[27779]=0; starkl[27779]=686; itemvperf[33268]=0; itemcpuperf[33268]=0; itemramperf[33268]=0; itempcislots[33268]=0; itemdelta[33268]=70; itemdelaydays[33268]=0; starkl[33268]=3604; itemvperf[33267]=0; itemcpuperf[33267]=0; itemramperf[33267]=0; itempcislots[33267]=0; itemdelta[33267]=0; itemdelaydays[33267]=0; starkl[33267]=9857; itemvperf[28496]=0; itemcpuperf[28496]=0; itemramperf[28496]=0; itempcislots[28496]=0; itemdelta[28496]=100; itemdelaydays[28496]=0; starkl[28496]=3019; itemvperf[33270]=0; itemcpuperf[33270]=0; itemramperf[33270]=0; itempcislots[33270]=0; itemdelta[33270]=70; itemdelaydays[33270]=0; starkl[33270]=6618; itemvperf[28497]=0; itemcpuperf[28497]=0; itemramperf[28497]=0; itempcislots[28497]=0; itemdelta[28497]=0; itemdelaydays[28497]=0; starkl[28497]=3584; itemvperf[31310]=0; itemcpuperf[31310]=0; itemramperf[31310]=0; itempcislots[31310]=0; itemdelta[31310]=399; itemdelaydays[31310]=0; starkl[31310]=8010; itemvperf[31311]=0; itemcpuperf[31311]=0; itemramperf[31311]=0; itempcislots[31311]=0; itemdelta[31311]=229; itemdelaydays[31311]=0; starkl[31311]=7565; itemvperf[31312]=0; itemcpuperf[31312]=0; itemramperf[31312]=0; itempcislots[31312]=0; itemdelta[31312]=149; itemdelaydays[31312]=0; starkl[31312]=2100; itemvperf[27839]=0; itemcpuperf[27839]=0; itemramperf[27839]=0; itempcislots[27839]=0; itemdelta[27839]=29; itemdelaydays[27839]=0; starkl[27839]=7499; itemvperf[27841]=0; itemcpuperf[27841]=0; itemramperf[27841]=0; itempcislots[27841]=0; itemdelta[27841]=0; itemdelaydays[27841]=0; starkl[27841]=6173; itemvperf[27847]=0; itemcpuperf[27847]=0; itemramperf[27847]=0; itempcislots[27847]=0; itemdelta[27847]=0; itemdelaydays[27847]=0; starkl[27847]=9934; itemvperf[27776]=0; itemcpuperf[27776]=0; itemramperf[27776]=0; itempcislots[27776]=0; itemdelta[27776]=0; itemdelaydays[27776]=0; starkl[27776]=2526; itemvperf[27777]=0; itemcpuperf[27777]=0; itemramperf[27777]=0; itempcislots[27777]=0; itemdelta[27777]=0; itemdelaydays[27777]=0; starkl[27777]=3929; itemvperf[27846]=0; itemcpuperf[27846]=0; itemramperf[27846]=0; itempcislots[27846]=0; itemdelta[27846]=69; itemdelaydays[27846]=0; starkl[27846]=3074; itemvperf[27845]=0; itemcpuperf[27845]=0; itemramperf[27845]=0; itempcislots[27845]=0; itemdelta[27845]=0; itemdelaydays[27845]=0; starkl[27845]=2946; itemvperf[27799]=0; itemcpuperf[27799]=0; itemramperf[27799]=0; itempcislots[27799]=0; itemdelta[27799]=65; itemdelaydays[27799]=0; starkl[27799]=8550; itemvperf[27800]=0; itemcpuperf[27800]=0; itemramperf[27800]=0; itempcislots[27800]=0; itemdelta[27800]=50; itemdelaydays[27800]=0; starkl[27800]=6327; itemvperf[33260]=0; itemcpuperf[33260]=0; itemramperf[33260]=0; itempcislots[33260]=0; itemdelta[33260]=0; itemdelaydays[33260]=0; starkl[33260]=9286; itemvperf[27802]=0; itemcpuperf[27802]=0; itemramperf[27802]=0; itempcislots[27802]=0; itemdelta[27802]=-10; itemdelaydays[27802]=0; starkl[27802]=9250; itemvperf[27813]=0; itemcpuperf[27813]=0; itemramperf[27813]=0; itempcislots[27813]=0; itemdelta[27813]=60; itemdelaydays[27813]=0; starkl[27813]=4420; itemvperf[27814]=0; itemcpuperf[27814]=0; itemramperf[27814]=0; itempcislots[27814]=0; itemdelta[27814]=45; itemdelaydays[27814]=0; starkl[27814]=2398; itemvperf[27815]=0; itemcpuperf[27815]=0; itemramperf[27815]=0; itempcislots[27815]=0; itemdelta[27815]=35; itemdelaydays[27815]=0; starkl[27815]=351; itemvperf[33261]=0; itemcpuperf[33261]=0; itemramperf[33261]=0; itempcislots[33261]=0; itemdelta[33261]=0; itemdelaydays[33261]=0; starkl[33261]=3548; itemvperf[27817]=0; itemcpuperf[27817]=0; itemramperf[27817]=0; itempcislots[27817]=0; itemdelta[27817]=-10; itemdelaydays[27817]=0; starkl[27817]=5257; itemvperf[27787]=0; itemcpuperf[27787]=0; itemramperf[27787]=0; itempcislots[27787]=0; itemdelta[27787]=45; itemdelaydays[27787]=0; starkl[27787]=6839; itemvperf[27788]=0; itemcpuperf[27788]=0; itemramperf[27788]=0; itempcislots[27788]=0; itemdelta[27788]=0; itemdelaydays[27788]=0; starkl[27788]=5432; itemvperf[27842]=0; itemcpuperf[27842]=0; itemramperf[27842]=0; itempcislots[27842]=0; itemdelta[27842]=15; itemdelaydays[27842]=0; starkl[27842]=1016; itemvperf[27843]=0; itemcpuperf[27843]=0; itemramperf[27843]=0; itempcislots[27843]=0; itemdelta[27843]=0; itemdelaydays[27843]=0; starkl[27843]=7650; itemvperf[27774]=0; itemcpuperf[27774]=0; itemramperf[27774]=0; itempcislots[27774]=0; itemdelta[27774]=139; itemdelaydays[27774]=0; starkl[27774]=3929; itemvperf[27775]=0; itemcpuperf[27775]=0; itemramperf[27775]=0; itempcislots[27775]=0; itemdelta[27775]=0; itemdelaydays[27775]=0; starkl[27775]=3659; itemvperf[27852]=0; itemcpuperf[27852]=0; itemramperf[27852]=0; itempcislots[27852]=0; itemdelta[27852]=0; itemdelaydays[27852]=0; starkl[27852]=4910; itemvperf[27853]=0; itemcpuperf[27853]=0; itemramperf[27853]=0; itempcislots[27853]=0; itemdelta[27853]=0; itemdelaydays[27853]=0; starkl[27853]=2340; itemvperf[27770]=0; itemcpuperf[27770]=0; itemramperf[27770]=0; itempcislots[27770]=0; itemdelta[27770]=0; itemdelaydays[27770]=0; starkl[27770]=2447; itemvperf[27844]=0; itemcpuperf[27844]=0; itemramperf[27844]=0; itempcislots[27844]=0; itemdelta[27844]=0; itemdelaydays[27844]=0; starkl[27844]=7798; itemvperf[27791]=0; itemcpuperf[27791]=0; itemramperf[27791]=0; itempcislots[27791]=0; itemdelta[27791]=0; itemdelaydays[27791]=0; starkl[27791]=8757; itemvperf[27797]=0; itemcpuperf[27797]=0; itemramperf[27797]=0; itempcislots[27797]=0; itemdelta[27797]=175; itemdelaydays[27797]=0; starkl[27797]=5573; itemvperf[27798]=0; itemcpuperf[27798]=0; itemramperf[27798]=0; itempcislots[27798]=0; itemdelta[27798]=0; itemdelaydays[27798]=0; starkl[27798]=6976; itemvperf[27868]=0; itemcpuperf[27868]=0; itemramperf[27868]=0; itempcislots[27868]=0; itemdelta[27868]=369; itemdelaydays[27868]=0; starkl[27868]=2662; itemvperf[27869]=0; itemcpuperf[27869]=0; itemramperf[27869]=0; itempcislots[27869]=0; itemdelta[27869]=299; itemdelaydays[27869]=0; starkl[27869]=7315; itemvperf[27870]=0; itemcpuperf[27870]=0; itemramperf[27870]=0; itempcislots[27870]=0; itemdelta[27870]=269; itemdelaydays[27870]=0; starkl[27870]=541; itemvperf[27871]=0; itemcpuperf[27871]=0; itemramperf[27871]=0; itempcislots[27871]=0; itemdelta[27871]=199; itemdelaydays[27871]=0; starkl[27871]=292; itemvperf[27872]=0; itemcpuperf[27872]=0; itemramperf[27872]=0; itempcislots[27872]=0; itemdelta[27872]=169; itemdelaydays[27872]=0; starkl[27872]=5965; itemvperf[27873]=0; itemcpuperf[27873]=0; itemramperf[27873]=0; itempcislots[27873]=0; itemdelta[27873]=99; itemdelaydays[27873]=0; starkl[27873]=7503; itemvperf[27874]=0; itemcpuperf[27874]=0; itemramperf[27874]=0; itempcislots[27874]=0; itemdelta[27874]=69; itemdelaydays[27874]=0; starkl[27874]=7048; itemvperf[27875]=0; itemcpuperf[27875]=0; itemramperf[27875]=0; itempcislots[27875]=0; itemdelta[27875]=0; itemdelaydays[27875]=0; starkl[27875]=441; itemvperf[33266]=0; itemcpuperf[33266]=0; itemramperf[33266]=0; itempcislots[33266]=0; itemdelta[33266]=-15; itemdelaydays[33266]=0; starkl[33266]=3380; itemvperf[27794]=0; itemcpuperf[27794]=0; itemramperf[27794]=0; itempcislots[27794]=0; itemdelta[27794]=0; itemdelaydays[27794]=0; starkl[27794]=1898; itemvperf[27793]=0; itemcpuperf[27793]=0; itemramperf[27793]=0; itempcislots[27793]=0; itemdelta[27793]=0; itemdelaydays[27793]=0; starkl[27793]=2714; itemvperf[27785]=0; itemcpuperf[27785]=0; itemramperf[27785]=0; itempcislots[27785]=0; itemdelta[27785]=-60; itemdelaydays[27785]=0; starkl[27785]=1881; itemvperf[27786]=0; itemcpuperf[27786]=0; itemramperf[27786]=0; itempcislots[27786]=0; itemdelta[27786]=0; itemdelaydays[27786]=0; starkl[27786]=6021; caseImages[27911]=new Image(); caseImages[27911].src='/images/upload/gx2_blue_nw.jpg'; caseImages[27910]=new Image(); caseImages[27910].src='/images/upload/gx2_silver_w.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()