In this the JS Codes (in the code tag)are not working only in this page can any one help me on this
<!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"><!-- InstanceBegin template="/Templates/main.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Luxmi Lanka</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<!-- InstanceEndEditable -->
<link href="CSS/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="calendar/calendar.js"></script>
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/js1.js"></script>
<script language="javascript" type="text/javascript" src="js/mootools.js"></script>
<script language="javascript" type="text/javascript" src="js/getchqno.js"></script>
</head>
<body onload="GetValues()">
<div id="body" >
<div id="head"><img src="images/banner.png" width="498" height="123" />
<div id="menutop">
<ul>
<li><a href="index.php"><span> Home </span></a></li>
<li><a href="addsupcus.php"><span> Controll </span></a></li>
<li><a href="report.php"><span> Reports </span></a></li>
<li><a href="#"><span> Other </span></a></li>
</ul>
</div>
</div>
<div id="content"><!-- InstanceBeginEditable name="EditRegion3" --><div id="sidemenu">
<p><a href="index.php?supstatus=1&cusstatus=0">Supplier Transactions</a></p>
<p><a href="index.php?supstatus=0&cusstatus=1">Coustomer Transactions</a></p>
<p><a href="index.php?supstatus=0&cusstatus=1">Cheque</a></p>
</div>
<div id="divadd">
div for add informations
<div id="cheqdes">
<p><b>Clearence Cheques Of Today</b></p>
<table width="185" border="0" bgcolor="#fff3ff" style="margin-left:auto; margin-right:auto;">
<tr style="background-color: #eab8eb;" >
<td width="95"><b>Name</b></td>
<td width="74"><b>Ammount</b></td>
</tr>
<?php
include("init/db.php");
$today=date("Y-m-d");
$sql="SELECT *
FROM `cheques_details` where date='$today'";
$result=mysql_query($sql);
while($info=mysql_fetch_array($result)){
$name=$info['name_of_owner'];
$ammount=$info['ammount'];
$id=$info['id'];
$url="'chq/chqpopup.php?id=$id'";
echo '<tr onclick="javascript:popUpchq('.$url.')" id="chqtb">
<td>'.$name.'</td>
<td>'.$ammount.'</td>
</tr>';
}
?>
</table>
<p> </p>
</div>
<script type="text/javascript">
function buildSelect(select, options)
{
var select = $(select);
select.empty();
options.each(function(item) {
if($type(item) != "array")
{
item = [item, item];
var option = new Element("option", {
text: item[0].toString(),
value: item[1].toString()
});
option.inject(select);
}
});
}
function domready()
{
$('master').addEvent('change', master_changed);
}
function master_changed()
{
var req = new Request.JSON({
url: 'getowner.php',
method: 'post',
data: 'id=' + encodeURIComponent($('master').get('value'))
});
req.addEvent('success', function(response) {
buildSelect('slave', response);
});
req.send();
}
window.addEvent('domready', domready);
</script>
<div id="deks">desk
<form action="" method="post" name="F2" id="F2" >
<p>Make
<select name="make" id="master">
<option selected="selected" >d1</option>
<?php
include("init/db.php");
$sql="SELECT *
FROM `customers`";
$result=mysql_query($sql);
while ($info=mysql_fetch_array($result)){
$id= $info['id'];
$name = $info['fname']." ".$info['lname'];
echo '<option value="'.$id.'">'.$name.'</option>';
}
?>
</select>
</p>
<p>Model
<select name="model" id="slave">
<option>SELECT</option>
</select>
</p>
</form>
</div>
</div> <!-- InstanceEndEditable --></div>
</div>
</body>
<!-- InstanceEnd --></html>