function loadXMLDoc()
{
	var xmlhttp;
	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
	var name = this.ContactForm.name.value;
	var email = this.ContactForm.email.value;
	var tel = this.ContactForm.tel.value;
	var message = this.ContactForm.message.value;
	if(name.length == 0 || email.length == 0 || message.length == 0)
	{
		alert("Please complete the form first!");
		return false;
	}
	else if(reg.test(email) == false)
	{
		alert("Please Enter a Valid Email Address");
		return false;
	}
	if (window.XMLHttpRequest)
  	{// code for IE7+, Firefox, Chrome, Opera, Safari
  	xmlhttp=new XMLHttpRequest();
  	}
	else
  	{// code for IE6, IE5
  	xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  	}
	xmlhttp.onreadystatechange=function()
  	{
  		if(xmlhttp.readyState==4 && xmlhttp.status==200)
    	{
    		alert(xmlhttp.responseText);
			document.getElementById('ContactForm').reset();
    	}
  	}
  
xmlhttp.open("POST","mailform.php",true);
xmlhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded");
xmlhttp.send("name=" + name + "&email=" + email + "&message=" + message + "&tel=" + tel);
}

function chngcontent(str)
{
	if(str == "over")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>services overview</h1><table border='0'><tr><td valign='top'><ul><li>Corporate Security</li> <li>Security Officers</li><li>Event Security</li><li>Close Protection Officers</li></ul></td><td width='50'>&nbsp;</td><td valign='top'><ul><li>Confidential Investigations</li><li>Physical Risk &amp; Threat Assessments</li><li>Security Screening &amp; Vetting</li><li>Fraud Enquiries</li></ul></td></tr><tr><td colspan='3' style='padding: 1em'><h2>CLICK ON THE LINKS ON LEFT HAND SIDE FOR MORE INFORMATION</h2></td></tr></table>";
	}
	else if(str == "corp")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>corporate security</h1><table border='0'><tr><td valign='top'><p>Protecting both Corporate Headquarters and Executives is a skilled job, so why do so many companies risk millions of pounds of assets to amateurs?</p><p>Specialist Protection staff staff bring with them a wealth of experience from Protecting Royalty to the most demanding Corporate Executives. Our operatives will be either covert or overt as required.</p><p>We have also been effective at political rallies and controversial book signings. Our Operatives are efficient and professional, thus ensuring that only invited guests are allowed entry; you will find that your guests feel safe and secure knowing that no uninvited outsiders or press will gain access.</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp</td></tr></table>";	
	}
	
	else if (str == "seco")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>security officers</h1><table border='0'><tr><td valign='top'><p>Manned Guarding is the backbone of our company. Our officers are used in various roles, from building sites, industrial estates, to reception duties. We offer a static security guard service throughout the Southeast of England. Great care is taken during induction & on site (assignment specific) training of staff - meeting the demanding expectations of discerning clients and consumers. The scope of static guarding assignments is wide ranging and Specialist Protections operations management is experienced in matching people to role requirements.</p><p>As a direct result of increasing crime, static security guarding has grown noticeably in public access buildings, in line with increased incidents of verbal and physical abuse. Employers, Corporations & public service providers face growing pressures to ensure a safe environment for employees and visitors. All our security personnel receive formal Security Industry training and have a current SIA licence. They have to pass SIA approved examinations on the subject of conflict management; early recognition of hostility is key to calming and defusing situations, which could otherwise escalate into ugly and potentially, costly issues.</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp</td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('seco2')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "seco2")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>security officers</h1><table border='0'><tr><td valign='top'><p>Hospitals: Casualty departments are becoming increasingly busy, resulting in over crowding, providing a potential flash point for violence or anti social behaviour. Our personnel are trained to deal with such incidents and relieve medical staff from the burden of security conflicts leaving them free to deal with medical matters.</p><p>Schools: We can provide a visual presence at the school gate or within the grounds of the school; recent events in the news have highlighted physical conflicts between pupils. Over the years the problems facing schools in an ever more troubled society have grown beyond what teaching staff should be expected to deal with, our presence has been proven to reduce the fear of bullying. The aim of this service is to provide a safer environment for pupils, parents and teachers.<br /><br /><br /><br /><br /></p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('seco')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "es")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>event security</h1><table border='0'><tr><td valign='top'><p>Our aim is to provide effective security whether it is for a private party, corporate function, wedding, or AGM. We have also been effective at political rallies and book signings. Operatives are efficient and professional, thus ensuring that only invited guests are allowed entry; you will find that your guests feel safe and secure knowing that no uninvited outsiders or press will gain access.</p><p style='color:#FFFFFF; font-weight:bold'>We supply fully licensed Security Officers and Dog Handlers for almost any Event</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('es2')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "es2")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>event security</h1><table border='0'><tr><td valign='top'><p>Over the last few years the staff of Specialist Protection Ltd has been responsible for the security of some major events, recently these have included:</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr></table><table border='0'><tr><td valign='top' width='250'><ul><li>Big Brother end of show party</li><li>Royal Botanical Gardens Kew</li><li>N.O.T.R.A.G.</li><li>N.U.S. - marches and rallies</li><li>Greater London Authority - Events</li></ul></td><td width='50'>&nbsp;</td><td valign='top'><img src='images/about_us.jpg' /></td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('es3')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "es3")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>event security</h1><table border='0'><tr><td valign='top'><p>We have also provided staff to police private events for major corporations, visiting dignitaries & celebrities - Please ask for our references.</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr></table><table border='0'><tr><td valign='top' width='250'><ul><li>Weddings</li><li>Birthday Parties</li><li>Summer Shows</li><li>Festivals</li><li>Corporate Functions</li></ul></td><td width='50'>&nbsp;</td><td valign='top'><img src='images/who_we_are.jpg' width='200' height='143' /></td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('es')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "cpo")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>close protection officers</h1><table border='0'><tr><td valign='top'><p>Whether you are in the corporate or business sector, the entertainment world or a high worth private individual, you have the right to protect yourself and your family against the increasing threats in our world today. These could arise from terrorism or through criminality and there are many other numerous possibilities why you need security. With publicity the need to protect and prevent is crucial, we will protect you and your family from all threats and attacks. A full risk assessment will be carried out prior to any task being undertaken.</p></td><td width='50'>&nbsp;</td><td valign='top'><img src='images/close_protection_officers.jpg' /></td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('cpo2')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "cpo2")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>close protection officers</h1><table border='0'><tr><td valign='top'><p>Our highly experienced security experts will provide a detailed analysis of your situation and your particular security needs. This analysis will be carried out to ensure not just your safety and peace of mind, but your ability to carry out normal daily activities. Our experts whether in the preliminary stages or the on-going protection will ensure their duties are carried out discreetly if required and to the highest professional standards.</p><p>Our Close Protection officers are able to work as a unit ensuring the on-going protection of the client to the highest professional standards. Our experts ensure that whatever the particular circumstances of the operation we will constantly adapt and re-analyse to ensure complete confidence in our clients and the ongoing protection operation, carrying out normal daily tasks or making a public appearance.<br /><br /><br /><br /></p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr><tr><td colspan='3'></td></tr><tr><td colspan='3'><a href='#' class='btn' onclick=chngcontent('cpo')><span><span>Read More</span></span></a></td></tr></table>";
	}
	else if (str == "conf")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>confidential investigations</h1><table border='0'><tr><td valign='top'><p>Our staff have has been carrying out confidential investigations into both private individuals and companies for many years. We all sign confidentiality agreements. You will find that the gathering of information and the provision of detailed reports will enable you the client to make your own decisions on the most cost effective action open to you. With regards to enquiries we use major data bases for checking and tracing and work only within the parameters of the Data Protection Act.</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr></table><table border='0' cellspacing='10'><tr><td valign='top'><p>We specialise in:<ul><li>Criminal Defence Investigations</li><li>Tracing Witnesses</li><li>Due Diligence</li><li>Fraud Enquiries</li></ul></p></td><td valign='top'><br /><br /><ul><li>Civil Defence Investigations</li><li>Litigation Support</li><li>Internal &amp; External Theft</li></ul></td><td valign='top'><br /><br /><img src='images/conf.jpg' height='140' /></td></tr></table>";
	}
	else if (str == "risk")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>risk &amp; threat assessments</h1><table border='0'><tr><td valign='top'><p>Our analysis will provide you with recommendations that will allow your business to run securely and/or it will allow you and your family to live in peace, and be secure. Those individuals that fail to flesh out and test threat profiles run the risk of underestimating the course and likelihood of the threat. The assessment will normally consist of seven elements:</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr></table><table border='0'><tr><td valign='top'><ul><li>Conduct Risk Analysis</li><li>Assess threat enviroment &amp; history</li><li>Examine polices &amp; procedures</li><li>Assess physical security</li><li>Assess operations security</li><li>Conduct quality control testing</li><li>Make recommendations to client</li></ul></td><td width='50'>&nbsp;</td><td valign='top'><img src='images/risk.jpg' /></td></tr></table>";
	}
	else if (str == "screen")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>screening &amp; vetting</h1><p>We will screen and clear your staff for their 5 year work history or back to school if necessary. This is now a normal requirement for most companies within the UK. Are you involved with security Industry? Then your staff must be vetted to BS 7858 to confirm to your insurance companies requirements, and trade association standards. Many I.T. contractors, building contractors and self employed personnel now use our services to open the door to government contracts! The process includes:<ul><li>Current address verification and Previous address verification if less than three years</li><li>I.D documentation verified</li><li>5 year written employment verification</li><li>2 personal written references</li><li>Consumer credit report</li><li>Professional qualification verification</li><li>County court judgements</li><li>Insolvency/bankruptcy search</li></ul></p>";
	}
	else if (str == "fraud")
	{
		document.getElementById('dyna').innerHTML = "<h1 style='font-family:Verdana; font-weight:bold'>fraud enquiries</h1><table border='0'><tr><td valign='top'><p>Fraud is a common problem, more common than ever most of us are aware. Many fraud cases are never publicised, mainly because of the adverse publicity that it may well attract or due to embarrassment. This of course adds to the problem, as the same frauds are committed time and time again. We live in a world of uncertainty, the wrong contact or deal has seen many companies and individuals suffer severe losses, and even collapse over the years.</p></td><td width='50'>&nbsp;</td><td valign='top'>&nbsp;</td></tr></table><table border='0'><tr><td valign='top'><ul><li>I have been defrauded, what action can I take?</li><li>Can I get my money back?</li><li>What evidence do I need to present a case?</li><li>What are the latest developments?</li><li>How will this affect my company?</li><li>How do I find out, what do I need to know?</li></ul></td><td width='50'>&nbsp;</td><td valign='top'><img src='images/fraud.jpg' /></td></tr></table>";
	}
}

