<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% Response.Redirect("http://www.infinite-video.com/contact-form.html") %>
<!--#include virtual="/Connections/infinitevideo.asp" -->
<%
Dim rsTestimonials
Dim rsTestimonials_cmd
Dim rsTestimonials_numRows

Set rsTestimonials_cmd = Server.CreateObject ("ADODB.Command")
rsTestimonials_cmd.ActiveConnection = MM_infinitevideo_STRING
rsTestimonials_cmd.CommandText = "SELECT TOP 1 ID, quote, name FROM dbo.ivp_testimonials ORDER BY NEWID()" 
rsTestimonials_cmd.Prepared = true
rsTestimonials_cmd.Parameters.Append rsTestimonials_cmd.CreateParameter("param1", 5, 1, -1, rsTestimonials__MMColParam) ' adDouble

Set rsTestimonials = rsTestimonials_cmd.Execute
rsTestimonials_numRows = 0
%>
<html>
<head>
<title>Infinite Video Productions</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="robots" content="nofollow" />
<META name="Description" CONTENT="Infinite Video Productions - High-end videography company based on Long Island that makes your special moments last forever.">
<META name="Keywords" CONTENT="infinite, video, productions, production, wedding, bar mitzvah, bat mitzvah, event, videographer, videography, NY, new york, LI, long island"> 
<link href="/css/css_ivp_styles.css" rel="stylesheet" type="text/css">
<link rel="stylesheet" type="text/css" href="/media/shadowbox/shadowbox.css" />
<script type="text/javascript" src="/media/shadowbox/shadowbox.js"></script>
<script type="text/javascript">
	Shadowbox.init({
		players:    ["flv", "iframe"]
		});
</script>

<script src="/ssi/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<script src="/ssi/SpryAssets/SprySlidingPanels.js"  language="javascript" type="text/javascript"></script>
<script src="/ssi/SpryAssets/SpryEffects.js"  language="javascript" type="text/javascript"></script>
<link href="/ssi/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
<link href="/ssi/SpryAssets/SprySlidingPanels.css" language="javascript" rel="stylesheet" type="text/css" />
<script src="/ssi/jcap/jcap.js" type="text/javascript"></script>
<script src="/ssi/jcap/md5.js" type="text/javascript"></script>

<script language="JavaScript" type="text/JavaScript">
<!--
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[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_validateForm() { //v4.0
  var i,p,q,nm,test,num,min,max,errors='',args=MM_validateForm.arguments;
  for (i=0; i<(args.length-2); i+=3) { test=args[i+2]; val=MM_findObj(args[i]);
    if (val) { nm=val.name; if ((val=val.value)!="") {
      if (test.indexOf('isEmail')!=-1) { p=val.indexOf('@');
        if (p<1 || p==(val.length-1)) errors+='- '+nm+' must contain an e-mail address.\n';
      } else if (test!='R') { num = parseFloat(val);
        if (isNaN(val)) errors+='- '+nm+' must contain a number.\n';
        if (test.indexOf('inRange') != -1) { p=test.indexOf(':');
          min=test.substring(8,p); max=test.substring(p+1);
          if (num<min || max<num) errors+='- '+nm+' must contain a number between '+min+' and '+max+'.\n';
    } } } else if (test.charAt(0) == 'R') errors += '- '+nm+' is required.\n'; }
  } if (errors) alert('The following error(s) occurred:\n'+errors);
  document.MM_returnValue = (errors == '');
}
//-->
</script>

<!--#include virtual="/ssi/ssi_google_analytics.asp" -->
</head>
<%
	dim	current_year
		current_year = (year(Date))
%>		
<body>
	<div id="container_main">
		<div id="container_header">
        	<div id="container_header_image"><img src="/media/backgrounds/header_background.jpg"></div>
          <div id="logo"><img src="/media/backgrounds/ivp_logo_2.png"></div>
            <div id="reflection"></div>
			<!--#include virtual="/ssi/ssi_navbar.asp" -->
        </div>
        <div id="container_content">
			<div id="contact_us">
            	<% IF Request.QueryString("ty")="Y" THEN %>
                  <table width="575" height="225" border="0" cellpadding="4" cellspacing="0">
                    <tr valign="middle"> 
                      <td width="575" height="225" valign="top">
                      	<div>&nbsp;</div>
                      	<div>&nbsp;</div>                        
						<div align="center" class="contact_us">Thank you for your comment.</div>                      </td>
                    </tr>
                  </table>      
                <% ELSE %>           
                <form action="comment.asp" method="post" name="Contact_Page" id="Contact_Page" onSubmit="MM_validateForm('visitor_name','','R','visitor_email','','RisEmail','visitor_comment','','R');return document.MM_returnValue">
                  <table width="575" height="300" border="0" cellpadding="4" cellspacing="0">
                    <tr valign="top"> 
                      <td width="575" height="225" valign="top">
                        <div style="float:left;width:125px;" align="left">Name:</div>
                        <div style="float:left;width:425px;" align="left"><input name="visitor_name" type="text" id="visitor_name" size="50"></div>
						<div style="clear:both;line-height:6px;"></div>
                        <div style="float:left;width:125px;" align="left">Email:</div>
                        <div style="float:left;width:425px;" align="left"><input name="visitor_email" type="text" id="visitor_email" size="50"></div>
						<div style="clear:both;line-height:6px;"></div>
                        <div style="float:left;width:125px;" align="left">Question or Comment:</div>
                        <div style="float:left;width:425px;" align="left"><textarea name="visitor_comment" cols="36" rows="3" id="visitor_comment"></textarea></div>
						<div style="clear:both;line-height:6px;"></div>
                        <div style="float:left;width:125px;" align="left">How did you hear about us?</div>
                        <div style="float:left;width:425px;" align="left">
                        	<select name="visitor_foundus" size="1" id="visitor_foundus">
                              <option selected>Please pick one</option>
                              <option>LIWeddings.com</option>
                              <option>Saw us at LI Weddings Extravaganza</option>
                              <option>Recommended by a friend</option>
                              <option>A search engine like google</option>
                              <option>Picked up our business card</option>
                              <option>Other</option>
                            </select>
						</div>
						<div style="clear:both;line-height:6px;"></div>
                        <div style="float:left;width:200px;" align="left">
                            <div style="padding:4px; background-color:#CCC; font-family:Arial, Helvetica, sans-serif; font-size:12px; width: 200px; text-align: left;">
                            Enter the word below:
                            <script type="text/javascript">sjcap();</script>
                            <noscript><p>[This resource requires a Javascript enabled browser.]</p></noscript>
                            </div>
                        </div>
						<div style="clear:both;line-height:6px;"></div>
                        <div style="float:left;width:125px;" align="left"><input name="Submit" type="Submit" onClick="return jcap();" value="Submit"></div>
                       </td>
                    </tr>
                    <tr valign="top"> 
                      <td width="575" height="75" valign="top"> 
                        <div align="left" class="grey_small">
                          24 Alpine Street <br>
                          Port Jefferson Station, NY 11776<br>
                          <a href="mailto:mike@infinite-video.com">mike@infinite-video.com</a><br>
                          Phone: 631.664.7161
                        </div>
                      </td>
                    </tr>
                  </table>  
                </form> 
                <% END IF %> 
    	  </div>
            <div id="testimonial_background">
                <div class="testimonial">"<%= rsTestimonials.Fields.Item("quote").Value %>"</div>
                <div class="testimonial" align="right">- <%= rsTestimonials.Fields.Item("name").Value %></div>
            </div>
            <!--#include virtual="/ssi/ssi_blog.asp" -->
	  	</div>
        <div id="clear_both"></div>
		<!--#include virtual="/ssi/ssi_footer.asp" -->
	</div>
<!--#include virtual="/ssi/ssi_spry_footer.asp" -->
</body>
</html>