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[14819]=0; itemcpuperf[14819]=0; itemramperf[14819]=0; itempcislots[14819]=0; itemdelta[14819]=0; itemdelaydays[14819]=0; starkl[14819]=9490; itemvperf[33319]=0; itemcpuperf[33319]=0; itemramperf[33319]=0; itempcislots[33319]=0; itemdelta[33319]=0; itemdelaydays[33319]=0; starkl[33319]=9922; itemvperf[33323]=0; itemcpuperf[33323]=0; itemramperf[33323]=0; itempcislots[33323]=0; itemdelta[33323]=0; itemdelaydays[33323]=0; starkl[33323]=2971; itemvperf[32181]=0; itemcpuperf[32181]=185; itemramperf[32181]=0; itempcislots[32181]=0; itemdelta[32181]=250; itemdelaydays[32181]=0; starkl[32181]=1306; itemvperf[33321]=0; itemcpuperf[33321]=0; itemramperf[33321]=0; itempcislots[33321]=0; itemdelta[33321]=230; itemdelaydays[33321]=0; starkl[33321]=4858; itemvperf[33322]=0; itemcpuperf[33322]=0; itemramperf[33322]=0; itempcislots[33322]=0; itemdelta[33322]=170; itemdelaydays[33322]=0; starkl[33322]=1376; itemvperf[32182]=0; itemcpuperf[32182]=0; itemramperf[32182]=0; itempcislots[32182]=0; itemdelta[32182]=115; itemdelaydays[32182]=0; starkl[32182]=9480; itemvperf[33320]=0; itemcpuperf[33320]=0; itemramperf[33320]=0; itempcislots[33320]=0; itemdelta[33320]=85; itemdelaydays[33320]=0; starkl[33320]=469; itemvperf[32183]=0; itemcpuperf[32183]=0; itemramperf[32183]=0; itempcislots[32183]=0; itemdelta[32183]=0; itemdelaydays[32183]=0; starkl[32183]=5012; itemvperf[6326]=0; itemcpuperf[6326]=0; itemramperf[6326]=0; itempcislots[6326]=0; itemdelta[6326]=35; itemdelaydays[6326]=0; starkl[6326]=2120; itemvperf[6327]=0; itemcpuperf[6327]=0; itemramperf[6327]=0; itempcislots[6327]=0; itemdelta[6327]=0; itemdelaydays[6327]=0; starkl[6327]=2315; itemvperf[32173]=0; itemcpuperf[32173]=0; itemramperf[32173]=0; itempcislots[32173]=0; itemdelta[32173]=60; itemdelaydays[32173]=0; starkl[32173]=4266; itemvperf[32174]=0; itemcpuperf[32174]=0; itemramperf[32174]=0; itempcislots[32174]=0; itemdelta[32174]=0; itemdelaydays[32174]=0; starkl[32174]=2112; itemvperf[32186]=163; itemcpuperf[32186]=0; itemramperf[32186]=0; itempcislots[32186]=0; itemdelta[32186]=203; itemdelaydays[32186]=0; starkl[32186]=9445; itemvperf[32185]=0; itemcpuperf[32185]=0; itemramperf[32185]=0; itempcislots[32185]=0; itemdelta[32185]=80; itemdelaydays[32185]=0; starkl[32185]=517; itemvperf[32177]=0; itemcpuperf[32177]=0; itemramperf[32177]=0; itempcislots[32177]=0; itemdelta[32177]=0; itemdelaydays[32177]=0; starkl[32177]=415; itemvperf[32184]=0; itemcpuperf[32184]=0; itemramperf[32184]=0; itempcislots[32184]=0; itemdelta[32184]=130; itemdelaydays[32184]=0; starkl[32184]=1968; itemvperf[23024]=0; itemcpuperf[23024]=0; itemramperf[23024]=0; itempcislots[23024]=0; itemdelta[23024]=0; itemdelaydays[23024]=0; starkl[23024]=5322; itemvperf[29915]=0; itemcpuperf[29915]=0; itemramperf[29915]=0; itempcislots[29915]=0; itemdelta[29915]=439; itemdelaydays[29915]=0; starkl[29915]=2379; itemvperf[33327]=0; itemcpuperf[33327]=0; itemramperf[33327]=0; itempcislots[33327]=0; itemdelta[33327]=529; itemdelaydays[33327]=14; starkl[33327]=7119; itemvperf[29914]=0; itemcpuperf[29914]=0; itemramperf[29914]=0; itempcislots[29914]=0; itemdelta[29914]=259; itemdelaydays[29914]=0; starkl[29914]=1719; itemvperf[29912]=0; itemcpuperf[29912]=0; itemramperf[29912]=0; itempcislots[29912]=0; itemdelta[29912]=219; itemdelaydays[29912]=0; starkl[29912]=4533; itemvperf[29913]=0; itemcpuperf[29913]=0; itemramperf[29913]=0; itempcislots[29913]=0; itemdelta[29913]=179; itemdelaydays[29913]=0; starkl[29913]=8752; itemvperf[6336]=0; itemcpuperf[6336]=0; itemramperf[6336]=0; itempcislots[6336]=0; itemdelta[6336]=0; itemdelaydays[6336]=0; starkl[6336]=7262; itemvperf[6337]=0; itemcpuperf[6337]=0; itemramperf[6337]=0; itempcislots[6337]=0; itemdelta[6337]=75; itemdelaydays[6337]=0; starkl[6337]=9749; itemvperf[24846]=0; itemcpuperf[24846]=0; itemramperf[24846]=0; itempcislots[24846]=0; itemdelta[24846]=0; itemdelaydays[24846]=0; starkl[24846]=6956; itemvperf[6342]=0; itemcpuperf[6342]=0; itemramperf[6342]=0; itempcislots[6342]=0; itemdelta[6342]=39; itemdelaydays[6342]=0; starkl[6342]=9830; itemvperf[6343]=0; itemcpuperf[6343]=0; itemramperf[6343]=0; itempcislots[6343]=0; itemdelta[6343]=19; itemdelaydays[6343]=0; starkl[6343]=7511; itemvperf[6344]=0; itemcpuperf[6344]=0; itemramperf[6344]=0; itempcislots[6344]=0; itemdelta[6344]=0; itemdelaydays[6344]=0; starkl[6344]=4956; itemvperf[17284]=0; itemcpuperf[17284]=0; itemramperf[17284]=0; itempcislots[17284]=0; itemdelta[17284]=40; itemdelaydays[17284]=0; starkl[17284]=6887; itemvperf[14846]=0; itemcpuperf[14846]=0; itemramperf[14846]=0; itempcislots[14846]=0; itemdelta[14846]=0; itemdelaydays[14846]=0; starkl[14846]=1451; itemvperf[17282]=0; itemcpuperf[17282]=0; itemramperf[17282]=0; itempcislots[17282]=0; itemdelta[17282]=80; itemdelaydays[17282]=0; starkl[17282]=2558; itemvperf[22181]=0; itemcpuperf[22181]=0; itemramperf[22181]=0; itempcislots[22181]=0; itemdelta[22181]=65; itemdelaydays[22181]=0; starkl[22181]=2407; itemvperf[17283]=0; itemcpuperf[17283]=0; itemramperf[17283]=0; itempcislots[17283]=0; itemdelta[17283]=0; itemdelaydays[17283]=0; starkl[17283]=5465; itemvperf[32517]=0; itemcpuperf[32517]=0; itemramperf[32517]=0; itempcislots[32517]=0; itemdelta[32517]=150; itemdelaydays[32517]=0; starkl[32517]=8673; itemvperf[32515]=0; itemcpuperf[32515]=0; itemramperf[32515]=0; itempcislots[32515]=0; itemdelta[32515]=0; itemdelaydays[32515]=0; starkl[32515]=8771; itemvperf[6350]=0; itemcpuperf[6350]=0; itemramperf[6350]=0; itempcislots[6350]=0; itemdelta[6350]=35; itemdelaydays[6350]=0; starkl[6350]=246; itemvperf[32516]=0; itemcpuperf[32516]=0; itemramperf[32516]=0; itempcislots[32516]=0; itemdelta[32516]=140; itemdelaydays[32516]=0; starkl[32516]=6351; itemvperf[6353]=0; itemcpuperf[6353]=0; itemramperf[6353]=0; itempcislots[6353]=0; itemdelta[6353]=0; itemdelaydays[6353]=0; starkl[6353]=6456; itemvperf[32187]=0; itemcpuperf[32187]=0; itemramperf[32187]=0; itempcislots[32187]=0; itemdelta[32187]=0; itemdelaydays[32187]=0; starkl[32187]=923; itemvperf[6359]=0; itemcpuperf[6359]=0; itemramperf[6359]=0; itempcislots[6359]=0; itemdelta[6359]=0; itemdelaydays[6359]=0; starkl[6359]=2362; itemvperf[6360]=0; itemcpuperf[6360]=0; itemramperf[6360]=0; itempcislots[6360]=0; itemdelta[6360]=0; itemdelaydays[6360]=0; starkl[6360]=7307; itemvperf[15630]=0; itemcpuperf[15630]=0; itemramperf[15630]=0; itempcislots[15630]=0; itemdelta[15630]=39; itemdelaydays[15630]=0; starkl[15630]=3695; itemvperf[6362]=0; itemcpuperf[6362]=0; itemramperf[6362]=0; itempcislots[6362]=0; itemdelta[6362]=0; itemdelaydays[6362]=0; starkl[6362]=7244; itemvperf[6363]=0; itemcpuperf[6363]=0; itemramperf[6363]=0; itempcislots[6363]=0; itemdelta[6363]=75; itemdelaydays[6363]=0; starkl[6363]=8181; itemvperf[32175]=0; itemcpuperf[32175]=0; itemramperf[32175]=0; itempcislots[32175]=0; itemdelta[32175]=35; itemdelaydays[32175]=0; starkl[32175]=4068; itemvperf[32176]=0; itemcpuperf[32176]=0; itemramperf[32176]=0; itempcislots[32176]=0; itemdelta[32176]=0; itemdelaydays[32176]=0; starkl[32176]=8298; itemvperf[28834]=0; itemcpuperf[28834]=0; itemramperf[28834]=0; itempcislots[28834]=0; itemdelta[28834]=0; itemdelaydays[28834]=0; starkl[28834]=7076; itemvperf[25280]=0; itemcpuperf[25280]=0; itemramperf[25280]=0; itempcislots[25280]=0; itemdelta[25280]=25; itemdelaydays[25280]=0; starkl[25280]=9078; itemvperf[25279]=0; itemcpuperf[25279]=0; itemramperf[25279]=0; itempcislots[25279]=0; itemdelta[25279]=0; itemdelaydays[25279]=0; starkl[25279]=2361; itemvperf[33326]=0; itemcpuperf[33326]=0; itemramperf[33326]=0; itempcislots[33326]=0; itemdelta[33326]=70; itemdelaydays[33326]=0; starkl[33326]=4927; itemvperf[33325]=0; itemcpuperf[33325]=0; itemramperf[33325]=0; itempcislots[33325]=0; itemdelta[33325]=0; itemdelaydays[33325]=0; starkl[33325]=2240; itemvperf[28485]=0; itemcpuperf[28485]=0; itemramperf[28485]=0; itempcislots[28485]=0; itemdelta[28485]=100; itemdelaydays[28485]=0; starkl[28485]=7792; itemvperf[28486]=0; itemcpuperf[28486]=0; itemramperf[28486]=0; itempcislots[28486]=0; itemdelta[28486]=50; itemdelaydays[28486]=0; starkl[28486]=1118; itemvperf[28487]=0; itemcpuperf[28487]=0; itemramperf[28487]=0; itempcislots[28487]=0; itemdelta[28487]=0; itemdelaydays[28487]=0; starkl[28487]=8620; itemvperf[31301]=0; itemcpuperf[31301]=0; itemramperf[31301]=0; itempcislots[31301]=0; itemdelta[31301]=349; itemdelaydays[31301]=0; starkl[31301]=1563; itemvperf[31302]=0; itemcpuperf[31302]=0; itemramperf[31302]=0; itempcislots[31302]=0; itemdelta[31302]=199; itemdelaydays[31302]=0; starkl[31302]=7451; itemvperf[31303]=0; itemcpuperf[31303]=0; itemramperf[31303]=0; itempcislots[31303]=0; itemdelta[31303]=149; itemdelaydays[31303]=0; starkl[31303]=4371; itemvperf[6375]=0; itemcpuperf[6375]=0; itemramperf[6375]=0; itempcislots[6375]=0; itemdelta[6375]=0; itemdelaydays[6375]=0; starkl[6375]=5546; itemvperf[17957]=0; itemcpuperf[17957]=0; itemramperf[17957]=0; itempcislots[17957]=0; itemdelta[17957]=19; itemdelaydays[17957]=0; starkl[17957]=4735; itemvperf[17958]=0; itemcpuperf[17958]=0; itemramperf[17958]=0; itempcislots[17958]=0; itemdelta[17958]=15; itemdelaydays[17958]=0; starkl[17958]=1217; itemvperf[32703]=0; itemcpuperf[32703]=0; itemramperf[32703]=0; itempcislots[32703]=0; itemdelta[32703]=39; itemdelaydays[32703]=0; starkl[32703]=7666; itemvperf[28985]=0; itemcpuperf[28985]=0; itemramperf[28985]=0; itempcislots[28985]=0; itemdelta[28985]=10; itemdelaydays[28985]=0; starkl[28985]=1321; itemvperf[28982]=0; itemcpuperf[28982]=0; itemramperf[28982]=0; itempcislots[28982]=0; itemdelta[28982]=0; itemdelaydays[28982]=0; starkl[28982]=6787; itemvperf[33328]=0; itemcpuperf[33328]=0; itemramperf[33328]=0; itempcislots[33328]=0; itemdelta[33328]=5; itemdelaydays[33328]=0; starkl[33328]=7251; itemvperf[33329]=0; itemcpuperf[33329]=0; itemramperf[33329]=0; itempcislots[33329]=0; itemdelta[33329]=0; itemdelaydays[33329]=0; starkl[33329]=1012; itemvperf[33330]=0; itemcpuperf[33330]=0; itemramperf[33330]=0; itempcislots[33330]=0; itemdelta[33330]=0; itemdelaydays[33330]=0; starkl[33330]=1657; itemvperf[19720]=0; itemcpuperf[19720]=0; itemramperf[19720]=0; itempcislots[19720]=0; itemdelta[19720]=65; itemdelaydays[19720]=0; starkl[19720]=848; itemvperf[33246]=0; itemcpuperf[33246]=0; itemramperf[33246]=0; itempcislots[33246]=0; itemdelta[33246]=0; itemdelaydays[33246]=0; starkl[33246]=3488; itemvperf[6385]=0; itemcpuperf[6385]=0; itemramperf[6385]=0; itempcislots[6385]=0; itemdelta[6385]=-10; itemdelaydays[6385]=0; starkl[6385]=7448; itemvperf[19721]=0; itemcpuperf[19721]=0; itemramperf[19721]=0; itempcislots[19721]=0; itemdelta[19721]=75; itemdelaydays[19721]=0; starkl[19721]=7847; itemvperf[33247]=0; itemcpuperf[33247]=0; itemramperf[33247]=0; itempcislots[33247]=0; itemdelta[33247]=0; itemdelaydays[33247]=0; starkl[33247]=7018; itemvperf[6389]=0; itemcpuperf[6389]=0; itemramperf[6389]=0; itempcislots[6389]=0; itemdelta[6389]=-10; itemdelaydays[6389]=0; starkl[6389]=4070; itemvperf[6390]=0; itemcpuperf[6390]=0; itemramperf[6390]=0; itempcislots[6390]=0; itemdelta[6390]=14; itemdelaydays[6390]=0; starkl[6390]=2847; itemvperf[6391]=0; itemcpuperf[6391]=0; itemramperf[6391]=0; itempcislots[6391]=0; itemdelta[6391]=0; itemdelaydays[6391]=0; starkl[6391]=4555; itemvperf[6397]=0; itemcpuperf[6397]=0; itemramperf[6397]=0; itempcislots[6397]=0; itemdelta[6397]=0; itemdelaydays[6397]=0; starkl[6397]=1783; itemvperf[6396]=0; itemcpuperf[6396]=0; itemramperf[6396]=0; itempcislots[6396]=0; itemdelta[6396]=19; itemdelaydays[6396]=0; starkl[6396]=8341; itemvperf[25278]=0; itemcpuperf[25278]=0; itemramperf[25278]=0; itempcislots[25278]=0; itemdelta[25278]=45; itemdelaydays[25278]=0; starkl[25278]=2913; itemvperf[25277]=0; itemcpuperf[25277]=0; itemramperf[25277]=0; itempcislots[25277]=0; itemdelta[25277]=0; itemdelaydays[25277]=0; starkl[25277]=6971; itemvperf[6399]=0; itemcpuperf[6399]=0; itemramperf[6399]=0; itempcislots[6399]=0; itemdelta[6399]=19; itemdelaydays[6399]=0; starkl[6399]=6569; itemvperf[6398]=0; itemcpuperf[6398]=0; itemramperf[6398]=0; itempcislots[6398]=0; itemdelta[6398]=0; itemdelaydays[6398]=0; starkl[6398]=6621; itemvperf[14840]=0; itemcpuperf[14840]=0; itemramperf[14840]=0; itempcislots[14840]=0; itemdelta[14840]=135; itemdelaydays[14840]=0; starkl[14840]=2240; itemvperf[14841]=0; itemcpuperf[14841]=0; itemramperf[14841]=0; itempcislots[14841]=0; itemdelta[14841]=0; itemdelaydays[14841]=0; starkl[14841]=3470; itemvperf[23026]=0; itemcpuperf[23026]=0; itemramperf[23026]=0; itempcislots[23026]=0; itemdelta[23026]=0; itemdelaydays[23026]=0; starkl[23026]=7024; itemvperf[6400]=0; itemcpuperf[6400]=0; itemramperf[6400]=0; itempcislots[6400]=0; itemdelta[6400]=0; itemdelaydays[6400]=0; starkl[6400]=7131; itemvperf[23027]=0; itemcpuperf[23027]=0; itemramperf[23027]=0; itempcislots[23027]=0; itemdelta[23027]=0; itemdelaydays[23027]=0; starkl[23027]=7772; itemvperf[23028]=0; itemcpuperf[23028]=0; itemramperf[23028]=0; itempcislots[23028]=0; itemdelta[23028]=0; itemdelaydays[23028]=0; starkl[23028]=8154; itemvperf[23029]=0; itemcpuperf[23029]=0; itemramperf[23029]=0; itempcislots[23029]=0; itemdelta[23029]=0; itemdelaydays[23029]=0; starkl[23029]=5692; itemvperf[23031]=0; itemcpuperf[23031]=0; itemramperf[23031]=0; itempcislots[23031]=0; itemdelta[23031]=149; itemdelaydays[23031]=0; starkl[23031]=4733; itemvperf[23030]=0; itemcpuperf[23030]=0; itemramperf[23030]=0; itempcislots[23030]=0; itemdelta[23030]=0; itemdelaydays[23030]=0; starkl[23030]=9877; itemvperf[6407]=0; itemcpuperf[6407]=0; itemramperf[6407]=0; itempcislots[6407]=0; itemdelta[6407]=399; itemdelaydays[6407]=0; starkl[6407]=5163; itemvperf[6408]=0; itemcpuperf[6408]=0; itemramperf[6408]=0; itempcislots[6408]=0; itemdelta[6408]=329; itemdelaydays[6408]=0; starkl[6408]=9987; itemvperf[6409]=0; itemcpuperf[6409]=0; itemramperf[6409]=0; itempcislots[6409]=0; itemdelta[6409]=299; itemdelaydays[6409]=0; starkl[6409]=7142; itemvperf[6410]=0; itemcpuperf[6410]=0; itemramperf[6410]=0; itempcislots[6410]=0; itemdelta[6410]=229; itemdelaydays[6410]=0; starkl[6410]=8165; itemvperf[6411]=0; itemcpuperf[6411]=0; itemramperf[6411]=0; itempcislots[6411]=0; itemdelta[6411]=199; itemdelaydays[6411]=0; starkl[6411]=7095; itemvperf[6412]=0; itemcpuperf[6412]=0; itemramperf[6412]=0; itempcislots[6412]=0; itemdelta[6412]=129; itemdelaydays[6412]=0; starkl[6412]=4690; itemvperf[6413]=0; itemcpuperf[6413]=0; itemramperf[6413]=0; itempcislots[6413]=0; itemdelta[6413]=99; itemdelaydays[6413]=0; starkl[6413]=2477; itemvperf[6414]=0; itemcpuperf[6414]=0; itemramperf[6414]=0; itempcislots[6414]=0; itemdelta[6414]=29; itemdelaydays[6414]=0; starkl[6414]=7909; itemvperf[24847]=0; itemcpuperf[24847]=0; itemramperf[24847]=0; itempcislots[24847]=0; itemdelta[24847]=0; itemdelaydays[24847]=0; starkl[24847]=7756; itemvperf[23032]=0; itemcpuperf[23032]=0; itemramperf[23032]=0; itempcislots[23032]=0; itemdelta[23032]=0; itemdelaydays[23032]=0; starkl[23032]=3819; caseImages[14819]=new Image(); caseImages[14819].src='/images/upload/sx_front.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()