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[33454]=0; itemcpuperf[33454]=0; itemramperf[33454]=0; itempcislots[33454]=0; itemdelta[33454]=0; itemdelaydays[33454]=0; starkl[33454]=5386; itemvperf[13775]=0; itemcpuperf[13775]=0; itemramperf[13775]=0; itempcislots[13775]=0; itemdelta[13775]=90; itemdelaydays[13775]=0; starkl[13775]=8929; itemvperf[13776]=0; itemcpuperf[13776]=0; itemramperf[13776]=0; itempcislots[13776]=0; itemdelta[13776]=60; itemdelaydays[13776]=0; starkl[13776]=6403; itemvperf[33433]=0; itemcpuperf[33433]=0; itemramperf[33433]=0; itempcislots[33433]=0; itemdelta[33433]=0; itemdelaydays[33433]=0; starkl[33433]=1715; itemvperf[33533]=0; itemcpuperf[33533]=0; itemramperf[33533]=0; itempcislots[33533]=0; itemdelta[33533]=0; itemdelaydays[33533]=0; starkl[33533]=7282; itemvperf[33591]=0; itemcpuperf[33591]=0; itemramperf[33591]=0; itempcislots[33591]=0; itemdelta[33591]=520; itemdelaydays[33591]=0; starkl[33591]=3943; itemvperf[33617]=0; itemcpuperf[33617]=0; itemramperf[33617]=0; itempcislots[33617]=0; itemdelta[33617]=185; itemdelaydays[33617]=0; starkl[33617]=1324; itemvperf[33579]=0; itemcpuperf[33579]=0; itemramperf[33579]=0; itempcislots[33579]=0; itemdelta[33579]=145; itemdelaydays[33579]=0; starkl[33579]=5674; itemvperf[33618]=0; itemcpuperf[33618]=0; itemramperf[33618]=0; itempcislots[33618]=0; itemdelta[33618]=0; itemdelaydays[33618]=0; starkl[33618]=1711; itemvperf[33486]=0; itemcpuperf[33486]=0; itemramperf[33486]=0; itempcislots[33486]=0; itemdelta[33486]=95; itemdelaydays[33486]=0; starkl[33486]=9874; itemvperf[33490]=0; itemcpuperf[33490]=0; itemramperf[33490]=0; itempcislots[33490]=0; itemdelta[33490]=0; itemdelaydays[33490]=0; starkl[33490]=3998; itemvperf[33484]=0; itemcpuperf[33484]=0; itemramperf[33484]=0; itempcislots[33484]=0; itemdelta[33484]=20; itemdelaydays[33484]=0; starkl[33484]=899; itemvperf[33485]=0; itemcpuperf[33485]=0; itemramperf[33485]=0; itempcislots[33485]=0; itemdelta[33485]=0; itemdelaydays[33485]=0; starkl[33485]=3574; itemvperf[33605]=0; itemcpuperf[33605]=0; itemramperf[33605]=0; itempcislots[33605]=0; itemdelta[33605]=700; itemdelaydays[33605]=0; starkl[33605]=589; itemvperf[33604]=0; itemcpuperf[33604]=0; itemramperf[33604]=0; itempcislots[33604]=0; itemdelta[33604]=100; itemdelaydays[33604]=0; starkl[33604]=8862; itemvperf[33599]=0; itemcpuperf[33599]=0; itemramperf[33599]=0; itempcislots[33599]=0; itemdelta[33599]=580; itemdelaydays[33599]=0; starkl[33599]=1606; itemvperf[33589]=0; itemcpuperf[33589]=0; itemramperf[33589]=0; itempcislots[33589]=0; itemdelta[33589]=0; itemdelaydays[33589]=0; starkl[33589]=5677; itemvperf[33456]=0; itemcpuperf[33456]=0; itemramperf[33456]=0; itempcislots[33456]=0; itemdelta[33456]=0; itemdelaydays[33456]=0; starkl[33456]=8937; itemvperf[33436]=0; itemcpuperf[33436]=0; itemramperf[33436]=0; itempcislots[33436]=0; itemdelta[33436]=0; itemdelaydays[33436]=0; starkl[33436]=7594; itemvperf[33611]=0; itemcpuperf[33611]=0; itemramperf[33611]=0; itempcislots[33611]=0; itemdelta[33611]=9615; itemdelaydays[33611]=0; starkl[33611]=9896; itemvperf[33610]=0; itemcpuperf[33610]=0; itemramperf[33610]=0; itempcislots[33610]=0; itemdelta[33610]=8605; itemdelaydays[33610]=0; starkl[33610]=780; itemvperf[33609]=0; itemcpuperf[33609]=0; itemramperf[33609]=0; itempcislots[33609]=0; itemdelta[33609]=4475; itemdelaydays[33609]=0; starkl[33609]=4573; itemvperf[33612]=0; itemcpuperf[33612]=0; itemramperf[33612]=0; itempcislots[33612]=0; itemdelta[33612]=2725; itemdelaydays[33612]=0; starkl[33612]=268; itemvperf[33594]=0; itemcpuperf[33594]=0; itemramperf[33594]=0; itempcislots[33594]=0; itemdelta[33594]=1195; itemdelaydays[33594]=0; starkl[33594]=5522; itemvperf[33615]=0; itemcpuperf[33615]=0; itemramperf[33615]=0; itempcislots[33615]=0; itemdelta[33615]=405; itemdelaydays[33615]=0; starkl[33615]=9373; itemvperf[33434]=0; itemcpuperf[33434]=0; itemramperf[33434]=0; itempcislots[33434]=0; itemdelta[33434]=0; itemdelaydays[33434]=0; starkl[33434]=4205; itemvperf[33608]=190; itemcpuperf[33608]=0; itemramperf[33608]=0; itempcislots[33608]=0; itemdelta[33608]=1180; itemdelaydays[33608]=0; starkl[33608]=996; itemvperf[33607]=190; itemcpuperf[33607]=0; itemramperf[33607]=0; itempcislots[33607]=0; itemdelta[33607]=645; itemdelaydays[33607]=0; starkl[33607]=8674; itemvperf[33575]=190; itemcpuperf[33575]=0; itemramperf[33575]=0; itempcislots[33575]=0; itemdelta[33575]=565; itemdelaydays[33575]=0; starkl[33575]=8541; itemvperf[33576]=0; itemcpuperf[33576]=0; itemramperf[33576]=0; itempcislots[33576]=0; itemdelta[33576]=255; itemdelaydays[33576]=0; starkl[33576]=1985; itemvperf[33616]=190; itemcpuperf[33616]=0; itemramperf[33616]=0; itempcislots[33616]=0; itemdelta[33616]=145; itemdelaydays[33616]=0; starkl[33616]=3684; itemvperf[33569]=0; itemcpuperf[33569]=0; itemramperf[33569]=0; itempcislots[33569]=0; itemdelta[33569]=879; itemdelaydays[33569]=0; starkl[33569]=2879; itemvperf[33497]=0; itemcpuperf[33497]=0; itemramperf[33497]=0; itempcislots[33497]=0; itemdelta[33497]=499; itemdelaydays[33497]=0; starkl[33497]=4397; itemvperf[29936]=0; itemcpuperf[29936]=0; itemramperf[29936]=0; itempcislots[29936]=0; itemdelta[29936]=399; itemdelaydays[29936]=0; starkl[29936]=207; itemvperf[29935]=0; itemcpuperf[29935]=0; itemramperf[29935]=0; itempcislots[29935]=0; itemdelta[29935]=259; itemdelaydays[29935]=0; starkl[29935]=4253; itemvperf[29934]=0; itemcpuperf[29934]=0; itemramperf[29934]=0; itempcislots[29934]=0; itemdelta[29934]=0; itemdelaydays[29934]=0; starkl[29934]=8986; itemvperf[32102]=0; itemcpuperf[32102]=0; itemramperf[32102]=0; itempcislots[32102]=0; itemdelta[32102]=0; itemdelaydays[32102]=0; starkl[32102]=8836; itemvperf[15006]=0; itemcpuperf[15006]=0; itemramperf[15006]=0; itempcislots[15006]=0; itemdelta[15006]=199; itemdelaydays[15006]=0; starkl[15006]=5712; itemvperf[33427]=0; itemcpuperf[33427]=0; itemramperf[33427]=0; itempcislots[33427]=0; itemdelta[33427]=119; itemdelaydays[33427]=0; starkl[33427]=6262; itemvperf[33426]=0; itemcpuperf[33426]=0; itemramperf[33426]=0; itempcislots[33426]=0; itemdelta[33426]=129; itemdelaydays[33426]=0; starkl[33426]=1063; itemvperf[13823]=0; itemcpuperf[13823]=0; itemramperf[13823]=0; itempcislots[13823]=0; itemdelta[13823]=39; itemdelaydays[13823]=0; starkl[13823]=459; itemvperf[13824]=0; itemcpuperf[13824]=0; itemramperf[13824]=0; itempcislots[13824]=0; itemdelta[13824]=25; itemdelaydays[13824]=0; starkl[13824]=3843; itemvperf[13825]=0; itemcpuperf[13825]=0; itemramperf[13825]=0; itempcislots[13825]=0; itemdelta[13825]=0; itemdelaydays[13825]=0; starkl[13825]=6112; itemvperf[33602]=0; itemcpuperf[33602]=0; itemramperf[33602]=0; itempcislots[33602]=0; itemdelta[33602]=1665; itemdelaydays[33602]=0; starkl[33602]=2200; itemvperf[33512]=0; itemcpuperf[33512]=0; itemramperf[33512]=0; itempcislots[33512]=0; itemdelta[33512]=1350; itemdelaydays[33512]=0; starkl[33512]=1114; itemvperf[30055]=0; itemcpuperf[30055]=0; itemramperf[30055]=0; itempcislots[30055]=0; itemdelta[30055]=700; itemdelaydays[30055]=0; starkl[30055]=5363; itemvperf[30039]=0; itemcpuperf[30039]=0; itemramperf[30039]=0; itempcislots[30039]=0; itemdelta[30039]=265; itemdelaydays[30039]=0; starkl[30039]=2293; itemvperf[33593]=0; itemcpuperf[33593]=0; itemramperf[33593]=0; itempcislots[33593]=0; itemdelta[33593]=700; itemdelaydays[33593]=0; starkl[33593]=2097; itemvperf[33441]=0; itemcpuperf[33441]=0; itemramperf[33441]=0; itempcislots[33441]=0; itemdelta[33441]=230; itemdelaydays[33441]=0; starkl[33441]=8899; itemvperf[33396]=0; itemcpuperf[33396]=0; itemramperf[33396]=0; itempcislots[33396]=0; itemdelta[33396]=0; itemdelaydays[33396]=0; starkl[33396]=5169; itemvperf[33460]=0; itemcpuperf[33460]=0; itemramperf[33460]=0; itempcislots[33460]=0; itemdelta[33460]=1910; itemdelaydays[33460]=0; starkl[33460]=6643; itemvperf[33516]=0; itemcpuperf[33516]=0; itemramperf[33516]=0; itempcislots[33516]=0; itemdelta[33516]=1600; itemdelaydays[33516]=0; starkl[33516]=6266; itemvperf[33395]=0; itemcpuperf[33395]=0; itemramperf[33395]=0; itempcislots[33395]=0; itemdelta[33395]=945; itemdelaydays[33395]=0; starkl[33395]=7564; itemvperf[33603]=0; itemcpuperf[33603]=0; itemramperf[33603]=0; itempcislots[33603]=0; itemdelta[33603]=510; itemdelaydays[33603]=0; starkl[33603]=4121; itemvperf[33539]=0; itemcpuperf[33539]=0; itemramperf[33539]=0; itempcislots[33539]=0; itemdelta[33539]=945; itemdelaydays[33539]=0; starkl[33539]=4250; itemvperf[33520]=0; itemcpuperf[33520]=0; itemramperf[33520]=0; itempcislots[33520]=0; itemdelta[33520]=475; itemdelaydays[33520]=0; starkl[33520]=4070; itemvperf[33519]=0; itemcpuperf[33519]=0; itemramperf[33519]=0; itempcislots[33519]=0; itemdelta[33519]=250; itemdelaydays[33519]=0; starkl[33519]=2887; itemvperf[30054]=0; itemcpuperf[30054]=0; itemramperf[30054]=0; itempcislots[30054]=0; itemdelta[30054]=0; itemdelaydays[30054]=0; starkl[30054]=1161; itemvperf[33614]=0; itemcpuperf[33614]=0; itemramperf[33614]=0; itempcislots[33614]=0; itemdelta[33614]=820; itemdelaydays[33614]=0; starkl[33614]=1975; itemvperf[33613]=0; itemcpuperf[33613]=0; itemramperf[33613]=0; itempcislots[33613]=0; itemdelta[33613]=670; itemdelaydays[33613]=0; starkl[33613]=8254; itemvperf[33523]=0; itemcpuperf[33523]=0; itemramperf[33523]=0; itempcislots[33523]=0; itemdelta[33523]=440; itemdelaydays[33523]=0; starkl[33523]=5013; itemvperf[33518]=0; itemcpuperf[33518]=0; itemramperf[33518]=0; itempcislots[33518]=0; itemdelta[33518]=220; itemdelaydays[33518]=0; starkl[33518]=507; itemvperf[33458]=0; itemcpuperf[33458]=0; itemramperf[33458]=0; itempcislots[33458]=0; itemdelta[33458]=2760; itemdelaydays[33458]=0; starkl[33458]=3297; itemvperf[33457]=0; itemcpuperf[33457]=0; itemramperf[33457]=0; itempcislots[33457]=0; itemdelta[33457]=1020; itemdelaydays[33457]=0; starkl[33457]=9421; itemvperf[33391]=0; itemcpuperf[33391]=0; itemramperf[33391]=0; itempcislots[33391]=0; itemdelta[33391]=0; itemdelaydays[33391]=0; starkl[33391]=8852; itemvperf[21857]=0; itemcpuperf[21857]=0; itemramperf[21857]=0; itempcislots[21857]=0; itemdelta[21857]=180; itemdelaydays[21857]=0; starkl[21857]=1647; itemvperf[15041]=0; itemcpuperf[15041]=0; itemramperf[15041]=0; itempcislots[15041]=0; itemdelta[15041]=50; itemdelaydays[15041]=0; starkl[15041]=7186; itemvperf[15040]=0; itemcpuperf[15040]=0; itemramperf[15040]=0; itempcislots[15040]=0; itemdelta[15040]=0; itemdelaydays[15040]=0; starkl[15040]=342; itemvperf[33493]=0; itemcpuperf[33493]=0; itemramperf[33493]=0; itempcislots[33493]=0; itemdelta[33493]=55; itemdelaydays[33493]=0; starkl[33493]=2977; itemvperf[33494]=0; itemcpuperf[33494]=0; itemramperf[33494]=0; itempcislots[33494]=0; itemdelta[33494]=0; itemdelaydays[33494]=0; starkl[33494]=2749; itemvperf[13738]=0; itemcpuperf[13738]=0; itemramperf[13738]=0; itempcislots[13738]=0; itemdelta[13738]=0; itemdelaydays[13738]=0; starkl[13738]=6267; itemvperf[25257]=0; itemcpuperf[25257]=0; itemramperf[25257]=0; itempcislots[25257]=0; itemdelta[25257]=0; itemdelaydays[25257]=0; starkl[25257]=4256; itemvperf[33534]=0; itemcpuperf[33534]=0; itemramperf[33534]=0; itempcislots[33534]=0; itemdelta[33534]=0; itemdelaydays[33534]=0; starkl[33534]=1645; itemvperf[33584]=0; itemcpuperf[33584]=0; itemramperf[33584]=0; itempcislots[33584]=0; itemdelta[33584]=50; itemdelaydays[33584]=0; starkl[33584]=7243; itemvperf[33583]=0; itemcpuperf[33583]=0; itemramperf[33583]=0; itempcislots[33583]=0; itemdelta[33583]=0; itemdelaydays[33583]=0; starkl[33583]=7383; itemvperf[33444]=0; itemcpuperf[33444]=0; itemramperf[33444]=0; itempcislots[33444]=0; itemdelta[33444]=-80; itemdelaydays[33444]=0; starkl[33444]=5952; itemvperf[31314]=0; itemcpuperf[31314]=0; itemramperf[31314]=0; itempcislots[31314]=0; itemdelta[31314]=299; itemdelaydays[31314]=0; starkl[31314]=9999; itemvperf[31315]=0; itemcpuperf[31315]=0; itemramperf[31315]=0; itempcislots[31315]=0; itemdelta[31315]=199; itemdelaydays[31315]=0; starkl[31315]=5709; itemvperf[13796]=0; itemcpuperf[13796]=0; itemramperf[13796]=0; itempcislots[13796]=0; itemdelta[13796]=0; itemdelaydays[13796]=0; starkl[13796]=8745; itemvperf[19698]=0; itemcpuperf[19698]=0; itemramperf[19698]=0; itempcislots[19698]=0; itemdelta[19698]=215; itemdelaydays[19698]=0; starkl[19698]=903; itemvperf[33524]=0; itemcpuperf[33524]=0; itemramperf[33524]=0; itempcislots[33524]=0; itemdelta[33524]=80; itemdelaydays[33524]=0; starkl[33524]=1099; itemvperf[33254]=0; itemcpuperf[33254]=0; itemramperf[33254]=0; itempcislots[33254]=0; itemdelta[33254]=20; itemdelaydays[33254]=0; starkl[33254]=8132; itemvperf[13737]=0; itemcpuperf[13737]=0; itemramperf[13737]=0; itempcislots[13737]=0; itemdelta[13737]=0; itemdelaydays[13737]=0; starkl[13737]=9486; itemvperf[33525]=0; itemcpuperf[33525]=0; itemramperf[33525]=0; itempcislots[33525]=0; itemdelta[33525]=60; itemdelaydays[33525]=0; starkl[33525]=6946; itemvperf[19699]=0; itemcpuperf[19699]=0; itemramperf[19699]=0; itempcislots[19699]=0; itemdelta[19699]=55; itemdelaydays[19699]=0; starkl[19699]=6128; itemvperf[33255]=0; itemcpuperf[33255]=0; itemramperf[33255]=0; itempcislots[33255]=0; itemdelta[33255]=20; itemdelaydays[33255]=0; starkl[33255]=7055; itemvperf[13757]=0; itemcpuperf[13757]=0; itemramperf[13757]=0; itempcislots[13757]=0; itemdelta[13757]=0; itemdelaydays[13757]=0; starkl[13757]=1060; itemvperf[13810]=0; itemcpuperf[13810]=0; itemramperf[13810]=0; itempcislots[13810]=0; itemdelta[13810]=20; itemdelaydays[13810]=0; starkl[13810]=1229; itemvperf[13811]=0; itemcpuperf[13811]=0; itemramperf[13811]=0; itempcislots[13811]=0; itemdelta[13811]=0; itemdelaydays[13811]=0; starkl[13811]=2878; itemvperf[33606]=0; itemcpuperf[33606]=0; itemramperf[33606]=0; itempcislots[33606]=0; itemdelta[33606]=0; itemdelaydays[33606]=0; starkl[33606]=8806; itemvperf[33478]=0; itemcpuperf[33478]=0; itemramperf[33478]=0; itempcislots[33478]=0; itemdelta[33478]=0; itemdelaydays[33478]=0; starkl[33478]=4409; itemvperf[33479]=0; itemcpuperf[33479]=0; itemramperf[33479]=0; itempcislots[33479]=0; itemdelta[33479]=0; itemdelaydays[33479]=0; starkl[33479]=9592; itemvperf[33480]=0; itemcpuperf[33480]=0; itemramperf[33480]=0; itempcislots[33480]=0; itemdelta[33480]=0; itemdelaydays[33480]=0; starkl[33480]=5202; itemvperf[13673]=0; itemcpuperf[13673]=0; itemramperf[13673]=0; itempcislots[13673]=0; itemdelta[13673]=0; itemdelaydays[13673]=0; starkl[13673]=4428; itemvperf[13812]=0; itemcpuperf[13812]=0; itemramperf[13812]=0; itempcislots[13812]=0; itemdelta[13812]=0; itemdelaydays[13812]=0; starkl[13812]=3439; itemvperf[13695]=0; itemcpuperf[13695]=0; itemramperf[13695]=0; itempcislots[13695]=0; itemdelta[13695]=0; itemdelaydays[13695]=0; starkl[13695]=5533; itemvperf[13845]=0; itemcpuperf[13845]=0; itemramperf[13845]=0; itempcislots[13845]=0; itemdelta[13845]=399; itemdelaydays[13845]=0; starkl[13845]=3686; itemvperf[13847]=0; itemcpuperf[13847]=0; itemramperf[13847]=0; itempcislots[13847]=0; itemdelta[13847]=299; itemdelaydays[13847]=0; starkl[13847]=968; itemvperf[13849]=0; itemcpuperf[13849]=0; itemramperf[13849]=0; itempcislots[13849]=0; itemdelta[13849]=0; itemdelaydays[13849]=0; starkl[13849]=2064; itemvperf[13830]=0; itemcpuperf[13830]=0; itemramperf[13830]=0; itempcislots[13830]=0; itemdelta[13830]=0; itemdelaydays[13830]=0; starkl[13830]=4206; itemvperf[33498]=0; itemcpuperf[33498]=0; itemramperf[33498]=0; itempcislots[33498]=0; itemdelta[33498]=-150; itemdelaydays[33498]=0; starkl[33498]=2758; itemvperf[33561]=0; itemcpuperf[33561]=0; itemramperf[33561]=0; itempcislots[33561]=0; itemdelta[33561]=-150; itemdelaydays[33561]=0; starkl[33561]=2505; itemvperf[33448]=0; itemcpuperf[33448]=0; itemramperf[33448]=0; itempcislots[33448]=0; itemdelta[33448]=0; itemdelaydays[33448]=0; starkl[33448]=2443; caseImages[33454]=new Image(); caseImages[33454].src='/img/category-thumbnails/MX6-category-thumbnail.png'; 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()