// FORM VALIDATION - CONTACT US PAGE

function checkForm1(form) {

	// ** START **
    if (form1.xname.value == "") {
        alert( "Please enter your Full Name" );
        form1.xname.focus();
        return false ;
    }
    // ** END **
	// ** START **
    if (form1.xmobile.value == "") {	
        alert( "Please enter your Mobile Number" );
        form1.xmobile.focus();
		return false ;
    }

	if (isNaN(form1.xmobile.value)) {
		alert('Please enter only numerical values\n and no spaces');
        form1.xmobile.focus();
		return false ;
	}
  	// ** END **
	// ** START **
    if (form1.xemail.value == "") {
        alert( "Please enter your Email Address" );
        form1.xemail.focus();
        return false ;
    }
	   // check for valid e-mail address
	if (form1.xemail.value.indexOf("@")<1 ||
    	form1.xemail.value.indexOf(".")==-1 ||
    	form1.xemail.value.indexOf(",")!=-1 ||
    	form1.xemail.value.indexOf(" ")!=-1 ||
    	form1.xemail.value.length<6)
  	{
    	alert("Please enter a valid E-mail address.\n" +
    	"Example: myname@domainname.com");
    	form1.xemail.focus();
    	return false
  	}
    // ** END **

		return true ;
}
//-->


// FORM VALIDATION - QUOTATION PAGE

function checkForm2(form) {

	// ** START **
    if (form1.xenquiry.value == "select") {
        alert( "Please select Enquiry Type" );
        form1.xenquiry.focus();
        return false ;
    }
    // ** END **
	// ** START **
    if (form1.xname.value == "") {
        alert( "Please enter your Full Name" );
        form1.xname.focus();
        return false ;
    }
    // ** END **
	// ** START **
    if (form1.xmobile.value == "") {	
        alert( "Please enter your Mobile Number" );
        form1.xmobile.focus();
		return false ;
    }

	if (isNaN(form1.xmobile.value)) {
		alert('Please enter only numerical values\n and no spaces');
        form1.xmobile.focus();
		return false ;
	}
  	// ** END **
	// ** START **
    if (form1.xemail.value == "") {
        alert( "Please enter your Email Address" );
        form1.xemail.focus();
        return false ;
    }
	   // check for valid e-mail address
	if (form1.xemail.value.indexOf("@")<1 ||
    	form1.xemail.value.indexOf(".")==-1 ||
    	form1.xemail.value.indexOf(",")!=-1 ||
    	form1.xemail.value.indexOf(" ")!=-1 ||
    	form1.xemail.value.length<6)
  	{
    	alert("Please enter a valid E-mail address.\n" +
    	"Example: myname@domainname.com");
    	form1.xemail.focus();
    	return false
  	}
    // ** END **

		return true ;
}
//-->


// FORM VALIDATION - FEEDBACK PAGE

function checkForm3(form) {

	// ** START **
    if (form1.xname.value == "") {
        alert( "Please enter your Full Name" );
        form1.xname.focus();
        return false ;
    }
    // ** END **
	// ** START **
    if (form1.xmobile.value == "") {	
        alert( "Please enter your Mobile Number" );
        form1.xmobile.focus();
		return false ;
    }

	if (isNaN(form1.xmobile.value)) {
		alert('Please enter only numerical values\n and no spaces');
        form1.xmobile.focus();
		return false ;
	}
  	// ** END **
	// ** START **
    if (form1.xemail.value == "") {
        alert( "Please enter your Email Address" );
        form1.xemail.focus();
        return false ;
    }
	   // check for valid e-mail address
	if (form1.xemail.value.indexOf("@")<1 ||
    	form1.xemail.value.indexOf(".")==-1 ||
    	form1.xemail.value.indexOf(",")!=-1 ||
    	form1.xemail.value.indexOf(" ")!=-1 ||
    	form1.xemail.value.length<6)
  	{
    	alert("Please enter a valid E-mail address.\n" +
    	"Example: myname@domainname.com");
    	form1.xemail.focus();
    	return false
  	}
    // ** END **
	// ** START **
    if (form1.xfname.value == "") {
        alert( "Please enter the Function Name" );
        form1.xfname.focus();
        return false ;
    }
    // ** END **
	// ** START **
    if (form1.xfdate.value == "") {
        alert( "Please enter the Function Date" );
        form1.xfdate.focus();
        return false ;
    }
    // ** END **
	// ** START **
    if (form1.xfpcode.value == "") {
        alert( "Please enter the Venue Postcode" );
        form1.xfpcode.focus();
        return false ;
    }
    // ** END **
	

		return true ;
}
//-->




// FUN CASINO - CORPORATE TESTIMONIALS

var quote=new Array();
  quote[0]='<p>"I must congratulate you, and all at Vegas Nights, for a most imaginative and professional contribution to a great evening. It makes our lives, as event managers, so much easier when we are dealing with such competent suppliers as yourselves. Thank you and well done... particularly as we gave you so little notice!" </p> <p class="name">Peter C. <br />EVENTUALITY</p>';

  quote[1]='<p>"Thanks for the enthusiasm of yourself and your team. The night was brilliant. It was the first time I have seen so many people still energised and willing to kick on at the end of the night. I will definitely pass on your details to all my contacts - I have been raving about how great the night was." </p> <p class="name">Thanks, Tina. <br />UNILEVER</p>';

  quote[2]='<p>"Thank you very much for all your hard work to help Event Planet create a wonderful, successful and enjoyable event last week at Doltone House. It was an absolute pleasure working with you and your team. Event Planet greatly values your contribution to the overall success of the events we manage. We have had nothing but glowing reports and outstanding feedback from the client and their guests. We look forward to working with you again soon. </p> <p class="name">Sophie R. <br />EVENT PLANET</p>';

  quote[3]='<p>"Just wanted to pass on a huge THANKS to you and your team for last night. It was a hugely successful night. Our clients had an unreal night and so did our staff ! The dealers were really fun and entertaining and you really did ensure a smooth evening. Please pass our thanks onto the dealers and we look forward to doing it again next year! " </p> <p class="name">Jennifer A. <br />PM CAPITAL LTD</p>';

  quote[4]='<p>"The event was a huge success and we heard nothing but great reports and a huge part of that was the casino element. You and Justin were always extremely professional and such a pleasure to deal with. I also want to commend you on all your staff/croupiers who were fantastic and again a pleasure to deal with." </p> <p class="name">Linzi. <br />HONEYWELL</p>';
  
var speed=11000;    /*this is the time in milliseconds adjust to suit*/
var q=0;

function showCorp_Quote() {

     document.getElementById("corp_quotes").innerHTML=quote[q];
     q++;
if(q==quote.length) {
     q=0;
  }
}
setInterval('showCorp_Quote()',speed);


// FUN CASINO - PRIVATE TESTIMONIALS

var quote=new Array();

  quote[0]='<p>"What a terrific night, thanks largely to you and your team. I was amazed at how everyone got into the spirit of it, even those who had never done more than throw a coin in a slot machine. I didnt have to do anything to encourage anyone to join in, as you did such a great job of that. Your croupiers were superb and Id really appreciate it if you let them know how many compliments we received - not just on their professionalism, but also on their entertainment value. You all played such a large part in creating a fun atmosphere, and did remarkably well in the face of so many intoxicated guests (and hosts)!" </p> <p class="name">Sonia G.</p>';

  quote[1]='<p>"The feedback from all the guests was wonderful, they all had a great time. We are still taking phone calls today saying what a great party it was and that the tables are definitely the way to get everyone involved. Thank you to you and your team, they certainly did well on the night. We were actually discussing it on Sunday and a few of us actually commented that Charlie, Kaye and yourself were more than croupiers but entertainers." </p> <p class="name">Heather. </p>';

  quote[2]='<p>"Wow! We had a ball! Im thrilled to bits with how the party went, we are now getting lots of feed back, our guests loved it, wanting to know how we organized that and who you were! And so I have already started giving out your details, I hope you do get lots of business out of it. We really really enjoyed spending the time with yourself, Charlie and Phillipa, we found you all very pleasant and professional! There was a lot of organizing to do, however I found dealing with you, very easy, with your prompt answers to my emails etc. </p> <p>Thank you very much Justin, Id do it again for sure!" </p> <p class="name">Leanne K.</p>';

  quote[3]='<p>"The feedback we got about having the Roulette table there on the night was all positive & Neil & I believe it made the night. So well done & we would gladly use your company again in the future. Your lady croupier (sorry cant remember her name) was especially good giving a lot of tips & generally being very friendly & helpful to those who had never played roulette before. We attended a Charity Fundraising function last Saturday night & it was James Bond theme & they had Roulette & a Black Jack table set up & we quickly compared the quality of the tables & staff to your team, & between you & me they were ****! Thanks again & well done." </p> <p class="name">Chris & Neil.</p>';

  
var speed=11000;    /*this is the time in milliseconds adjust to suit*/
var q=0;

function showPriv_Quote() {

     document.getElementById("priv_quotes").innerHTML=quote[q];
     q++;
if(q==quote.length) {
     q=0;
  }
}
setInterval('showPriv_Quote()',speed);



// FUN CASINO - FUNDRAISING TESTIMONIALS

var quote=new Array();

  quote[0]='<p>"A fabulous evening with a superb outcome for the kids was the overwhelming response from guests at the Neighbours4Charity and Vegas Nights Casino Royale fundraiser event held in support of The Smith Family. The casino brimmed with high spirits (both guests and the Casino staff) and an enormous amount of goodwill that generated funds to sponsor over 100 financially disadvantaged Australian children to reach their full potential through education." </p> <p class="name">Kate F. Head of Fundraising.<br />THE SMITH FAMILY</p>';

  quote[1]='<p>"A fabulous evening with a superb outcome for the kids was the overwhelming response from guests at the Neighbours4Charity and Vegas Nights Casino Royale fundraiser event held in support of The Smith Family. The casino brimmed with high spirits (both guests and the Casino staff) and an enormous amount of goodwill that generated funds to sponsor over 100 financially disadvantaged Australian children to reach their full potential through education." </p> <p class="name">Kate F. Head of Fundraising.<br />THE SMITH FAMILY</p>';


  
var speed=11000;    /*this is the time in milliseconds adjust to suit*/
var q=0;

function showFund_Quote() {

     document.getElementById("fund_quotes").innerHTML=quote[q];
     q++;
if(q==quote.length) {
     q=0;
  }
}
setInterval('showFund_Quote()',speed);
