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[33708]=0; itemcpuperf[33708]=0; itemramperf[33708]=0; itempcislots[33708]=0; itemdelta[33708]=0; itemdelaydays[33708]=0; starkl[33708]=3885; itemvperf[7496]=0; itemcpuperf[7496]=0; itemramperf[7496]=0; itempcislots[7496]=0; itemdelta[7496]=75; itemdelaydays[7496]=0; starkl[7496]=2938; itemvperf[32771]=0; itemcpuperf[32771]=0; itemramperf[32771]=0; itempcislots[32771]=0; itemdelta[32771]=0; itemdelaydays[32771]=0; starkl[32771]=8407; itemvperf[32772]=0; itemcpuperf[32772]=0; itemramperf[32772]=0; itempcislots[32772]=0; itemdelta[32772]=0; itemdelaydays[32772]=0; starkl[32772]=838; itemvperf[33685]=0; itemcpuperf[33685]=0; itemramperf[33685]=0; itempcislots[33685]=0; itemdelta[33685]=2425; itemdelaydays[33685]=0; starkl[33685]=753; itemvperf[33687]=0; itemcpuperf[33687]=0; itemramperf[33687]=0; itempcislots[33687]=0; itemdelta[33687]=1760; itemdelaydays[33687]=0; starkl[33687]=4299; itemvperf[33720]=0; itemcpuperf[33720]=0; itemramperf[33720]=0; itempcislots[33720]=0; itemdelta[33720]=1550; itemdelaydays[33720]=0; starkl[33720]=7540; itemvperf[33688]=0; itemcpuperf[33688]=0; itemramperf[33688]=0; itempcislots[33688]=0; itemdelta[33688]=1255; itemdelaydays[33688]=0; starkl[33688]=7434; itemvperf[33689]=0; itemcpuperf[33689]=0; itemramperf[33689]=0; itempcislots[33689]=0; itemdelta[33689]=890; itemdelaydays[33689]=0; starkl[33689]=6443; itemvperf[33719]=0; itemcpuperf[33719]=0; itemramperf[33719]=0; itempcislots[33719]=0; itemdelta[33719]=530; itemdelaydays[33719]=0; starkl[33719]=4221; itemvperf[33690]=0; itemcpuperf[33690]=0; itemramperf[33690]=0; itempcislots[33690]=0; itemdelta[33690]=260; itemdelaydays[33690]=0; starkl[33690]=9717; itemvperf[33718]=0; itemcpuperf[33718]=0; itemramperf[33718]=0; itempcislots[33718]=0; itemdelta[33718]=130; itemdelaydays[33718]=0; starkl[33718]=2897; itemvperf[33686]=0; itemcpuperf[33686]=0; itemramperf[33686]=0; itempcislots[33686]=0; itemdelta[33686]=0; itemdelaydays[33686]=0; starkl[33686]=383; itemvperf[33715]=0; itemcpuperf[33715]=200; itemramperf[33715]=0; itempcislots[33715]=0; itemdelta[33715]=1145; itemdelaydays[33715]=0; starkl[33715]=4882; itemvperf[33716]=0; itemcpuperf[33716]=160; itemramperf[33716]=0; itempcislots[33716]=0; itemdelta[33716]=540; itemdelaydays[33716]=0; starkl[33716]=5731; itemvperf[33717]=0; itemcpuperf[33717]=0; itemramperf[33717]=0; itempcislots[33717]=0; itemdelta[33717]=165; itemdelaydays[33717]=0; starkl[33717]=8181; itemvperf[7503]=0; itemcpuperf[7503]=0; itemramperf[7503]=0; itempcislots[7503]=0; itemdelta[7503]=0; itemdelaydays[7503]=0; starkl[7503]=3430; itemvperf[33712]=0; itemcpuperf[33712]=0; itemramperf[33712]=0; itempcislots[33712]=0; itemdelta[33712]=0; itemdelaydays[33712]=0; starkl[33712]=1226; itemvperf[33681]=0; itemcpuperf[33681]=0; itemramperf[33681]=0; itempcislots[33681]=0; itemdelta[33681]=-2500; itemdelaydays[33681]=0; starkl[33681]=9680; itemvperf[33714]=0; itemcpuperf[33714]=0; itemramperf[33714]=0; itempcislots[33714]=0; itemdelta[33714]=760; itemdelaydays[33714]=0; starkl[33714]=8683; itemvperf[33656]=0; itemcpuperf[33656]=0; itemramperf[33656]=0; itempcislots[33656]=0; itemdelta[33656]=330; itemdelaydays[33656]=0; starkl[33656]=795; itemvperf[32246]=0; itemcpuperf[32246]=0; itemramperf[32246]=0; itempcislots[32246]=0; itemdelta[32246]=115; itemdelaydays[32246]=0; starkl[32246]=2734; itemvperf[32245]=0; itemcpuperf[32245]=0; itemramperf[32245]=0; itempcislots[32245]=0; itemdelta[32245]=0; itemdelaydays[32245]=0; starkl[32245]=4685; itemvperf[33713]=0; itemcpuperf[33713]=0; itemramperf[33713]=0; itempcislots[33713]=0; itemdelta[33713]=5490; itemdelaydays[33713]=0; starkl[33713]=5651; itemvperf[33658]=0; itemcpuperf[33658]=0; itemramperf[33658]=0; itempcislots[33658]=0; itemdelta[33658]=2180; itemdelaydays[33658]=0; starkl[33658]=4624; itemvperf[33659]=0; itemcpuperf[33659]=0; itemramperf[33659]=0; itempcislots[33659]=0; itemdelta[33659]=855; itemdelaydays[33659]=0; starkl[33659]=8595; itemvperf[33657]=0; itemcpuperf[33657]=0; itemramperf[33657]=0; itempcislots[33657]=0; itemdelta[33657]=350; itemdelaydays[33657]=0; starkl[33657]=8806; itemvperf[33701]=0; itemcpuperf[33701]=0; itemramperf[33701]=0; itempcislots[33701]=0; itemdelta[33701]=0; itemdelaydays[33701]=0; starkl[33701]=933; itemvperf[29945]=0; itemcpuperf[29945]=0; itemramperf[29945]=0; itempcislots[29945]=0; itemdelta[29945]=439; itemdelaydays[29945]=0; starkl[29945]=2986; itemvperf[29943]=0; itemcpuperf[29943]=0; itemramperf[29943]=0; itempcislots[29943]=0; itemdelta[29943]=259; itemdelaydays[29943]=0; starkl[29943]=266; itemvperf[29941]=0; itemcpuperf[29941]=0; itemramperf[29941]=0; itempcislots[29941]=0; itemdelta[29941]=219; itemdelaydays[29941]=0; starkl[29941]=575; itemvperf[29942]=0; itemcpuperf[29942]=0; itemramperf[29942]=0; itempcislots[29942]=0; itemdelta[29942]=179; itemdelaydays[29942]=0; starkl[29942]=1111; itemvperf[7519]=0; itemcpuperf[7519]=0; itemramperf[7519]=0; itempcislots[7519]=0; itemdelta[7519]=0; itemdelaydays[7519]=0; starkl[7519]=7491; itemvperf[33669]=0; itemcpuperf[33669]=0; itemramperf[33669]=0; itempcislots[33669]=0; itemdelta[33669]=490; itemdelaydays[33669]=0; starkl[33669]=746; itemvperf[33668]=0; itemcpuperf[33668]=0; itemramperf[33668]=0; itempcislots[33668]=0; itemdelta[33668]=245; itemdelaydays[33668]=0; starkl[33668]=7012; itemvperf[33667]=0; itemcpuperf[33667]=0; itemramperf[33667]=0; itempcislots[33667]=0; itemdelta[33667]=180; itemdelaydays[33667]=0; starkl[33667]=4584; itemvperf[33666]=0; itemcpuperf[33666]=0; itemramperf[33666]=0; itempcislots[33666]=0; itemdelta[33666]=120; itemdelaydays[33666]=0; starkl[33666]=5072; itemvperf[7521]=0; itemcpuperf[7521]=0; itemramperf[7521]=0; itempcislots[7521]=0; itemdelta[7521]=75; itemdelaydays[7521]=0; starkl[7521]=9754; itemvperf[7522]=0; itemcpuperf[7522]=0; itemramperf[7522]=0; itempcislots[7522]=0; itemdelta[7522]=0; itemdelaydays[7522]=0; starkl[7522]=5305; itemvperf[7526]=0; itemcpuperf[7526]=0; itemramperf[7526]=0; itempcislots[7526]=0; itemdelta[7526]=79; itemdelaydays[7526]=0; starkl[7526]=8648; itemvperf[7528]=0; itemcpuperf[7528]=0; itemramperf[7528]=0; itempcislots[7528]=0; itemdelta[7528]=49; itemdelaydays[7528]=0; starkl[7528]=6558; itemvperf[7529]=0; itemcpuperf[7529]=0; itemramperf[7529]=0; itempcislots[7529]=0; itemdelta[7529]=19; itemdelaydays[7529]=0; starkl[7529]=1332; itemvperf[7530]=0; itemcpuperf[7530]=0; itemramperf[7530]=0; itempcislots[7530]=0; itemdelta[7530]=0; itemdelaydays[7530]=0; starkl[7530]=9636; itemvperf[33671]=0; itemcpuperf[33671]=0; itemramperf[33671]=0; itempcislots[33671]=0; itemdelta[33671]=1620; itemdelaydays[33671]=0; starkl[33671]=9943; itemvperf[33672]=0; itemcpuperf[33672]=0; itemramperf[33672]=0; itempcislots[33672]=0; itemdelta[33672]=765; itemdelaydays[33672]=0; starkl[33672]=7379; itemvperf[33673]=0; itemcpuperf[33673]=0; itemramperf[33673]=0; itempcislots[33673]=0; itemdelta[33673]=400; itemdelaydays[33673]=0; starkl[33673]=8664; itemvperf[33670]=0; itemcpuperf[33670]=0; itemramperf[33670]=0; itempcislots[33670]=0; itemdelta[33670]=165; itemdelaydays[33670]=0; starkl[33670]=4139; itemvperf[33704]=0; itemcpuperf[33704]=0; itemramperf[33704]=0; itempcislots[33704]=0; itemdelta[33704]=60; itemdelaydays[33704]=0; starkl[33704]=5902; itemvperf[15441]=0; itemcpuperf[15441]=0; itemramperf[15441]=0; itempcislots[15441]=0; itemdelta[15441]=40; itemdelaydays[15441]=0; starkl[15441]=4019; itemvperf[15439]=0; itemcpuperf[15439]=0; itemramperf[15439]=0; itempcislots[15439]=0; itemdelta[15439]=0; itemdelaydays[15439]=0; starkl[15439]=2430; itemvperf[33676]=0; itemcpuperf[33676]=0; itemramperf[33676]=0; itempcislots[33676]=0; itemdelta[33676]=1710; itemdelaydays[33676]=0; starkl[33676]=5266; itemvperf[33677]=0; itemcpuperf[33677]=0; itemramperf[33677]=0; itempcislots[33677]=0; itemdelta[33677]=855; itemdelaydays[33677]=0; starkl[33677]=9783; itemvperf[15444]=0; itemcpuperf[15444]=0; itemramperf[15444]=0; itempcislots[15444]=0; itemdelta[15444]=260; itemdelaydays[15444]=0; starkl[15444]=8964; itemvperf[15442]=0; itemcpuperf[15442]=0; itemramperf[15442]=0; itempcislots[15442]=0; itemdelta[15442]=180; itemdelaydays[15442]=0; starkl[15442]=8898; itemvperf[33700]=0; itemcpuperf[33700]=0; itemramperf[33700]=0; itempcislots[33700]=0; itemdelta[33700]=140; itemdelaydays[33700]=0; starkl[33700]=2744; itemvperf[7541]=0; itemcpuperf[7541]=0; itemramperf[7541]=0; itempcislots[7541]=0; itemdelta[7541]=0; itemdelaydays[7541]=0; starkl[7541]=8521; itemvperf[21862]=0; itemcpuperf[21862]=0; itemramperf[21862]=0; itempcislots[21862]=0; itemdelta[21862]=45; itemdelaydays[21862]=0; starkl[21862]=1965; itemvperf[7542]=0; itemcpuperf[7542]=0; itemramperf[7542]=0; itempcislots[7542]=0; itemdelta[7542]=0; itemdelaydays[7542]=0; starkl[7542]=7453; itemvperf[15448]=0; itemcpuperf[15448]=0; itemramperf[15448]=0; itempcislots[15448]=0; itemdelta[15448]=130; itemdelaydays[15448]=0; starkl[15448]=3605; itemvperf[7544]=0; itemcpuperf[7544]=0; itemramperf[7544]=0; itempcislots[7544]=0; itemdelta[7544]=95; itemdelaydays[7544]=0; starkl[7544]=3363; itemvperf[7549]=0; itemcpuperf[7549]=0; itemramperf[7549]=0; itempcislots[7549]=0; itemdelta[7549]=0; itemdelaydays[7549]=0; starkl[7549]=5353; itemvperf[32264]=0; itemcpuperf[32264]=0; itemramperf[32264]=0; itempcislots[32264]=0; itemdelta[32264]=0; itemdelaydays[32264]=0; starkl[32264]=4778; itemvperf[7555]=0; itemcpuperf[7555]=0; itemramperf[7555]=0; itempcislots[7555]=0; itemdelta[7555]=0; itemdelaydays[7555]=0; starkl[7555]=6868; itemvperf[7556]=0; itemcpuperf[7556]=0; itemramperf[7556]=0; itempcislots[7556]=0; itemdelta[7556]=0; itemdelaydays[7556]=0; starkl[7556]=3746; itemvperf[7557]=0; itemcpuperf[7557]=0; itemramperf[7557]=0; itempcislots[7557]=0; itemdelta[7557]=20; itemdelaydays[7557]=0; starkl[7557]=5636; itemvperf[7562]=0; itemcpuperf[7562]=0; itemramperf[7562]=0; itempcislots[7562]=0; itemdelta[7562]=0; itemdelaydays[7562]=0; starkl[7562]=1791; itemvperf[7563]=0; itemcpuperf[7563]=0; itemramperf[7563]=0; itempcislots[7563]=0; itemdelta[7563]=0; itemdelaydays[7563]=0; starkl[7563]=5955; itemvperf[25282]=0; itemcpuperf[25282]=0; itemramperf[25282]=0; itempcislots[25282]=0; itemdelta[25282]=25; itemdelaydays[25282]=0; starkl[25282]=6571; itemvperf[25281]=0; itemcpuperf[25281]=0; itemramperf[25281]=0; itempcislots[25281]=0; itemdelta[25281]=0; itemdelaydays[25281]=0; starkl[25281]=7107; itemvperf[32252]=0; itemcpuperf[32252]=0; itemramperf[32252]=0; itempcislots[32252]=0; itemdelta[32252]=0; itemdelaydays[32252]=0; starkl[32252]=5541; itemvperf[33692]=0; itemcpuperf[33692]=0; itemramperf[33692]=0; itempcislots[33692]=0; itemdelta[33692]=0; itemdelaydays[33692]=0; starkl[33692]=3230; itemvperf[32250]=0; itemcpuperf[32250]=0; itemramperf[32250]=0; itempcislots[32250]=0; itemdelta[32250]=75; itemdelaydays[32250]=0; starkl[32250]=7719; itemvperf[33691]=0; itemcpuperf[33691]=0; itemramperf[33691]=0; itempcislots[33691]=0; itemdelta[33691]=75; itemdelaydays[33691]=0; starkl[33691]=8300; itemvperf[31316]=0; itemcpuperf[31316]=0; itemramperf[31316]=0; itempcislots[31316]=0; itemdelta[31316]=399; itemdelaydays[31316]=0; starkl[31316]=7973; itemvperf[31317]=0; itemcpuperf[31317]=0; itemramperf[31317]=0; itempcislots[31317]=0; itemdelta[31317]=229; itemdelaydays[31317]=0; starkl[31317]=6325; itemvperf[31318]=0; itemcpuperf[31318]=0; itemramperf[31318]=0; itempcislots[31318]=0; itemdelta[31318]=149; itemdelaydays[31318]=0; starkl[31318]=9393; itemvperf[7571]=0; itemcpuperf[7571]=0; itemramperf[7571]=0; itempcislots[7571]=0; itemdelta[7571]=0; itemdelaydays[7571]=0; starkl[7571]=816; itemvperf[32267]=0; itemcpuperf[32267]=0; itemramperf[32267]=0; itempcislots[32267]=0; itemdelta[32267]=69; itemdelaydays[32267]=0; starkl[32267]=5366; itemvperf[32266]=0; itemcpuperf[32266]=0; itemramperf[32266]=0; itempcislots[32266]=0; itemdelta[32266]=10; itemdelaydays[32266]=0; starkl[32266]=451; itemvperf[32265]=0; itemcpuperf[32265]=0; itemramperf[32265]=0; itempcislots[32265]=0; itemdelta[32265]=0; itemdelaydays[32265]=0; starkl[32265]=1508; itemvperf[19718]=0; itemcpuperf[19718]=0; itemramperf[19718]=0; itempcislots[19718]=0; itemdelta[19718]=90; itemdelaydays[19718]=0; starkl[19718]=6761; itemvperf[33252]=0; itemcpuperf[33252]=0; itemramperf[33252]=0; itempcislots[33252]=0; itemdelta[33252]=15; itemdelaydays[33252]=0; starkl[33252]=9753; itemvperf[7580]=0; itemcpuperf[7580]=0; itemramperf[7580]=0; itempcislots[7580]=0; itemdelta[7580]=0; itemdelaydays[7580]=0; starkl[7580]=3569; itemvperf[19719]=0; itemcpuperf[19719]=0; itemramperf[19719]=0; itempcislots[19719]=0; itemdelta[19719]=60; itemdelaydays[19719]=0; starkl[19719]=8111; itemvperf[33253]=0; itemcpuperf[33253]=0; itemramperf[33253]=0; itempcislots[33253]=0; itemdelta[33253]=15; itemdelaydays[33253]=0; starkl[33253]=9315; itemvperf[7584]=0; itemcpuperf[7584]=0; itemramperf[7584]=0; itempcislots[7584]=0; itemdelta[7584]=0; itemdelaydays[7584]=0; starkl[7584]=8525; itemvperf[7585]=0; itemcpuperf[7585]=0; itemramperf[7585]=0; itempcislots[7585]=0; itemdelta[7585]=15; itemdelaydays[7585]=0; starkl[7585]=2596; itemvperf[7586]=0; itemcpuperf[7586]=0; itemramperf[7586]=0; itempcislots[7586]=0; itemdelta[7586]=0; itemdelaydays[7586]=0; starkl[7586]=673; itemvperf[7591]=0; itemcpuperf[7591]=0; itemramperf[7591]=0; itempcislots[7591]=0; itemdelta[7591]=19; itemdelaydays[7591]=0; starkl[7591]=8280; itemvperf[7592]=0; itemcpuperf[7592]=0; itemramperf[7592]=0; itempcislots[7592]=0; itemdelta[7592]=0; itemdelaydays[7592]=0; starkl[7592]=9728; itemvperf[7593]=0; itemcpuperf[7593]=0; itemramperf[7593]=0; itempcislots[7593]=0; itemdelta[7593]=15; itemdelaydays[7593]=0; starkl[7593]=4943; itemvperf[7594]=0; itemcpuperf[7594]=0; itemramperf[7594]=0; itempcislots[7594]=0; itemdelta[7594]=0; itemdelaydays[7594]=0; starkl[7594]=4418; itemvperf[7597]=0; itemcpuperf[7597]=0; itemramperf[7597]=0; itempcislots[7597]=0; itemdelta[7597]=0; itemdelaydays[7597]=0; starkl[7597]=6120; itemvperf[7598]=0; itemcpuperf[7598]=0; itemramperf[7598]=0; itempcislots[7598]=0; itemdelta[7598]=0; itemdelaydays[7598]=0; starkl[7598]=1859; itemvperf[7599]=0; itemcpuperf[7599]=0; itemramperf[7599]=0; itempcislots[7599]=0; itemdelta[7599]=0; itemdelaydays[7599]=0; starkl[7599]=3548; itemvperf[7604]=0; itemcpuperf[7604]=0; itemramperf[7604]=0; itempcislots[7604]=0; itemdelta[7604]=499; itemdelaydays[7604]=0; starkl[7604]=3541; itemvperf[7605]=0; itemcpuperf[7605]=0; itemramperf[7605]=0; itempcislots[7605]=0; itemdelta[7605]=399; itemdelaydays[7605]=0; starkl[7605]=9336; itemvperf[7606]=0; itemcpuperf[7606]=0; itemramperf[7606]=0; itempcislots[7606]=0; itemdelta[7606]=299; itemdelaydays[7606]=0; starkl[7606]=4870; itemvperf[7607]=0; itemcpuperf[7607]=0; itemramperf[7607]=0; itempcislots[7607]=0; itemdelta[7607]=199; itemdelaydays[7607]=0; starkl[7607]=1496; itemvperf[7608]=0; itemcpuperf[7608]=0; itemramperf[7608]=0; itempcislots[7608]=0; itemdelta[7608]=99; itemdelaydays[7608]=0; starkl[7608]=867; itemvperf[7609]=0; itemcpuperf[7609]=0; itemramperf[7609]=0; itempcislots[7609]=0; itemdelta[7609]=0; itemdelaydays[7609]=0; starkl[7609]=7503; itemvperf[7610]=0; itemcpuperf[7610]=0; itemramperf[7610]=0; itempcislots[7610]=0; itemdelta[7610]=0; itemdelaydays[7610]=0; starkl[7610]=1979; caseImages[33708]=new Image(); caseImages[33708].src='/images/upload/gx3_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()