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[32658]=0; itemcpuperf[32658]=0; itemramperf[32658]=0; itempcislots[32658]=0; itemdelta[32658]=0; itemdelaydays[32658]=0; starkl[32658]=9807; itemvperf[33780]=0; itemcpuperf[33780]=0; itemramperf[33780]=0; itempcislots[33780]=0; itemdelta[33780]=60; itemdelaydays[33780]=0; starkl[33780]=842; itemvperf[33781]=0; itemcpuperf[33781]=0; itemramperf[33781]=0; itempcislots[33781]=0; itemdelta[33781]=70; itemdelaydays[33781]=0; starkl[33781]=1796; itemvperf[32603]=0; itemcpuperf[32603]=0; itemramperf[32603]=0; itempcislots[32603]=0; itemdelta[32603]=25; itemdelaydays[32603]=0; starkl[32603]=6014; itemvperf[33316]=0; itemcpuperf[33316]=0; itemramperf[33316]=0; itempcislots[33316]=0; itemdelta[33316]=15; itemdelaydays[33316]=0; starkl[33316]=3067; itemvperf[33779]=0; itemcpuperf[33779]=0; itemramperf[33779]=0; itempcislots[33779]=0; itemdelta[33779]=0; itemdelaydays[33779]=0; starkl[33779]=2648; itemvperf[33457]=0; itemcpuperf[33457]=0; itemramperf[33457]=0; itempcislots[33457]=0; itemdelta[33457]=0; itemdelaydays[33457]=0; starkl[33457]=6391; itemvperf[33706]=0; itemcpuperf[33706]=0; itemramperf[33706]=0; itempcislots[33706]=0; itemdelta[33706]=245; itemdelaydays[33706]=0; starkl[33706]=9670; itemvperf[33705]=0; itemcpuperf[33705]=0; itemramperf[33705]=0; itempcislots[33705]=0; itemdelta[33705]=140; itemdelaydays[33705]=0; starkl[33705]=3104; itemvperf[33142]=0; itemcpuperf[33142]=0; itemramperf[33142]=0; itempcislots[33142]=0; itemdelta[33142]=115; itemdelaydays[33142]=0; starkl[33142]=4913; itemvperf[33761]=0; itemcpuperf[33761]=0; itemramperf[33761]=0; itempcislots[33761]=0; itemdelta[33761]=90; itemdelaydays[33761]=0; starkl[33761]=3901; itemvperf[33751]=0; itemcpuperf[33751]=0; itemramperf[33751]=0; itempcislots[33751]=0; itemdelta[33751]=0; itemdelaydays[33751]=0; starkl[33751]=9153; itemvperf[32538]=0; itemcpuperf[32538]=0; itemramperf[32538]=0; itempcislots[32538]=0; itemdelta[32538]=45; itemdelaydays[32538]=0; starkl[32538]=4064; itemvperf[32539]=0; itemcpuperf[32539]=0; itemramperf[32539]=0; itempcislots[32539]=0; itemdelta[32539]=0; itemdelaydays[32539]=0; starkl[32539]=8873; itemvperf[33772]=0; itemcpuperf[33772]=0; itemramperf[33772]=0; itempcislots[33772]=0; itemdelta[33772]=25; itemdelaydays[33772]=0; starkl[33772]=5277; itemvperf[33773]=0; itemcpuperf[33773]=0; itemramperf[33773]=0; itempcislots[33773]=0; itemdelta[33773]=20; itemdelaydays[33773]=0; starkl[33773]=1104; itemvperf[33774]=0; itemcpuperf[33774]=0; itemramperf[33774]=0; itempcislots[33774]=0; itemdelta[33774]=0; itemdelaydays[33774]=0; starkl[33774]=1025; itemvperf[33789]=0; itemcpuperf[33789]=0; itemramperf[33789]=0; itempcislots[33789]=0; itemdelta[33789]=340; itemdelaydays[33789]=0; starkl[33789]=805; itemvperf[33721]=0; itemcpuperf[33721]=0; itemramperf[33721]=0; itempcislots[33721]=0; itemdelta[33721]=125; itemdelaydays[33721]=0; starkl[33721]=4879; itemvperf[32544]=0; itemcpuperf[32544]=0; itemramperf[32544]=0; itempcislots[32544]=0; itemdelta[32544]=0; itemdelaydays[32544]=0; starkl[32544]=781; itemvperf[33743]=0; itemcpuperf[33743]=0; itemramperf[33743]=0; itempcislots[33743]=0; itemdelta[33743]=0; itemdelaydays[33743]=0; starkl[33743]=7090; itemvperf[33293]=0; itemcpuperf[33293]=0; itemramperf[33293]=0; itempcislots[33293]=0; itemdelta[33293]=1110; itemdelaydays[33293]=0; starkl[33293]=4851; itemvperf[33757]=0; itemcpuperf[33757]=0; itemramperf[33757]=0; itempcislots[33757]=0; itemdelta[33757]=645; itemdelaydays[33757]=0; starkl[33757]=9413; itemvperf[33760]=0; itemcpuperf[33760]=0; itemramperf[33760]=0; itempcislots[33760]=0; itemdelta[33760]=490; itemdelaydays[33760]=0; starkl[33760]=577; itemvperf[33756]=0; itemcpuperf[33756]=0; itemramperf[33756]=0; itempcislots[33756]=0; itemdelta[33756]=240; itemdelaydays[33756]=0; starkl[33756]=2675; itemvperf[33800]=0; itemcpuperf[33800]=0; itemramperf[33800]=0; itempcislots[33800]=0; itemdelta[33800]=240; itemdelaydays[33800]=0; starkl[33800]=6096; itemvperf[33755]=0; itemcpuperf[33755]=0; itemramperf[33755]=0; itempcislots[33755]=0; itemdelta[33755]=165; itemdelaydays[33755]=0; starkl[33755]=5326; itemvperf[33801]=0; itemcpuperf[33801]=0; itemramperf[33801]=0; itempcislots[33801]=0; itemdelta[33801]=0; itemdelaydays[33801]=0; starkl[33801]=5338; itemvperf[32642]=0; itemcpuperf[32642]=0; itemramperf[32642]=0; itempcislots[32642]=0; itemdelta[32642]=35; itemdelaydays[32642]=0; starkl[32642]=7158; itemvperf[32643]=0; itemcpuperf[32643]=0; itemramperf[32643]=0; itempcislots[32643]=0; itemdelta[32643]=0; itemdelaydays[32643]=0; starkl[32643]=6344; itemvperf[32644]=0; itemcpuperf[32644]=0; itemramperf[32644]=0; itempcislots[32644]=0; itemdelta[32644]=0; itemdelaydays[32644]=0; starkl[32644]=8304; itemvperf[33716]=0; itemcpuperf[33716]=0; itemramperf[33716]=0; itempcislots[33716]=0; itemdelta[33716]=589; itemdelaydays[33716]=7; starkl[33716]=7615; itemvperf[32581]=0; itemcpuperf[32581]=0; itemramperf[32581]=0; itempcislots[32581]=0; itemdelta[32581]=1129; itemdelaydays[32581]=0; starkl[32581]=7372; itemvperf[32582]=0; itemcpuperf[32582]=0; itemramperf[32582]=0; itempcislots[32582]=0; itemdelta[32582]=439; itemdelaydays[32582]=0; starkl[32582]=9553; itemvperf[32583]=0; itemcpuperf[32583]=0; itemramperf[32583]=0; itempcislots[32583]=0; itemdelta[32583]=259; itemdelaydays[32583]=0; starkl[32583]=391; itemvperf[32584]=0; itemcpuperf[32584]=0; itemramperf[32584]=0; itempcislots[32584]=0; itemdelta[32584]=189; itemdelaydays[32584]=0; starkl[32584]=6021; itemvperf[32585]=0; itemcpuperf[32585]=0; itemramperf[32585]=0; itempcislots[32585]=0; itemdelta[32585]=0; itemdelaydays[32585]=0; starkl[32585]=1733; itemvperf[32667]=0; itemcpuperf[32667]=0; itemramperf[32667]=0; itempcislots[32667]=0; itemdelta[32667]=0; itemdelaydays[32667]=0; starkl[32667]=3385; itemvperf[33731]=0; itemcpuperf[33731]=0; itemramperf[33731]=0; itempcislots[33731]=0; itemdelta[33731]=195; itemdelaydays[33731]=0; starkl[33731]=6163; itemvperf[33730]=0; itemcpuperf[33730]=0; itemramperf[33730]=0; itempcislots[33730]=0; itemdelta[33730]=130; itemdelaydays[33730]=0; starkl[33730]=8236; itemvperf[33729]=0; itemcpuperf[33729]=0; itemramperf[33729]=0; itempcislots[33729]=0; itemdelta[33729]=120; itemdelaydays[33729]=0; starkl[33729]=2277; itemvperf[32633]=0; itemcpuperf[32633]=0; itemramperf[32633]=0; itempcislots[32633]=0; itemdelta[32633]=40; itemdelaydays[32633]=0; starkl[32633]=8227; itemvperf[32634]=0; itemcpuperf[32634]=0; itemramperf[32634]=0; itempcislots[32634]=0; itemdelta[32634]=25; itemdelaydays[32634]=0; starkl[32634]=5696; itemvperf[32635]=0; itemcpuperf[32635]=0; itemramperf[32635]=0; itempcislots[32635]=0; itemdelta[32635]=0; itemdelaydays[32635]=0; starkl[32635]=4235; itemvperf[33745]=0; itemcpuperf[33745]=0; itemramperf[33745]=0; itempcislots[33745]=0; itemdelta[33745]=340; itemdelaydays[33745]=0; starkl[33745]=8381; itemvperf[33790]=0; itemcpuperf[33790]=0; itemramperf[33790]=0; itempcislots[33790]=0; itemdelta[33790]=180; itemdelaydays[33790]=0; starkl[33790]=5336; itemvperf[33470]=0; itemcpuperf[33470]=0; itemramperf[33470]=0; itempcislots[33470]=0; itemdelta[33470]=145; itemdelaydays[33470]=0; starkl[33470]=4344; itemvperf[33463]=0; itemcpuperf[33463]=0; itemramperf[33463]=0; itempcislots[33463]=0; itemdelta[33463]=70; itemdelaydays[33463]=0; starkl[33463]=8066; itemvperf[33793]=0; itemcpuperf[33793]=0; itemramperf[33793]=0; itempcislots[33793]=0; itemdelta[33793]=330; itemdelaydays[33793]=0; starkl[33793]=263; itemvperf[33792]=0; itemcpuperf[33792]=0; itemramperf[33792]=0; itempcislots[33792]=0; itemdelta[33792]=120; itemdelaydays[33792]=0; starkl[33792]=1672; itemvperf[33723]=0; itemcpuperf[33723]=0; itemramperf[33723]=0; itempcislots[33723]=0; itemdelta[33723]=65; itemdelaydays[33723]=0; starkl[33723]=6077; itemvperf[33465]=0; itemcpuperf[33465]=0; itemramperf[33465]=0; itempcislots[33465]=0; itemdelta[33465]=35; itemdelaydays[33465]=0; starkl[33465]=6772; itemvperf[32562]=0; itemcpuperf[32562]=0; itemramperf[32562]=0; itempcislots[32562]=0; itemdelta[32562]=0; itemdelaydays[32562]=0; starkl[32562]=5235; itemvperf[33795]=0; itemcpuperf[33795]=0; itemramperf[33795]=0; itempcislots[33795]=0; itemdelta[33795]=395; itemdelaydays[33795]=0; starkl[33795]=3868; itemvperf[33794]=0; itemcpuperf[33794]=0; itemramperf[33794]=0; itempcislots[33794]=0; itemdelta[33794]=185; itemdelaydays[33794]=0; starkl[33794]=4593; itemvperf[33724]=0; itemcpuperf[33724]=0; itemramperf[33724]=0; itempcislots[33724]=0; itemdelta[33724]=130; itemdelaydays[33724]=0; starkl[33724]=2973; itemvperf[33467]=0; itemcpuperf[33467]=0; itemramperf[33467]=0; itempcislots[33467]=0; itemdelta[33467]=100; itemdelaydays[33467]=0; starkl[33467]=591; itemvperf[33469]=0; itemcpuperf[33469]=0; itemramperf[33469]=0; itempcislots[33469]=0; itemdelta[33469]=65; itemdelaydays[33469]=0; starkl[33469]=2093; itemvperf[32569]=0; itemcpuperf[32569]=0; itemramperf[32569]=0; itempcislots[32569]=0; itemdelta[32569]=0; itemdelaydays[32569]=0; starkl[32569]=3550; itemvperf[33788]=0; itemcpuperf[33788]=0; itemramperf[33788]=0; itempcislots[33788]=0; itemdelta[33788]=0; itemdelaydays[33788]=0; starkl[33788]=9306; itemvperf[33787]=0; itemcpuperf[33787]=0; itemramperf[33787]=0; itempcislots[33787]=0; itemdelta[33787]=700; itemdelaydays[33787]=5; starkl[33787]=9902; itemvperf[32661]=0; itemcpuperf[32661]=0; itemramperf[32661]=0; itempcislots[32661]=0; itemdelta[32661]=70; itemdelaydays[32661]=0; starkl[32661]=871; itemvperf[32660]=0; itemcpuperf[32660]=0; itemramperf[32660]=0; itempcislots[32660]=0; itemdelta[32660]=55; itemdelaydays[32660]=0; starkl[32660]=3731; itemvperf[32599]=0; itemcpuperf[32599]=0; itemramperf[32599]=0; itempcislots[32599]=0; itemdelta[32599]=0; itemdelaydays[32599]=0; starkl[32599]=4834; itemvperf[33775]=0; itemcpuperf[33775]=0; itemramperf[33775]=0; itempcislots[33775]=0; itemdelta[33775]=35; itemdelaydays[33775]=0; starkl[33775]=9626; itemvperf[33776]=0; itemcpuperf[33776]=0; itemramperf[33776]=0; itempcislots[33776]=0; itemdelta[33776]=0; itemdelaydays[33776]=0; starkl[33776]=1610; itemvperf[32578]=0; itemcpuperf[32578]=0; itemramperf[32578]=0; itempcislots[32578]=0; itemdelta[32578]=0; itemdelaydays[32578]=0; starkl[32578]=7701; itemvperf[33727]=0; itemcpuperf[33727]=0; itemramperf[33727]=0; itempcislots[33727]=0; itemdelta[33727]=50; itemdelaydays[33727]=0; starkl[33727]=5625; itemvperf[33725]=0; itemcpuperf[33725]=0; itemramperf[33725]=0; itempcislots[33725]=0; itemdelta[33725]=25; itemdelaydays[33725]=0; starkl[33725]=2778; itemvperf[33726]=0; itemcpuperf[33726]=0; itemramperf[33726]=0; itempcislots[33726]=0; itemdelta[33726]=0; itemdelaydays[33726]=0; starkl[33726]=3285; itemvperf[32535]=0; itemcpuperf[32535]=0; itemramperf[32535]=0; itempcislots[32535]=0; itemdelta[32535]=25; itemdelaydays[32535]=0; starkl[32535]=9154; itemvperf[32536]=0; itemcpuperf[32536]=0; itemramperf[32536]=0; itempcislots[32536]=0; itemdelta[32536]=0; itemdelaydays[32536]=0; starkl[32536]=4820; itemvperf[33783]=0; itemcpuperf[33783]=0; itemramperf[33783]=0; itempcislots[33783]=0; itemdelta[33783]=70; itemdelaydays[33783]=0; starkl[33783]=3971; itemvperf[33799]=0; itemcpuperf[33799]=0; itemramperf[33799]=0; itempcislots[33799]=0; itemdelta[33799]=0; itemdelaydays[33799]=0; starkl[33799]=4457; itemvperf[33784]=0; itemcpuperf[33784]=0; itemramperf[33784]=0; itempcislots[33784]=0; itemdelta[33784]=0; itemdelaydays[33784]=0; starkl[33784]=7706; itemvperf[32614]=0; itemcpuperf[32614]=0; itemramperf[32614]=0; itempcislots[32614]=0; itemdelta[32614]=259; itemdelaydays[32614]=0; starkl[32614]=2978; itemvperf[32615]=0; itemcpuperf[32615]=0; itemramperf[32615]=0; itempcislots[32615]=0; itemdelta[32615]=199; itemdelaydays[32615]=0; starkl[32615]=8398; itemvperf[32617]=0; itemcpuperf[32617]=0; itemramperf[32617]=0; itempcislots[32617]=0; itemdelta[32617]=0; itemdelaydays[32617]=0; starkl[32617]=4455; itemvperf[33797]=0; itemcpuperf[33797]=0; itemramperf[33797]=0; itempcislots[33797]=0; itemdelta[33797]=99; itemdelaydays[33797]=0; starkl[33797]=6561; itemvperf[32574]=0; itemcpuperf[32574]=0; itemramperf[32574]=0; itempcislots[32574]=0; itemdelta[32574]=49; itemdelaydays[32574]=0; starkl[32574]=1615; itemvperf[32576]=0; itemcpuperf[32576]=0; itemramperf[32576]=0; itempcislots[32576]=0; itemdelta[32576]=15; itemdelaydays[32576]=0; starkl[32576]=2627; itemvperf[32577]=0; itemcpuperf[32577]=0; itemramperf[32577]=0; itempcislots[32577]=0; itemdelta[32577]=0; itemdelaydays[32577]=0; starkl[32577]=6500; itemvperf[33798]=0; itemcpuperf[33798]=0; itemramperf[33798]=0; itempcislots[33798]=0; itemdelta[33798]=59; itemdelaydays[33798]=0; starkl[33798]=4368; itemvperf[32589]=0; itemcpuperf[32589]=0; itemramperf[32589]=0; itempcislots[32589]=0; itemdelta[32589]=39; itemdelaydays[32589]=0; starkl[32589]=4349; itemvperf[32591]=0; itemcpuperf[32591]=0; itemramperf[32591]=0; itempcislots[32591]=0; itemdelta[32591]=15; itemdelaydays[32591]=0; starkl[32591]=1611; itemvperf[32592]=0; itemcpuperf[32592]=0; itemramperf[32592]=0; itempcislots[32592]=0; itemdelta[32592]=0; itemdelaydays[32592]=0; starkl[32592]=1015; itemvperf[32624]=0; itemcpuperf[32624]=0; itemramperf[32624]=0; itempcislots[32624]=0; itemdelta[32624]=19; itemdelaydays[32624]=0; starkl[32624]=7315; itemvperf[32625]=0; itemcpuperf[32625]=0; itemramperf[32625]=0; itempcislots[32625]=0; itemdelta[32625]=0; itemdelaydays[32625]=0; starkl[32625]=6345; itemvperf[33769]=0; itemcpuperf[33769]=0; itemramperf[33769]=0; itempcislots[33769]=0; itemdelta[33769]=0; itemdelaydays[33769]=0; starkl[33769]=3176; itemvperf[33770]=0; itemcpuperf[33770]=0; itemramperf[33770]=0; itempcislots[33770]=0; itemdelta[33770]=0; itemdelaydays[33770]=0; starkl[33770]=481; itemvperf[33771]=0; itemcpuperf[33771]=0; itemramperf[33771]=0; itempcislots[33771]=0; itemdelta[33771]=0; itemdelaydays[33771]=0; starkl[33771]=4187; itemvperf[32529]=0; itemcpuperf[32529]=0; itemramperf[32529]=0; itempcislots[32529]=0; itemdelta[32529]=0; itemdelaydays[32529]=0; starkl[32529]=6666; itemvperf[32626]=0; itemcpuperf[32626]=0; itemramperf[32626]=0; itempcislots[32626]=0; itemdelta[32626]=0; itemdelaydays[32626]=0; starkl[32626]=1176; itemvperf[32546]=0; itemcpuperf[32546]=0; itemramperf[32546]=0; itempcislots[32546]=0; itemdelta[32546]=0; itemdelaydays[32546]=0; starkl[32546]=6095; itemvperf[32573]=0; itemcpuperf[32573]=0; itemramperf[32573]=0; itempcislots[32573]=0; itemdelta[32573]=179; itemdelaydays[32573]=0; starkl[32573]=8814; itemvperf[32572]=0; itemcpuperf[32572]=0; itemramperf[32572]=0; itempcislots[32572]=0; itemdelta[32572]=0; itemdelaydays[32572]=0; starkl[32572]=4651; itemvperf[32649]=0; itemcpuperf[32649]=0; itemramperf[32649]=0; itempcislots[32649]=0; itemdelta[32649]=269; itemdelaydays[32649]=0; starkl[32649]=7395; itemvperf[32650]=0; itemcpuperf[32650]=0; itemramperf[32650]=0; itempcislots[32650]=0; itemdelta[32650]=199; itemdelaydays[32650]=0; starkl[32650]=6988; itemvperf[32651]=0; itemcpuperf[32651]=0; itemramperf[32651]=0; itempcislots[32651]=0; itemdelta[32651]=169; itemdelaydays[32651]=0; starkl[32651]=4848; itemvperf[32652]=0; itemcpuperf[32652]=0; itemramperf[32652]=0; itempcislots[32652]=0; itemdelta[32652]=99; itemdelaydays[32652]=0; starkl[32652]=5115; itemvperf[32653]=0; itemcpuperf[32653]=0; itemramperf[32653]=0; itempcislots[32653]=0; itemdelta[32653]=69; itemdelaydays[32653]=0; starkl[32653]=7782; itemvperf[32654]=0; itemcpuperf[32654]=0; itemramperf[32654]=0; itempcislots[32654]=0; itemdelta[32654]=0; itemdelaydays[32654]=0; starkl[32654]=9854; itemvperf[32640]=0; itemcpuperf[32640]=0; itemramperf[32640]=0; itempcislots[32640]=0; itemdelta[32640]=0; itemdelaydays[32640]=0; starkl[32640]=5097; itemvperf[33802]=0; itemcpuperf[33802]=0; itemramperf[33802]=0; itempcislots[33802]=0; itemdelta[33802]=0; itemdelaydays[33802]=0; starkl[33802]=3272; itemvperf[33803]=0; itemcpuperf[33803]=0; itemramperf[33803]=0; itempcislots[33803]=0; itemdelta[33803]=0; itemdelaydays[33803]=0; starkl[33803]=8888; itemvperf[33742]=0; itemcpuperf[33742]=0; itemramperf[33742]=0; itempcislots[33742]=0; itemdelta[33742]=0; itemdelaydays[33742]=0; starkl[33742]=3750; itemvperf[33741]=0; itemcpuperf[33741]=0; itemramperf[33741]=0; itempcislots[33741]=0; itemdelta[33741]=-50; itemdelaydays[33741]=0; starkl[33741]=1542; itemvperf[33778]=0; itemcpuperf[33778]=0; itemramperf[33778]=0; itempcislots[33778]=0; itemdelta[33778]=-50; itemdelaydays[33778]=0; starkl[33778]=3602; caseImages[32658]=new Image(); caseImages[32658].src='/images/upload/nx_main.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()