alert("No Users Selected");  
	 return false;
	 }
	var arv = checkBoxArr.toString();
	document.getElementById('selectcheck').value=arv;
		return confirm("Are You Sure ?");
}


</script>


<?php 
$currency = new currency();
if ($_GET['wtdo'] == 'add_currency' && $_POST['name'] != "" && $_POST['fullname'] != "") {
    if (!is_array($currency->check_currency($_POST))) {
        $add = $currency->add_currency($_POST);
    } else {
        ?>
	<table align="center">
	<tr>
	<td>
	<b><font>Error: </font></b><b><font color="#CC3333"><?php 
        echo "Duplicate Entry of Currency";
        ?>
</font></b>
	</td>
	</tr>
	</table>
	<?php 
    }