<script>
function verifyForm(){
	if(document.getElementById("Withdraw").value!='' && document.getElementById("Transfer").value!='' && document.getElementById("Amount").value!=''){
		alert("hi ! "+document.getElementById("Withdraw").value+", "+document.getElementById("Transfer").value+", "+document.getElementById("Amount").value);
		document.creditform.submit();
	}else{
		alert("please enter withdraw transfer amount");
		return false;
	}
}
</script>
                <tr>
                	<td>
                    	<table cellpadding="0" cellspacing="0" border="0" align="center" class="container">
                            <tr>
                            	<td class="content-header">
                    				<div><img src="images/blue-arrow.png"/><font> <?php echo $word[$lang]['094']; ?></font></div>
                                </td>
                            </tr>
                            <tr>
                                <td class="content">
                    				<table cellpadding="0" cellspacing="0" border="0">
                                        <tr><td style="height:30px;"></td></tr>
                                    	<tr>
                                        	<td style="width:77px;">
                                            </td>
                                            <td class="content-field">
                                            	<form name="creditform" method="post" onsubmit="return verifyForm();">
                                                <table cellpadding="0" cellspacing="3" border="0">
                                                	<tr>
                                                    	<td style="width:200px;"><?php echo $word[$lang]['095']; ?></td>
                                                        <td>:</td>
                                                        <td style="width:200px;" class="content-field-info">RM <?php echo number_format("50",2,'.',''); ?></td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['096']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">RM <?php echo number_format("50",2,'.',''); ?></td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['097']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">RM <?php echo number_format("50",2,'.',''); ?></td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['098']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">RM <?php echo number_format("50",2,'.',''); ?></td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['099']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">RM <?php echo number_format("50",2,'.',''); ?></td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['101']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">
                                                        	<select name="Withdraw" id="Withdraw">
                                                        		<option value=""><?php echo $word[$lang]['105']; ?></option>
                                                            	<option value="mycredit"><?php echo $word[$lang]['100']; ?></option>
                                                            	<option value="bonus"><?php echo $word[$lang]['096']; ?></option>
                                                                <?php foreach($gamelist[$lang] as $glist){ ?>
                                                                <?php if(!in_array($glist['id'],$gamelist_notgame)){ ?>
                                                                <option value='<?php echo $glist['id']; ?>'><?php echo $glist['name']; ?></option>
                                                                <?php } ?>
                                                                <?php } ?>
                                                            </select>
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['102']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">
                                                        	<select name="Transfer" id="Transfer">
                                                        		<option value=""><?php echo $word[$lang]['106']; ?></option>
                                                                <?php foreach($gamelist[$lang] as $glist){ ?>
                                                                <?php if(!in_array($glist['id'],$gamelist_notgame)){ ?>
                                                                <option value="<?php echo $glist['id']; ?>"><?php echo $glist['name']; ?></option>
                                                                <?php } ?>
                                                                <?php } ?>
                                                            </select>
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td><?php echo $word[$lang]['103']; ?></td>
                                                        <td>:</td>
                                                        <td class="content-field-info">
                                                        	<input id="Amount" name="Amount" type="text" value="" placeholder="<?php echo $word[$lang]['103']; ?>" />
                                                        </td>
                                                        <td></td>
                                                    </tr>
                                                	<tr><td style="height:5px;"></td></tr>
                                                	<tr>
                                                    	<td></td>
                                                        <td></td>
                                                        <td><input type="submit" class="submitButt" value="<?php echo $word[$lang]['104']; ?>" id="credit"></td>
                                                        <td></td>
                                                    </tr>
                                                </table>
                                                </form>
                                            </td>
                                        	<td style="width:77px;">
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>