var Content = '<form name="formVideo" id="formVideo" method="post" action="sendmessage.php" onSubmit="return checkValues();" ><input type="hidden" name="sendtype" value="v"><h3>Leave your details to receive a FREE Introductory DVD that shows you how Control4 can automate your home!</h3><p>Please fill in the following form with your details and click on Watch Video. </p><table border="0" cellpadding="2" cellspacing="0"><tr><td valign="middle" class="label">Name:</td><td align="center" valign="middle" class="label"><img src="images/ast.gif" name="imgName" width="12" height="12" id="imgName" ></td><td width="322" valign="top"> <input name="txtName" type="text" class="text" onFocus="enableField(this);" onBlur="checkField(this, \'imgName\');" size="30"> </td></tr><tr><td class="label">Phone:</td><td align="center" class="label"><img src="images/ast.gif" name="imgPhone" width="12" height="12" align="absmiddle" id="imgPhone"></td><td><input name="txtPhone" type="text" class="text" onFocus="enableField(this);" onBlur="checkField(this, \'imgPhone\');" size="30"> </td></tr><tr><td valign="middle" class="label">Email:</td><td align="center" valign="middle" class="label"><img src="images/ast.gif" name="imgEmail" width="12" height="12" align="absmiddle" id="imgEmail"></td><td><input name="txtEmail" type="text" class="text" onFocus="enableField(this);" onBlur="checkField(this, \'imgEmail\');" size="30"> </td></tr><tr><td valign="top" class="label"> Address:</td><td align="center" valign="top" class="label" style="padding-top: 2px;"><img src="images/ast.gif" name="imgAddress" width="12" height="12" align="top" id="imgAddress" ></td><td><textarea name="txtAddress1" cols="30" rows="4" onBlur="checkField(this, \'imgAddress\');" onFocus="enableField(this);"></textarea> <input type="hidden" name="sendDVD" id="sendDVD" value="false"><input type="hidden" name="infoProvided" value="false"></td></tr> <td>&nbsp;</td><td>&nbsp;</td><td><br> <input name="Submit" type="submit" class="buttons" value="   Watch Video   " style="font-weight: bold;" onMouseOver="this.className=\'buttonsover\';" onMouseOut="this.className=\'buttons\';"> &nbsp; <input name="Submit2" type="reset" class="buttons" value="   Clear   " onMouseOver="this.className=\'buttonsover\';" onMouseOut="this.className=\'buttons\';" onClick="theImage = document.getElementById(\'imgEmail\'); theImage.src=\'images/ast.gif\';  theImage = document.getElementById(\'imgAddress\'); theImage.src=\'images/ast.gif\';  theImage = document.getElementById(\'imgPhone\'); theImage.src=\'images/ast.gif\'; theImage = document.getElementById(\'imgName\'); theImage.src=\'images/ast.gif\';"></td></tr></table></form>';
			
var params =
{
  Height : 387,
  Width : 400,
  Top : -1,
  Left : -1,
  MaxHeight : 0,
  MinHeight : 0,
  MaxWidth : 0,
  MinWidth : 0,
  WindowName : 'DHTMLWindow1',
  TitleBarHeight : 24,
  TitleLeftMargin : 10,
  TitleBarAlign : 'left',
  TitleBarHTML : '',
  TitleBarText : 'Watch the Control4 Video!',
  TitleColor : '#BE1623',
  TitleInactiveColor : 'transparent',
  TitleFontSize : 14,
  TitleFontColor : 'white',
  TitleFontFamily : 'Tahoma',
  CloseBoxHeight : 16,
  CloseBoxWidth : 16,
  CloseBoxSrc : 'images/closebox.gif',
  ContentFontSize : 10,
  ContentFontColor : 'black',
  ContentFontFamily : 'Tahoma',
  ContentBottomBorderWidth : 0,
  ContentLeftBorderWidth : 0,
  ContentRightBorderWidth : 0,
  ContentTopBorderWidth : 0,
  ContentBottomBorderColor : 'Navy',
  ContentLeftBorderColor : 'Navy',
  ContentRightBorderColor : 'Navy',
  ContentTopBorderColor : 'Navy',
  ContentPadding : 13,
  ContentHTML : ''+Content,
  ContentColor : '#ffffff',
  ContentInactiveColor : 'transparent',
  ResizeBoxHeight : 15,
  ResizeBoxWidth : 15,
  ResizeBoxSrc : 'images/resize_blue.gif',
  StatusBarHeight : 0,
  StatusLeftMargin : 10,
  StatusBarAlign : 'left',
  StatusBarHTML : '',
  StatusBarText : '',
  StatusColor : '#BE1623',
  StatusInactiveColor : 'transparent',
  StatusFontSize : 10,
  StatusFontColor : '#FFFFFF',
  StatusFontFamily : 'Tahoma',
  BorderWidth : 1,
  BorderColor : 'black',
  BorderInactiveColor : 'transparent',
  InnerBorderWidth : 2,
  InnerBorderStyle : 'solid',
  InnerBorderColor : '#BE1623',
  OuterBorderWidth : 0,
  OuterBorderStyle : 'solid',
  OuterBorderColor : 'Gray',
  OuterBorderInactiveColor : 'transparent',
	Resizable: 'None',
  Id  : 'DHTMLWindow1'
}
var DHTMLWindow1 = new FerantDHTMLWindow(params);