function form()
{
document.write("<form name='quick' action='http://www.abcofcreditcards.com/contact.php' method='post'><fieldset style='background-color:#FFCC00; width:162px'><input type='Hidden' value='Quick Contact Form - ABC of Credit Cards' name='Type of Query'><table width='162' border='0' cellpadding='0' cellspacing='0' class='form-fmt'><tr><td colspan='4' align='center' height='23' bgcolor='#E1A72D'><font face='Impact' style='font-size:14px;color:#ffffff'>Quick Form</font></td><tr><td colspan='4' height='5'></td></tr></tr><tr><td width='10'>&nbsp;</td><td width='42'>Name</td><td width='10'>:</td><td width='105'><input type='text' size='15' style='font-size:10px' name='Name'></td></tr><tr><td>&nbsp;</td><td>Phone</td><td>:</td><td><input type='text' size='15' style='font-size:10px' name='Phone'></td> </tr><tr><td>&nbsp;</td><td>e-mail</td><td>:</td><td><input type='text' size='15' style='font-size:10px' name='E-mail'></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td><input type='submit' value='Submit' style='background-color:#ffffff; border:solid 1px #6699CC;font-size:10px'></td></tr><tr><td colspan='4'>&nbsp;</td></tr></table><input type=Hidden value=55555 name=code></fieldset></form>");

var frm=new Validator("quick");
frm.addValidation("Name","req","Please Enter Name");
frm.addValidation("Name","alpha","Please Enter Valid Name");

frm.addValidation("Phone","req","Please Enter Phone No.");
frm.addValidation("Phone","num","Please Enter Valid Phone No. \n Only Numeric Values");

frm.addValidation("E-mail","req","Enter E-mail ID");
frm.addValidation("E-mail","email","Enter Valid E-mail ID");
}