if (document.images)
{
			imag = new Array();
			
			imag[01] = "images/NYC_girl.jpg";
			imag[02] = "images/TOR_girl.jpg";
			imag[03] = "images/ORL_girl.jpg";
			imag[04] = "images/FLL_girl.jpg";
			imag[05] = "images/TNT_girl.jpg";

			imag[11] = "images/NYC_flyer.jpg";
			imag[12] = "images/TOR_flyer.jpg";
			imag[13] = "images/ORL_flyer.jpg";
			imag[14] = "images/FLL_flyer.jpg";
			imag[15] = "images/TNT_flyer.jpg";

}

function toggleImg(imgName,num)
	{
		if (document.images)
		{
			document.images(imgName).src = imag[num];
		}
	}


function submitabout(k)
{
//alert(k);
window.document.frmabout.display.value=k;
window.document.frmabout.submit();
}

/***************  load image on left ****************/
function showpic()
{
	var img_rnd = new Array ("left_rickbike.jpg", "left_rickguitar2.gif", "left_rickguitar.gif", "left_rickSerine.gif"); 
	var i = Math.round(Math.random() * 3); 
	document.write('<IMG SRC="images/' + img_rnd[i] + '" BORDER="0" ALT="">'); 
}


/***************  called in guestbook page ****************/

function setguestbookfocus()
{
	window.document.frmguestbook.txtname.focus();
}

function ValidateInvList()
{

	if(document.frmabout.txtyourname.value =="")
	{
		alert("Please specify your name");
		window.document.frmabout.txtyourname.focus();
		return false;
	}	

	if(document.frmabout.txtyouremail.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtyouremail.focus();
		return false;
	}

	if (document.frmabout.txtyouremail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmabout.txtyouremail.value="";
		window.document.frmabout.txtyouremail.focus();
		return false;
	 }
	
	if(document.frmabout.txtinvname.value =="")
	{
		alert("Please specify the individual name you would like to invite");
		window.document.frmabout.txtinvname.focus();
		return false;
	}	

	if(document.frmabout.txtinvemail.value =="")
	{
		alert("Please specify the individual you would like to invite e-mail Address");
		window.document.frmabout.txtinvemail.focus();
		return false;
	}

	if (document.frmabout.txtinvemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address for the individual you would like to invite");
		window.document.frmabout.txtinvemail.value="";
		window.document.frmabout.txtinvemail.focus();
		return false;
	 }
	 
	window.document.frmabout.submit();

}

function ValidateVipList()
{
	if(document.frmabout.txtname.value =="")
	{
		alert("Please specify your name");
		window.document.frmabout.txtname.focus();
		return false;
	}	

	if(document.frmabout.txtemail.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtemail.focus();
		return false;
	}

	if (document.frmabout.txtemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmabout.txtemail.value="";
		window.document.frmabout.txtemail.focus();
		return false;
	 }
	 if(document.frmabout.txtguests.value =="")
	 {
		alert("Please specify the number of guests");
		window.document.frmabout.txtguests.focus();
		return false;	 	
	 }
	
	window.document.frmabout.submit();
}

function ValidateVideo()
{
	if(document.frmabout.txtname.value =="")
	{
		alert("Please specify your name");
		window.document.frmabout.txtname.focus();
		return false;
	}	

	if(document.frmabout.txtemail.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtemail.focus();
		return false;
	}

	if (document.frmabout.txtemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmabout.txtemail.value="";
		window.document.frmabout.txtemail.focus();
		return false;
	 }
	 if(document.frmabout.selage.value =="00")
	 {
		alert("Please select your age");
		window.document.frmabout.selage.focus();
		return false;	 	
	 }
	 
	 if(document.frmabout.txtzip.value =="")
	 {
		alert("Please sprcify your zip code");
		window.document.frmabout.txtzip.focus();
		return false;	 	
	 }	
	 if(document.frmabout.txtzip.value.length < "5")
	 {
		alert("Zip cod must be 5 characters");
		window.document.frmabout.txtzip.focus();
		return false;	 	
	 }		 
	window.document.frmabout.submit();
}

function validatelogin()
{
	if(document.frmlogin.txtusername.value =="")
	{
		alert("Please enter your user name");
		window.document.frmlogin.txtusername.focus();
		return false;
	}	
	if(document.frmlogin.txtpassword.value =="")
	{
		alert("Please enter your password");
		window.document.frmlogin.txtpassword.focus();
		return false;
	}	
	window.document.frmlogin.submit();
}

function ValidateGuestbook()
{
	if(document.frmabout.txtname.value =="")
	{
		alert("Please specify your name");
		window.document.frmabout.txtname.focus();
		return false;
	}	

	if(document.frmabout.txtemail.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtemail.focus();
		return false;
	}

	if (document.frmabout.txtemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmabout.txtemail.value="";
		window.document.frmabout.txtemail.focus();
		return false;
	 }
	if(document.frmabout.scomment.value =="")
	{
		alert("Please enter your comment");
		window.document.frmabout.scomment.focus();
		return false;
	}	
	checkForProfanity();

}



function checkForProfanity() {
//alert('hello world!');

var k = 35;
var isProfane = new makeArray(k);
var word = new makeArray(k);
var temp = document.frmabout.scomment.value;
temp = temp.toLowerCase();
word[1] = "shit";
word[2] = "nerd";
word[3] = "stupid";
word[4] = "ass";
word[5] = "cunt";
word[6] = "suck";
word[7] = "pussy";
word[8] = "cock";
word[9] = "cum";
word[10] = "penis";
word[11] = "nuts";
word[12] = "dick";
word[13] = "fuck";
word[14] = "ass";
word[15] = "fag";
word[16] = "idiot";
word[17] = "asshole";
word[18] = "bitch";
word[19] = "gimp";
word[20] = "freak";
word[21] = "scunt";
word[22] = "rass";
word[23] = "patacake";
word[24] = "punanny";
word[25] = "antiman";
word[26] = "moma";
word[27] = "fucker";
word[28] = "kakahole";
word[29] = "cakahole";
word[30] = "lolo";
word[31] = "momma";
word[32] = "nigger";
word[33] = "nigga";
word[34] = "niga";
word[35] = "niggah";

for (var j = 1; j <= k; j++) 
{
	isProfane[j] = temp.indexOf(word[j]);
}
	for (var j = 1; j <= k; j++) 
	{
	   if (isProfane[j] != -1) 
	   {
	      alert("Please refrain from using the word \'"+word[j]+"\'.");
	      document.frmabout.scomment.value = "";
	      j = k + 1;
		  document.frmabout.scomment.focus();
		  return false;
	   }
	   else 
	   {

		}
	}
	  // alert('submit here');
	   	window.document.frmabout.display.value='sign';
		window.document.frmabout.submit();

}



function makeArray(n) {
   this.length = n
   for (var i = 1; i<=n; i++) {
       this[i] = new String();
   }
   return this
}




function ValidateFanbook()
{
	if(document.frmabout.txtfname.value =="")
	{
		alert("Please specify your first name");
		window.document.frmabout.txtfname.focus();
		return false;
	}	
	
	if(document.frmabout.txtlname.value =="")
	{
		alert("Please specify your last name");
		window.document.frmabout.txtlname.focus();
		return false;
	}	

	if(document.frmabout.txtemail1.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtemail1.focus();
		return false;
	}

	if (document.frmabout.txtemail1.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmabout.txtemail1.value="";
		window.document.frmabout.txtemail1.focus();
		return false;
	 }
	 
	if(document.frmabout.selage.value =="00")
	{
		alert("Please select your age");
		window.document.frmabout.selage.focus();
		return false;
	}	 



	  if(document.frmabout.txtphone1.value =="")
	  {
	  
	  }

		else
		{
		var intfax1=document.frmabout.txtphone1.value;
		if(intfax1.length==3)
		{
		for (i=0;i<intfax1.length;i++)
		{
	       	if((intfax1.charCodeAt(i)>=48 && intfax1.charCodeAt(i)<=58))
				{

				}
			else
				{
					alert("Phone Number code should contain only numericals");
					document.frmabout.txtphone1.value="";
					document.frmabout.txtphone1.focus();
					return false;

				}
			}
			}
			else
			{
			  alert("Phone Number should be in the format of xxx-xxx-xxxx");
			  document.frmabout.txtphone1.focus();
			  return false;
			}

		}

		if(document.frmabout.txtphone2.value =="")
		{
		}

		else
		{var intfax2=document.frmabout.txtphone2.value;
		if(intfax2.length==3)
		{
			for (i=0;i<intfax2.length;i++)
			{
	       			if((intfax2.charCodeAt(i)>=48 && intfax2.charCodeAt(i)<=58))
				{

				}
				else
				{
					alert("Phone Number code should contain only numericals");
					document.frmabout.txtphone2.value="";
					document.frmabout.txtphone2.focus();
					return false;

				}
			}
		}
			else
			{
			  alert("Phone Number should be in the format of xxx-xxx-xxxx");
			  document.frmabout.txtphone2.focus();
			  return false;
			}

		}

		if(document.frmabout.txtphone3.value =="")
		{
		}

		else
		{
		var intfax3=document.frmabout.txtphone3.value;
		if(intfax3.length==4)
		{
			for (i=0;i<intfax3.length;i++)
			{
	       			if((intfax3.charCodeAt(i)>=48 && intfax3.charCodeAt(i)<=58))
				{

				}
				else
				{
					alert("Phone Number code should contain only numericals");
					document.frmabout.txtphone3.value="";
					document.frmabout.txtphone3.focus();
					return false;

				}
			}
		}
			else
			{
			  alert("Phone Number should be in the format of xxx-xxx-xxxx");
			  document.frmabout.txtphone3.focus();
			  return false;
			}

		}






//place code for check box




	//checkForProfanity();
	window.document.frmabout.display.value='fan';
	window.document.frmabout.submit();


}










function imagechange(k)
{
//	alert('in fucntion');
//	alert(k)
	window.document.images.mainpic.src=k;

}


function downloadsubmit(k)
{
//alert(k);
window.document.frmdownload.visit.value=k;
window.document.frmdownload.submit();
}

function popup()
{
	window.open('madness.html','myExample6','width=350,height=467,screenX=100,screenY=100,top=265,left=193,scrollbars=no,menu=no');
}
function popup2(name)
{
	window.open(name,'myExample6','screenX=100,screenY=100,top=265,left=193,scrollbars=no,menu=no');
//	window.close();
}
function popupW(name,w,h)
{
	window.open(name,'myExample6','width=325,height=475 screenX=100,screenY=100,top=265,left=193,scrollbars=no,menu=no');
//	window.close();
}

/*
//specify interval between slide (in mili seconds)
var slidespeed=3000

//specify images
var slideimages=new Array("advertise/fusion_home_page.jpg","advertise/image-contact.jpg")

//specify corresponding links
var slidelinks=new Array("http://www.fusionus.com","http://sexydancin.com.bcentralhost.com")

var newwindow=1 //open links in new window? 1=yes, 0=no

var imageholder=new Array()
var ie=document.all
for (i=0;i<slideimages.length;i++){
imageholder[i]=new Image()
imageholder[i].src=slideimages[i]
}

function gotoshow(){
if (newwindow)
window.open(slidelinks[whichlink])
else
window.location=slidelinks[whichlink]
}
var whichlink=0
var whichimage=0
var blenddelay=(ie)? document.images.slide.filters[0].duration*1000 : 0
function slideit(){
if (!document.images) return
if (ie) document.images.slide.filters[0].apply()
document.images.slide.src=imageholder[whichimage].src
if (ie) document.images.slide.filters[0].play()
whichlink=whichimage
whichimage=(whichimage<slideimages.length-1)? whichimage+1 : 0
setTimeout("slideit()",slidespeed+blenddelay)
}


function popupListen(tracknum)
{
	window.open('writetrack.asp?tracknumber='+ tracknum,'Playing Track' + tracknum,'width=300,height=200,screenX=100,screenY=100,top=30,left=10,scrollbars=no,menu=no');
}
*/

  function showLyrics(x,y,z,a) 
  {
	    lyrics.style.visibility = 'visible';
	    lyrics.style.position = 'absolute';
	    lyrics.style.top = x;
	    lyrics.style.left = y;
		ABC.location=z;
		close1.href='#' + a
		
		
		
		//alert(z);
  }

  function hideLyrics() 
  {
      lyrics.style.visibility = "hidden";
  }
  
  
  function showBio(x,y,z,a) 
  {
	    bio.style.visibility = 'visible';
	    bio.style.position = 'absolute';
	    bio.style.top = x;
	    bio.style.left = y;
            ZEF.location=z;
            close2.href='#' + a
		
		
		
		//alert(z);
  }

  function hideBio() 
  {
      bio.style.visibility = "hidden";
  }  		
  
  ////////////////listen section in music page//////////////////
  function showLyricsl(x,y,z,a) 
  {
	    if (biol.style.visibility == 'visible')
	    {
	    	biol.style.visibility = 'hidden';
	    }
	    lyricsl.style.visibility = 'visible';
	    lyricsl.style.position = 'absolute';
	    lyricsl.style.top = x;
	    lyricsl.style.left = y;
		ABCl.location=z;
		close1l.href='#' + a
		
		
		
		//alert(z);
  }

  function hideLyricsl() 
  {
      lyricsl.style.visibility = "hidden";
  }
  

  function showBiol(x,y,z,a) 
  {
	    if (lyricsl.style.visibility == 'visible')
	    {
	    	lyricsl.style.visibility = 'hidden';
	    }
	    biol.style.visibility = 'visible';
	    biol.style.position = 'absolute';
	    biol.style.top = x;
	    biol.style.left = y;
            ZEFl.location=z;
            close2l.href='#' + a
		
		
		
		//alert(z);
  }

  function hideBiol() 
  {
      biol.style.visibility = "hidden";
  }  		  
  
//END LISTEN NOW FUNCTIONS


//moveshare
function sharemusic(x)
{
	window.document.frmabout.tracknum.value = x;
	submitabout('share');
	
}

//SHAREMUSIC VALIDATION

function ValidateShareMusic()
{
	if(document.frmabout.txtyourname.value =="")
	{
		alert("Please specify your name");
		window.document.frmabout.txtyourname.focus();
		return false;
	}

	if(document.frmabout.txtyouremail.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtyouremail.focus();
		return false;
	}

	if (document.frmabout.txtyouremail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid e-mail Address");
		window.document.frmabout.txtyouremail.value="";
		window.document.frmabout.txtyouremail.focus();
		return false;
    	}
    	

	if(document.frmabout.txtfriendname.value =="")
	{
		alert("Please specify your friend's name");
		window.document.frmabout.txtfriendname.focus();
		return false;
	}

	if(document.frmabout.txtfriendemail.value =="")
	{
		alert("Please specify your friend's e-mail Address");
		window.document.frmabout.txtfriendemail.focus();
		return false;
	}

	if (document.frmabout.txtfriendemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid e-mail Address");
		window.document.frmabout.txtfriendemail.value="";
		window.document.frmabout.txtfriendemail.focus();
		return false;
    	}
    	    	
	/*if(document.frmabout.scomments.value =="")
	{
		alert("Please enter your comment");
		window.document.frmabout.scomments.focus();
		return false;
	}*/
	window.document.frmabout.display.value='share';
	window.document.frmabout.submit();
}


//END SHARE MUSIC VALIDATION

  
//////////////////////////////END MUSIC PAGE////////////////////////////////  
//////////////////////////////CONTACT US PAGE////////////////////////////////
function ValidateContact()
{
	if(document.frmcontact.txtname.value =="")
	{
		alert("Please specify your name");
		window.document.frmcontact.txtname.focus();
		return false;
	}

	if(document.frmcontact.txtemail.value =="")
	{
		alert("Please specify your E-mail Address");
		window.document.frmcontact.txtemail.focus();
		return false;
	}

	if (document.frmcontact.txtemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmcontact.txtemail.value="";
		window.document.frmcontact.txtemail.focus();
		return false;
    }
	if(document.frmcontact.scomment.value =="")
	{
		alert("Please enter your comment");
		window.document.frmcontact.scomment.focus();
		return false;
	}

	window.document.frmcontact.submit();
}

//////////////////////////////END CONTACT US PAGE////////////////////////////////


//////////////////////////////BOOKING PAGE////////////////////////////////
function ValidateBooking()
{
	if(document.frmcontact.txtname.value =="")
	{
		alert("Please specify your name");
		window.document.frmcontact.txtname.focus();
		return false;
	}

	if(document.frmcontact.txtemail.value =="")
	{
		alert("Please specify your E-mail Address");
		window.document.frmcontact.txtemail.focus();
		return false;
	}

	if (document.frmcontact.txtemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmcontact.txtemail.value="";
		window.document.frmcontact.txtemail.focus();
		return false;
    }


	if(document.frmcontact.selstates.value =="00")
	{
		alert("Please select the state you would like Rick to preform");
		window.document.frmcontact.selstates.focus();
		return false;
	}

	if(document.frmcontact.datefrom.value =="")
	{
		alert("Please enter the date you want to book Rick");
		window.document.frmcontact.datefrom.focus();
		return false;
	}	
	if (document.frmcontact.datefrom.value.length > 0)
		{
			if (ValidForm() == false)
			{
				return false;
			}
		}

	
	if(document.frmcontact.scomment.value =="")
	{
		alert("Please provide us with a brief description of your booking request");
		window.document.frmcontact.scomment.focus();
		return false;
	}

	window.document.frmcontact.submit();
}



		/************************FUNCTION VALIDATING DATES USED IN REPORTS*****************/
				/**
				 * DHTML date validation script.
				 */
				// Declaring valid date character, minimum year and maximum year
				var dtCh= "/";
				var minYear=1900;
				var maxYear=2100;

		function ValidateForm()
			{
			


				if (document.frmcontact.datefrom.value.length > 0)
					{
						if (ValidForm() == false)
							{
								return false;
							}
					}



			}


				function isInteger(s){
					var i;
					for (i = 0; i < s.length; i++){
						// Check that current character is number.
						var c = s.charAt(i);
						if (((c < "0") || (c > "9"))) return false;
					}
					// All characters are numbers.
					return true;
				}

				function stripCharsInBag(s, bag){
					var i;
					var returnString = "";
					// Search through string's characters one by one.
					// If character is not in bag, append to returnString.
					for (i = 0; i < s.length; i++){
						var c = s.charAt(i);
						if (bag.indexOf(c) == -1) returnString += c;
					}
					return returnString;
				}

				function daysInFebruary (year){
					// February has 29 days in any year evenly divisible by four,
					// EXCEPT for centurial years which are not also divisible by 400.
					return (((year % 4 == 0) && ( (!(year % 100 == 0)) || (year % 400 == 0))) ? 29 : 28 );
				}
				function DaysArray(n) {
					for (var i = 1; i <= n; i++) {
						this[i] = 31
						if (i==4 || i==6 || i==9 || i==11) {this[i] = 30}
						if (i==2) {this[i] = 29}
				   }
				   return this
				}

				function isDate(dtStr){
					var daysInMonth = DaysArray(12)
					var pos1=dtStr.indexOf(dtCh)
					var pos2=dtStr.indexOf(dtCh,pos1+1)
					var strMonth=dtStr.substring(0,pos1)
					var strDay=dtStr.substring(pos1+1,pos2)
					var strYear=dtStr.substring(pos2+1)
					strYr=strYear
					if (strDay.charAt(0)=="0" && strDay.length>1) strDay=strDay.substring(1)
					if (strMonth.charAt(0)=="0" && strMonth.length>1) strMonth=strMonth.substring(1)
					for (var i = 1; i <= 3; i++) {
						if (strYr.charAt(0)=="0" && strYr.length>1) strYr=strYr.substring(1)
					}
					month=parseInt(strMonth)
					day=parseInt(strDay)
					year=parseInt(strYr)
					if (pos1==-1 || pos2==-1){
						alert("The date format should be : mm/dd/yyyy")
						return false
					}
					if (strMonth.length<1 || month<1 || month>12){
						alert("Please enter a valid month")
						return false
					}
					if (strDay.length<1 || day<1 || day>31 || (month==2 && day>daysInFebruary(year)) || day > daysInMonth[month]){
						alert("Please enter a valid day")
						return false
					}
					if (strYear.length != 4 || year==0 || year<minYear || year>maxYear){
						alert("Please enter a valid 4 digit year between "+minYear+" and "+maxYear)
						return false
					}
					if (dtStr.indexOf(dtCh,pos2+1)!=-1 || isInteger(stripCharsInBag(dtStr, dtCh))==false){
						alert("Please enter a valid date")
						return false
					}
				return true
				}


		function ValidForm()
			{
				var dt=document.frmcontact.datefrom
				if (isDate(dt.value)==false)
				{
					dt.focus()
					return false
				}
				else
				{

				return true
				}
			}



		/***********************END FUNCTION VALIDATING DATES******************************/

//////////////////////////////END BOOKING PAGE////////////////////////////////


//////////////////////////////BEGIN MADNESS PAGE////////////////////////////////

  function showMadnessVIP(x,y,z,a) 
  {
	    madnessvip.style.visibility = 'visible';
	    madnessvip.style.position = 'absolute';
	    madnessvip.style.top = x;
	    madnessvip.style.left = y;
	    madvip.location=z;
	    close1.href='#' + a
		
		
		
		//alert(z);
  }

  function hideMadnessVIP() 
  {
      madnessvip.style.visibility = "hidden";
  }
  
 
  //////////////////////////////END MADNESS PAGE////////////////////////////////
  
  
  
  function ValidateVideoRegistrations()
{
	if(document.frmabout.txtname.value =="")
	{
		alert("Please specify your name");
		window.document.frmabout.txtname.focus();
		return false;
	}	

	if(document.frmabout.txtemail.value =="")
	{
		alert("Please specify your e-mail Address");
		window.document.frmabout.txtemail.focus();
		return false;
	}

	if (document.frmabout.txtemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address");
		window.document.frmabout.txtemail.value="";
		window.document.frmabout.txtemail.focus();
		return false;
	 }

	if(document.frmabout.txtfemail.value =="")
	{
		alert("Please specify your friends e-mail Address");
		window.document.frmabout.txtfemail.focus();
		return false;
	}

	if (document.frmabout.txtfemail.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1)
	{
		alert("Please specify a valid E-mail Address for your friend");
		window.document.frmabout.txtfemail.value="";
		window.document.frmabout.txtfemail.focus();
		return false;
	 }
	 
	window.document.frmabout.submit();
}