function validation() { obj=document.myform; if(obj.txtfirstname.value=="") { alert("First Name can not be blank. Please enter it."); obj.txtfirstname.focus(); return false; } if(obj.txtlastname.value=="") { alert("Last Name can not be blank. Please enter it."); obj.txtlastname.focus(); return false; } if(!isValidEmailId(obj.txtemail,"Email")) { return false } } function isValidEmailId(obj, name) { obj.value=trim(obj.value); if (obj.value=='') { alert( name+" can not be blank. Please enter it." ); obj.focus(); return false; } if (! isValidEmail(obj.value)) { alert("Invalid e-Mail-Id entered."); obj.focus(); return false; } return true; } function trim(p_str) { var i=0; while(1) { if ( p_str.charAt(0)==" " || p_str.charAt(0)=="\n" || p_str.charAt(0)=="\r") p_str = p_str.substr(i+1); else break; } while(1) { i=p_str.length; if ( p_str.charAt(i-1)==" " || p_str.charAt(i-1)=="\n" || p_str.charAt(i-1)=="\r") p_str=p_str.substr(0,i-1); else break; } return p_str; }// end of fun_trim function isValidEmail(elm) { if(elm.indexOf('@',1) ==-1) return (false); if(elm.indexOf('.',1) ==-1) return (false); return true; }
Site search Web search powered by FreeFind
 
 
 
Tips For Keeping The Kids Busy This Summer Article By Vasrue.com
 
Summer anticipation can quickly segment into summer boredom. Why, even the Cat in the Hat knows this: "I sat there with Sally. We sat there, we two. And I said, "How I wish we had something to do!" Instead of wrecking havoc with Thing One and Thing Two, give the tots some activities they can't wait to do.

Most every neighborhood library launches a summer reading program to keep kids engrossed in books through non-school months. Schedule a Saturday afternoon visit to the library to sign-up. Kids can check out their own books using their own library card, so they learn responsibility. Encourage a reading habit that will last a lifetime. With prizes, celebrations and rewards, kids simply can't resist the challenge.

Join or increase your DVD-by-mail plan, so your children can enjoy the cinema without the hefty cost of weekly theater tickets. Take this opportunity to slip in some cultural or educational titles, like the Diary of Anne Frank, Broadway musicals like Annie or, for older children, Shakespearian classics like Romeo and Juliet.

Teach children the value of money. Because boredom usually accompanies the 'I want; I want' syndrome, help your child set-up a financial goal and create a workable budget with them. Explain that household chores, yard work or other activities can earn some summertime cash. Then take them to the bank each week so they can watch their savings grow.

Scout out your local Parks and Recreation activities, or splurge on a summer day camp. Arts centers offer dance camps, while cooking schools offer week-long cooking camps and some universities or YMCAs offer soccer, hockey and other sports camps. These can be both enjoyable and educational, typically running from 8 AM to 5 PM Monday through Friday, and cost just about the same as a week's daycare.

In today's world, information spreads in seconds. Be smart and safe, preventing identity

Join our private mailing list.
 
For more great articles on this subject, come back to Vasrue.com. Articles are published weekly on Travel, Real-Estate, E-business, Credit and a host of other great topics.
     
  In an effort to support other webmasters, Vasrue.com is offering each article through RSS feed free of charge. Now newspapers, ezines, magazines and independent websites can effortlessly integrate fresh, captivating content in no time. Each article is available for PDF download, RSS feed or browser printing.