<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PT. Artha Guna Lestari</title>
<script src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/easySlider1.7.js"></script>
<script type="text/javascript">
		$(document).ready(function(){	
			$("#sliderTestimonial").easySlider({
				auto: true, 
				continuous: true
			});
		});	
	</script>
<script language="javascript">
	function submitForm()
	{
		var pattern = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;;
		if (document.getElementById('txtName').value=="")
		{
			alert("Fill your name!");
		}
		else if (document.getElementById('txtEmail').value=="")
		{
			alert("Fill your email!");
		}
		else if (!document.getElementById('txtEmail').value.match(pattern))
		{
			alert("Email address format should be example@domain.com!");
		}
		else
		{
			document.myform.submit();
		}
	}
</script>
<link href="css/screen.css" rel="stylesheet" type="text/css" media="screen" />
<link rel="icon" type="image/ico" href="images/favicon.png"/>
</head>

<body style="background-image:url('images/Frame_Gray shape/Short/outside_border.PNG');background-repeat:repeat-x">
<center>
<form id="myform" name="myform" action="#" method="post">
	<?php
		if ($_POST)
		{
			$to = "sales@pt-agl.com";
							$subject = "Contact Us: " . $_POST[txtName];
							$message = "Nama pengirim: " . $_POST[txtName] . "<br/>";
							$message = $message . "Email: " . $_POST[txtEmail] . "<br/><br/>";
							$message = $message . "Nomor telepon: " . $_POST[txtPhone] . "<br/><br/>";
							$message = $message . $_POST[txtMessage];
							$headers = "From: " . $_POST[txtEmail] . "\r\n" .
										'X-Mailer: PHP/' . phpversion() . "\r\n" .
										"MIME-Version: 1.0\r\n" .
										"Content-Type: text/html; charset=utf-8\r\n" .
										"Content-Transfer-Encoding: 8bit\r\n\r\n";
							try
							{			
								if (mail($to, $subject, $message, $headers))
								{		
									$errregistermsg="Email berhasil dikirim.";
								}
								else
								{
									$errregistermsg="Email gagal dikirim. Harap memeriksa koneksi internet anda atau hubungi kami untuk informasi lainnya.";
								}
							}
							catch(Exception $ex)
							{
								$errregistermsg="Email gagal dikirim. Harap memeriksa koneksi internet anda atau hubungi kami untuk informasi lainnya.";
							}
		}
	?>
	<table cellpadding="0" cellspacing="0" width="940px">
		<tr style="vertical-align:top" height="5px">
			<td style="font-size:3px;background-image:url('images/Frame_Gray shape/top_left_corner_shape.png');" align="right">&nbsp;
					
			</td>
			<td style="font-size:3px;background-image:url('images/Frame_Gray shape/top_middle_shape_frame.png');background-repeat:repeat-x">&nbsp;
					
			</td>
			<td style="font-size:3px;background-image:url('images/Frame_Gray shape/top_right_corner_shape.png');" align="left">&nbsp;
					
			</td>
		</tr>
		<tr style="vertical-align:top">
			<td width="4px" style="background-image:url('images/Frame_Gray shape/top_left_shape_frame.png');background-repeat:repeat-y">&nbsp;
				
			</td>
			<td>
				<table cellpadding="0" cellspacing="0" width="100%">
					<tr>
						<td>
							<?php include "menu_sub.php"; ?>
						</td>
					</tr>
				</table>
			</td>
			<td width="4px" style="background-image:url('images/Frame_Gray shape/top_left_shape_frame.png');background-repeat:repeat-y">&nbsp;
				
			</td>
		</tr>
		<tr height="72px">
			<td style="background-image:url('images/Frame_Gray shape/Short/top_left_grayshape_inside_short.png');background-repeat:repeat-y" width="2px">
				&nbsp;
			</td>
			<td width="934px">&nbsp;

			</td>
			<td style="background-image:url('images/Frame_Gray shape/Short/top_left_grayshape_inside_short.png');background-repeat:repeat-y" width="4px">
				&nbsp;
			</td>
		</tr>
		<tr style="vertical-align:top">
			<td width="4px" style="background-image:url('images/Frame_Gray shape/top_left_shape_frame.png');background-repeat:repeat-y">&nbsp;
				
			</td>
			<td>
				<table cellpadding="0" cellspacing="0" width="100%">
					<tr><td style="font-size:12px;color:red"><?php echo $errregistermsg;?></td></tr>
					<tr>
						<td align="center">
							<img src="images/sub_banner/contact_us.png" />
						</td>
					</tr>
					<tr>
						<td style="font-family:Arial;font-size:12px;padding:15px" align="left">
							<table cellpadding="0" cellspacing="0" width="100%" style="color:#1570B6;font-size:16px">
								<tr style="vertical-align:top">
									<td width="45px">&nbsp;</td>
									<td>
										<b><i><span style="font-size:18px">PT ARTHA GUNA LESTARI</span></i></b><br /><br />
										<b><i>Jl. Raya Ragunan Komp. Bea Cukai No. 64 A</i></b><br /><br />
										<b><i>Pasar Minggu - Jakarta Selatan</i></b><br /><br />
										<b><i>Telp: +62-21-78843329</i></b><br /><br />
										<b><i>Fax: +62-21-78843339</i></b><br /><br />
										<b><i>Email: sales@pt-agl.com</i></b><br /><br />
									</td>
									<td width="20px">&nbsp;</td>
									<td align="center"><!--<img src="images/sitemap.png" />-->
									<iframe width="300" height="225" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=jalan+raya+ragunan+bea+cukai&amp;aq=&amp;sll=-6.284685,106.841096&amp;sspn=0.000984,0.001725&amp;ie=UTF8&amp;hq=&amp;hnear=Bea+Cukai,+Pasar+Minggu,+Kota+Jakarta+Selatan,+DKI+Jakarta+12520,+Republic+of+Indonesia&amp;t=m&amp;z=14&amp;ll=-6.284685,106.841096&amp;output=embed"></iframe><br /><small>View <a href="https://maps.google.com/maps?f=q&amp;source=embed&amp;hl=en&amp;geocode=&amp;q=jalan+raya+ragunan+bea+cukai&amp;aq=&amp;sll=-6.284685,106.841096&amp;sspn=0.000984,0.001725&amp;ie=UTF8&amp;hq=&amp;hnear=Bea+Cukai,+Pasar+Minggu,+Kota+Jakarta+Selatan,+DKI+Jakarta+12520,+Republic+of+Indonesia&amp;t=m&amp;z=14&amp;ll=-6.284685,106.841096" style="color:#0000FF;text-align:left">PT Artha Guna Lestari</a> in a larger map</small>
									<br /><br /><b><span style="color:black;font-size:12px">Site Map</span></b></td>
									<td width="30px">&nbsp;</td>
								</tr>
								<tr>
									<td width="45px">&nbsp;</td>
									<td colspan="3" style="color:black;font-size:12px"><br /><br />
										Have any inquiries? Feel free to contact us through the form below. We look forward to hear from you<br /><br />Your Name<br /><br />
										<input type="text" id="txtName" name="txtName" size="40" /><br /><br />
										Your Email Address<br /><br />
										<input type="text" id="txtEmail" name="txtEmail" size="40" /><br /><br />
										Phone Number<br /><br />
										<input type="text" id="txtPhone" name="txtPhone" size="40" /><br /><br />
										Your Message<br /><br />
										<textarea id="txtMessage" name="txtMessage" cols="50" rows="10"></textarea><br /><br />
										<a href="javascript:submitForm();"><img src="images/Buttons/btn_send.png" border="0" /></a>
									</td>
									<td width="30px">&nbsp;</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</td>
			<td width="4px" style="background-image:url('images/Frame_Gray shape/top_left_shape_frame.png');background-repeat:repeat-y">&nbsp;
				
			</td>
		</tr>
		<tr>
			<td colspan="3"><table cellpadding="0" cellspacing="0" width="100%">
			<tr><td width="2px" style="font-size:6pt">&nbsp;</td>
			<td colspan="3" style="background-image:url('images/line_gap_bottom.png');background-repeat:repeat-x;font-size:7pt">&nbsp;</td>
		</tr>
			<tr>
			<td width="2px" style="font-size:6pt">&nbsp;</td>
			<td width="6px" style="background-image:url('images/bottom_left.PNG');background-repeat:repeat-y">&nbsp;
				
			</td>
			<td style="background-color:#D9D9D9"><br/>
				<?php include "footer.php";?>
			</td>
			<td width="4px" style="background-image:url('images/bottom_right.PNG');background-repeat:repeat-y">&nbsp;
				
			</td>
			
		</tr>
		
		<tr>
			<td></td>
			<td colspan="3" style="background-image:url('images/bottom_bottom.PNG');background-repeat:repeat-x;">&nbsp;
							
			</td>
			
		</tr>
		</table></td></tr>
	</table>
</form>
</center>
</body>
</html>