<!-- Begin
top.window.moveTo(0,0);
if (document.all) { top.window.resizeTo(screen.availWidth,screen.availHeight); }
else if (document.layers||document.getElementById) { if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){ top.window.outerHeight = screen.availHeight; top.window.outerWidth = screen.availWidth;}}
//all form element- © www.businessbook.com.au
var red='Write the Message...';
var hlcolor="#00FF00"
var hred="#FF0000"
var ww="white"
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
var intended=/INPUT|TEXTAREA|SELECT|OPTION/
	function chchl(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true }
else
return false
}
	function hlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){ if (chchl(previous))
if(previous.value=="") previous.style.backgroundColor=hred
emty();
previous=eventobj
if (chchl(eventobj))
eventobj.style.backgroundColor=hlcolor }
else{ if (chchl(eventobj))
eventobj.style.backgroundColor=hlcolor
previous=eventobj }}
function emty(){
var notRequired ="subjectt";
var failfil=0;
var obj = myform.elements[notRequired];
if (obj.value ==0 ||obj.value == "" || obj.value == null){obj.style.backgroundColor=ww;}}
//specials
function required(){
var charcount=document.myform.charcount.value;
if (charcount == ''){ document.myform.charcount.style.background = 'red'; }
var goodEmail1 = document.myform.fromm.value.match(/\b(^(\S+@).+((\.com)|(\.net)|(\.edu)|(\.mil)|(\.gov)|(\.org)|(\.info)|(\.sex)|(\.biz)|(\.aero)|(\.ws)|(\.coop)|(\.museum)|(\.name)|(\.pro)|(\..{2,2}))$)\b/gi);
if(!goodEmail1){ document.myform.fromm.style.background = 'red'; document.myform.redmessage.value="False Email Detected"; return false;}
if(goodEmail1 && charcount != '') {document.myform.redmessage.value=''; document.myform.submit();} else {document.myform.redmessage.value=red;}
return true;
}

//  End -->