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[21867]=0; itemcpuperf[21867]=0; itemramperf[21867]=0; itempcislots[21867]=0; itemdelta[21867]=0; itemdelaydays[21867]=0; starkl[21867]=1951; itemvperf[11660]=0; itemcpuperf[11660]=0; itemramperf[11660]=0; itempcislots[11660]=0; itemdelta[11660]=0; itemdelaydays[11660]=0; starkl[11660]=5536; itemvperf[11661]=0; itemcpuperf[11661]=0; itemramperf[11661]=0; itempcislots[11661]=0; itemdelta[11661]=0; itemdelaydays[11661]=0; starkl[11661]=9176; itemvperf[30017]=0; itemcpuperf[30017]=0; itemramperf[30017]=0; itempcislots[30017]=0; itemdelta[30017]=0; itemdelaydays[30017]=0; starkl[30017]=424; itemvperf[11663]=0; itemcpuperf[11663]=175; itemramperf[11663]=0; itempcislots[11663]=0; itemdelta[11663]=1135; itemdelaydays[11663]=0; starkl[11663]=8388; itemvperf[17969]=0; itemcpuperf[17969]=170; itemramperf[17969]=0; itempcislots[17969]=0; itemdelta[17969]=190; itemdelaydays[17969]=0; starkl[17969]=8809; itemvperf[21684]=0; itemcpuperf[21684]=154; itemramperf[21684]=0; itempcislots[21684]=0; itemdelta[21684]=120; itemdelaydays[21684]=0; starkl[21684]=1122; itemvperf[26853]=0; itemcpuperf[26853]=128; itemramperf[26853]=0; itempcislots[26853]=0; itemdelta[26853]=0; itemdelaydays[26853]=0; starkl[26853]=2093; itemvperf[26852]=0; itemcpuperf[26852]=126; itemramperf[26852]=0; itempcislots[26852]=0; itemdelta[26852]=-5; itemdelaydays[26852]=0; starkl[26852]=819; itemvperf[11669]=0; itemcpuperf[11669]=0; itemramperf[11669]=0; itempcislots[11669]=0; itemdelta[11669]=0; itemdelaydays[11669]=0; starkl[11669]=646; itemvperf[15456]=0; itemcpuperf[15456]=0; itemramperf[15456]=0; itempcislots[15456]=0; itemdelta[15456]=105; itemdelaydays[15456]=0; starkl[15456]=1101; itemvperf[15457]=0; itemcpuperf[15457]=0; itemramperf[15457]=0; itempcislots[15457]=0; itemdelta[15457]=0; itemdelaydays[15457]=0; starkl[15457]=6365; itemvperf[21709]=0; itemcpuperf[21709]=0; itemramperf[21709]=0; itempcislots[21709]=0; itemdelta[21709]=95; itemdelaydays[21709]=0; starkl[21709]=5715; itemvperf[11675]=0; itemcpuperf[11675]=0; itemramperf[11675]=0; itempcislots[11675]=0; itemdelta[11675]=0; itemdelaydays[11675]=0; starkl[11675]=7989; itemvperf[29940]=0; itemcpuperf[29940]=0; itemramperf[29940]=0; itempcislots[29940]=0; itemdelta[29940]=439; itemdelaydays[29940]=0; starkl[29940]=7702; itemvperf[29939]=0; itemcpuperf[29939]=0; itemramperf[29939]=0; itempcislots[29939]=0; itemdelta[29939]=259; itemdelaydays[29939]=0; starkl[29939]=924; itemvperf[29937]=0; itemcpuperf[29937]=0; itemramperf[29937]=0; itempcislots[29937]=0; itemdelta[29937]=219; itemdelaydays[29937]=0; starkl[29937]=3560; itemvperf[29938]=0; itemcpuperf[29938]=0; itemramperf[29938]=0; itempcislots[29938]=0; itemdelta[29938]=179; itemdelaydays[29938]=0; starkl[29938]=9761; itemvperf[11678]=0; itemcpuperf[11678]=0; itemramperf[11678]=0; itempcislots[11678]=0; itemdelta[11678]=0; itemdelaydays[11678]=0; starkl[11678]=7298; itemvperf[11679]=0; itemcpuperf[11679]=0; itemramperf[11679]=0; itempcislots[11679]=0; itemdelta[11679]=0; itemdelaydays[11679]=0; starkl[11679]=7319; itemvperf[11680]=0; itemcpuperf[11680]=0; itemramperf[11680]=0; itempcislots[11680]=0; itemdelta[11680]=470; itemdelaydays[11680]=0; starkl[11680]=8081; itemvperf[24861]=0; itemcpuperf[24861]=0; itemramperf[24861]=0; itempcislots[24861]=0; itemdelta[24861]=0; itemdelaydays[24861]=0; starkl[24861]=1171; itemvperf[11681]=0; itemcpuperf[11681]=0; itemramperf[11681]=0; itempcislots[11681]=0; itemdelta[11681]=0; itemdelaydays[11681]=0; starkl[11681]=5145; itemvperf[11682]=0; itemcpuperf[11682]=0; itemramperf[11682]=0; itempcislots[11682]=0; itemdelta[11682]=690; itemdelaydays[11682]=0; starkl[11682]=8390; itemvperf[11683]=0; itemcpuperf[11683]=0; itemramperf[11683]=0; itempcislots[11683]=0; itemdelta[11683]=345; itemdelaydays[11683]=0; starkl[11683]=5763; itemvperf[11684]=0; itemcpuperf[11684]=0; itemramperf[11684]=0; itempcislots[11684]=0; itemdelta[11684]=225; itemdelaydays[11684]=0; starkl[11684]=7560; itemvperf[11685]=0; itemcpuperf[11685]=0; itemramperf[11685]=0; itempcislots[11685]=0; itemdelta[11685]=90; itemdelaydays[11685]=0; starkl[11685]=9786; itemvperf[11686]=0; itemcpuperf[11686]=0; itemramperf[11686]=0; itempcislots[11686]=0; itemdelta[11686]=130; itemdelaydays[11686]=0; starkl[11686]=6936; itemvperf[11687]=0; itemcpuperf[11687]=0; itemramperf[11687]=0; itempcislots[11687]=0; itemdelta[11687]=70; itemdelaydays[11687]=0; starkl[11687]=8883; itemvperf[11688]=0; itemcpuperf[11688]=0; itemramperf[11688]=0; itempcislots[11688]=0; itemdelta[11688]=0; itemdelaydays[11688]=0; starkl[11688]=9726; itemvperf[11692]=0; itemcpuperf[11692]=0; itemramperf[11692]=0; itempcislots[11692]=0; itemdelta[11692]=215; itemdelaydays[11692]=0; starkl[11692]=3379; itemvperf[11693]=0; itemcpuperf[11693]=0; itemramperf[11693]=0; itempcislots[11693]=0; itemdelta[11693]=155; itemdelaydays[11693]=0; starkl[11693]=8324; itemvperf[11694]=0; itemcpuperf[11694]=0; itemramperf[11694]=0; itempcislots[11694]=0; itemdelta[11694]=90; itemdelaydays[11694]=0; starkl[11694]=5320; itemvperf[11714]=0; itemcpuperf[11714]=0; itemramperf[11714]=0; itempcislots[11714]=0; itemdelta[11714]=0; itemdelaydays[11714]=0; starkl[11714]=2917; itemvperf[11715]=0; itemcpuperf[11715]=0; itemramperf[11715]=0; itempcislots[11715]=0; itemdelta[11715]=0; itemdelaydays[11715]=0; starkl[11715]=4972; itemvperf[21859]=0; itemcpuperf[21859]=0; itemramperf[21859]=0; itempcislots[21859]=0; itemdelta[21859]=350; itemdelaydays[21859]=0; starkl[21859]=7854; itemvperf[11716]=0; itemcpuperf[11716]=0; itemramperf[11716]=0; itempcislots[11716]=0; itemdelta[11716]=45; itemdelaydays[11716]=0; starkl[11716]=8589; itemvperf[11717]=0; itemcpuperf[11717]=0; itemramperf[11717]=0; itempcislots[11717]=0; itemdelta[11717]=0; itemdelaydays[11717]=0; starkl[11717]=5828; itemvperf[11718]=0; itemcpuperf[11718]=0; itemramperf[11718]=0; itempcislots[11718]=0; itemdelta[11718]=0; itemdelaydays[11718]=0; starkl[11718]=5855; itemvperf[11719]=0; itemcpuperf[11719]=0; itemramperf[11719]=0; itempcislots[11719]=0; itemdelta[11719]=0; itemdelaydays[11719]=0; starkl[11719]=3158; itemvperf[22175]=0; itemcpuperf[22175]=0; itemramperf[22175]=0; itempcislots[22175]=0; itemdelta[22175]=35; itemdelaydays[22175]=0; starkl[22175]=9392; itemvperf[11721]=0; itemcpuperf[11721]=0; itemramperf[11721]=0; itempcislots[11721]=0; itemdelta[11721]=0; itemdelaydays[11721]=0; starkl[11721]=8261; itemvperf[11722]=0; itemcpuperf[11722]=0; itemramperf[11722]=0; itempcislots[11722]=0; itemdelta[11722]=75; itemdelaydays[11722]=0; starkl[11722]=4648; itemvperf[11723]=0; itemcpuperf[11723]=0; itemramperf[11723]=0; itempcislots[11723]=0; itemdelta[11723]=0; itemdelaydays[11723]=0; starkl[11723]=6259; itemvperf[11724]=0; itemcpuperf[11724]=0; itemramperf[11724]=0; itempcislots[11724]=0; itemdelta[11724]=0; itemdelaydays[11724]=0; starkl[11724]=1081; itemvperf[25294]=0; itemcpuperf[25294]=0; itemramperf[25294]=0; itempcislots[25294]=0; itemdelta[25294]=25; itemdelaydays[25294]=0; starkl[25294]=8204; itemvperf[25293]=0; itemcpuperf[25293]=0; itemramperf[25293]=0; itempcislots[25293]=0; itemdelta[25293]=0; itemdelaydays[25293]=0; starkl[25293]=7297; itemvperf[28482]=0; itemcpuperf[28482]=0; itemramperf[28482]=0; itempcislots[28482]=0; itemdelta[28482]=130; itemdelaydays[28482]=0; starkl[28482]=7962; itemvperf[28483]=0; itemcpuperf[28483]=0; itemramperf[28483]=0; itempcislots[28483]=0; itemdelta[28483]=70; itemdelaydays[28483]=0; starkl[28483]=3421; itemvperf[28484]=0; itemcpuperf[28484]=0; itemramperf[28484]=0; itempcislots[28484]=0; itemdelta[28484]=0; itemdelaydays[28484]=0; starkl[28484]=7974; itemvperf[18054]=0; itemcpuperf[18054]=0; itemramperf[18054]=0; itempcislots[18054]=0; itemdelta[18054]=0; itemdelaydays[18054]=0; starkl[18054]=5756; itemvperf[21801]=0; itemcpuperf[21801]=0; itemramperf[21801]=0; itempcislots[21801]=0; itemdelta[21801]=0; itemdelaydays[21801]=0; starkl[21801]=5111; itemvperf[18041]=0; itemcpuperf[18041]=0; itemramperf[18041]=0; itempcislots[18041]=0; itemdelta[18041]=29; itemdelaydays[18041]=0; starkl[18041]=293; itemvperf[11731]=0; itemcpuperf[11731]=0; itemramperf[11731]=0; itempcislots[11731]=0; itemdelta[11731]=0; itemdelaydays[11731]=0; starkl[11731]=2944; itemvperf[15464]=0; itemcpuperf[15464]=0; itemramperf[15464]=0; itempcislots[15464]=0; itemdelta[15464]=325; itemdelaydays[15464]=0; starkl[15464]=7949; itemvperf[15465]=0; itemcpuperf[15465]=0; itemramperf[15465]=0; itempcislots[15465]=0; itemdelta[15465]=150; itemdelaydays[15465]=0; starkl[15465]=4141; itemvperf[15466]=0; itemcpuperf[15466]=0; itemramperf[15466]=0; itempcislots[15466]=0; itemdelta[15466]=225; itemdelaydays[15466]=0; starkl[15466]=8303; itemvperf[15463]=0; itemcpuperf[15463]=0; itemramperf[15463]=0; itempcislots[15463]=0; itemdelta[15463]=0; itemdelaydays[15463]=0; starkl[15463]=3071; itemvperf[19704]=0; itemcpuperf[19704]=0; itemramperf[19704]=0; itempcislots[19704]=0; itemdelta[19704]=65; itemdelaydays[19704]=0; starkl[19704]=2628; itemvperf[28929]=0; itemcpuperf[28929]=0; itemramperf[28929]=0; itempcislots[28929]=0; itemdelta[28929]=0; itemdelaydays[28929]=0; starkl[28929]=2152; itemvperf[11741]=0; itemcpuperf[11741]=0; itemramperf[11741]=0; itempcislots[11741]=0; itemdelta[11741]=-10; itemdelaydays[11741]=0; starkl[11741]=5677; itemvperf[19705]=0; itemcpuperf[19705]=0; itemramperf[19705]=0; itempcislots[19705]=0; itemdelta[19705]=35; itemdelaydays[19705]=0; starkl[19705]=9186; itemvperf[29490]=0; itemcpuperf[29490]=0; itemramperf[29490]=0; itempcislots[29490]=0; itemdelta[29490]=0; itemdelaydays[29490]=0; starkl[29490]=7127; itemvperf[11745]=0; itemcpuperf[11745]=0; itemramperf[11745]=0; itempcislots[11745]=0; itemdelta[11745]=-10; itemdelaydays[11745]=0; starkl[11745]=7218; itemvperf[11746]=0; itemcpuperf[11746]=0; itemramperf[11746]=0; itempcislots[11746]=0; itemdelta[11746]=14; itemdelaydays[11746]=0; starkl[11746]=2036; itemvperf[11747]=0; itemcpuperf[11747]=0; itemramperf[11747]=0; itempcislots[11747]=0; itemdelta[11747]=0; itemdelaydays[11747]=0; starkl[11747]=4640; itemvperf[11752]=0; itemcpuperf[11752]=0; itemramperf[11752]=0; itempcislots[11752]=0; itemdelta[11752]=19; itemdelaydays[11752]=0; starkl[11752]=9754; itemvperf[11753]=0; itemcpuperf[11753]=0; itemramperf[11753]=0; itempcislots[11753]=0; itemdelta[11753]=0; itemdelaydays[11753]=0; starkl[11753]=6708; itemvperf[25296]=0; itemcpuperf[25296]=0; itemramperf[25296]=0; itempcislots[25296]=0; itemdelta[25296]=45; itemdelaydays[25296]=0; starkl[25296]=7657; itemvperf[25295]=0; itemcpuperf[25295]=0; itemramperf[25295]=0; itempcislots[25295]=0; itemdelta[25295]=0; itemdelaydays[25295]=0; starkl[25295]=2972; itemvperf[11754]=0; itemcpuperf[11754]=0; itemramperf[11754]=0; itempcislots[11754]=0; itemdelta[11754]=19; itemdelaydays[11754]=0; starkl[11754]=7268; itemvperf[11755]=0; itemcpuperf[11755]=0; itemramperf[11755]=0; itempcislots[11755]=0; itemdelta[11755]=0; itemdelaydays[11755]=0; starkl[11755]=6889; itemvperf[11756]=0; itemcpuperf[11756]=0; itemramperf[11756]=0; itempcislots[11756]=0; itemdelta[11756]=0; itemdelaydays[11756]=0; starkl[11756]=3228; itemvperf[11757]=0; itemcpuperf[11757]=0; itemramperf[11757]=0; itempcislots[11757]=0; itemdelta[11757]=0; itemdelaydays[11757]=0; starkl[11757]=8084; itemvperf[11758]=0; itemcpuperf[11758]=0; itemramperf[11758]=0; itempcislots[11758]=0; itemdelta[11758]=0; itemdelaydays[11758]=0; starkl[11758]=1449; itemvperf[11759]=0; itemcpuperf[11759]=0; itemramperf[11759]=0; itempcislots[11759]=0; itemdelta[11759]=0; itemdelaydays[11759]=0; starkl[11759]=6159; itemvperf[11760]=0; itemcpuperf[11760]=0; itemramperf[11760]=0; itempcislots[11760]=0; itemdelta[11760]=0; itemdelaydays[11760]=0; starkl[11760]=947; itemvperf[11761]=0; itemcpuperf[11761]=0; itemramperf[11761]=0; itempcislots[11761]=0; itemdelta[11761]=0; itemdelaydays[11761]=0; starkl[11761]=5910; itemvperf[11762]=0; itemcpuperf[11762]=0; itemramperf[11762]=0; itempcislots[11762]=0; itemdelta[11762]=149; itemdelaydays[11762]=0; starkl[11762]=442; itemvperf[11763]=0; itemcpuperf[11763]=0; itemramperf[11763]=0; itempcislots[11763]=0; itemdelta[11763]=369; itemdelaydays[11763]=0; starkl[11763]=6086; itemvperf[11764]=0; itemcpuperf[11764]=0; itemramperf[11764]=0; itempcislots[11764]=0; itemdelta[11764]=299; itemdelaydays[11764]=0; starkl[11764]=8998; itemvperf[11765]=0; itemcpuperf[11765]=0; itemramperf[11765]=0; itempcislots[11765]=0; itemdelta[11765]=269; itemdelaydays[11765]=0; starkl[11765]=3801; itemvperf[11766]=0; itemcpuperf[11766]=0; itemramperf[11766]=0; itempcislots[11766]=0; itemdelta[11766]=199; itemdelaydays[11766]=0; starkl[11766]=3692; itemvperf[11767]=0; itemcpuperf[11767]=0; itemramperf[11767]=0; itempcislots[11767]=0; itemdelta[11767]=169; itemdelaydays[11767]=0; starkl[11767]=4479; itemvperf[11768]=0; itemcpuperf[11768]=0; itemramperf[11768]=0; itempcislots[11768]=0; itemdelta[11768]=99; itemdelaydays[11768]=0; starkl[11768]=8718; itemvperf[11769]=0; itemcpuperf[11769]=0; itemramperf[11769]=0; itempcislots[11769]=0; itemdelta[11769]=69; itemdelaydays[11769]=0; starkl[11769]=768; itemvperf[11770]=0; itemcpuperf[11770]=0; itemramperf[11770]=0; itempcislots[11770]=0; itemdelta[11770]=0; itemdelaydays[11770]=0; starkl[11770]=5076; itemvperf[11771]=0; itemcpuperf[11771]=0; itemramperf[11771]=0; itempcislots[11771]=0; itemdelta[11771]=0; itemdelaydays[11771]=0; starkl[11771]=1950; itemvperf[11772]=0; itemcpuperf[11772]=0; itemramperf[11772]=0; itempcislots[11772]=0; itemdelta[11772]=0; itemdelaydays[11772]=0; starkl[11772]=554; itemvperf[21771]=0; itemcpuperf[21771]=0; itemramperf[21771]=0; itempcislots[21771]=0; itemdelta[21771]=0; itemdelaydays[21771]=0; starkl[21771]=8450; itemvperf[20453]=0; itemcpuperf[20453]=0; itemramperf[20453]=0; itempcislots[20453]=0; itemdelta[20453]=-50; itemdelaydays[20453]=0; starkl[20453]=7719; caseImages[21867]=new Image(); caseImages[21867].src='/images/upload/GXW_blue.jpg'; caseImages[11660]=new Image(); caseImages[11660].src='/images/upload/GX-silver.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()