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[33199]=0; itemcpuperf[33199]=0; itemramperf[33199]=0; itempcislots[33199]=0; itemdelta[33199]=90; itemdelaydays[33199]=0; starkl[33199]=6023; itemvperf[33200]=0; itemcpuperf[33200]=0; itemramperf[33200]=0; itempcislots[33200]=0; itemdelta[33200]=70; itemdelaydays[33200]=0; starkl[33200]=8571; itemvperf[33201]=0; itemcpuperf[33201]=0; itemramperf[33201]=0; itempcislots[33201]=0; itemdelta[33201]=70; itemdelaydays[33201]=0; starkl[33201]=5275; itemvperf[33204]=0; itemcpuperf[33204]=0; itemramperf[33204]=0; itempcislots[33204]=0; itemdelta[33204]=30; itemdelaydays[33204]=0; starkl[33204]=3278; itemvperf[33202]=0; itemcpuperf[33202]=0; itemramperf[33202]=0; itempcislots[33202]=0; itemdelta[33202]=0; itemdelaydays[33202]=0; starkl[33202]=6843; itemvperf[33203]=0; itemcpuperf[33203]=0; itemramperf[33203]=0; itempcislots[33203]=0; itemdelta[33203]=0; itemdelaydays[33203]=0; starkl[33203]=6480; itemvperf[15475]=0; itemcpuperf[15475]=0; itemramperf[15475]=0; itempcislots[15475]=0; itemdelta[15475]=30; itemdelaydays[15475]=0; starkl[15475]=4221; itemvperf[15476]=0; itemcpuperf[15476]=0; itemramperf[15476]=0; itempcislots[15476]=0; itemdelta[15476]=0; itemdelaydays[15476]=0; starkl[15476]=2164; itemvperf[9465]=0; itemcpuperf[9465]=0; itemramperf[9465]=0; itempcislots[9465]=0; itemdelta[9465]=205; itemdelaydays[9465]=0; starkl[9465]=2844; itemvperf[9466]=0; itemcpuperf[9466]=0; itemramperf[9466]=0; itempcislots[9466]=0; itemdelta[9466]=100; itemdelaydays[9466]=0; starkl[9466]=7989; itemvperf[9468]=0; itemcpuperf[9468]=0; itemramperf[9468]=0; itempcislots[9468]=0; itemdelta[9468]=0; itemdelaydays[9468]=0; starkl[9468]=7201; itemvperf[33207]=0; itemcpuperf[33207]=0; itemramperf[33207]=0; itempcislots[33207]=0; itemdelta[33207]=0; itemdelaydays[33207]=0; starkl[33207]=7325; itemvperf[33648]=0; itemcpuperf[33648]=0; itemramperf[33648]=0; itempcislots[33648]=0; itemdelta[33648]=1840; itemdelaydays[33648]=0; starkl[33648]=2412; itemvperf[33647]=0; itemcpuperf[33647]=0; itemramperf[33647]=0; itempcislots[33647]=0; itemdelta[33647]=1540; itemdelaydays[33647]=0; starkl[33647]=286; itemvperf[33646]=0; itemcpuperf[33646]=0; itemramperf[33646]=0; itempcislots[33646]=0; itemdelta[33646]=1240; itemdelaydays[33646]=0; starkl[33646]=7894; itemvperf[33645]=0; itemcpuperf[33645]=201; itemramperf[33645]=0; itempcislots[33645]=0; itemdelta[33645]=1010; itemdelaydays[33645]=0; starkl[33645]=9637; itemvperf[33644]=0; itemcpuperf[33644]=0; itemramperf[33644]=0; itempcislots[33644]=0; itemdelta[33644]=970; itemdelaydays[33644]=0; starkl[33644]=8977; itemvperf[33640]=0; itemcpuperf[33640]=0; itemramperf[33640]=0; itempcislots[33640]=0; itemdelta[33640]=650; itemdelaydays[33640]=0; starkl[33640]=9541; itemvperf[33641]=0; itemcpuperf[33641]=0; itemramperf[33641]=0; itempcislots[33641]=0; itemdelta[33641]=330; itemdelaydays[33641]=0; starkl[33641]=8295; itemvperf[33642]=0; itemcpuperf[33642]=0; itemramperf[33642]=0; itempcislots[33642]=0; itemdelta[33642]=120; itemdelaydays[33642]=0; starkl[33642]=2611; itemvperf[33649]=0; itemcpuperf[33649]=250; itemramperf[33649]=0; itempcislots[33649]=0; itemdelta[33649]=380; itemdelaydays[33649]=0; starkl[33649]=5987; itemvperf[33206]=0; itemcpuperf[33206]=190; itemramperf[33206]=0; itempcislots[33206]=0; itemdelta[33206]=0; itemdelaydays[33206]=0; starkl[33206]=5701; itemvperf[33210]=0; itemcpuperf[33210]=0; itemramperf[33210]=0; itempcislots[33210]=0; itemdelta[33210]=35; itemdelaydays[33210]=0; starkl[33210]=1383; itemvperf[33209]=0; itemcpuperf[33209]=0; itemramperf[33209]=0; itempcislots[33209]=0; itemdelta[33209]=0; itemdelaydays[33209]=0; starkl[33209]=6498; itemvperf[29522]=0; itemcpuperf[29522]=0; itemramperf[29522]=0; itempcislots[29522]=0; itemdelta[29522]=420; itemdelaydays[29522]=0; starkl[29522]=9712; itemvperf[26979]=0; itemcpuperf[26979]=0; itemramperf[26979]=0; itempcislots[26979]=0; itemdelta[26979]=140; itemdelaydays[26979]=0; starkl[26979]=7864; itemvperf[24957]=0; itemcpuperf[24957]=0; itemramperf[24957]=0; itempcislots[24957]=0; itemdelta[24957]=0; itemdelaydays[24957]=0; starkl[24957]=7030; itemvperf[33639]=0; itemcpuperf[33639]=0; itemramperf[33639]=0; itempcislots[33639]=0; itemdelta[33639]=965; itemdelaydays[33639]=0; starkl[33639]=3115; itemvperf[33211]=0; itemcpuperf[33211]=0; itemramperf[33211]=0; itempcislots[33211]=0; itemdelta[33211]=900; itemdelaydays[33211]=0; starkl[33211]=5396; itemvperf[33212]=0; itemcpuperf[33212]=0; itemramperf[33212]=0; itempcislots[33212]=0; itemdelta[33212]=600; itemdelaydays[33212]=0; starkl[33212]=418; itemvperf[33213]=0; itemcpuperf[33213]=0; itemramperf[33213]=0; itempcislots[33213]=0; itemdelta[33213]=540; itemdelaydays[33213]=0; starkl[33213]=5732; itemvperf[33214]=0; itemcpuperf[33214]=0; itemramperf[33214]=0; itempcislots[33214]=0; itemdelta[33214]=510; itemdelaydays[33214]=0; starkl[33214]=8079; itemvperf[33217]=0; itemcpuperf[33217]=0; itemramperf[33217]=0; itempcislots[33217]=0; itemdelta[33217]=150; itemdelaydays[33217]=0; starkl[33217]=8020; itemvperf[33218]=0; itemcpuperf[33218]=0; itemramperf[33218]=0; itempcislots[33218]=0; itemdelta[33218]=85; itemdelaydays[33218]=0; starkl[33218]=7740; itemvperf[33638]=0; itemcpuperf[33638]=0; itemramperf[33638]=0; itempcislots[33638]=0; itemdelta[33638]=0; itemdelaydays[33638]=0; starkl[33638]=7121; itemvperf[12332]=0; itemcpuperf[12332]=0; itemramperf[12332]=0; itempcislots[12332]=0; itemdelta[12332]=0; itemdelaydays[12332]=0; starkl[12332]=5025; itemvperf[9495]=0; itemcpuperf[9495]=0; itemramperf[9495]=0; itempcislots[9495]=0; itemdelta[9495]=40; itemdelaydays[9495]=0; starkl[9495]=8805; itemvperf[20605]=0; itemcpuperf[20605]=0; itemramperf[20605]=0; itempcislots[20605]=0; itemdelta[20605]=499; itemdelaydays[20605]=0; starkl[20605]=2299; itemvperf[20606]=0; itemcpuperf[20606]=0; itemramperf[20606]=0; itempcislots[20606]=0; itemdelta[20606]=259; itemdelaydays[20606]=0; starkl[20606]=3956; itemvperf[9510]=0; itemcpuperf[9510]=0; itemramperf[9510]=0; itempcislots[9510]=0; itemdelta[9510]=0; itemdelaydays[9510]=0; starkl[9510]=4804; itemvperf[17640]=0; itemcpuperf[17640]=0; itemramperf[17640]=0; itempcislots[17640]=0; itemdelta[17640]=65; itemdelaydays[17640]=0; starkl[17640]=8566; itemvperf[9514]=0; itemcpuperf[9514]=0; itemramperf[9514]=0; itempcislots[9514]=0; itemdelta[9514]=0; itemdelaydays[9514]=0; starkl[9514]=5875; itemvperf[9516]=0; itemcpuperf[9516]=0; itemramperf[9516]=0; itempcislots[9516]=0; itemdelta[9516]=279; itemdelaydays[9516]=0; starkl[9516]=3998; itemvperf[9518]=0; itemcpuperf[9518]=0; itemramperf[9518]=0; itempcislots[9518]=0; itemdelta[9518]=79; itemdelaydays[9518]=0; starkl[9518]=8970; itemvperf[9520]=0; itemcpuperf[9520]=0; itemramperf[9520]=0; itempcislots[9520]=0; itemdelta[9520]=49; itemdelaydays[9520]=0; starkl[9520]=5599; itemvperf[9521]=0; itemcpuperf[9521]=0; itemramperf[9521]=0; itempcislots[9521]=0; itemdelta[9521]=19; itemdelaydays[9521]=0; starkl[9521]=6484; itemvperf[9522]=0; itemcpuperf[9522]=0; itemramperf[9522]=0; itempcislots[9522]=0; itemdelta[9522]=69; itemdelaydays[9522]=5; starkl[9522]=8861; itemvperf[9523]=0; itemcpuperf[9523]=0; itemramperf[9523]=0; itempcislots[9523]=0; itemdelta[9523]=0; itemdelaydays[9523]=0; starkl[9523]=8614; itemvperf[33230]=0; itemcpuperf[33230]=0; itemramperf[33230]=0; itempcislots[33230]=0; itemdelta[33230]=370; itemdelaydays[33230]=0; starkl[33230]=997; itemvperf[33229]=0; itemcpuperf[33229]=0; itemramperf[33229]=0; itempcislots[33229]=0; itemdelta[33229]=600; itemdelaydays[33229]=0; starkl[33229]=7217; itemvperf[33228]=0; itemcpuperf[33228]=0; itemramperf[33228]=0; itempcislots[33228]=0; itemdelta[33228]=260; itemdelaydays[33228]=0; starkl[33228]=7896; itemvperf[33227]=0; itemcpuperf[33227]=0; itemramperf[33227]=0; itempcislots[33227]=0; itemdelta[33227]=330; itemdelaydays[33227]=0; starkl[33227]=2374; itemvperf[33223]=0; itemcpuperf[33223]=0; itemramperf[33223]=0; itempcislots[33223]=0; itemdelta[33223]=190; itemdelaydays[33223]=0; starkl[33223]=2507; itemvperf[33224]=0; itemcpuperf[33224]=0; itemramperf[33224]=0; itempcislots[33224]=0; itemdelta[33224]=175; itemdelaydays[33224]=0; starkl[33224]=1923; itemvperf[33225]=0; itemcpuperf[33225]=0; itemramperf[33225]=0; itempcislots[33225]=0; itemdelta[33225]=100; itemdelaydays[33225]=0; starkl[33225]=1750; itemvperf[33226]=0; itemcpuperf[33226]=0; itemramperf[33226]=0; itempcislots[33226]=0; itemdelta[33226]=50; itemdelaydays[33226]=0; starkl[33226]=449; itemvperf[26981]=0; itemcpuperf[26981]=0; itemramperf[26981]=0; itempcislots[26981]=0; itemdelta[26981]=0; itemdelaydays[26981]=0; starkl[26981]=3631; itemvperf[33231]=0; itemcpuperf[33231]=0; itemramperf[33231]=0; itempcislots[33231]=0; itemdelta[33231]=450; itemdelaydays[33231]=0; starkl[33231]=4526; itemvperf[33232]=0; itemcpuperf[33232]=0; itemramperf[33232]=0; itempcislots[33232]=0; itemdelta[33232]=405; itemdelaydays[33232]=0; starkl[33232]=3872; itemvperf[33233]=0; itemcpuperf[33233]=0; itemramperf[33233]=0; itempcislots[33233]=0; itemdelta[33233]=255; itemdelaydays[33233]=0; starkl[33233]=3931; itemvperf[29518]=0; itemcpuperf[29518]=0; itemramperf[29518]=0; itempcislots[29518]=0; itemdelta[29518]=0; itemdelaydays[29518]=0; starkl[29518]=2515; itemvperf[21854]=0; itemcpuperf[21854]=0; itemramperf[21854]=0; itempcislots[21854]=0; itemdelta[21854]=145; itemdelaydays[21854]=0; starkl[21854]=333; itemvperf[18125]=0; itemcpuperf[18125]=0; itemramperf[18125]=0; itempcislots[18125]=0; itemdelta[18125]=110; itemdelaydays[18125]=0; starkl[18125]=7165; itemvperf[9558]=0; itemcpuperf[9558]=0; itemramperf[9558]=0; itempcislots[9558]=0; itemdelta[9558]=0; itemdelaydays[9558]=0; starkl[9558]=2973; itemvperf[33235]=0; itemcpuperf[33235]=0; itemramperf[33235]=0; itempcislots[33235]=0; itemdelta[33235]=145; itemdelaydays[33235]=0; starkl[33235]=7538; itemvperf[33234]=0; itemcpuperf[33234]=0; itemramperf[33234]=0; itempcislots[33234]=0; itemdelta[33234]=110; itemdelaydays[33234]=0; starkl[33234]=6319; itemvperf[9563]=0; itemcpuperf[9563]=0; itemramperf[9563]=0; itempcislots[9563]=0; itemdelta[9563]=0; itemdelaydays[9563]=0; starkl[9563]=5866; itemvperf[26983]=0; itemcpuperf[26983]=0; itemramperf[26983]=0; itempcislots[26983]=0; itemdelta[26983]=20; itemdelaydays[26983]=0; starkl[26983]=4756; itemvperf[17641]=0; itemcpuperf[17641]=0; itemramperf[17641]=0; itempcislots[17641]=0; itemdelta[17641]=0; itemdelaydays[17641]=0; starkl[17641]=2897; itemvperf[9573]=0; itemcpuperf[9573]=0; itemramperf[9573]=0; itempcislots[9573]=0; itemdelta[9573]=0; itemdelaydays[9573]=0; starkl[9573]=4919; itemvperf[9574]=0; itemcpuperf[9574]=0; itemramperf[9574]=0; itempcislots[9574]=0; itemdelta[9574]=0; itemdelaydays[9574]=0; starkl[9574]=1986; itemvperf[18079]=0; itemcpuperf[18079]=0; itemramperf[18079]=0; itempcislots[18079]=0; itemdelta[18079]=35; itemdelaydays[18079]=0; starkl[18079]=1304; itemvperf[9576]=0; itemcpuperf[9576]=0; itemramperf[9576]=0; itempcislots[9576]=0; itemdelta[9576]=0; itemdelaydays[9576]=0; starkl[9576]=9786; itemvperf[9577]=0; itemcpuperf[9577]=0; itemramperf[9577]=0; itempcislots[9577]=0; itemdelta[9577]=75; itemdelaydays[9577]=0; starkl[9577]=8308; itemvperf[9580]=0; itemcpuperf[9580]=0; itemramperf[9580]=0; itempcislots[9580]=0; itemdelta[9580]=0; itemdelaydays[9580]=0; starkl[9580]=7646; itemvperf[9581]=0; itemcpuperf[9581]=0; itemramperf[9581]=0; itempcislots[9581]=0; itemdelta[9581]=0; itemdelaydays[9581]=0; starkl[9581]=8965; itemvperf[28505]=0; itemcpuperf[28505]=0; itemramperf[28505]=0; itempcislots[28505]=0; itemdelta[28505]=70; itemdelaydays[28505]=0; starkl[28505]=8250; itemvperf[28506]=0; itemcpuperf[28506]=0; itemramperf[28506]=0; itempcislots[28506]=0; itemdelta[28506]=0; itemdelaydays[28506]=0; starkl[28506]=5228; itemvperf[33236]=0; itemcpuperf[33236]=0; itemramperf[33236]=0; itempcislots[33236]=0; itemdelta[33236]=-100; itemdelaydays[33236]=0; starkl[33236]=6792; itemvperf[33220]=0; itemcpuperf[33220]=0; itemramperf[33220]=0; itempcislots[33220]=0; itemdelta[33220]=349; itemdelaydays[33220]=0; starkl[33220]=8464; itemvperf[33221]=0; itemcpuperf[33221]=0; itemramperf[33221]=0; itempcislots[33221]=0; itemdelta[33221]=279; itemdelaydays[33221]=0; starkl[33221]=8350; itemvperf[33222]=0; itemcpuperf[33222]=0; itemramperf[33222]=0; itempcislots[33222]=0; itemdelta[33222]=199; itemdelaydays[33222]=0; starkl[33222]=7635; itemvperf[9589]=0; itemcpuperf[9589]=0; itemramperf[9589]=0; itempcislots[9589]=0; itemdelta[9589]=0; itemdelaydays[9589]=0; starkl[9589]=8735; itemvperf[32698]=0; itemcpuperf[32698]=0; itemramperf[32698]=0; itempcislots[32698]=0; itemdelta[32698]=39; itemdelaydays[32698]=0; starkl[32698]=1795; itemvperf[28972]=0; itemcpuperf[28972]=0; itemramperf[28972]=0; itempcislots[28972]=0; itemdelta[28972]=10; itemdelaydays[28972]=0; starkl[28972]=1124; itemvperf[28973]=0; itemcpuperf[28973]=0; itemramperf[28973]=0; itempcislots[28973]=0; itemdelta[28973]=0; itemdelaydays[28973]=0; starkl[28973]=9838; itemvperf[19700]=0; itemcpuperf[19700]=0; itemramperf[19700]=0; itempcislots[19700]=0; itemdelta[19700]=65; itemdelaydays[19700]=0; starkl[19700]=4278; itemvperf[32233]=0; itemcpuperf[32233]=0; itemramperf[32233]=0; itempcislots[32233]=0; itemdelta[32233]=0; itemdelaydays[32233]=0; starkl[32233]=7769; itemvperf[9598]=0; itemcpuperf[9598]=0; itemramperf[9598]=0; itempcislots[9598]=0; itemdelta[9598]=-15; itemdelaydays[9598]=0; starkl[9598]=5569; itemvperf[19701]=0; itemcpuperf[19701]=0; itemramperf[19701]=0; itempcislots[19701]=0; itemdelta[19701]=35; itemdelaydays[19701]=0; starkl[19701]=6816; itemvperf[32234]=0; itemcpuperf[32234]=0; itemramperf[32234]=0; itempcislots[32234]=0; itemdelta[32234]=0; itemdelaydays[32234]=0; starkl[32234]=6086; itemvperf[9602]=0; itemcpuperf[9602]=0; itemramperf[9602]=0; itempcislots[9602]=0; itemdelta[9602]=-15; itemdelaydays[9602]=0; starkl[9602]=6421; itemvperf[9603]=0; itemcpuperf[9603]=0; itemramperf[9603]=0; itempcislots[9603]=0; itemdelta[9603]=0; itemdelaydays[9603]=0; starkl[9603]=576; itemvperf[9604]=0; itemcpuperf[9604]=0; itemramperf[9604]=0; itempcislots[9604]=0; itemdelta[9604]=15; itemdelaydays[9604]=0; starkl[9604]=1739; itemvperf[9607]=0; itemcpuperf[9607]=0; itemramperf[9607]=0; itempcislots[9607]=0; itemdelta[9607]=0; itemdelaydays[9607]=0; starkl[9607]=9643; itemvperf[9608]=0; itemcpuperf[9608]=0; itemramperf[9608]=0; itempcislots[9608]=0; itemdelta[9608]=0; itemdelaydays[9608]=0; starkl[9608]=2476; itemvperf[9609]=0; itemcpuperf[9609]=0; itemramperf[9609]=0; itempcislots[9609]=0; itemdelta[9609]=0; itemdelaydays[9609]=0; starkl[9609]=7516; itemvperf[9611]=0; itemcpuperf[9611]=0; itemramperf[9611]=0; itempcislots[9611]=0; itemdelta[9611]=175; itemdelaydays[9611]=0; starkl[9611]=4003; itemvperf[9610]=0; itemcpuperf[9610]=0; itemramperf[9610]=0; itempcislots[9610]=0; itemdelta[9610]=0; itemdelaydays[9610]=0; starkl[9610]=6860; itemvperf[9612]=0; itemcpuperf[9612]=0; itemramperf[9612]=0; itempcislots[9612]=0; itemdelta[9612]=269; itemdelaydays[9612]=0; starkl[9612]=3132; itemvperf[9613]=0; itemcpuperf[9613]=0; itemramperf[9613]=0; itempcislots[9613]=0; itemdelta[9613]=199; itemdelaydays[9613]=0; starkl[9613]=8714; itemvperf[9614]=0; itemcpuperf[9614]=0; itemramperf[9614]=0; itempcislots[9614]=0; itemdelta[9614]=169; itemdelaydays[9614]=0; starkl[9614]=3269; itemvperf[9615]=0; itemcpuperf[9615]=0; itemramperf[9615]=0; itempcislots[9615]=0; itemdelta[9615]=99; itemdelaydays[9615]=0; starkl[9615]=1762; itemvperf[9616]=0; itemcpuperf[9616]=0; itemramperf[9616]=0; itempcislots[9616]=0; itemdelta[9616]=69; itemdelaydays[9616]=0; starkl[9616]=598; itemvperf[9617]=0; itemcpuperf[9617]=0; itemramperf[9617]=0; itempcislots[9617]=0; itemdelta[9617]=0; itemdelaydays[9617]=0; starkl[9617]=6390; itemvperf[9618]=0; itemcpuperf[9618]=0; itemramperf[9618]=0; itempcislots[9618]=0; itemdelta[9618]=0; itemdelaydays[9618]=0; starkl[9618]=212; caseImages[33199]=new Image(); caseImages[33199].src='/images/upload/lx_silver_w.jpg'; caseImages[33200]=new Image(); caseImages[33200].src='/images/upload/lx_black.jpg'; caseImages[33201]=new Image(); caseImages[33201].src='/images/upload/lx_silver.jpg'; caseImages[33204]=new Image(); caseImages[33204].src='/images/upload/gx2_blue_w.jpg'; caseImages[33202]=new Image(); caseImages[33202].src='/images/upload/gx2_silver_w.jpg'; caseImages[33203]=new Image(); caseImages[33203].src='/images/upload/GX-silver.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()