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[19581]=0; itemcpuperf[19581]=0; itemramperf[19581]=0; itempcislots[19581]=0; itemdelta[19581]=0; itemdelaydays[19581]=0; starkl[19581]=7913; itemvperf[19582]=0; itemcpuperf[19582]=0; itemramperf[19582]=0; itempcislots[19582]=0; itemdelta[19582]=10; itemdelaydays[19582]=0; starkl[19582]=4614; itemvperf[20561]=0; itemcpuperf[20561]=0; itemramperf[20561]=0; itempcislots[20561]=0; itemdelta[20561]=100; itemdelaydays[20561]=0; starkl[20561]=7529; itemvperf[33318]=0; itemcpuperf[33318]=0; itemramperf[33318]=0; itempcislots[33318]=0; itemdelta[33318]=0; itemdelaydays[33318]=0; starkl[33318]=8287; itemvperf[32675]=0; itemcpuperf[32675]=0; itemramperf[32675]=0; itempcislots[32675]=0; itemdelta[32675]=0; itemdelaydays[32675]=0; starkl[32675]=1360; itemvperf[33319]=0; itemcpuperf[33319]=190; itemramperf[33319]=0; itempcislots[33319]=0; itemdelta[33319]=275; itemdelaydays[33319]=0; starkl[33319]=4758; itemvperf[32674]=0; itemcpuperf[32674]=185; itemramperf[32674]=0; itempcislots[32674]=0; itemdelta[32674]=190; itemdelaydays[32674]=0; starkl[32674]=5893; itemvperf[32673]=0; itemcpuperf[32673]=150; itemramperf[32673]=0; itempcislots[32673]=0; itemdelta[32673]=55; itemdelaydays[32673]=0; starkl[32673]=7201; itemvperf[32671]=0; itemcpuperf[32671]=125; itemramperf[32671]=0; itempcislots[32671]=0; itemdelta[32671]=25; itemdelaydays[32671]=0; starkl[32671]=6309; itemvperf[32672]=0; itemcpuperf[32672]=0; itemramperf[32672]=0; itempcislots[32672]=0; itemdelta[32672]=0; itemdelaydays[32672]=0; starkl[32672]=5514; itemvperf[28595]=0; itemcpuperf[28595]=0; itemramperf[28595]=0; itempcislots[28595]=0; itemdelta[28595]=35; itemdelaydays[28595]=0; starkl[28595]=2570; itemvperf[19584]=0; itemcpuperf[19584]=0; itemramperf[19584]=0; itempcislots[19584]=0; itemdelta[19584]=0; itemdelaydays[19584]=0; starkl[19584]=7568; itemvperf[33322]=0; itemcpuperf[33322]=0; itemramperf[33322]=0; itempcislots[33322]=0; itemdelta[33322]=120; itemdelaydays[33322]=0; starkl[33322]=4864; itemvperf[31957]=0; itemcpuperf[31957]=0; itemramperf[31957]=0; itempcislots[31957]=0; itemdelta[31957]=0; itemdelaydays[31957]=0; starkl[31957]=8586; itemvperf[33323]=192; itemcpuperf[33323]=0; itemramperf[33323]=0; itempcislots[33323]=0; itemdelta[33323]=225; itemdelaydays[33323]=0; starkl[33323]=7787; itemvperf[32683]=188; itemcpuperf[32683]=0; itemramperf[32683]=0; itempcislots[32683]=0; itemdelta[32683]=235; itemdelaydays[32683]=0; starkl[32683]=7443; itemvperf[32682]=187; itemcpuperf[32682]=0; itemramperf[32682]=0; itempcislots[32682]=0; itemdelta[32682]=189; itemdelaydays[32682]=0; starkl[32682]=6737; itemvperf[32681]=270; itemcpuperf[32681]=0; itemramperf[32681]=0; itempcislots[32681]=0; itemdelta[32681]=349; itemdelaydays[32681]=0; starkl[32681]=7626; itemvperf[33022]=0; itemcpuperf[33022]=0; itemramperf[33022]=0; itempcislots[33022]=0; itemdelta[33022]=320; itemdelaydays[33022]=0; starkl[33022]=1524; itemvperf[33024]=165; itemcpuperf[33024]=0; itemramperf[33024]=0; itempcislots[33024]=0; itemdelta[33024]=230; itemdelaydays[33024]=0; starkl[33024]=7912; itemvperf[33026]=163; itemcpuperf[33026]=0; itemramperf[33026]=0; itempcislots[33026]=0; itemdelta[33026]=155; itemdelaydays[33026]=0; starkl[33026]=9708; itemvperf[33025]=0; itemcpuperf[33025]=0; itemramperf[33025]=0; itempcislots[33025]=0; itemdelta[33025]=165; itemdelaydays[33025]=0; starkl[33025]=9089; itemvperf[32677]=0; itemcpuperf[32677]=0; itemramperf[32677]=0; itempcislots[32677]=0; itemdelta[32677]=95; itemdelaydays[32677]=0; starkl[32677]=1983; itemvperf[32676]=0; itemcpuperf[32676]=0; itemramperf[32676]=0; itempcislots[32676]=0; itemdelta[32676]=0; itemdelaydays[32676]=0; starkl[32676]=7047; itemvperf[29911]=0; itemcpuperf[29911]=0; itemramperf[29911]=0; itempcislots[29911]=0; itemdelta[29911]=439; itemdelaydays[29911]=0; starkl[29911]=6225; itemvperf[29910]=0; itemcpuperf[29910]=0; itemramperf[29910]=0; itempcislots[29910]=0; itemdelta[29910]=259; itemdelaydays[29910]=0; starkl[29910]=4996; itemvperf[29908]=0; itemcpuperf[29908]=0; itemramperf[29908]=0; itempcislots[29908]=0; itemdelta[29908]=219; itemdelaydays[29908]=0; starkl[29908]=9806; itemvperf[29909]=0; itemcpuperf[29909]=0; itemramperf[29909]=0; itempcislots[29909]=0; itemdelta[29909]=179; itemdelaydays[29909]=0; starkl[29909]=2604; itemvperf[19602]=0; itemcpuperf[19602]=0; itemramperf[19602]=0; itempcislots[19602]=0; itemdelta[19602]=0; itemdelaydays[19602]=0; starkl[19602]=8407; itemvperf[19579]=0; itemcpuperf[19579]=0; itemramperf[19579]=0; itempcislots[19579]=0; itemdelta[19579]=60; itemdelaydays[19579]=0; starkl[19579]=5981; itemvperf[31952]=0; itemcpuperf[31952]=0; itemramperf[31952]=0; itempcislots[31952]=0; itemdelta[31952]=0; itemdelaydays[31952]=0; starkl[31952]=1707; itemvperf[19645]=0; itemcpuperf[19645]=0; itemramperf[19645]=0; itempcislots[19645]=0; itemdelta[19645]=279; itemdelaydays[19645]=0; starkl[19645]=9413; itemvperf[21048]=0; itemcpuperf[21048]=0; itemramperf[21048]=0; itempcislots[21048]=0; itemdelta[21048]=70; itemdelaydays[21048]=0; starkl[21048]=6927; itemvperf[19647]=0; itemcpuperf[19647]=0; itemramperf[19647]=0; itempcislots[19647]=0; itemdelta[19647]=59; itemdelaydays[19647]=0; starkl[19647]=5618; itemvperf[19648]=0; itemcpuperf[19648]=0; itemramperf[19648]=0; itempcislots[19648]=0; itemdelta[19648]=39; itemdelaydays[19648]=0; starkl[19648]=7598; itemvperf[19649]=0; itemcpuperf[19649]=0; itemramperf[19649]=0; itempcislots[19649]=0; itemdelta[19649]=19; itemdelaydays[19649]=0; starkl[19649]=7044; itemvperf[19650]=0; itemcpuperf[19650]=0; itemramperf[19650]=0; itempcislots[19650]=0; itemdelta[19650]=0; itemdelaydays[19650]=0; starkl[19650]=2668; itemvperf[25870]=0; itemcpuperf[25870]=0; itemramperf[25870]=0; itempcislots[25870]=0; itemdelta[25870]=20; itemdelaydays[25870]=0; starkl[25870]=3685; itemvperf[19589]=0; itemcpuperf[19589]=0; itemramperf[19589]=0; itempcislots[19589]=0; itemdelta[19589]=30; itemdelaydays[19589]=0; starkl[19589]=3087; itemvperf[19590]=0; itemcpuperf[19590]=0; itemramperf[19590]=0; itempcislots[19590]=0; itemdelta[19590]=0; itemdelaydays[19590]=0; starkl[19590]=1298; itemvperf[25863]=0; itemcpuperf[25863]=0; itemramperf[25863]=0; itempcislots[25863]=0; itemdelta[25863]=120; itemdelaydays[25863]=0; starkl[25863]=4718; itemvperf[25864]=0; itemcpuperf[25864]=0; itemramperf[25864]=0; itempcislots[25864]=0; itemdelta[25864]=110; itemdelaydays[25864]=0; starkl[25864]=2693; itemvperf[25865]=0; itemcpuperf[25865]=0; itemramperf[25865]=0; itempcislots[25865]=0; itemdelta[25865]=80; itemdelaydays[25865]=0; starkl[25865]=2092; itemvperf[25866]=0; itemcpuperf[25866]=0; itemramperf[25866]=0; itempcislots[25866]=0; itemdelta[25866]=0; itemdelaydays[25866]=0; starkl[25866]=8760; itemvperf[19614]=0; itemcpuperf[19614]=0; itemramperf[19614]=0; itempcislots[19614]=0; itemdelta[19614]=0; itemdelaydays[19614]=0; starkl[19614]=269; itemvperf[26095]=0; itemcpuperf[26095]=0; itemramperf[26095]=0; itempcislots[26095]=0; itemdelta[26095]=140; itemdelaydays[26095]=0; starkl[26095]=9932; itemvperf[20446]=0; itemcpuperf[20446]=0; itemramperf[20446]=0; itempcislots[20446]=0; itemdelta[20446]=40; itemdelaydays[20446]=0; starkl[20446]=4832; itemvperf[19616]=0; itemcpuperf[19616]=0; itemramperf[19616]=0; itempcislots[19616]=0; itemdelta[19616]=25; itemdelaydays[19616]=0; starkl[19616]=4967; itemvperf[19617]=0; itemcpuperf[19617]=0; itemramperf[19617]=0; itempcislots[19617]=0; itemdelta[19617]=0; itemdelaydays[19617]=0; starkl[19617]=275; itemvperf[19609]=0; itemcpuperf[19609]=0; itemramperf[19609]=0; itempcislots[19609]=0; itemdelta[19609]=0; itemdelaydays[19609]=0; starkl[19609]=8543; itemvperf[20571]=0; itemcpuperf[20571]=0; itemramperf[20571]=0; itempcislots[20571]=0; itemdelta[20571]=0; itemdelaydays[20571]=0; starkl[20571]=3760; itemvperf[19597]=0; itemcpuperf[19597]=0; itemramperf[19597]=0; itempcislots[19597]=0; itemdelta[19597]=0; itemdelaydays[19597]=0; starkl[19597]=805; itemvperf[19598]=0; itemcpuperf[19598]=0; itemramperf[19598]=0; itempcislots[19598]=0; itemdelta[19598]=30; itemdelaydays[19598]=0; starkl[19598]=2417; itemvperf[19654]=0; itemcpuperf[19654]=0; itemramperf[19654]=0; itempcislots[19654]=0; itemdelta[19654]=0; itemdelaydays[19654]=0; starkl[19654]=1139; itemvperf[19655]=0; itemcpuperf[19655]=0; itemramperf[19655]=0; itempcislots[19655]=0; itemdelta[19655]=75; itemdelaydays[19655]=0; starkl[19655]=2588; itemvperf[19604]=0; itemcpuperf[19604]=0; itemramperf[19604]=0; itempcislots[19604]=0; itemdelta[19604]=0; itemdelaydays[19604]=0; starkl[19604]=9124; itemvperf[19605]=0; itemcpuperf[19605]=0; itemramperf[19605]=0; itempcislots[19605]=0; itemdelta[19605]=95; itemdelaydays[19605]=0; starkl[19605]=3032; itemvperf[19606]=0; itemcpuperf[19606]=0; itemramperf[19606]=0; itempcislots[19606]=3; itemdelta[19606]=40; itemdelaydays[19606]=0; starkl[19606]=6149; itemvperf[32782]=0; itemcpuperf[32782]=0; itemramperf[32782]=0; itempcislots[32782]=0; itemdelta[32782]=95; itemdelaydays[32782]=0; starkl[32782]=2249; itemvperf[32783]=0; itemcpuperf[32783]=0; itemramperf[32783]=0; itempcislots[32783]=0; itemdelta[32783]=0; itemdelaydays[32783]=0; starkl[32783]=225; itemvperf[25248]=0; itemcpuperf[25248]=0; itemramperf[25248]=0; itempcislots[25248]=0; itemdelta[25248]=25; itemdelaydays[25248]=0; starkl[25248]=680; itemvperf[25247]=0; itemcpuperf[25247]=0; itemramperf[25247]=0; itempcislots[25247]=0; itemdelta[25247]=0; itemdelaydays[25247]=0; starkl[25247]=2430; itemvperf[28477]=0; itemcpuperf[28477]=0; itemramperf[28477]=0; itempcislots[28477]=0; itemdelta[28477]=130; itemdelaydays[28477]=0; starkl[28477]=1884; itemvperf[29454]=0; itemcpuperf[29454]=0; itemramperf[29454]=0; itempcislots[29454]=0; itemdelta[29454]=80; itemdelaydays[29454]=0; starkl[29454]=2644; itemvperf[29455]=0; itemcpuperf[29455]=0; itemramperf[29455]=0; itempcislots[29455]=0; itemdelta[29455]=0; itemdelaydays[29455]=0; starkl[29455]=3675; itemvperf[30607]=0; itemcpuperf[30607]=0; itemramperf[30607]=0; itempcislots[30607]=0; itemdelta[30607]=349; itemdelaydays[30607]=0; starkl[30607]=5388; itemvperf[30608]=0; itemcpuperf[30608]=0; itemramperf[30608]=0; itempcislots[30608]=0; itemdelta[30608]=199; itemdelaydays[30608]=0; starkl[30608]=8089; itemvperf[30609]=0; itemcpuperf[30609]=0; itemramperf[30609]=0; itempcislots[30609]=0; itemdelta[30609]=149; itemdelaydays[30609]=0; starkl[30609]=4574; itemvperf[22227]=0; itemcpuperf[22227]=0; itemramperf[22227]=0; itempcislots[22227]=0; itemdelta[22227]=89; itemdelaydays[22227]=0; starkl[22227]=3128; itemvperf[19631]=0; itemcpuperf[19631]=0; itemramperf[19631]=0; itempcislots[19631]=0; itemdelta[19631]=0; itemdelaydays[19631]=0; starkl[19631]=974; itemvperf[33157]=0; itemcpuperf[33157]=0; itemramperf[33157]=0; itempcislots[33157]=0; itemdelta[33157]=0; itemdelaydays[33157]=0; starkl[33157]=2858; itemvperf[32693]=0; itemcpuperf[32693]=0; itemramperf[32693]=0; itempcislots[32693]=0; itemdelta[32693]=39; itemdelaydays[32693]=0; starkl[32693]=532; itemvperf[28967]=0; itemcpuperf[28967]=0; itemramperf[28967]=0; itempcislots[28967]=0; itemdelta[28967]=10; itemdelaydays[28967]=0; starkl[28967]=1640; itemvperf[19642]=0; itemcpuperf[19642]=0; itemramperf[19642]=0; itempcislots[19642]=0; itemdelta[19642]=0; itemdelaydays[19642]=0; starkl[19642]=2062; itemvperf[33244]=0; itemcpuperf[33244]=0; itemramperf[33244]=0; itempcislots[33244]=0; itemdelta[33244]=0; itemdelaydays[33244]=0; starkl[33244]=8594; itemvperf[29507]=0; itemcpuperf[29507]=0; itemramperf[29507]=0; itempcislots[29507]=0; itemdelta[29507]=-10; itemdelaydays[29507]=0; starkl[29507]=2348; itemvperf[33245]=0; itemcpuperf[33245]=0; itemramperf[33245]=0; itempcislots[33245]=0; itemdelta[33245]=0; itemdelaydays[33245]=0; starkl[33245]=3881; itemvperf[29463]=0; itemcpuperf[29463]=0; itemramperf[29463]=0; itempcislots[29463]=0; itemdelta[29463]=-10; itemdelaydays[29463]=0; starkl[29463]=6090; itemvperf[19610]=0; itemcpuperf[19610]=0; itemramperf[19610]=0; itempcislots[19610]=0; itemdelta[19610]=14; itemdelaydays[19610]=0; starkl[19610]=2614; itemvperf[19611]=0; itemcpuperf[19611]=0; itemramperf[19611]=0; itempcislots[19611]=0; itemdelta[19611]=0; itemdelaydays[19611]=0; starkl[19611]=369; itemvperf[25246]=0; itemcpuperf[25246]=0; itemramperf[25246]=0; itempcislots[25246]=0; itemdelta[25246]=45; itemdelaydays[25246]=0; starkl[25246]=8388; itemvperf[25245]=0; itemcpuperf[25245]=0; itemramperf[25245]=0; itempcislots[25245]=0; itemdelta[25245]=0; itemdelaydays[25245]=0; starkl[25245]=9925; itemvperf[19638]=0; itemcpuperf[19638]=0; itemramperf[19638]=0; itempcislots[19638]=0; itemdelta[19638]=19; itemdelaydays[19638]=0; starkl[19638]=1474; itemvperf[19639]=0; itemcpuperf[19639]=0; itemramperf[19639]=0; itempcislots[19639]=0; itemdelta[19639]=0; itemdelaydays[19639]=0; starkl[19639]=9418; itemvperf[19651]=0; itemcpuperf[19651]=0; itemramperf[19651]=0; itempcislots[19651]=0; itemdelta[19651]=0; itemdelaydays[19651]=0; starkl[19651]=5848; itemvperf[19652]=0; itemcpuperf[19652]=0; itemramperf[19652]=0; itempcislots[19652]=0; itemdelta[19652]=10; itemdelaydays[19652]=0; starkl[19652]=744; itemvperf[19578]=0; itemcpuperf[19578]=0; itemramperf[19578]=0; itempcislots[19578]=0; itemdelta[19578]=0; itemdelaydays[19578]=0; starkl[19578]=4665; itemvperf[19640]=0; itemcpuperf[19640]=0; itemramperf[19640]=0; itempcislots[19640]=0; itemdelta[19640]=0; itemdelaydays[19640]=0; starkl[19640]=493; itemvperf[19587]=0; itemcpuperf[19587]=0; itemramperf[19587]=0; itempcislots[19587]=0; itemdelta[19587]=0; itemdelaydays[19587]=0; starkl[19587]=4742; itemvperf[19593]=0; itemcpuperf[19593]=0; itemramperf[19593]=0; itempcislots[19593]=0; itemdelta[19593]=149; itemdelaydays[19593]=0; starkl[19593]=917; itemvperf[19592]=0; itemcpuperf[19592]=0; itemramperf[19592]=0; itempcislots[19592]=0; itemdelta[19592]=0; itemdelaydays[19592]=0; starkl[19592]=4398; itemvperf[19656]=0; itemcpuperf[19656]=0; itemramperf[19656]=0; itempcislots[19656]=0; itemdelta[19656]=369; itemdelaydays[19656]=0; starkl[19656]=6307; itemvperf[19657]=0; itemcpuperf[19657]=0; itemramperf[19657]=0; itempcislots[19657]=0; itemdelta[19657]=299; itemdelaydays[19657]=0; starkl[19657]=1901; itemvperf[19658]=0; itemcpuperf[19658]=0; itemramperf[19658]=0; itempcislots[19658]=0; itemdelta[19658]=269; itemdelaydays[19658]=0; starkl[19658]=2548; itemvperf[19659]=0; itemcpuperf[19659]=0; itemramperf[19659]=0; itempcislots[19659]=0; itemdelta[19659]=199; itemdelaydays[19659]=0; starkl[19659]=5983; itemvperf[19660]=0; itemcpuperf[19660]=0; itemramperf[19660]=0; itempcislots[19660]=0; itemdelta[19660]=169; itemdelaydays[19660]=0; starkl[19660]=3622; itemvperf[19661]=0; itemcpuperf[19661]=0; itemramperf[19661]=0; itempcislots[19661]=0; itemdelta[19661]=99; itemdelaydays[19661]=0; starkl[19661]=7857; itemvperf[19662]=0; itemcpuperf[19662]=0; itemramperf[19662]=0; itempcislots[19662]=0; itemdelta[19662]=49; itemdelaydays[19662]=0; starkl[19662]=6287; itemvperf[19663]=0; itemcpuperf[19663]=0; itemramperf[19663]=0; itempcislots[19663]=0; itemdelta[19663]=0; itemdelaydays[19663]=0; starkl[19663]=530; itemvperf[20565]=0; itemcpuperf[20565]=0; itemramperf[20565]=0; itempcislots[20565]=0; itemdelta[20565]=0; itemdelaydays[20565]=0; starkl[20565]=7690; itemvperf[21025]=0; itemcpuperf[21025]=0; itemramperf[21025]=0; itempcislots[21025]=0; itemdelta[21025]=0; itemdelaydays[21025]=0; starkl[21025]=9644; itemvperf[33320]=0; itemcpuperf[33320]=0; itemramperf[33320]=0; itempcislots[33320]=0; itemdelta[33320]=-5; itemdelaydays[33320]=0; starkl[33320]=336; itemvperf[33321]=0; itemcpuperf[33321]=0; itemramperf[33321]=0; itempcislots[33321]=0; itemdelta[33321]=0; itemdelaydays[33321]=0; starkl[33321]=7453; caseImages[19581]=new Image(); caseImages[19581].src='/images/upload/mx2_silver.jpg'; caseImages[19582]=new Image(); caseImages[19582].src='/images/upload/mx2_black.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()