document.write("<!-- FORM CSS SAMPLE");
document.write("<style type=\"text/css\">");
document.write("#formcontact {}");
document.write("#formcontact table #formHeader {}");
document.write("#formcontact table #formHeader {}");
document.write("#formcontact table #formFooter {}");
document.write("#formcontact #formLabel {}");
document.write("#formcontact #formValue {}");
document.write("#formcontact #formValue .formInput {}");
document.write("#formcontact #formValue textarea.formInput {}");
document.write("#formcontact .required {}");
document.write("</style>");
document.write("-->");
document.write("<!-- HTML FORM irattyaddblog -->");
document.write("<div id=\"formcontact\">");
document.write("<form id=\"irattyaddblog\" name=\"irattyaddblog\" method=\"post\" action=\"http://notspammer.com/api/submitForm/code/irattyaddblog\">");
document.write("<input type=hidden name=\"code\" value=\"irattyaddblog\">");
document.write("<table width=100%>");
document.write("<tbody id=\"formHeader\">");
document.write("<tr><th id=\"formTitle\"><span>Submit Your Blog To Us</span></th></tr>");
document.write("</tbody>");
document.write("<tbody id=\"formBody\">");
document.write("<tr><td>");
document.write("<table width=100%>");
document.write("<tr>");
document.write("<td id=\"formLabel\">");
document.write("<label for=\"name\">");
document.write("<span class=\"formText optional\">Name</span>");
document.write("</label>");
document.write("</td>");
document.write("<td id=\"formValue\">");
document.write("<input id=\"name\" name=\"name\" title=\"Enter Your Name\" class=\"formInput optional\" value=\"\" type=\"text\"/>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td id=\"formLabel\">");
document.write("<label for=\"email\">");
document.write("<span class=\"formText optional\">E-mail</span>");
document.write("</label>");
document.write("</td>");
document.write("<td id=\"formValue\">");
document.write("<input id=\"email\" name=\"email\" title=\"Enter Your E-mail Address\" class=\"formInput optional\" value=\"\" type=\"text\"/>");
document.write("</td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td id=\"formLabel\">");
document.write("<label for=\"url\">");
document.write("<span class=\"formText required\">Blog Url</span>");
document.write("</label>");
document.write("</td>");
document.write("<td id=\"formValue\">");
document.write("<input id=\"url\" name=\"url\" title=\"Enter Blog URL\" class=\"formInput required\" value=\"\" type=\"text\"/>");
document.write("</td>");
document.write("</tr>");
document.write("</table>");
document.write("</td></tr>");
document.write("</tbody>");
document.write("<tbody id=\"formFooter\">");
document.write("<tr>");
document.write("<td id=\"formButtons\">");
document.write("<input type=\"submit\" id=\"submit\" value=\"Submit\">");
document.write("<input type=\"hidden\" id=\"resource\" value=\"\">");
document.write("</td>");
document.write("</tr>");
document.write("</tbody>");
document.write("</table>");
document.write("</form>");
document.write("</div>");
document.write("<!-- end of HTML FORM irattyaddblog -->");
// JS FORM irattyaddblog

document.getElementById( "irattyaddblog" ).onsubmit = function() 
{
	var form_obj = document.getElementById( "irattyaddblog" );
	if (!form_obj)
	{
		alert('This Form is Corrupted');
		return true;
	}

	var isValid = true;

	var searchClass = "required";
	var pattern = new RegExp('(^|\\s)'+searchClass+'(\\s|$)');

	var els = form_obj.getElementsByTagName('*');
	for (var i = 0; i < els.length; i++)
	{
		if ( els[i].type != 'text' && els[i].type != 'textarea')
			continue;
		if ( !pattern.test(els[i].className) ) 
			continue;

		if (els[i].value != "")
			continue;

		alert( els[i].title );
		isValid = false;
		break;
	}

	if (isValid)
	{

			onBlogSubmit();
return false;
	
	}

	return isValid;
}

// end of JS FORM irattyaddblog