	function dumpCategoryupdate()
	{
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateCategory(xoad.html.exportForm('FormCategoryupdate'), function(dump) {
		
			alert('Server Response:\n\n' + dump);
		});
	}
	function dumpAddnewblog()
	{
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateAddnewblog(xoad.html.exportForm('FormAddblog'), function(dump) {
		
			alert('Server Response:\n\n' + dump);
		});
	}
	function dumpAddblogcategory()
	{
		blog_title =(document.FormAddcategoryupdate.blog_title.value);
		blog_link =(document.FormAddcategoryupdate.blog_link.value);		
		blog_author =(document.FormAddcategoryupdate.blog_author.value);				
		
		if(blog_title.length <= 0)
		{
		alert("Please enter blog title");
		document.FormAddcategoryupdate.blog_title.focus();
		return;
		}
		if(blog_link.length <= 0)
		{
		alert("Please enter blog link");
		document.FormAddcategoryupdate.blog_link.focus();
		return;
		}
		if(blog_author.length <= 0)
		{
		alert("Please enter blog author");
		document.FormAddcategoryupdate.blog_author.focus();
		return;
		}
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateAddblogcategory(xoad.html.exportForm('FormAddcategoryupdate'), function(dump) {
		
			alert('Server Response:\n\n' + dump);
		});
	}


	function dumpContactupdate()
	{
		
		name =(document.contactFrm.visitorName.value);
		email = (document.contactFrm.visitorEmail.value);
		comments =(document.contactFrm.visitorComments.value);
		if(name.length <= 0)
		{
		alert("Please enter your name");
		document.contactFrm.visitorName.focus();
		return;
		}
		if(email.length <= 0)
		{
		alert("Please enter your email");
		document.contactFrm.visitorEmail.focus();
		return;
		}
		if (!checkEmail(document.contactFrm.visitorEmail.value)) {
		document.contactFrm.visitorEmail.select();
		document.contactFrm.visitorEmail.focus();
		return ;
		}	
		if(comments.length <= 0)
		{
		alert("Please enter your message");
		document.contactFrm.visitorComments.focus();
		return;
		}
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateContact(xoad.html.exportForm('contactFrm'), function(dump) {
		
			alert(dump);
		});
	}	

function dumpSendblog()
	{
		
		SName =(document.sendblogFrm.SenderName.value);
		SEmail = (document.sendblogFrm.SenderEmail.value);
		FName =(document.sendblogFrm.FriendName.value);
		FEmail =(document.sendblogFrm.FriendEmail.value);		
		if(SName.length <= 0)
		{
		alert("Please enter your name");
		document.sendblogFrm.SenderName.focus();
		return;
		}
		
		if(SEmail.length <= 0)
		{
		alert("Please enter your email");
		document.sendblogFrm.SenderEmail.focus();
		return;
		}
		if (!checkEmail(document.sendblogFrm.SenderEmail.value)) {
		document.sendblogFrm.SenderEmail.select();
		document.sendblogFrm.SenderEmail.focus();
		return ;
		}	
		if(FName.length <= 0)
		{
		alert("Please enter friend name");
		document.sendblogFrm.FriendName.focus();
		return;
		}
		
		if(FEmail.length <= 0)
		{
		alert("Please enter friend email");
		document.sendblogFrm.FriendEmail.focus();
		return;
		}
		if (!checkEmail(document.sendblogFrm.FriendEmail.value)) {
		document.sendblogFrm.FriendEmail.select();
		document.sendblogFrm.FriendEmail.focus();
		return ;
		}	
		
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateSendblog(xoad.html.exportForm('sendblogFrm'), function(dump) {
		
			alert(dump);
		});
	}	
function dumpUserlogin()
	{
		email = (document.loginFrm.userEmail.value);
		password =(document.loginFrm.userPassword.value);
		if(email.length <= 0)
		{
		alert("Please enter your email");
		document.loginFrm.userEmail.focus();
		return;
		}
		if (!checkEmail(document.loginFrm.userEmail.value)) {
		document.loginFrm.userEmail.select();
		document.loginFrm.userEmail.focus();
		return ;
		}	
		if(password.length <= 0)
		{
		alert("Please enter password");
		document.loginFrm.userPassword.focus();
		return;
		}
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateLogin(xoad.html.exportForm('loginFrm'), function(dump) {
		
			//alert(dump);
		});
	}		
function dumpRegisterlogin()
	{
		username = (document.registerFrm.userName.value);
		userlocation = (document.registerFrm.userLocation.value);
		email = (document.registerFrm.userEmail.value);
		password1 =(document.registerFrm.userPassword1.value);
		password2 =(document.registerFrm.userPassword2.value);
		
		if(username.length <= 0)
		{
		alert("Please enter your Name");
		document.registerFrm.userName.focus();
		return;
		}
		if(userlocation.length <= 0)
		{
		alert("Please enter your Location");
		document.registerFrm.userLocation.focus();
		return;
		}
		if(email.length <= 0)
		{
		alert("Please enter your email");
		document.registerFrm.userEmail.focus();
		return;
		}
		if (!checkEmail(document.registerFrm.userEmail.value)) {
		document.registerFrm.userEmail.select();
		document.registerFrm.userEmail.focus();
		return ;
		}	
		if(password1.length <= 0)
		{
		alert("Please enter password");
		document.registerFrm.userPassword1.focus();
		return;
		}
		if(password2.length <= 0)
		{
		alert("Please enter password");
		document.registerFrm.userPassword2.focus();
		return;
		}
		if(password1 != password2)
		{
		alert("Password not match");
		document.registerFrm.userPassword1.focus();
		return;
		}
		obj.OnDumpError = function(error) {

			alert('Error: \n\n' + error.message);

			return true;
		}

		obj.updateRegistration(xoad.html.exportForm('registerFrm'), function(dump) {
		
			//alert(dump);
		});
	}			
	
function checkEmail(emailString) {
	splitVal = emailString.split('@');
	
	if(splitVal.length <= 1) {
		alert("Please enter a valid email address");
		return false;
	}
	if(splitVal[0].length <= 0 || splitVal[1].length <= 0) {
		alert("Please enter a valid email address");
		return false;
	}
	
	splitDomain = splitVal[1].split('.');
	if(splitDomain.length <= 1) {
		alert("Please enter a valid email address");
		return false;
	}
	if(splitDomain[0].length <= 0 || splitDomain[1].length <= 1) {
		alert("Please enter a valid email address");
		return false;
	}
	return true;
}	
<!--
// Ticker startup
function startTicker()
{
	// Define run time values
	theCurrentStory     = -1;
	theCurrentLength    = 0;
	// Locate base objects
	if (document.getElementById) {	
		    theAnchorObject     = document.getElementById("tickerAnchor");
			runTheTicker();   	
		 }
	else {
            document.write("<style>.ticki{display:none;}.ticko{border:0px; padding:0px;}</style>");
            return true;
	}
}
// Ticker main run loop
function runTheTicker()
{
	var myTimeout;  
	// Go for the next story data block
	if(theCurrentLength == 0)
	{
		theCurrentStory++;
		theCurrentStory      = theCurrentStory % theItemCount;
		theStorySummary      = theSummaries[theCurrentStory].replace(/&quot;/g,'"');		
		theTargetLink        = theSiteLinks[theCurrentStory];
		theAnchorObject.href = theTargetLink;
		thePrefix 	     = "<span class=\"tickls\">" + theLeadString + "</span>";
	}
	// Stuff the current ticker text into the anchor
	theAnchorObject.innerHTML = thePrefix + 
	theStorySummary.substring(0,theCurrentLength) + whatWidget();
	// Modify the length for the substring and define the timer
	if(theCurrentLength != theStorySummary.length)
	{
		theCurrentLength++;
		myTimeout = theCharacterTimeout;
	}
	else
	{
		theCurrentLength = 0;
		myTimeout = theStoryTimeout;
	}
	// Call up the next cycle of the ticker
	setTimeout("runTheTicker()", myTimeout);
}
// Widget generator
function whatWidget()
{
	if(theCurrentLength == theStorySummary.length)
	{
		return theWidgetNone;
	}

	if((theCurrentLength % 2) == 1)
	{
		return theWidgetOne;
	}
	else
	{
		return theWidgetTwo;
	}
}
// -->