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[15423]=0; itemcpuperf[15423]=0; itemramperf[15423]=0; itempcislots[15423]=0; itemdelta[15423]=0; itemdelaydays[15423]=0; starkl[15423]=2731; itemvperf[15424]=0; itemcpuperf[15424]=0; itemramperf[15424]=0; itempcislots[15424]=0; itemdelta[15424]=0; itemdelaydays[15424]=0; starkl[15424]=7171; itemvperf[7496]=0; itemcpuperf[7496]=0; itemramperf[7496]=0; itempcislots[7496]=0; itemdelta[7496]=0; itemdelaydays[7496]=0; starkl[7496]=9734; itemvperf[29399]=0; itemcpuperf[29399]=0; itemramperf[29399]=0; itempcislots[29399]=0; itemdelta[29399]=0; itemdelaydays[29399]=0; starkl[29399]=820; itemvperf[21697]=0; itemcpuperf[21697]=178; itemramperf[21697]=0; itempcislots[21697]=0; itemdelta[21697]=490; itemdelaydays[21697]=0; starkl[21697]=3277; itemvperf[21698]=0; itemcpuperf[21698]=170; itemramperf[21698]=0; itempcislots[21698]=0; itemdelta[21698]=120; itemdelaydays[21698]=0; starkl[21698]=5606; itemvperf[21699]=0; itemcpuperf[21699]=154; itemramperf[21699]=0; itempcislots[21699]=0; itemdelta[21699]=60; itemdelaydays[21699]=0; starkl[21699]=7641; itemvperf[25626]=0; itemcpuperf[25626]=145; itemramperf[25626]=0; itempcislots[25626]=0; itemdelta[25626]=0; itemdelaydays[25626]=0; starkl[25626]=3050; itemvperf[21701]=0; itemcpuperf[21701]=128; itemramperf[21701]=0; itempcislots[21701]=0; itemdelta[21701]=0; itemdelaydays[21701]=0; starkl[21701]=5540; itemvperf[7503]=0; itemcpuperf[7503]=0; itemramperf[7503]=0; itempcislots[7503]=0; itemdelta[7503]=25; itemdelaydays[7503]=0; starkl[7503]=4152; itemvperf[7504]=0; itemcpuperf[7504]=0; itemramperf[7504]=0; itempcislots[7504]=0; itemdelta[7504]=0; itemdelaydays[7504]=0; starkl[7504]=5358; itemvperf[26437]=0; itemcpuperf[26437]=0; itemramperf[26437]=0; itempcislots[26437]=0; itemdelta[26437]=0; itemdelaydays[26437]=0; starkl[26437]=9597; itemvperf[21713]=111; itemcpuperf[21713]=0; itemramperf[21713]=0; itempcislots[21713]=0; itemdelta[21713]=140; itemdelaydays[21713]=0; starkl[21713]=8503; itemvperf[21714]=0; itemcpuperf[21714]=0; itemramperf[21714]=0; itempcislots[21714]=0; itemdelta[21714]=95; itemdelaydays[21714]=0; starkl[21714]=3014; itemvperf[7509]=0; itemcpuperf[7509]=0; itemramperf[7509]=0; itempcislots[7509]=0; itemdelta[7509]=0; itemdelaydays[7509]=0; starkl[7509]=4987; itemvperf[29945]=0; itemcpuperf[29945]=0; itemramperf[29945]=0; itempcislots[29945]=0; itemdelta[29945]=439; itemdelaydays[29945]=0; starkl[29945]=8653; itemvperf[29943]=0; itemcpuperf[29943]=0; itemramperf[29943]=0; itempcislots[29943]=0; itemdelta[29943]=259; itemdelaydays[29943]=0; starkl[29943]=5543; itemvperf[29941]=0; itemcpuperf[29941]=0; itemramperf[29941]=0; itempcislots[29941]=0; itemdelta[29941]=219; itemdelaydays[29941]=0; starkl[29941]=9360; itemvperf[29942]=0; itemcpuperf[29942]=0; itemramperf[29942]=0; itempcislots[29942]=0; itemdelta[29942]=179; itemdelaydays[29942]=0; starkl[29942]=6121; itemvperf[7519]=0; itemcpuperf[7519]=0; itemramperf[7519]=0; itempcislots[7519]=0; itemdelta[7519]=0; itemdelaydays[7519]=0; starkl[7519]=5976; itemvperf[7521]=0; itemcpuperf[7521]=0; itemramperf[7521]=0; itempcislots[7521]=0; itemdelta[7521]=55; itemdelaydays[7521]=0; starkl[7521]=1066; itemvperf[7522]=0; itemcpuperf[7522]=0; itemramperf[7522]=0; itempcislots[7522]=0; itemdelta[7522]=0; itemdelaydays[7522]=0; starkl[7522]=4574; itemvperf[7526]=0; itemcpuperf[7526]=0; itemramperf[7526]=0; itempcislots[7526]=0; itemdelta[7526]=79; itemdelaydays[7526]=0; starkl[7526]=4869; itemvperf[7528]=0; itemcpuperf[7528]=0; itemramperf[7528]=0; itempcislots[7528]=0; itemdelta[7528]=49; itemdelaydays[7528]=0; starkl[7528]=7587; itemvperf[7529]=0; itemcpuperf[7529]=0; itemramperf[7529]=0; itempcislots[7529]=0; itemdelta[7529]=19; itemdelaydays[7529]=0; starkl[7529]=2018; itemvperf[7530]=0; itemcpuperf[7530]=0; itemramperf[7530]=0; itempcislots[7530]=0; itemdelta[7530]=0; itemdelaydays[7530]=0; starkl[7530]=9809; itemvperf[15441]=0; itemcpuperf[15441]=0; itemramperf[15441]=0; itempcislots[15441]=0; itemdelta[15441]=60; itemdelaydays[15441]=0; starkl[15441]=6824; itemvperf[15440]=0; itemcpuperf[15440]=0; itemramperf[15440]=0; itempcislots[15440]=0; itemdelta[15440]=40; itemdelaydays[15440]=0; starkl[15440]=858; itemvperf[15439]=0; itemcpuperf[15439]=0; itemramperf[15439]=0; itempcislots[15439]=0; itemdelta[15439]=0; itemdelaydays[15439]=0; starkl[15439]=6902; itemvperf[15444]=0; itemcpuperf[15444]=0; itemramperf[15444]=0; itempcislots[15444]=0; itemdelta[15444]=125; itemdelaydays[15444]=0; starkl[15444]=8154; itemvperf[15443]=0; itemcpuperf[15443]=0; itemramperf[15443]=0; itempcislots[15443]=0; itemdelta[15443]=110; itemdelaydays[15443]=0; starkl[15443]=7050; itemvperf[15442]=0; itemcpuperf[15442]=0; itemramperf[15442]=0; itempcislots[15442]=0; itemdelta[15442]=80; itemdelaydays[15442]=0; starkl[15442]=7668; itemvperf[7541]=0; itemcpuperf[7541]=0; itemramperf[7541]=0; itempcislots[7541]=0; itemdelta[7541]=0; itemdelaydays[7541]=0; starkl[7541]=5122; itemvperf[21862]=0; itemcpuperf[21862]=0; itemramperf[21862]=0; itempcislots[21862]=0; itemdelta[21862]=230; itemdelaydays[21862]=0; starkl[21862]=1859; itemvperf[7542]=0; itemcpuperf[7542]=0; itemramperf[7542]=0; itempcislots[7542]=0; itemdelta[7542]=0; itemdelaydays[7542]=0; starkl[7542]=1308; itemvperf[15448]=0; itemcpuperf[15448]=0; itemramperf[15448]=0; itempcislots[15448]=0; itemdelta[15448]=140; itemdelaydays[15448]=0; starkl[15448]=1579; itemvperf[7544]=0; itemcpuperf[7544]=0; itemramperf[7544]=0; itempcislots[7544]=0; itemdelta[7544]=35; itemdelaydays[7544]=0; starkl[7544]=6998; itemvperf[7546]=0; itemcpuperf[7546]=0; itemramperf[7546]=0; itempcislots[7546]=0; itemdelta[7546]=30; itemdelaydays[7546]=0; starkl[7546]=4148; itemvperf[7548]=0; itemcpuperf[7548]=0; itemramperf[7548]=0; itempcislots[7548]=0; itemdelta[7548]=25; itemdelaydays[7548]=0; starkl[7548]=9697; itemvperf[7549]=0; itemcpuperf[7549]=0; itemramperf[7549]=0; itempcislots[7549]=0; itemdelta[7549]=0; itemdelaydays[7549]=0; starkl[7549]=3815; itemvperf[23945]=0; itemcpuperf[23945]=0; itemramperf[23945]=0; itempcislots[23945]=0; itemdelta[23945]=99; itemdelaydays[23945]=0; starkl[23945]=3438; itemvperf[23946]=0; itemcpuperf[23946]=0; itemramperf[23946]=0; itempcislots[23946]=0; itemdelta[23946]=0; itemdelaydays[23946]=0; starkl[23946]=8872; itemvperf[23975]=0; itemcpuperf[23975]=0; itemramperf[23975]=0; itempcislots[23975]=0; itemdelta[23975]=0; itemdelaydays[23975]=0; starkl[23975]=3534; itemvperf[15449]=0; itemcpuperf[15449]=0; itemramperf[15449]=0; itempcislots[15449]=0; itemdelta[15449]=59; itemdelaydays[15449]=0; starkl[15449]=542; itemvperf[15450]=0; itemcpuperf[15450]=0; itemramperf[15450]=0; itempcislots[15450]=0; itemdelta[15450]=39; itemdelaydays[15450]=0; starkl[15450]=8215; itemvperf[15451]=0; itemcpuperf[15451]=0; itemramperf[15451]=0; itempcislots[15451]=0; itemdelta[15451]=29; itemdelaydays[15451]=0; starkl[15451]=4898; itemvperf[15454]=0; itemcpuperf[15454]=0; itemramperf[15454]=0; itempcislots[15454]=0; itemdelta[15454]=0; itemdelaydays[15454]=0; starkl[15454]=7353; itemvperf[7555]=0; itemcpuperf[7555]=0; itemramperf[7555]=0; itempcislots[7555]=0; itemdelta[7555]=0; itemdelaydays[7555]=0; starkl[7555]=8549; itemvperf[7556]=0; itemcpuperf[7556]=0; itemramperf[7556]=0; itempcislots[7556]=0; itemdelta[7556]=0; itemdelaydays[7556]=0; starkl[7556]=2867; itemvperf[7557]=0; itemcpuperf[7557]=0; itemramperf[7557]=0; itempcislots[7557]=0; itemdelta[7557]=35; itemdelaydays[7557]=0; starkl[7557]=3299; itemvperf[7558]=0; itemcpuperf[7558]=0; itemramperf[7558]=0; itempcislots[7558]=0; itemdelta[7558]=0; itemdelaydays[7558]=0; starkl[7558]=3877; itemvperf[7559]=0; itemcpuperf[7559]=0; itemramperf[7559]=0; itempcislots[7559]=0; itemdelta[7559]=75; itemdelaydays[7559]=0; starkl[7559]=4988; itemvperf[12245]=0; itemcpuperf[12245]=0; itemramperf[12245]=0; itempcislots[12245]=0; itemdelta[12245]=0; itemdelaydays[12245]=0; starkl[12245]=2331; itemvperf[7560]=0; itemcpuperf[7560]=0; itemramperf[7560]=0; itempcislots[7560]=0; itemdelta[7560]=75; itemdelaydays[7560]=0; starkl[7560]=9464; itemvperf[7561]=0; itemcpuperf[7561]=0; itemramperf[7561]=0; itempcislots[7561]=3; itemdelta[7561]=30; itemdelaydays[7561]=0; starkl[7561]=7186; itemvperf[7562]=0; itemcpuperf[7562]=0; itemramperf[7562]=0; itempcislots[7562]=0; itemdelta[7562]=0; itemdelaydays[7562]=0; starkl[7562]=1586; itemvperf[7563]=0; itemcpuperf[7563]=0; itemramperf[7563]=0; itempcislots[7563]=0; itemdelta[7563]=0; itemdelaydays[7563]=0; starkl[7563]=9103; itemvperf[25282]=0; itemcpuperf[25282]=0; itemramperf[25282]=0; itempcislots[25282]=0; itemdelta[25282]=25; itemdelaydays[25282]=0; starkl[25282]=7674; itemvperf[25281]=0; itemcpuperf[25281]=0; itemramperf[25281]=0; itempcislots[25281]=0; itemdelta[25281]=0; itemdelaydays[25281]=0; starkl[25281]=1188; itemvperf[28513]=0; itemcpuperf[28513]=0; itemramperf[28513]=0; itempcislots[28513]=0; itemdelta[28513]=120; itemdelaydays[28513]=0; starkl[28513]=7658; itemvperf[28514]=0; itemcpuperf[28514]=0; itemramperf[28514]=0; itempcislots[28514]=0; itemdelta[28514]=0; itemdelaydays[28514]=0; starkl[28514]=6628; itemvperf[18963]=0; itemcpuperf[18963]=0; itemramperf[18963]=0; itempcislots[18963]=0; itemdelta[18963]=75; itemdelaydays[18963]=0; starkl[18963]=3639; itemvperf[31316]=0; itemcpuperf[31316]=0; itemramperf[31316]=0; itempcislots[31316]=0; itemdelta[31316]=349; itemdelaydays[31316]=0; starkl[31316]=224; itemvperf[31317]=0; itemcpuperf[31317]=0; itemramperf[31317]=0; itempcislots[31317]=0; itemdelta[31317]=199; itemdelaydays[31317]=0; starkl[31317]=5984; itemvperf[31318]=0; itemcpuperf[31318]=0; itemramperf[31318]=0; itempcislots[31318]=0; itemdelta[31318]=149; itemdelaydays[31318]=0; starkl[31318]=5456; itemvperf[7571]=0; itemcpuperf[7571]=0; itemramperf[7571]=0; itempcislots[7571]=0; itemdelta[7571]=0; itemdelaydays[7571]=0; starkl[7571]=976; itemvperf[18052]=0; itemcpuperf[18052]=0; itemramperf[18052]=0; itempcislots[18052]=0; itemdelta[18052]=0; itemdelaydays[18052]=0; starkl[18052]=5210; itemvperf[21803]=0; itemcpuperf[21803]=0; itemramperf[21803]=0; itempcislots[21803]=0; itemdelta[21803]=0; itemdelaydays[21803]=0; starkl[21803]=2307; itemvperf[18044]=0; itemcpuperf[18044]=0; itemramperf[18044]=0; itempcislots[18044]=0; itemdelta[18044]=29; itemdelaydays[18044]=0; starkl[18044]=3702; itemvperf[7572]=0; itemcpuperf[7572]=0; itemramperf[7572]=0; itempcislots[7572]=0; itemdelta[7572]=0; itemdelaydays[7572]=0; starkl[7572]=9505; itemvperf[7573]=0; itemcpuperf[7573]=0; itemramperf[7573]=0; itempcislots[7573]=0; itemdelta[7573]=0; itemdelaydays[7573]=0; starkl[7573]=6112; itemvperf[15798]=0; itemcpuperf[15798]=0; itemramperf[15798]=0; itempcislots[15798]=0; itemdelta[15798]=39; itemdelaydays[15798]=0; starkl[15798]=6638; itemvperf[7575]=0; itemcpuperf[7575]=0; itemramperf[7575]=0; itempcislots[7575]=0; itemdelta[7575]=85; itemdelaydays[7575]=0; starkl[7575]=2358; itemvperf[19718]=0; itemcpuperf[19718]=0; itemramperf[19718]=0; itempcislots[19718]=0; itemdelta[19718]=65; itemdelaydays[19718]=0; starkl[19718]=3976; itemvperf[25752]=0; itemcpuperf[25752]=0; itemramperf[25752]=0; itempcislots[25752]=0; itemdelta[25752]=0; itemdelaydays[25752]=0; starkl[25752]=6446; itemvperf[7580]=0; itemcpuperf[7580]=0; itemramperf[7580]=0; itempcislots[7580]=0; itemdelta[7580]=-15; itemdelaydays[7580]=0; starkl[7580]=4881; itemvperf[19719]=0; itemcpuperf[19719]=0; itemramperf[19719]=0; itempcislots[19719]=0; itemdelta[19719]=35; itemdelaydays[19719]=0; starkl[19719]=9899; itemvperf[29491]=0; itemcpuperf[29491]=0; itemramperf[29491]=0; itempcislots[29491]=0; itemdelta[29491]=0; itemdelaydays[29491]=0; starkl[29491]=7817; itemvperf[7584]=0; itemcpuperf[7584]=0; itemramperf[7584]=0; itempcislots[7584]=0; itemdelta[7584]=-10; itemdelaydays[7584]=0; starkl[7584]=4402; itemvperf[7585]=0; itemcpuperf[7585]=0; itemramperf[7585]=0; itempcislots[7585]=0; itemdelta[7585]=15; itemdelaydays[7585]=0; starkl[7585]=9492; itemvperf[7586]=0; itemcpuperf[7586]=0; itemramperf[7586]=0; itempcislots[7586]=0; itemdelta[7586]=0; itemdelaydays[7586]=0; starkl[7586]=1028; itemvperf[7591]=0; itemcpuperf[7591]=0; itemramperf[7591]=0; itempcislots[7591]=0; itemdelta[7591]=19; itemdelaydays[7591]=0; starkl[7591]=7425; itemvperf[7592]=0; itemcpuperf[7592]=0; itemramperf[7592]=0; itempcislots[7592]=0; itemdelta[7592]=0; itemdelaydays[7592]=0; starkl[7592]=1315; itemvperf[25284]=0; itemcpuperf[25284]=0; itemramperf[25284]=0; itempcislots[25284]=0; itemdelta[25284]=45; itemdelaydays[25284]=0; starkl[25284]=2624; itemvperf[25283]=0; itemcpuperf[25283]=0; itemramperf[25283]=0; itempcislots[25283]=0; itemdelta[25283]=0; itemdelaydays[25283]=0; starkl[25283]=1483; itemvperf[7593]=0; itemcpuperf[7593]=0; itemramperf[7593]=0; itempcislots[7593]=0; itemdelta[7593]=15; itemdelaydays[7593]=0; starkl[7593]=3338; itemvperf[7594]=0; itemcpuperf[7594]=0; itemramperf[7594]=0; itempcislots[7594]=0; itemdelta[7594]=0; itemdelaydays[7594]=0; starkl[7594]=8184; itemvperf[7595]=0; itemcpuperf[7595]=0; itemramperf[7595]=0; itempcislots[7595]=0; itemdelta[7595]=0; itemdelaydays[7595]=0; starkl[7595]=2489; itemvperf[7596]=0; itemcpuperf[7596]=0; itemramperf[7596]=0; itempcislots[7596]=0; itemdelta[7596]=0; itemdelaydays[7596]=0; starkl[7596]=3307; itemvperf[7597]=0; itemcpuperf[7597]=0; itemramperf[7597]=0; itempcislots[7597]=0; itemdelta[7597]=0; itemdelaydays[7597]=0; starkl[7597]=5119; itemvperf[7598]=0; itemcpuperf[7598]=0; itemramperf[7598]=0; itempcislots[7598]=0; itemdelta[7598]=0; itemdelaydays[7598]=0; starkl[7598]=4641; itemvperf[7599]=0; itemcpuperf[7599]=0; itemramperf[7599]=0; itempcislots[7599]=0; itemdelta[7599]=0; itemdelaydays[7599]=0; starkl[7599]=2722; itemvperf[7600]=0; itemcpuperf[7600]=0; itemramperf[7600]=0; itempcislots[7600]=0; itemdelta[7600]=175; itemdelaydays[7600]=0; starkl[7600]=9662; itemvperf[7601]=0; itemcpuperf[7601]=0; itemramperf[7601]=0; itempcislots[7601]=0; itemdelta[7601]=0; itemdelaydays[7601]=0; starkl[7601]=2652; itemvperf[7602]=0; itemcpuperf[7602]=0; itemramperf[7602]=0; itempcislots[7602]=0; itemdelta[7602]=369; itemdelaydays[7602]=0; starkl[7602]=316; itemvperf[7603]=0; itemcpuperf[7603]=0; itemramperf[7603]=0; itempcislots[7603]=0; itemdelta[7603]=299; itemdelaydays[7603]=0; starkl[7603]=8118; itemvperf[7604]=0; itemcpuperf[7604]=0; itemramperf[7604]=0; itempcislots[7604]=0; itemdelta[7604]=269; itemdelaydays[7604]=0; starkl[7604]=4110; itemvperf[7605]=0; itemcpuperf[7605]=0; itemramperf[7605]=0; itempcislots[7605]=0; itemdelta[7605]=199; itemdelaydays[7605]=0; starkl[7605]=5334; itemvperf[7606]=0; itemcpuperf[7606]=0; itemramperf[7606]=0; itempcislots[7606]=0; itemdelta[7606]=169; itemdelaydays[7606]=0; starkl[7606]=9771; itemvperf[7607]=0; itemcpuperf[7607]=0; itemramperf[7607]=0; itempcislots[7607]=0; itemdelta[7607]=99; itemdelaydays[7607]=0; starkl[7607]=3344; itemvperf[7608]=0; itemcpuperf[7608]=0; itemramperf[7608]=0; itempcislots[7608]=0; itemdelta[7608]=69; itemdelaydays[7608]=0; starkl[7608]=5268; itemvperf[7609]=0; itemcpuperf[7609]=0; itemramperf[7609]=0; itempcislots[7609]=0; itemdelta[7609]=0; itemdelaydays[7609]=0; starkl[7609]=240; itemvperf[7610]=0; itemcpuperf[7610]=0; itemramperf[7610]=0; itempcislots[7610]=0; itemdelta[7610]=0; itemdelaydays[7610]=0; starkl[7610]=3671; itemvperf[7611]=0; itemcpuperf[7611]=0; itemramperf[7611]=0; itempcislots[7611]=0; itemdelta[7611]=0; itemdelaydays[7611]=0; starkl[7611]=7285; itemvperf[21773]=0; itemcpuperf[21773]=0; itemramperf[21773]=0; itempcislots[21773]=0; itemdelta[21773]=0; itemdelaydays[21773]=0; starkl[21773]=3592; itemvperf[25627]=0; itemcpuperf[25627]=0; itemramperf[25627]=0; itempcislots[25627]=0; itemdelta[25627]=-50; itemdelaydays[25627]=0; starkl[25627]=7538; itemvperf[25628]=0; itemcpuperf[25628]=0; itemramperf[25628]=0; itempcislots[25628]=0; itemdelta[25628]=0; itemdelaydays[25628]=0; starkl[25628]=4034; caseImages[15423]=new Image(); caseImages[15423].src='/images/upload/mx2_silver.jpg'; 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); //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()