<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE TAF SYSTEM "tango.dtd" >
<TAF Version="0x02000002">
	<Comments />

	<!--Main program-->
	<Program>
		<ActionRef Ref="header" />
		<ActionRef Ref="content" />
		<ActionRef Ref="If">
			<ActionRef Ref="Mail" />
		</ActionRef>
		<ActionRef Ref="footer" />
	</Program>

	<!--Program actions-->
	<Actions>
		<ResultAction ID="header" Sig="null" PushResults="True">
			<ResultsOutput Ref="header.Results" />
		</ResultAction>
		<ResultAction ID="content" Sig="null" PushResults="True">
			<ResultsOutput Ref="content.Results" />
		</ResultAction>
		<IfAction ID="If" Sig="if  " Expanded="True">
			<Expression><![CDATA[('<@ARG _mode>'='signup') and (LEN('<@ARG name>')) and (LEN('<@ARG email>'))]]></Expression>
			<ExpressionInfo>
				<ExpLeft><![CDATA[<@ARG _mode>]]></ExpLeft>
				<ExpRight>signup</ExpRight>
				<Operator>iseq</Operator>
			</ExpressionInfo>
			<ExpressionInfo>
				<ExpLeft><![CDATA[<@ARG name>]]></ExpLeft>
				<ExpRight />
				<Conjunction>and </Conjunction>
				<Operator>nemp</Operator>
			</ExpressionInfo>
			<ExpressionInfo>
				<ExpLeft><![CDATA[<@ARG email>]]></ExpLeft>
				<ExpRight />
				<Conjunction>and </Conjunction>
				<Operator>nemp</Operator>
			</ExpressionInfo>
		</IfAction>
		<MailAction ID="Mail" Sig="mail">
			<From>filmresearch@screenbase.net</From>
			<To>frps@aol.com</To>
			<BCC>backup@screenbase.com</BCC>
			<Subject>Registration on Film Research Web Site</Subject>
			<Body><![CDATA[Dear James,

My name is <@ARG name>.

I have registered with the Film Research web site to receive information about any updates to do with Film Research online.

By the way, my email is: <@ARG email>

All the best,
<@ARG name>]]></Body>
			<ContentType>text/plain</ContentType>
			<CharacterSet>iso-8859-1</CharacterSet>
			<Wrap>72</Wrap>
			<ParameterList />
		</MailAction>
		<ResultAction ID="footer" Sig="null" PushResults="True">
			<ResultsOutput Ref="footer.Results" />
		</ResultAction>
	</Actions>

	<!--Data sources-->
	<DataSources />

	<!--Output blocks-->
	<Outputs>
		<Output ID="header.Results" Type="HTML"><![CDATA[<html>
<head>
<title>Film Research & Production Services</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Description" content="Film Research & Production Services Ltd. has over twenty years experience supplying tailored research solutions to our international clients">
<meta name="Keywords" content="Film Research & Production Services Ltd, film archive, footage library, screenbase">
<meta name="Author" content="Screenbase">
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&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[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  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); 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[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" onLoad="" link=#CC3300 vlink=#996600>
<link rel="stylesheet" href="fr.css">
<table width="100%" border="0" cellspacing="2" cellpadding="2">
  <tr> 
    <td width="600" align="center"> <!--BEGIN NAV--> 
      <table width="600" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td><a href="index.htm" border="0"><img  border="0" src="/images/film_logo.gif" width="220" height="100"></a></td>
          <td valign="bottom"><img src="images/film_scroll.jpg" width="460" height="59"></td>
          <td>&nbsp;</td>
        </tr>
        <tr> 
          <td><img src="images/byline.gif" width="200" height="20"></td>
          <td align="center"> 
            <table width="400" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td><a href="<@APPFILE>?_P=about" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_about','','images/nav_aboutb.gif',1)"><img name="nav_about" border="0" src="images/nav_about.gif" width="100" height="20"></a></td>
                <td><a href="<@APPFILE>?_P=portfolio" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_port','','images/nav_portb.gif',1)"><img name="nav_port" border="0" src="images/nav_port.gif" width="100" height="20"></a></td>
                <td><a href="<@APPFILE>?_P=contact" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('nav_contact','','images/nav_contactb.gif',1)"><img name="nav_contact" border="0" src="images/nav_contact.gif" width="100" height="20"></a></td>
                <td>&nbsp;</a></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <br>
      <center>
        <img src="images/green_pixel.gif" width="600" height="1"> 
      </center>
      <p> <!--END NAV--> ]]></Output>
		<Output ID="content.Results" Type="HTML"><![CDATA[<@IF "<@ARG _mode>='signup'">
  <@INCLUDE FILE=<@APPFILEPATH>signup_success.htm>
<@ELSE>

<@IF EXPR="<@ARG _P>!=''">
	<@INCLUDE FILE=<@APPFILEPATH><@ARG _P>.htm>
<@ELSE>
   <@INCLUDE FILE=<@APPFILEPATH>about.htm>
</@IF>


</@IF>]]></Output>
		<Output ID="footer.Results" Type="HTML"><![CDATA[      
     <br><br>
     <!--BEGIN FOOTER--> 
        <table width="766" border="0" cellspacing="2" cellpadding="2">
  <tr> 
    <td height="44" width="55">&nbsp;</td>
    <td height="44" width="653"><font face="Geneva, Arial, Helvetica, san-serif" size="1">Copyright &copy; 2002 Film 
      Research & Production Services Ltd. All rights reserved.</font></td>
  </tr>
</table>   

      <!--END FOOTER--> </td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>
]]></Output>
	</Outputs>
</TAF>
