<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
if request.form("submit") = "01" then
Fullname = request.form("FullName")
CompanyName = request.form("CompanyName")
EmailAddress = request.form("EmailAddress")
ContactNumber = request.form("ContactNumber")
YourMessage = request.form("yourmessage")
htmlText = "<!DOCTYPE HTML PUBLIC ""-//W3C//DTD HTML 4.01 Transitional//EN"">"
htmlText = htmlText & "<html>"
htmlText = htmlText & "<head>"
htmlText = htmlText & "<title>Message from website contact form!</title>"
htmlText = htmlText & "<meta http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1"">"
htmlText = htmlText & "</head>"
htmlText = htmlText & "<body bgcolor=""#FFFFFF"">"
htmlText = htmlText & "<table width=""100%"" border=""0"" align=""left"" cellpadding=""0"" cellspacing=""0"">"
htmlText = htmlText & "<tr>"
htmlText = htmlText & "<td> </td>"
htmlText = htmlText & "</tr>"
htmlText = htmlText & "<tr>"
htmlText = htmlText & "<td></td>"
htmlText = htmlText & "</tr>"
htmlText = htmlText & "</tr>"
htmlText = htmlText & "<tr>"
htmlText = htmlText & "<td valign=""top""><div style=""padding-bottom:10px;padding-top:10px;"">"
htmlText = htmlText & "<hr size=""1"" color=""#C2C2C2"" width=""100%"" noshade>"
htmlText = htmlText & "</td>"
htmlText = htmlText & "</tr>"
htmlText = htmlText & "<tr>"
htmlText = htmlText & "<td>"
htmlText = htmlText & "<font class=""contenttext"">"
htmlText = htmlText & "This message was sent via the website contact form on <strong>"&Date&"</strong> at <strong>"&Time&"</strong>.<br><br>"
htmlText = htmlText & "It was sent by <strong>"&Fullname&"</strong>.<br><br>"
htmlText = htmlText & "Their e-mail address is <strong>"&EmailAddress&"</strong>.<br><br>"
htmlText = htmlText & "Their Company name is <strong>"&CompanyName&"</strong>.<br><br>"
htmlText = htmlText & "Their telephone number is <strong>"&ContactNumber&"</strong>.<br><br>"
htmlText = htmlText & "Their message is:<br><br><strong>"&YourMessage&"</strong>.<br><br>"
htmlText = htmlText & "</font>"
htmlText = htmlText & "</td>"
htmlText = htmlText & "</tr>"
htmlText = htmlText & "</table>"
Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= "website@frontlinesecurityservices.com"
MyCDONTSMail.To= "chrishyatt69@hotmail.com"
MyCDONTSMail.Subject="Website Query: "
MyCDONTSMail.BodyFormat=0
MyCDONTSMail.MailFormat=0
MyCDONTSMail.Body= htmlText
MyCDONTSMail.Send
set MyCDONTSMail=nothing
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Frontline Security Services Ltd - Specialists in all type of commercial and domestic security services.</title>
<meta name="robots" content="ALL" />
<meta name="rating" content="SAFE FOR KIDS" />
<meta name="author" content="Frontline Security Services Ltd, Hertfordshire, UK" />
<meta name="copyright" content="Content: 2006 Frontline Security Services Ltd - Design & Development: Opusid.com" />
<meta name="Language" content="en-GB" />
<meta http-equiv="pragma" content="no-cache" />
<meta name="distribution" content="GLOBAL" />
<meta name="revisit-after" content="15 Days" />
<meta name="Classification" content="Security" />
<meta name="keywords" content="Security, Frontline, Hertfordshire, Mobile, Static, Events, Dogs, Training, Construction, Key, CCTV, keyholding service, homewatch, nacoss, trading standards ">
<script type="text/JavaScript">
<!--
function YY_checkform() { //v4.66
//copyright ©1998,2002 Yaromat.com
var args = YY_checkform.arguments; var myDot=true; var myV=''; var myErr='';var addErr=false;var myReq;
for (var i=1; i<args.length;i=i+4){
if (args[i+1].charAt(0)=='#'){myReq=true; args[i+1]=args[i+1].substring(1);}else{myReq=false}
var myObj = MM_findObj(args.replace(/\[\d+\]/ig,""));
myV=myObj.value;
if (myObj.type=='text'||myObj.type=='password'||myObj.type=='hidden'){
if (myReq&&myObj.value.length==0){addErr=true}
if ((myV.length>0)&&(args[i+2]==1)){ //fromto
var myMa=args[i+1].split('_');if(isNaN(myV)||myV<myMa[0]/1||myV > myMa[1]/1){addErr=true}
} else if ((myV.length>0)&&(args[i+2]==2)){
var rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-z]{2,4}$");if(!rx.test(myV))addErr=true;
} else if ((myV.length>0)&&(args[i+2]==3)){ // date
var myMa=args[i+1].split("#"); var myAt=myV.match(myMa[0]);
if(myAt){
var myD=(myAt[myMa[1]])?myAt[myMa[1]]:1; var myM=myAt[myMa[2]]-1; var myY=myAt[myMa[3]];
var myDate=new Date(myY,myM,myD);
if(myDate.getFullYear()!=myY||myDate.getDate()!=myD||myDate.getMonth()!=myM){addErr=true};
}else{addErr=true}
} else if ((myV.length>0)&&(args[i+2]==4)){ // time
var myMa=args[i+1].split("#"); var myAt=myV.match(myMa[0]);if(!myAt){addErr=true}
} else if (myV.length>0&&args[i+2]==5){ // check this 2
var myObj1 = MM_findObj(args[i+1].replace(/\[\d+\]/ig,""));
if(myObj1.length)myObj1=myObj1[args[i+1].replace(/(.*\[)|(\].*)/ig,"")];
if(!myObj1.checked){addErr=true}
} else if (myV.length>0&&args[i+2]==6){ // the same
var myObj1 = MM_findObj(args[i+1]);
if(myV!=myObj1.value){addErr=true}
}
} else
if (!myObj.type&&myObj.length>0&&myObj[0].type=='radio'){
var myTest = args.match(/(.*)\[(\d+)\].*/i);
var myObj1=(myObj.length>1)?myObj[myTest[2]]:myObj;
if (args[i+2]==1&&myObj1&&myObj1.checked&&MM_findObj(args[i+1]).value.length/1==0){addErr=true}
if (args[i+2]==2){
var myDot=false;
for(var j=0;j<myObj.length;j++){myDot=myDot||myObj[j].checked}
if(!myDot){myErr+='* ' +args[i+3]+'\n'}
}
} else if (myObj.type=='checkbox'){
if(args[i+2]==1&&myObj.checked==false){addErr=true}
if(args[i+2]==2&&myObj.checked&&MM_findObj(args[i+1]).value.length/1==0){addErr=true}
} else if (myObj.type=='select-one'||myObj.type=='select-multiple'){
if(args[i+2]==1&&myObj.selectedIndex/1==0){addErr=true}
}else if (myObj.type=='textarea'){
if(myV.length<args[i+1]){addErr=true}
}
if (addErr){myErr+='* '+args[i+3]+'\n'; addErr=false}
}
if (myErr!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+myErr)}
document.MM_returnValue = (myErr=='');
}
//-->
</script>
<br>
<meta name="description" content="Based in Hertfordshire, Frontline Security Services Ltd prides itself on its customer service and can provide all types of security services to suit your business and domestic security needs. Specialising in Mobile and Static Patrols, Event Security, Construction Security and where required Trained Dogs and Handlers.">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a)&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a.indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a;}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers.document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<table width="766" style="height:750px" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td width="766" style="height:231px" valign="top">
<table width="766" style="height:231px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="13" style="height:231px" valign="top"></td>
<td width="736" style="background-image: url(images/fl.jpg); background-repeat: no-repeat; height:231px" valign="top">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="736" height="231">
<param name="movie" value="flash/header_main.swf">
<param name="quality" value="high">
<embed src="flash/header_main.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="736" height="231"></embed>
</object>
</td>
<td width="17" style="height:231px" valign="top"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="766" style="height:2px" valign="top"></td>
</tr>
<tr>
<td width="766" style="height:385px" valign="top">
<table width="766" style="height:385px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="14" style="height:385px" valign="top"></td>
<td width="735" style="height:385px" valign="top">
<table width="735" style="height:385px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="243" style="height:100%" valign="top">
<table width="100%" style="background-image: url(images/m1-dr.gif); background-repeat: repeat-x; background-position: top;height:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1" style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"><img alt="" border="0" src="images/spacer.gif" width="1" height="1"></td>
<td width="100%" style="background-image: url(images/1-dr.gif); background-repeat: repeat-x; background-position: bottom;height:100%" valign="top">
<div class="m_text" style="margin-left:29px; margin-top:17px; margin-right:20px; margin-bottom:15px">
<p><img src="images/header_telephone.gif" alt="" width="150" height="19" border="0" ><br>
<br style="line-height:19px;">
<a href="#" class="h_text">Head Office </a><br>
You can contact us during office hours where one of our highly trained team will be able to assist you with your enquiry:</p>
<p><span style="color: #FF0000; font-weight: bold"><span style="color: #7A7A7A">telephone:</span> 0870 3800 999</span><br>
<br>
<a href="#" class="h_text">Recruitment</a><br>
If you wish to join Frontline Security Services Letchworth Ltd and believe that you could become a valued member of our team, please <a href="recruitment.asp" class="h_text">click here</a> and complete our online application form. <br>
<br>
<br>
</p>
</div>
</td>
<td width="1" style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"><img alt="" border="0" src="images/spacer.gif" width="1" height="1"></td>
</tr>
</table>
</td>
<td width="3" style="height:385px" valign="top"></td>
<td width="489" style="height:100%" valign="top">
<table width="489" style="height:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="489" style="height:152px" valign="top">
<table width="100%" style="background-image: url(images/m1-dr.gif); background-repeat: repeat-x; background-position: top;height:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1" style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"><img alt="" border="0" src="images/spacer.gif" width="1" height="1"></td>
<td width="100%" style="height:100%" valign="top">
<div class="m_text" style="margin-left:26px; margin-top:17px; margin-right:20px; margin-bottom:15px">
<img src="images/header_contact.gif" alt="" width="150" height="19" border="0" ><br>
<div align="left" style=" margin-top:18px; margin-right:60px; ">
<img alt="" src="images/4-p1.jpg" hspace="0" vspace="0" border="0" align="left" style="margin-right:13px; margin-top:0px">Frontline Security (Letchworth) Ltd<br>
Unit C<BR>Old Oak Industrial Est<BR>Old Oak Close<br>Arlesey<br>SG15 6XD
</div>
</div>
</td>
<td width="1" style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"><img alt="" border="0" src="images/spacer.gif" width="1" height="1"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="489" style="height:100%" valign="top">
<table width="100%" style="background-image: url(images/4-dr.gif); background-repeat: repeat-x; background-position: top;height:100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="1" style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"><img alt="" border="0" src="images/spacer.gif" width="1" height="1"></td>
<td width="100%" style="height:100%" valign="top">
<div class="m_text" style="margin-left:26px; margin-top:17px; margin-right:20px; margin-bottom:15px">
<img src="images/header_email.gif" alt="" width="220" height="19" border="0" ><br>
<div style=" margin-top:17px;">
<form action="contact.asp" name="form" id="form" method="POST" style="margin:0px; padding:0px" onSubmit="YY_checkform('form','fullname','#q','0','Please enter your full name','emailaddress','S','2','Please enter a valid email address','contactnumber','#q','0','Please enter your telephone number','yourmessage','10','1','Please enter a message');return document.MM_returnValue">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="m_text" width="223" valign="top">
<div align="left" >Your full name:</div>
<div class="form_div" ><input type="text" class="form m_text" name="fullname"></div>
<div align="left" style=" margin-top:10px;">Company name:</div>
<div class="form_div" ><input type="text" class="form m_text" name="companyname"></div>
<div align="left" style=" margin-top:10px;">E-mail address:</div>
<div class="form_div" ><input type="text" class="form m_text" name="emailaddress"></div>
<div align="left" style=" margin-top:10px;">Your daytime number:</div>
<div class="form_div" ><input type="text" class="form m_text" name="contactnumber"></div>
<td>
<td class="m_text" valign="top">
<div align="left" >Your message:</div>
<div ><textarea class="form m_text" name="yourmessage" rows="30" cols="40" style="height:139px; overflow:hidden"></textarea>
</div>
<div align="left" style="margin-left:100px; margin-top:3px">
<input type="submit" name="Submit1" value="Submit">
<input type="reset" name="RESET" value="Reset">
</div> </td>
</tr>
</table>
<input type="hidden" name="submit" value="01">
</form>
</div>
</div> </td>
<td width="1" style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"><img alt="" border="0" src="images/spacer.gif" width="1" height="1"></td>
</tr>
<tr>
<td style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"> </td>
<td style="height:100%" valign="top"> </td>
<td style="background-image: url(images/m1-l.gif); background-repeat: no-repeat; background-position: top;height:100%" valign="top"> </td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="17" style="height:385px" valign="top"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="766" style="height:8px" valign="top">
<table width="766" style="height:8px" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="15" style="height:8px" valign="top"></td>
<td width="241" style="background-image: url(images/b-dr.gif); background-repeat: repeat-x; background-position:0px 1px;height:8px" valign="top"></td>
<td width="4" style="height:8px" valign="top"></td>
<td width="489" style="background-image: url(images/b-dr.gif); background-repeat: repeat-x; background-position:0px 1px;height:8px" valign="top"></td>
<td width="17" style="height:8px" valign="top"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="766" style="height:55px" valign="top"><img src="images/b4.jpg" alt="" width="165" height="55" border="0" style="margin-left:16px; "><img src="images/b5.jpg" alt="" width="202" height="55" border="0" ><img alt="" border="0" src="images/b-l.gif" ><img src="images/b2.jpg" alt="" width="109" height="55" border="0" ><img alt="" border="0" src="images/b-l.gif" ><a href="http://www.sito.co.uk/" target="_blank"><img src="images/b3.jpg" width="142" height="55" border="0"></a><img alt="" border="0" src="images/b-l.gif" ><a href="http://www.fsb.org.uk/" target="_blank"><img src="images/footer_fsb.jpg" alt="" width="109" height="55" border="0" ></a></td>
</tr>
<!--#include file="inc/footer.asp" -->
Sorry I thought I had attached it.
Cheers.
Chris