					 function okSearch(searchForm)
					 {
					 var theSearch = document.search_form.p_search.value;
					 var theLocation = "/oracle-training/uk_training.course_search?p_search="+theSearch;
					 if (theSearch=="")
					 {
					  alert("Please enter some search criteria");
					 }
					 else
					 {
					  //alert(theLocation);
					  document.location = theLocation;
					 }
					 }

					 function okSearch2(searchForm)
					 {
					 var theSearch = document.search_form.p_search.value;
					 var theLocation = "http://www.itraineducation.co.uk/oracle-training/uk_training.course_search?p_search="+theSearch;
					 if (theSearch=="")
					 {
					  alert("Please enter some search criteria");
					 }
					 else
					 {
					  //alert(theLocation);
					  document.location = theLocation;
					 }
					 }

function submitEnquiry()
	{
	 enquiry(document.stratus_web_enquiry);
	}
//************************************************************************************************************
	function enquiry(enquiryForm)
	{
	 if (document.stratus_web_enquiry.p_name.value == "")
	  {
		alert("Please enter your name.");
		document.stratus_web_enquiry.p_name.focus();
		return false;
	  }
	if (document.stratus_web_enquiry.p_company.value == "")
	  {
		alert("Please enter your organisation.");
		document.stratus_web_enquiry.p_company.focus();
		return false;
	  }
  
  if ((document.stratus_web_enquiry.p_email.value.indexOf ("@",0) == -1 ||
   document.stratus_web_enquiry.p_email.value.indexOf (".",0) == -1) ||
   document.stratus_web_enquiry.p_email.value == "")
  {
		alert("Please enter your email address.");
		document.stratus_web_enquiry.p_email.focus();
		return false;
  }

	if (document.stratus_web_enquiry.p_telephone.value == "")
	  {
		alert("Please enter your telephone number.");
		document.stratus_web_enquiry.p_telephone.focus();
		return false;
	  }

	var thePostCode = document.getElementById("p_postcode");
	if (thePostCode!=null)
	{
	if (document.stratus_web_enquiry.p_postcode.value == "")
	  {
		alert("Please enter your post code.");
		document.stratus_web_enquiry.p_postcode.focus();
	 	return false;
	  }
	}
	document.stratus_web_enquiry.submit();	
	return true; 
	}	
//************************************************************************************************************
function openWin()
{
 flashWindow = window.open("website.html_schedule","normalwin","resizable=YES toolbar=NO scrollbars=YES status=NO width=950 height=650");
 flashWindow.focus();
}

function printIt(pLocId)
{
 printWindow = window.open("uk_training.printable_loc?p_loc_id="+pLocId,"normalwin","resizable=YES toolbar=NO scrollbars=YES status=NO width=650 height=650");
 printWindow.focus();
}

function showMoreInfo() {
 if ( document.getElementById ) {
	var crseMoreInfoId = document.getElementById( 'morecrseinfo' );
	var crseMoreInfoLinkId = document.getElementById( 'morecrseinfolink' );	
    if ( crseMoreInfoId.style.display == "block" ) {
       crseMoreInfoId.style.display = "none";
       crseMoreInfoLinkId.style.display = "block";	   
    } else {
	  //with( crseMoreInfoId.style ) {
	  //display = "block";
       crseMoreInfoId.style.display = "block";	  
       crseMoreInfoLinkId.style.display = "none";	  	   
	}
 }
}

function openNLPG()
{
 var flashWindow = window.open("http://www.itraineducation.co.uk/flash/LG45 CRM NLPG data upload application.swf","normalwin","resizable=NO toolbar=NO scrollbars=NO status=NO width=800 height=600");
 flashWindow.title = "LG45 CRM NLPG Data Upload Application Presentation";
 flashWindow.focus();
}

function submitEnquiry2()
	{
	 enquiry2(document.stratus_web_enquiry);
	}
//************************************************************************************************************
	function enquiry2(enquiryForm)
	{
	 if (document.stratus_web_enquiry.p_name.value == "")
	  {
		alert("Please enter your name.");
		document.stratus_web_enquiry.p_name.focus();
		return false;
	  }
  
  if ((document.stratus_web_enquiry.p_email.value.indexOf ("@",0) == -1 ||
   document.stratus_web_enquiry.p_email.value.indexOf (".",0) == -1) ||
   document.stratus_web_enquiry.p_email.value == "")
  {
		alert("Please enter your email address.");
		document.stratus_web_enquiry.p_email.focus();
		return false;
  }

	if (document.stratus_web_enquiry.p_telephone.value == "")
	  {
		alert("Please enter your telephone number.");
		document.stratus_web_enquiry.p_telephone.focus();
		return false;
	  }

	document.stratus_web_enquiry.submit();	
	return true; 
	}	
//************************************************************************************************************
