headache

P

plemon

this script was working now ive added to it and its no longer my
friend.

here is the very first one<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8"/>
<title>Untitled Document</title>

<script type="text/javascript" src="source.js">
</script>

</head>
<body>
<table width="456" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="221" height="283" valign="top"><form name="form1"
action="#">
<input type="radio" name="rb1" value="$799.97"
checked="checked" onclick="f1()" />
<font size="-1" face="Georgia, Times New Roman, Times, serif">Hard
Drive A - <span id="v11"></span><br />
<input type="radio" name="rb1" value="$26.95" onclick="f1()"
/>
Hard Drive B - <span id="v12"></span><br />
<input type="radio" name="rb1" value="$1.99" onclick="f1()"
/>
Hard Drive C - <span id="v13"></span><br />
<input type="radio" name="rb1" value="$0.99" onclick="f1()"
/>
Hard Drive D - <span id="v14"></span></font>
</form>&nbsp;</td>
<script type="text/javascript">
f1();
</script>&nbsp;
</table>
function f1() {
var v11 = "(+ $0)";
var v12 = "(+ $25)";
var v13 = "(+ $75)";
var v14 = "(+ $100)";

if (document.form1.rb1[0].checked) {
v11 = "(+ $0)";
v12 = "(+ $25)";
v13 = "(+ $75)";
v14 = "(+ $100)";
} else if (document.form1.rb1[1].checked) {
v11 = "(- $25)";
v12 = "(+ $0)";
v13 = "(+ $25)";
v14 = "(+ $50)";
} else if (document.form1.rb1[2].checked) {
v11 = "(- $50)";
v12 = "(- $25)";
v13 = "(+ $0)";
v14 = "(+ $25)";
} else if (document.form1.rb1[3].checked) {
v11 = "(- $75)";
v12 = "(- $50)";
v13 = "(- $25)";
v14 = "(+ $0)";
}

document.getElementById("v11").innerHTML = v11;
document.getElementById("v12").innerHTML = v12;
document.getElementById("v13").innerHTML = v13;
document.getElementById("v14").innerHTML = v14;
}That one works just fine :)
here is the second one<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<title>leetMachines</title>
<style type="text/css">
<!--
..style5 {font-size: 24px}
..style6 {color: #FFFFFF; font-family: Arial;}
..style11 {
font-family: Arial;
font-size: 12px;
}
#Layer1 {
position:absolute;
left:776px;
top:80px;
width:89px;
height:1184px;
z-index:1;
}
..style17 {font-size: 10px}
..style19 {font-size: 11px}
..style22 {
font-family: Arial;
font-size: 12px;
font-weight: bold;
color: #006699;
}
..style23 {color: #333333; font-family: Arial; font-size: 12px; }
<br />
{text-decoration:none;<br />
}
..style26 {font-family: Arial; font-size: 18px; font-weight: bold;
color: #006699; }
..style28 {font-size: 14px}
-->
</style>
<script type="text/JavaScript">
<!--
function mmLoadMenus() {
if (window.mm_menu_1017222447_0) return;
window.mm_menu_1017222447_0 = new Menu("root",
123,10,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","center","middle",
0,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1017222447_0.addMenuItem("My&nbsp;Account");
mm_menu_1017222447_0.addMenuItem("My&nbsp;Order&nbsp;Status");
mm_menu_1017222447_0.hideOnMouseOut=true;
mm_menu_1017222447_0.bgColor='#666666';
mm_menu_1017222447_0.menuBorder=0;
mm_menu_1017222447_0.menuLiteBgColor='#FFFFFF';
mm_menu_1017222447_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1017224357_0 = new Menu("root",83,18,"Arial,
Helvetica, sans-serif",
12,"#333333","#006666","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1017224357_0.addMenuItem("New&nbsp;item");
mm_menu_1017224357_0.fontWeight="bold";
mm_menu_1017224357_0.hideOnMouseOut=true;
mm_menu_1017224357_0.bgColor='#666666';
mm_menu_1017224357_0.menuBorder=0;
mm_menu_1017224357_0.menuLiteBgColor='#FFFFFF';
mm_menu_1017224357_0.menuBorderBgColor='#CCCCCC';
window.mm_menu_1017224745_0 = new Menu("root",94,18,"Arial,
Helvetica, sans-serif",
12,"#333333","#006666","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1017224745_0.addMenuItem("Peon&nbsp;Class");
mm_menu_1017224745_0.addMenuItem("BSD&nbsp;Class");
mm_menu_1017224745_0.addMenuItem("Oxen&nbsp;Class");
mm_menu_1017224745_0.addMenuItem("Servers");
mm_menu_1017224745_0.fontWeight="bold";
mm_menu_1017224745_0.hideOnMouseOut=true;
mm_menu_1017224745_0.bgColor='#666666';
mm_menu_1017224745_0.menuBorder=0;
mm_menu_1017224745_0.menuLiteBgColor='#FFFFFF';
mm_menu_1017224745_0.menuBorderBgColor='#CCCCCC';
window.mm_menu_1017225408_0 = new Menu("root",103,18,"Arial,
Helvetica, sans-serif",
12,"#333333","#006666","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1017225408_0.addMenuItem("Scout&nbsp;Class");
mm_menu_1017225408_0.addMenuItem("Duke&nbsp;Class");
mm_menu_1017225408_0.addMenuItem("Stealth&nbsp;Class");
mm_menu_1017225408_0.addMenuItem("Vector&nbsp;Class");
mm_menu_1017225408_0.addMenuItem("Servers");
mm_menu_1017225408_0.fontWeight="bold";
mm_menu_1017225408_0.hideOnMouseOut=true;
mm_menu_1017225408_0.bgColor='#666666';
mm_menu_1017225408_0.menuBorder=0;
mm_menu_1017225408_0.menuLiteBgColor='#FFFFFF';
mm_menu_1017225408_0.menuBorderBgColor='#CCCCCC';
window.mm_menu_1017225603_0 = new Menu("root",96,18,"Arial,
Helvetica, sans-serif",
12,"#333333","#006666","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1017225603_0.addMenuItem("D&nbsp;Class");
mm_menu_1017225603_0.addMenuItem("W&nbsp;Class");
mm_menu_1017225603_0.addMenuItem("RAM&nbsp;Class");
mm_menu_1017225603_0.addMenuItem("Servers");
mm_menu_1017225603_0.fontWeight="bold";
mm_menu_1017225603_0.hideOnMouseOut=true;
mm_menu_1017225603_0.bgColor='#666666';
mm_menu_1017225603_0.menuBorder=0;
mm_menu_1017225603_0.menuLiteBgColor='#FFFFFF';
mm_menu_1017225603_0.menuBorderBgColor='#CCCCCC';
window.mm_menu_1017225707_0 = new Menu("root",102,18,"Arial,
Helvetica, sans-serif",
12,"#333333","#006666","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,true,true,0,true,true);
mm_menu_1017225707_0.addMenuItem("Software");
mm_menu_1017225707_0.addMenuItem("Games");
mm_menu_1017225707_0.addMenuItem("Accessories");
mm_menu_1017225707_0.addMenuItem("Clothing");
mm_menu_1017225707_0.addMenuItem("Order&nbsp;Status");
mm_menu_1017225707_0.fontWeight="bold";
mm_menu_1017225707_0.hideOnMouseOut=true;
mm_menu_1017225707_0.bgColor='#666666';
mm_menu_1017225707_0.menuBorder=0;
mm_menu_1017225707_0.menuLiteBgColor='#FFFFFF';
mm_menu_1017225707_0.menuBorderBgColor='#CCCCCC';

window.mm_menu_1018223749_0 = new Menu("root",
124,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018223749_0.addMenuItem("Scholar&nbsp;Class");
mm_menu_1018223749_0.addMenuItem("Multimedia&nbsp;Class");
mm_menu_1018223749_0.addMenuItem("Mediax");
mm_menu_1018223749_0.hideOnMouseOut=true;
mm_menu_1018223749_0.bgColor='#666666';
mm_menu_1018223749_0.menuBorder=1;
mm_menu_1018223749_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018223749_0.menuBorderBgColor='#FFFFFF';


window.mm_menu_1018174151_0 = new Menu("root",
71,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","center","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018174151_0.addMenuItem("Account");
mm_menu_1018174151_0.addMenuItem("");
mm_menu_1018174151_0.hideOnMouseOut=true;
mm_menu_1018174151_0.bgColor='#666666';
mm_menu_1018174151_0.menuBorder=1;
mm_menu_1018174151_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018174151_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1018230437_0 = new Menu("root",66,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","left","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018230437_0.addMenuItem("History");
mm_menu_1018230437_0.addMenuItem("Articles");
mm_menu_1018230437_0.addMenuItem("Press");
mm_menu_1018230437_0.hideOnMouseOut=true;
mm_menu_1018230437_0.bgColor='#666666';
mm_menu_1018230437_0.menuBorder=1;
mm_menu_1018230437_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018230437_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1018230519_0 = new Menu("root",87,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","left","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018230519_0.addMenuItem("Scholar");
mm_menu_1018230519_0.addMenuItem("Multimedia");
mm_menu_1018230519_0.addMenuItem("MediaX");
mm_menu_1018230519_0.hideOnMouseOut=true;
mm_menu_1018230519_0.bgColor='#666666';
mm_menu_1018230519_0.menuBorder=1;
mm_menu_1018230519_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018230519_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1018230835_0 = new Menu("root",66,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","left","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018230835_0.addMenuItem("Scout");
mm_menu_1018230835_0.addMenuItem("Stealth");
mm_menu_1018230835_0.addMenuItem("Vector");
mm_menu_1018230835_0.addMenuItem("Stalker");
mm_menu_1018230835_0.addMenuItem("Servers");
mm_menu_1018230835_0.hideOnMouseOut=true;
mm_menu_1018230835_0.bgColor='#666666';
mm_menu_1018230835_0.menuBorder=1;
mm_menu_1018230835_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018230835_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1018230937_0 = new Menu("root",66,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","left","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018230937_0.addMenuItem("BSD");
mm_menu_1018230937_0.addMenuItem("Oxen");
mm_menu_1018230937_0.addMenuItem("Servers");
mm_menu_1018230937_0.hideOnMouseOut=true;
mm_menu_1018230937_0.bgColor='#666666';
mm_menu_1018230937_0.menuBorder=1;
mm_menu_1018230937_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018230937_0.menuBorderBgColor='#FFFFFF';
window.mm_menu_1018231037_0 = new Menu("root",93,16,"Arial",
10,"#333333","#006699","#FFFFFF","#FFFFFF","left","middle",
3,0,1000,-5,7,true,false,true,0,true,true);
mm_menu_1018231037_0.addMenuItem("Software");
mm_menu_1018231037_0.addMenuItem("Games");
mm_menu_1018231037_0.addMenuItem("Accessories");
mm_menu_1018231037_0.hideOnMouseOut=true;
mm_menu_1018231037_0.bgColor='#666666';
mm_menu_1018231037_0.menuBorder=1;
mm_menu_1018231037_0.menuLiteBgColor='#FFFFFF';
mm_menu_1018231037_0.menuBorderBgColor='#FFFFFF';

mm_menu_1018231037_0.writeMenus();
} // mmLoadMenus()

function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0;
i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j+
+].src=a;}}
}

function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i+
+) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document;
if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++)
x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++)
x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array;
for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc)
x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<script language="JavaScript" src="mm_menu.js"></script>
<script type="text/javascript" src="../stalkersource(2).js">
</script>
</head>

<body bgcolor="#333333" onload="MM_preloadImages('images/images/
home.gif','http://www.leetmachines.com/images/images/
company.gif','http://www.leetmachines.com/images/images/
business.gif','http://www.leetmachines.com/images/images/
gaming.gif','http://www.leetmachines.com/images/images/
industry.gif','http://www.leetmachines.com/images/images/store.gif')">
<script language="JavaScript1.2">mmLoadMenus();</script>

<table align="center" width="750" border="0" cellpadding="0"
cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="307" rowspan="3" align="center" valign="center"><div
align="left" class="style5"><span class="style6">leetMachines</span></
div></td>
<td width="255" height="17"></td>
<td width="188"></td>
</tr>
<tr>

<td height="18"></td>

<td valign="top"><div align="right">https://www.leetmachines.com</
div> </div></td>
</tr>
<tr>
<td height="14"></td>
<td></td>
</tr>


<tr>
<td height="1348" colspan="3" valign="top"><table width="100%"
border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">

<!--DWLayoutTable-->
<tr>
<td width="750" height="15" valign="top"><img src="images/
image_01.gif" width="166" height="15" /><img src="https://
leetmachines.com/home.gif" name="image1" width="67" height="15"
id="image1"
onmouseover="MM_showMenu(window.mm_menu_1018174151_0,0,15,null,'image1');MM_swapImage('image1','','images/
images/home.gif',1)"
onmouseout="MM_startTimeout();MM_swapImgRestore()" /><img src="/images/
company.gif" name="image2" width="77" height="15" id="image2"
onmouseover="MM_showMenu(window.mm_menu_1018230437_0,0,15,null,'image2');MM_swapImage('image2','','http://
www.leetmachines.com/images/images/company.gif',1)"
onmouseout="MM_startTimeout();MM_swapImgRestore()" /><img src="/images/
business.gif" name="image3" width="76" height="15" id="image3"
onmouseover="MM_showMenu(window.mm_menu_1018230519_0,0,15,null,'image3');MM_swapImage('image3','','http://
www.leetmachines.com/images/images/business.gif',1)"
onmouseout="MM_startTimeout();MM_swapImgRestore()" /><img src="/images/
gaming.gif" name="image4" width="65" height="15" id="image4"
onmouseover="MM_showMenu(window.mm_menu_1018230835_0,0,15,null,'image4');MM_swapImage('image4','','http://
www.leetmachines.com/images/images/gaming.gif',1)"
onmouseout="MM_startTimeout();MM_swapImgRestore()" /><img src="/images/
industry.gif" name="image5" width="74" height="15" id="image5"
onmouseover="MM_showMenu(window.mm_menu_1018230937_0,0,15,null,'image5');MM_swapImage('image5','','http://
www.leetmachines.com/images/images/industry.gif',1)"
onmouseout="MM_startTimeout();MM_swapImgRestore()" /><img src="/images/
store.gif" name="image6" width="57" height="15" id="image6"
onmouseover="MM_showMenu(window.mm_menu_1018231037_0,0,15,null,'image6');MM_swapImage('image6','','http://
www.leetmachines.com/images/images/store.gif',1)"
onmouseout="MM_startTimeout();MM_swapImgRestore()" /><img src="images/
image_08.gif" width="168" height="15" /></td>
</tr>
<tr>
<td height="150" valign="top"> <table
width="100%" border="0" cellpadding="0" cellspacing="0">

<!--DWLayoutTable-->
<tr>

<td width="9" height="18"></td>
<td width="278" rowspan="4" valign="top"><img
src="images/Untitled-1.jpg" alt="" height="150" width="278"
border="0" /></td>
<td width="20"></td>
<td width="436" valign="top"><div align="center"
class="style26">Stalker <span class="style28">C -Class </span></div></
td>
<td width="7"></td>
</tr>

<tr>
<td height="8"></td>

<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="117"></td>
<td></td>
<td valign="top" class="style22"><p class="style23"><span
class="style22">Features:</span><br />
<br />
Windows Vista<br />
<br />
Choose your PC Case<br />
<br />
<br />
</p> </td>
<td></td>
</tr>
<tr>
<td height="7"></td>
<td></td>
<td></td>
<td></td>
</tr>

</table> </tr>
<tr>
<td height="89" valign="top"> <table width="100%"
border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>

<td height="26" colspan="3" valign="top"><table
width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/picenamebarbackground.jpg">
<!--DWLayoutTable-->

<tr>
<td width="9" height="4"></td>
<td width="233"></td>
<td width="45"></td>
<td width="16"></td>
<td width="5"></td>
<td width="124"></td>

<td width="18"></td>
<td width="300" rowspan="4" valign="top"><table
width="100%" border="0" cellpadding="0" cellspacing="0">

<!--DWLayoutTable-->
<tr>
<td width="77" height="5"></td>
<td width="10"></td>
<td width="25" rowspan="5"
valign="top"><img src="images/United-States%20logo.png" alt="United
States currency amount USD" width="25" height="25" /></td>
<td width="12"></td>
<td width="62"></td>

<td width="10"></td>
<td width="25" rowspan="5"
valign="top"><img src="images/Canada%20logo.png" alt="Canadian
currency amount CADCanadian currency amount CAD" width="25"
height="25" /></td>

<td width="10"></td>
<td width="62"></td>
<td width="7"></td>
</tr>

<tr>
<td rowspan="2" valign="top"
class="style23">Current Total: </td>

<td height="1"></td>
<td></td>

<td rowspan="2" valign="top"><span
class="style23">000,000.00</span></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<td height="14"></td>

<td></td>
<td></td>
<td></td>
<td rowspan="2" valign="top"
class="style23">000,000.00</td>
<td></td>
</tr>
<tr>
<td height="1"></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<td height="4"></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

</table></td>
</tr>

<tr>
<td height="15"></td>
<td valign="top" class="style22">Computer
Processing Unit </td>
<td></td>
<td rowspan="2" valign="top"><img src="images/
icon_info.gif" alt="question mark" width="16" height="16" /></td>

<td></td>
<td valign="top" class="style22"><div
align="right">
More In<font color="#006699">form</
font>ation</div></td>

<td></td>
</tr>
<tr>
<td height="1"></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<td height="6"></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

</table></td>
</tr>
<tr>

<td width="9" height="63">&nbsp;</td>
<td width="565" valign="top"><font
class="style23"><form id="cpu" name="cpu" method="post"
action="(EmptyReference!)">
<label>
<input name="rb1" type="radio" tabindex="1"
value="$1,200" checked="checked" />
Intel Core2Quad Q6600 2.4GHz 2 x 4MB L2 Cache LGA
775 Quad Core</label>

<br />
<label>
<input name="rb1" type="radio" value="$1,295"
tabindex="2" />

Intel Core2Extreme X6800 2.93GHz 4M sharing L2
Cache LGA 775</label>
Dual Core
<br />
<label>
<input name="rb1" type="radio" value="$1,350"
tabindex="3" />
</label>

Intel Core2Extreme QX6700 2.66GHz 2 x 4MB L2 Cache
LGA 775 Processor Quad Core
</form>
</font> </td>

<td width="176">&nbsp;</td>
</tr>

</table> </tr>
<tr>
<td height="46" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->

<tr>

<td height="25" colspan="3" valign="top"><table
width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/picenamebarbackground.jpg">
<!--DWLayoutTable-->
<tr>
<td width="9" height="4"></td>
<td width="235"></td>
<td width="43"></td>
<td width="16"></td>
<td width="4"></td>

<td width="125"></td>

<td width="18"></td>
<td width="77"></td>
<td width="10"></td>
<td width="25" rowspan="5" valign="top"><img
src="images/United-States%20logo.png" alt="United States currency
amount USD" width="25" height="25" /></td>
<td width="12"></td>
<td width="62"></td>
<td width="10"></td>
<td width="25" rowspan="5" valign="top"><img
src="images/Canada%20logo.png" alt="Canadian currency amount CAD"
width="25" height="25" /></td>

<td width="10"></td>

<td width="62"></td>
<td width="7"></td>
</tr>

<tr>
<td height="1"></td>
<td></td>
<td></td>
<td rowspan="3" valign="top"><img src="images/
icon_info.gif" alt="question mark" width="16" height="16" /></td>

<td></td>

<td rowspan="2" valign="top"><div
align="right"><span class="style22">More Information</span></div></td>
<td></td>
<td rowspan="2" valign="top"><span
class="style23">Current Total: </span></td>
<td></td>
<td></td>
<td rowspan="2" valign="top"><span
class="style23">000,000.00</span></td>

<td></td>

<td></td>
<td rowspan="2" valign="top"><span
class="style23">000,000.00</span></td>
<td></td>
</tr>

<tr>
<td height="14"></td>
<td rowspan="2" valign="top"
class="style22">Motherboard</td>

<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>

<td height="1"></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
</tr>

<tr>
<td height="5"></td>
<td></td>

<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>

<td></td>
<td></td>
<td></td>
</tr>

</table> </td>
</tr>
<tr>

<td width="9" height="21"></td>

<td width="565" valign="top"><font
class="style23"><form id="mb" name="mb" method="post"
action="(EmptyReference!)">
<label>
<input name="rb2" type="radio" tabindex="4"
value="radiobutton" checked="checked" />
</label>
leetMachines Recomended Socket T (LGA 775) Intel
975X ATX Server Motherboard
</form>
</font> </td>
<td width="176"></td>
</tr>

</table> </tr>
<tr>
<td height="130" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">

<!--DWLayoutTable-->
<tr>
<td height="25" colspan="3" valign="top"><table
width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/picenamebarbackground.jpg">
<!--DWLayoutTable-->

<tr>
<td width="9" height="4"></td>
<td width="233"></td>
<td width="45"></td>
<td width="16"></td>

<td width="4"></td>
<td width="125"></td>
<td width="18"></td>
<td width="77"></td>

<td width="10"></td>
<td width="25" rowspan="5" valign="top"><img
src="images/United-States%20logo.png" alt="United States currency
amount USD" width="25" height="25" /></td>
<td width="12"></td>
<td width="62"></td>
<td width="10"></td>

<td width="25" rowspan="5" valign="top"><img
src="images/Canada%20logo.png" alt="Canadian currency amount CAD"
width="25" height="25" /></td>
<td width="10"></td>
<td width="62"></td>
<td width="7"></td>
</tr>

<tr>
<td height="1"></td>
<td></td>
<td></td>

<td rowspan="3" valign="top"><img src="images/
icon_info.gif" alt="question mark" width="16" height="16" /></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td rowspan="2" valign="top"><div
align="right"><span class="style23">000,000.00</span></div></td>

<td></td>
<td></td>
<td rowspan="2" valign="top"><div
align="right"><span class="style23">000,000.00</span></div></td>
<td></td>
</tr>

<tr>
<td height="14"></td>
<td rowspan="2" valign="top"
class="style22">Memory</td>

<td></td>
<td></td>
<td rowspan="2" valign="top"><div align="right"
class="style22">More Information </div></td>
<td></td>

<td rowspan="2" valign="top"><div
align="left"><span class="style23">Current Total:</span></div></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
</tr>

<tr>

<td height="1"></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
</tr>


<tr>
<td height="5"></td>

<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
</tr>

</table></td>
</tr>
<tr>

<td width="9" height="62">&nbsp;</td>
<td width="565" valign="top"><font
class="style23"><form id="mem" name="mem" method="post"
action="(EmptyReference!)">
<input name="radiobutton" type="radio"
value="radiobutton" checked="checked" />
1GB HyperX DDR2 SDRAM @ 800MHz<br />

<label>
<input name="radiobutton" type="radio"
value="radiobutton" />
</label>
1GB Dual Channel HyperX Performance DDR2 512MB
SDRAM @ 800MHz
<br />

<label>
<input name="radiobutton" type="radio"
value="radiobutton" />
</label>
2GB <font class="style23">Dual Channel </
font>HyperX <font class="style23"><font class="style23">DDR2</font></
font> 1GB SDRAM @ 800MHz
<br />

<label>
<input name="radiobutton" type="radio"
value="radiobutton" />
</label>
2GB <font class="style23">Dual Channel </font>
HyperX Performance <font class="style23">DDR2</font> 512MB SDRAM @
800MHz <br />
<label>

<input name="radiobutton" type="radio"
value="radiobutton" />
</label>

4GB <font class="style23">Dual Channel</font>
HyperX Performance <font class="style23">DDR2</font> 1GB SDRAM @
800MHz<br />
</form>
</font></td>

<td width="176">&nbsp;</td>
</tr>

<!--DWLayoutTable-->

</table> </tr>
<tr>
<td height="109" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>

<td height="25" colspan="3" valign="top"><table
width="100%" border="0" cellpadding="0" cellspacing="0"
background="images/picenamebarbackground.jpg">
<!--DWLayoutTable-->
<tr>

<td width="9" height="4"></td>
<td width="231"></td>
<td width="47"></td>
<td width="16"></td>
<td width="4"></td>
<td width="125"></td>

<td width="18"></td>
<td width="77"></td>
<td width="10"></td>

<td width="25" rowspan="6" valign="top"><img
src="images/United-States%20logo.png" alt="United States currency
amount USD" width="25" height="25" /></td>
<td width="12"></td>
<td width="62"></td>
<td width="10"></td>
<td width="25" rowspan="6" valign="top"><img
src="images/Canada%20logo.png" alt="Canadian currency amount CAD"
width="25" height="25" /></td>
<td width="10"></td>

<td width="62"></td>
<td width="7"></td>
</tr>

<tr>
<td height="1"></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td rowspan="2" valign="top"
class="style23">000,000.00</td>

<td></td>
</tr>


<tr>
<td height="14"></td>
<td rowspan="2" valign="top"
class="style22">Hard Disk</td>
<td></td>
<td rowspan="3" valign="top"><img src="images/
icon_info.gif" alt="question mark" width="16" height="16" /></td>
<td></td>

<td rowspan="2" valign="top"
class="style22"><div align="right">More Information </div></td>
<td></td>

<td rowspan="2" valign="top"><span
class="style23">Current Total:</span></td>
<td></td>
<td></td>
<td rowspan="2" valign="top"
class="style23">000,000.00</td>
<td></td>

<td></td>
<td></td>
</tr>

<tr>
<td height="1"></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
</tr>

<tr>
<td height="1"></td>
<td></td>

<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td height="4"></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>

<td></td>
<td></td>
</tr>

</table></td>
</tr>
<tr>
<td width="9" height="267">&nbsp;</td>
<td width="650" valign="top"><font class="style23"><form
name="shd" action="#">
<label>

<input type="radio" name="shd" value="22.00"
checked="checked" onclick="shd()" />
</label>
250GB Western Digital SATA @ 7200RPM and 3.0Gb/s w/
16MB Cache - <span id="shd1"></span><br />

<label>_____
<input type="radio" name="shd" value="22.00"
onclick="shd()" />
</label>
<font class="style23"><font class="style23">500GB
RAID 0: 2x 250GB Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB
Cache - <span id="shd2"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
<font class="style23"><font class="style23">500GB
RAID 1: 2x 250GB Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB
Cache - <span id="shd3"></span></font></font></label>
<br />
<label>
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23"><font class="style23">320GB
Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB Cache - <span
id="shd4"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
640 <font class="style23"><font
class="style23">GB RAID 0: 2x 320GB Western Digital SATA @ 7200RPM and
3.0Gb/s w/ 16MB Cache - <span id="shd5"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23">640GB RAID 1: 2x 320GB
Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB Cache - <span
id="shd6"></span></font><br />
<label>
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23"><font class="style23">400GB
Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB Cache - <span
id="shd7"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23"><font class="style23">800GB
RAID 0: Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB Cache -
<span id="shd8"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23"><font class="style23">800GB
RAID 1: Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB Cache -
<span id="shd9"></span></font></font><br />
<label>
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
500GB <font class="style23"><font
class="style23"> Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB
Cache - <span id="shd10"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23"><font class="style23">1TB
RAID 0: 2x 500GB Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB
Cache - <span id="shd11"></span></font></font><br />
<label>
_____
<input type="radio" name="shd" value="22.00"
onclick="shd()"/>
</label>
<font class="style23"><font class="style23">1TB
RAID 1: 2x 500GB Western Digital SATA @ 7200RPM and 3.0Gb/s w/ 16MB
Cache - <span id="shd12"></span></font></font><br />
</form> </td><script type="text/javascript">
shd();
</script>

</font> </td>
<td width="91">&nbsp;</td>
</tr>


<!--DWLayoutTable-->
<br />

note i stoped after table because all i am trying to get to work right
now is the price change of the hard drives aka shd() and shd1 through
shd12//cpu//
function cpu() {
var cpu1 = "(+ $0)";
var cpu2 = "(+ $25)";
var cpu3 = "(+ $75)";

if (document.form1.rb1[0].checked) {
cpu1 = "(+ $0)";
cpu2 = "(+ $25)";
cpu3 = "(+ $75)";
} else if (document.form1.rb1[1].checked) {
cpu3 = "(- $25)";
cpu2 = "(+ $0)";
cpu3 = "(+ $25)";
} else if (document.form1.rb1[2].checked) {
cpu1 = "(- $50)";
cpu2 = "(- $25)";
cpu3 = "(+ $0)";
}

document.getElementById("cpu1").innerHTML = cpu1;
document.getElementById("cpu2").innerHTML = cpu2;
document.getElementById("cpu3").innerHTML = cpu3;
}
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////
//motherboard//
function mob() {
var motherboard = "(+ $0)";

if (document.form2.rb1[0].checked) {
motherboard = "(+ $0)";
}

document.getElementById("motherboard").innerHTML = motherboard;
}
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////
//memory//
function mem() {
var mem1 = "(+ $0)";
var mem2 = "(+ $25)";
var mem3 = "(+ $75)";
var mem4 = "(+ $75)";
var mem5 = "(+ $75)";

if (document.form3.rb1[0].checked) {
mem1 = "(+ $0)";
mem2 = "(+ $25)";
mem3 = "(+ $75)";
mem4 = "(+ $75)";
mem5 = "(+ $75)";

} else if (document.form3.rb1[1].checked) {
mem3 = "(- $25)";
mem2 = "(+ $0)";
mem3 = "(+ $25)";
mem4 = "(+ $75)";
mem5 = "(+ $75)";

} else if (document.form3.rb1[2].checked) {
mem1 = "(- $50)";
mem2 = "(- $25)";
mem3 = "(+ $0)";
mem4 = "(+ $75)";
mem5 = "(+ $75)";

} else if (document.form3.rb1[3].checked) {
mem1 = "(- $50)";
mem2 = "(- $25)";
mem3 = "(+ $0)";
mem4 = "(+ $75)";
mem5 = "(+ $75)";

} else if (document.form3.rb1[4].checked) {
mem1 = "(- $50)";
mem2 = "(- $25)";
mem3 = "(+ $0)";
mem4 = "(+ $75)";
mem5 = "(+ $75)";

}

document.getElementById("mem1").innerHTML = mem1;
document.getElementById("mem2").innerHTML = mem2;
document.getElementById("mem3").innerHTML = mem3;
document.getElementById("mem4").innerHTML = mem4;
document.getElementById("mem5").innerHTML = mem5;
}
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////
//harddrive//
function shd() {
var shd1 = "(+ $0)";
var shd2 = "(+ $50)";
var shd3 = "(+ $50)";
var shd4 = "(+ $75)";
var shd5 = "(+ $150)";
var shd6 = "(+ $150)";
var shd7 = "(+ $90)";
var shd8 = "(+ $180)";
var shd9 = "(+ $180)";
var shd10 = "(+ $140)";
var shd11 = "(+ $230)";
var shd12 = "(+ $230)";

if (document.shd.shd[0].checked) {
//250 gb
} else if (document.shd.shd[1].checked) {
shd1 = "(+ $0)";
shd2 = "(+ $50)";
shd3 = "(+ $50)";
shd4 = "(+ $75)";
shd5 = "(+ $150)";
shd6 = "(+ $150)";
shd7 = "(+ $90)";
shd8 = "(+ $180)";
shd9 = "(+ $180)";
shd10 = "(+ $140)";
shd11 = "(+ $230)";
shd12 = "(+ $230)";

//2x250//
} else if (document.shd.shd[2].checked) {
shd1 = "(- $50)";
shd2 = "(+ $0)";
shd3 = "(+ $0)";
shd4 = "(+ $25)";
shd5 = "(+ $100)";
shd6 = "(+ $100)";
shd7 = "(+ $40)";
shd8 = "(+ $130)";
shd9 = "(+ $130)";
shd10 = "(+ $90)";
shd11 = "(+ $180)";
shd12 = "(+ $180)";
//2x250//
} else if (document.shd.shd[3].checked) {
shd1 = "(- $50)";
shd2 = "(+ $0)";
shd3 = "(+ $0)";
shd4 = "(+ $25)";
shd5 = "(+ $100)";
shd6 = "(+ $100)";
shd7 = "(+ $40)";
shd8 = "(+ $130)";
shd9 = "(+ $130)";
shd10 = "(+ $90)";
shd11 = "(+ $180)";
shd12 = "(+ $180)";
//320//
} else if (document.shd.shd[4].checked) {
shd1 = "(- $75)";
shd2 = "(- $25)";
shd3 = "(- $25)";
shd4 = "(+ $0)";
shd5 = "(+ $75)";
shd6 = "(+ $75)";
shd7 = "(+ $15)";
shd8 = "(+ $105)";
shd9 = "(+ $105)";
shd10 = "(+ $65)";
shd11 = "(+ $155)";
shd12 = "(+ $155)";
//2x320//
} else if (document.shd.shd[5].checked) {
shd1 = "(- $150)";
shd2 = "(- $100)";
shd3 = "(- $100)";
shd4 = "(- $75)";
shd5 = "(+ $0)";
shd6 = "(+ $0)";
shd7 = "(- $60)";
shd8 = "(+ $30)";
shd9 = "(+ $30)";
shd10 = "(- $10)";
shd11 = "(+ $80)";
shd12 = "(+ $80)";
//2x320//
) else if (document.shd.shd[6].checked) {
shd1 = "(- $150)";
shd2 = "(- $100)";
shd3 = "(- $100)";
shd4 = "(- $75)";
shd5 = "(+ $0)";
shd6 = "(+ $0)";
shd7 = "(- $60)";
shd8 = "(+ $30)";
shd9 = "(+ $30)";
shd10 = "(- $10)";
shd11 = "(+ $80)";
shd12 = "(+ $80)";
//400//
} else if (document.shd.shd[7].checked) {
shd1 = "(- $180)";
shd2 = "(- $130)";
shd3 = "(- $130)";
shd4 = "(- $135)";
shd5 = "(- $60)";
shd6 = "(- $60)";
shd7 = "(+ $0)";
shd8 = "(- $30)";
shd9 = "(- $30)";
shd10 = "(- $40)";
shd11 = "(+ $50)";
shd12 = "(+ $50)";
//2x400//
} else if (document.shd.shd[8].checked) {
shd1 = "(- $180)";
shd2 = "(- $130)";
shd3 = "(- $130)";
shd4 = "(- $135)";
shd5 = "(- $60)";
shd6 = "(- $60)";
shd7 = "(+ $0)";
shd8 = "(- $30)";
shd9 = "(- $30)";
shd10 = "(- $40)";
shd11 = "(+ $50)";
shd12 = "(+ $50)";
//2x400//
} else if (document.shd.shd[9].checked) {
shd1 = "(- $180)";
shd2 = "(- $130)";
shd3 = "(- $130)";
shd4 = "(- $135)";
shd5 = "(- $60)";
shd6 = "(- $60)";
shd7 = "(+ $0)";
shd8 = "(- $30)";
shd9 = "(- $30)";
shd10 = "(- $40)";
shd11 = "(+ $50)";
shd12 = "(+ $50)";
//500//
} else if (document.shd.shd[10].checked) {
shd1 = "(- $150)";
shd2 = "(- $100)";
shd3 = "(- $105)";
shd4 = "(- $105)";
shd5 = "(- $30)";
shd6 = "(- $30)";
shd7 = "(+ $30)";
shd8 = "(- $0)";
shd9 = "(- $0)";
shd10 = "(- $40)";
shd11 = "(+ $90)";
shd12 = "(+ $90)";
//2x500//
} else if (document.shd.shd[11].checked) {
shd1 = "(- $50)";
shd2 = "(+ $0)";
shd3 = "(+ $0)";
shd4 = "(+ $25)";
shd5 = "(+ $100)";
shd6 = "(+ $100)";
shd7 = "(+ $40)";
shd8 = "(+ $130)";
shd9 = "(+ $130)";
shd10 = "(+ $90)";
shd11 = "(+ $180)";
shd12 = "(+ $180)";

} else if (document.shd.shd[11].checked) {
shd1 = "(- $50)";
shd2 = "(+ $0)";
shd3 = "(+ $0)";
shd4 = "(+ $25)";
shd5 = "(+ $100)";
shd6 = "(+ $100)";
shd7 = "(+ $40)";
shd8 = "(+ $130)";
shd9 = "(+ $130)";
shd10 = "(+ $90)";
shd11 = "(+ $180)";
shd12 = "(+ $180)";

}

document.getElementById("shd1").innerHTML = shd1;
document.getElementById("shd2").innerHTML = shd2;
document.getElementById("shd3").innerHTML = shd3;
document.getElementById("shd4").innerHTML = shd4;
document.getElementById("shd5").innerHTML = shd5;
document.getElementById("shd6").innerHTML = shd6;
document.getElementById("shd7").innerHTML = shd7;
document.getElementById("shd8").innerHTML = shd8;
document.getElementById("shd9").innerHTML = shd9;
document.getElementById("shd10").innerHTML = shd10;
document.getElementById("shd11").innerHTML = shd11;
document.getElementById("shd12").innerHTML = shd12;
}ive spent about 4 hours today trying to get this to work and i cant so
please help or is there an less complex way to accomplish what im
trying and if there is could you give a detailed exlantion im not to
skilled javascript thanks a bunch.

- Philip Lemon
 
P

plemon

the only areas where there could be a problem are where shd is mention
both in the .html code and the .js code or in the head of the .html
code which is a lil over 100 lines i just thought it help ful to
include the rest ;)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top