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[15424]=0; itemcpuperf[15424]=0; itemramperf[15424]=0; itempcislots[15424]=0; itemdelta[15424]=0; itemdelaydays[15424]=0; starkl[15424]=930; itemvperf[32771]=0; itemcpuperf[32771]=0; itemramperf[32771]=0; itempcislots[32771]=0; itemdelta[32771]=45; itemdelaydays[32771]=0; starkl[32771]=4417; itemvperf[7496]=0; itemcpuperf[7496]=0; itemramperf[7496]=0; itempcislots[7496]=0; itemdelta[7496]=0; itemdelaydays[7496]=0; starkl[7496]=9075; itemvperf[32772]=0; itemcpuperf[32772]=0; itemramperf[32772]=0; itempcislots[32772]=0; itemdelta[32772]=0; itemdelaydays[32772]=0; starkl[32772]=7482; itemvperf[32255]=0; itemcpuperf[32255]=125; itemramperf[32255]=0; itempcislots[32255]=0; itemdelta[32255]=105; itemdelaydays[32255]=0; starkl[32255]=3219; itemvperf[32256]=0; itemcpuperf[32256]=0; itemramperf[32256]=0; itempcislots[32256]=0; itemdelta[32256]=95; itemdelaydays[32256]=0; starkl[32256]=9114; itemvperf[32257]=0; itemcpuperf[32257]=0; itemramperf[32257]=0; itempcislots[32257]=0; itemdelta[32257]=0; itemdelaydays[32257]=0; starkl[32257]=1279; itemvperf[7503]=0; itemcpuperf[7503]=0; itemramperf[7503]=0; itempcislots[7503]=0; itemdelta[7503]=25; itemdelaydays[7503]=0; starkl[7503]=757; itemvperf[7504]=0; itemcpuperf[7504]=0; itemramperf[7504]=0; itempcislots[7504]=0; itemdelta[7504]=0; itemdelaydays[7504]=0; starkl[7504]=5975; itemvperf[32246]=0; itemcpuperf[32246]=0; itemramperf[32246]=0; itempcislots[32246]=0; itemdelta[32246]=100; itemdelaydays[32246]=0; starkl[32246]=1781; itemvperf[32245]=0; itemcpuperf[32245]=0; itemramperf[32245]=0; itempcislots[32245]=0; itemdelta[32245]=0; itemdelaydays[32245]=0; starkl[32245]=5448; itemvperf[32263]=0; itemcpuperf[32263]=0; itemramperf[32263]=0; itempcislots[32263]=0; itemdelta[32263]=320; itemdelaydays[32263]=0; starkl[32263]=5052; itemvperf[32775]=155; itemcpuperf[32775]=0; itemramperf[32775]=0; itempcislots[32775]=0; itemdelta[32775]=110; itemdelaydays[32775]=0; starkl[32775]=2489; itemvperf[32258]=0; itemcpuperf[32258]=0; itemramperf[32258]=0; itempcislots[32258]=0; itemdelta[32258]=105; itemdelaydays[32258]=0; starkl[32258]=7902; itemvperf[32774]=0; itemcpuperf[32774]=0; itemramperf[32774]=0; itempcislots[32774]=0; itemdelta[32774]=75; itemdelaydays[32774]=0; starkl[32774]=4101; itemvperf[32773]=0; itemcpuperf[32773]=0; itemramperf[32773]=0; itempcislots[32773]=0; itemdelta[32773]=0; itemdelaydays[32773]=0; starkl[32773]=6179; itemvperf[29945]=0; itemcpuperf[29945]=0; itemramperf[29945]=0; itempcislots[29945]=0; itemdelta[29945]=439; itemdelaydays[29945]=0; starkl[29945]=1196; itemvperf[29943]=0; itemcpuperf[29943]=0; itemramperf[29943]=0; itempcislots[29943]=0; itemdelta[29943]=259; itemdelaydays[29943]=0; starkl[29943]=484; itemvperf[29941]=0; itemcpuperf[29941]=0; itemramperf[29941]=0; itempcislots[29941]=0; itemdelta[29941]=219; itemdelaydays[29941]=0; starkl[29941]=8944; itemvperf[29942]=0; itemcpuperf[29942]=0; itemramperf[29942]=0; itempcislots[29942]=0; itemdelta[29942]=179; itemdelaydays[29942]=0; starkl[29942]=6267; itemvperf[7519]=0; itemcpuperf[7519]=0; itemramperf[7519]=0; itempcislots[7519]=0; itemdelta[7519]=0; itemdelaydays[7519]=0; starkl[7519]=7107; itemvperf[7521]=0; itemcpuperf[7521]=0; itemramperf[7521]=0; itempcislots[7521]=0; itemdelta[7521]=55; itemdelaydays[7521]=0; starkl[7521]=5228; itemvperf[7522]=0; itemcpuperf[7522]=0; itemramperf[7522]=0; itempcislots[7522]=0; itemdelta[7522]=0; itemdelaydays[7522]=0; starkl[7522]=9802; itemvperf[7526]=0; itemcpuperf[7526]=0; itemramperf[7526]=0; itempcislots[7526]=0; itemdelta[7526]=79; itemdelaydays[7526]=0; starkl[7526]=1768; itemvperf[7528]=0; itemcpuperf[7528]=0; itemramperf[7528]=0; itempcislots[7528]=0; itemdelta[7528]=49; itemdelaydays[7528]=0; starkl[7528]=6951; itemvperf[7529]=0; itemcpuperf[7529]=0; itemramperf[7529]=0; itempcislots[7529]=0; itemdelta[7529]=19; itemdelaydays[7529]=0; starkl[7529]=7870; itemvperf[7530]=0; itemcpuperf[7530]=0; itemramperf[7530]=0; itempcislots[7530]=0; itemdelta[7530]=0; itemdelaydays[7530]=0; starkl[7530]=9060; itemvperf[15441]=0; itemcpuperf[15441]=0; itemramperf[15441]=0; itempcislots[15441]=0; itemdelta[15441]=30; itemdelaydays[15441]=0; starkl[15441]=956; itemvperf[15439]=0; itemcpuperf[15439]=0; itemramperf[15439]=0; itempcislots[15439]=0; itemdelta[15439]=0; itemdelaydays[15439]=0; starkl[15439]=7404; itemvperf[15444]=0; itemcpuperf[15444]=0; itemramperf[15444]=0; itempcislots[15444]=0; itemdelta[15444]=80; itemdelaydays[15444]=0; starkl[15444]=7357; itemvperf[15442]=0; itemcpuperf[15442]=0; itemramperf[15442]=0; itempcislots[15442]=0; itemdelta[15442]=65; itemdelaydays[15442]=0; starkl[15442]=6916; itemvperf[7541]=0; itemcpuperf[7541]=0; itemramperf[7541]=0; itempcislots[7541]=0; itemdelta[7541]=0; itemdelaydays[7541]=0; starkl[7541]=1296; itemvperf[21862]=0; itemcpuperf[21862]=0; itemramperf[21862]=0; itempcislots[21862]=0; itemdelta[21862]=125; itemdelaydays[21862]=0; starkl[21862]=3437; itemvperf[7542]=0; itemcpuperf[7542]=0; itemramperf[7542]=0; itempcislots[7542]=0; itemdelta[7542]=0; itemdelaydays[7542]=0; starkl[7542]=3085; itemvperf[15448]=0; itemcpuperf[15448]=0; itemramperf[15448]=0; itempcislots[15448]=0; itemdelta[15448]=110; itemdelaydays[15448]=0; starkl[15448]=8912; itemvperf[7544]=0; itemcpuperf[7544]=0; itemramperf[7544]=0; itempcislots[7544]=0; itemdelta[7544]=35; itemdelaydays[7544]=0; starkl[7544]=4857; itemvperf[7549]=0; itemcpuperf[7549]=0; itemramperf[7549]=0; itempcislots[7549]=0; itemdelta[7549]=0; itemdelaydays[7549]=0; starkl[7549]=5531; itemvperf[33655]=0; itemcpuperf[33655]=0; itemramperf[33655]=0; itempcislots[33655]=0; itemdelta[33655]=99; itemdelaydays[33655]=0; starkl[33655]=6403; itemvperf[23946]=0; itemcpuperf[23946]=0; itemramperf[23946]=0; itempcislots[23946]=0; itemdelta[23946]=0; itemdelaydays[23946]=0; starkl[23946]=1824; itemvperf[32264]=0; itemcpuperf[32264]=0; itemramperf[32264]=0; itempcislots[32264]=0; itemdelta[32264]=0; itemdelaydays[32264]=0; starkl[32264]=8422; itemvperf[15449]=0; itemcpuperf[15449]=0; itemramperf[15449]=0; itempcislots[15449]=0; itemdelta[15449]=59; itemdelaydays[15449]=0; starkl[15449]=8451; itemvperf[15450]=0; itemcpuperf[15450]=0; itemramperf[15450]=0; itempcislots[15450]=0; itemdelta[15450]=39; itemdelaydays[15450]=0; starkl[15450]=4654; itemvperf[15451]=0; itemcpuperf[15451]=0; itemramperf[15451]=0; itempcislots[15451]=0; itemdelta[15451]=29; itemdelaydays[15451]=0; starkl[15451]=6334; itemvperf[15454]=0; itemcpuperf[15454]=0; itemramperf[15454]=0; itempcislots[15454]=0; itemdelta[15454]=0; itemdelaydays[15454]=0; starkl[15454]=4116; itemvperf[7555]=0; itemcpuperf[7555]=0; itemramperf[7555]=0; itempcislots[7555]=0; itemdelta[7555]=0; itemdelaydays[7555]=0; starkl[7555]=6131; itemvperf[7556]=0; itemcpuperf[7556]=0; itemramperf[7556]=0; itempcislots[7556]=0; itemdelta[7556]=0; itemdelaydays[7556]=0; starkl[7556]=6467; itemvperf[7557]=0; itemcpuperf[7557]=0; itemramperf[7557]=0; itempcislots[7557]=0; itemdelta[7557]=20; itemdelaydays[7557]=0; starkl[7557]=2525; itemvperf[7558]=0; itemcpuperf[7558]=0; itemramperf[7558]=0; itempcislots[7558]=0; itemdelta[7558]=0; itemdelaydays[7558]=0; starkl[7558]=7515; itemvperf[7559]=0; itemcpuperf[7559]=0; itemramperf[7559]=0; itempcislots[7559]=0; itemdelta[7559]=75; itemdelaydays[7559]=0; starkl[7559]=3977; itemvperf[32249]=0; itemcpuperf[32249]=0; itemramperf[32249]=0; itempcislots[32249]=0; itemdelta[32249]=75; itemdelaydays[32249]=0; starkl[32249]=1389; itemvperf[32248]=0; itemcpuperf[32248]=0; itemramperf[32248]=0; itempcislots[32248]=0; itemdelta[32248]=0; itemdelaydays[32248]=0; starkl[32248]=2163; itemvperf[7562]=0; itemcpuperf[7562]=0; itemramperf[7562]=0; itempcislots[7562]=0; itemdelta[7562]=0; itemdelaydays[7562]=0; starkl[7562]=9651; itemvperf[7563]=0; itemcpuperf[7563]=0; itemramperf[7563]=0; itempcislots[7563]=0; itemdelta[7563]=0; itemdelaydays[7563]=0; starkl[7563]=406; itemvperf[25282]=0; itemcpuperf[25282]=0; itemramperf[25282]=0; itempcislots[25282]=0; itemdelta[25282]=25; itemdelaydays[25282]=0; starkl[25282]=2626; itemvperf[25281]=0; itemcpuperf[25281]=0; itemramperf[25281]=0; itempcislots[25281]=0; itemdelta[25281]=0; itemdelaydays[25281]=0; starkl[25281]=7658; itemvperf[32250]=0; itemcpuperf[32250]=0; itemramperf[32250]=0; itempcislots[32250]=0; itemdelta[32250]=120; itemdelaydays[32250]=0; starkl[32250]=8139; itemvperf[32252]=0; itemcpuperf[32252]=0; itemramperf[32252]=0; itempcislots[32252]=0; itemdelta[32252]=50; itemdelaydays[32252]=0; starkl[32252]=3077; itemvperf[32251]=0; itemcpuperf[32251]=0; itemramperf[32251]=0; itempcislots[32251]=0; itemdelta[32251]=0; itemdelaydays[32251]=0; starkl[32251]=1065; itemvperf[31316]=0; itemcpuperf[31316]=0; itemramperf[31316]=0; itempcislots[31316]=0; itemdelta[31316]=349; itemdelaydays[31316]=0; starkl[31316]=3879; itemvperf[31317]=0; itemcpuperf[31317]=0; itemramperf[31317]=0; itempcislots[31317]=0; itemdelta[31317]=199; itemdelaydays[31317]=0; starkl[31317]=9124; itemvperf[31318]=0; itemcpuperf[31318]=0; itemramperf[31318]=0; itempcislots[31318]=0; itemdelta[31318]=149; itemdelaydays[31318]=0; starkl[31318]=8101; itemvperf[7571]=0; itemcpuperf[7571]=0; itemramperf[7571]=0; itempcislots[7571]=0; itemdelta[7571]=0; itemdelaydays[7571]=0; starkl[7571]=6347; itemvperf[21803]=0; itemcpuperf[21803]=0; itemramperf[21803]=0; itempcislots[21803]=0; itemdelta[21803]=0; itemdelaydays[21803]=0; starkl[21803]=3408; itemvperf[18052]=0; itemcpuperf[18052]=0; itemramperf[18052]=0; itempcislots[18052]=0; itemdelta[18052]=0; itemdelaydays[18052]=0; starkl[18052]=5896; itemvperf[18044]=0; itemcpuperf[18044]=0; itemramperf[18044]=0; itempcislots[18044]=0; itemdelta[18044]=29; itemdelaydays[18044]=0; starkl[18044]=4915; itemvperf[32267]=0; itemcpuperf[32267]=0; itemramperf[32267]=0; itempcislots[32267]=0; itemdelta[32267]=39; itemdelaydays[32267]=0; starkl[32267]=2335; itemvperf[32266]=0; itemcpuperf[32266]=0; itemramperf[32266]=0; itempcislots[32266]=0; itemdelta[32266]=10; itemdelaydays[32266]=0; starkl[32266]=8879; itemvperf[32265]=0; itemcpuperf[32265]=0; itemramperf[32265]=0; itempcislots[32265]=0; itemdelta[32265]=0; itemdelaydays[32265]=0; starkl[32265]=1448; itemvperf[7575]=0; itemcpuperf[7575]=0; itemramperf[7575]=0; itempcislots[7575]=0; itemdelta[7575]=85; itemdelaydays[7575]=0; starkl[7575]=2767; itemvperf[19718]=0; itemcpuperf[19718]=0; itemramperf[19718]=0; itempcislots[19718]=0; itemdelta[19718]=75; itemdelaydays[19718]=0; starkl[19718]=8607; itemvperf[33252]=0; itemcpuperf[33252]=0; itemramperf[33252]=0; itempcislots[33252]=0; itemdelta[33252]=0; itemdelaydays[33252]=0; starkl[33252]=5208; itemvperf[7580]=0; itemcpuperf[7580]=0; itemramperf[7580]=0; itempcislots[7580]=0; itemdelta[7580]=-15; itemdelaydays[7580]=0; starkl[7580]=6211; itemvperf[19719]=0; itemcpuperf[19719]=0; itemramperf[19719]=0; itempcislots[19719]=0; itemdelta[19719]=45; itemdelaydays[19719]=0; starkl[19719]=5024; itemvperf[33253]=0; itemcpuperf[33253]=0; itemramperf[33253]=0; itempcislots[33253]=0; itemdelta[33253]=0; itemdelaydays[33253]=0; starkl[33253]=7187; itemvperf[7584]=0; itemcpuperf[7584]=0; itemramperf[7584]=0; itempcislots[7584]=0; itemdelta[7584]=-10; itemdelaydays[7584]=0; starkl[7584]=1489; itemvperf[7585]=0; itemcpuperf[7585]=0; itemramperf[7585]=0; itempcislots[7585]=0; itemdelta[7585]=15; itemdelaydays[7585]=0; starkl[7585]=6031; itemvperf[7586]=0; itemcpuperf[7586]=0; itemramperf[7586]=0; itempcislots[7586]=0; itemdelta[7586]=0; itemdelaydays[7586]=0; starkl[7586]=5771; itemvperf[7591]=0; itemcpuperf[7591]=0; itemramperf[7591]=0; itempcislots[7591]=0; itemdelta[7591]=19; itemdelaydays[7591]=0; starkl[7591]=8536; itemvperf[7592]=0; itemcpuperf[7592]=0; itemramperf[7592]=0; itempcislots[7592]=0; itemdelta[7592]=0; itemdelaydays[7592]=0; starkl[7592]=4923; itemvperf[25284]=0; itemcpuperf[25284]=0; itemramperf[25284]=0; itempcislots[25284]=0; itemdelta[25284]=45; itemdelaydays[25284]=0; starkl[25284]=3464; itemvperf[25283]=0; itemcpuperf[25283]=0; itemramperf[25283]=0; itempcislots[25283]=0; itemdelta[25283]=0; itemdelaydays[25283]=0; starkl[25283]=3341; itemvperf[7593]=0; itemcpuperf[7593]=0; itemramperf[7593]=0; itempcislots[7593]=0; itemdelta[7593]=15; itemdelaydays[7593]=0; starkl[7593]=7488; itemvperf[7594]=0; itemcpuperf[7594]=0; itemramperf[7594]=0; itempcislots[7594]=0; itemdelta[7594]=0; itemdelaydays[7594]=0; starkl[7594]=8453; itemvperf[7595]=0; itemcpuperf[7595]=0; itemramperf[7595]=0; itempcislots[7595]=0; itemdelta[7595]=0; itemdelaydays[7595]=0; starkl[7595]=1643; itemvperf[7596]=0; itemcpuperf[7596]=0; itemramperf[7596]=0; itempcislots[7596]=0; itemdelta[7596]=0; itemdelaydays[7596]=0; starkl[7596]=1489; itemvperf[7597]=0; itemcpuperf[7597]=0; itemramperf[7597]=0; itempcislots[7597]=0; itemdelta[7597]=0; itemdelaydays[7597]=0; starkl[7597]=5130; itemvperf[7598]=0; itemcpuperf[7598]=0; itemramperf[7598]=0; itempcislots[7598]=0; itemdelta[7598]=0; itemdelaydays[7598]=0; starkl[7598]=2407; itemvperf[7599]=0; itemcpuperf[7599]=0; itemramperf[7599]=0; itempcislots[7599]=0; itemdelta[7599]=0; itemdelaydays[7599]=0; starkl[7599]=4331; itemvperf[7601]=0; itemcpuperf[7601]=0; itemramperf[7601]=0; itempcislots[7601]=0; itemdelta[7601]=0; itemdelaydays[7601]=0; starkl[7601]=1666; itemvperf[7600]=0; itemcpuperf[7600]=0; itemramperf[7600]=0; itempcislots[7600]=0; itemdelta[7600]=175; itemdelaydays[7600]=0; starkl[7600]=3413; itemvperf[7602]=0; itemcpuperf[7602]=0; itemramperf[7602]=0; itempcislots[7602]=0; itemdelta[7602]=369; itemdelaydays[7602]=0; starkl[7602]=2905; itemvperf[7603]=0; itemcpuperf[7603]=0; itemramperf[7603]=0; itempcislots[7603]=0; itemdelta[7603]=299; itemdelaydays[7603]=0; starkl[7603]=8669; itemvperf[7604]=0; itemcpuperf[7604]=0; itemramperf[7604]=0; itempcislots[7604]=0; itemdelta[7604]=269; itemdelaydays[7604]=0; starkl[7604]=5622; itemvperf[7605]=0; itemcpuperf[7605]=0; itemramperf[7605]=0; itempcislots[7605]=0; itemdelta[7605]=199; itemdelaydays[7605]=0; starkl[7605]=580; itemvperf[7606]=0; itemcpuperf[7606]=0; itemramperf[7606]=0; itempcislots[7606]=0; itemdelta[7606]=169; itemdelaydays[7606]=0; starkl[7606]=6097; itemvperf[7607]=0; itemcpuperf[7607]=0; itemramperf[7607]=0; itempcislots[7607]=0; itemdelta[7607]=99; itemdelaydays[7607]=0; starkl[7607]=5996; itemvperf[7608]=0; itemcpuperf[7608]=0; itemramperf[7608]=0; itempcislots[7608]=0; itemdelta[7608]=69; itemdelaydays[7608]=0; starkl[7608]=8090; itemvperf[7609]=0; itemcpuperf[7609]=0; itemramperf[7609]=0; itempcislots[7609]=0; itemdelta[7609]=0; itemdelaydays[7609]=0; starkl[7609]=2977; itemvperf[7610]=0; itemcpuperf[7610]=0; itemramperf[7610]=0; itempcislots[7610]=0; itemdelta[7610]=0; itemdelaydays[7610]=0; starkl[7610]=4865; itemvperf[21773]=0; itemcpuperf[21773]=0; itemramperf[21773]=0; itempcislots[21773]=0; itemdelta[21773]=0; itemdelaydays[21773]=0; starkl[21773]=5358; itemvperf[25627]=0; itemcpuperf[25627]=0; itemramperf[25627]=0; itempcislots[25627]=0; itemdelta[25627]=-50; itemdelaydays[25627]=0; starkl[25627]=9382; itemvperf[25628]=0; itemcpuperf[25628]=0; itemramperf[25628]=0; itempcislots[25628]=0; itemdelta[25628]=0; itemdelaydays[25628]=0; starkl[25628]=6318; caseImages[15424]=new Image(); caseImages[15424].src='/images/upload/mx2_black.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()