function selectCD(form) 
{ mpIndex = form.TheCDROM.options[form.TheCDROM.selectedIndex].value;
  if (mpIndex != 0)
     SendCD(form.TheCDROM.options[form.TheCDROM.selectedIndex].value);
}

function SendCD(parEmail)
{ //tmpWin= open("", "FormWindow", "RESIZABLE=YES,LOCATION=NO,DIRECTORIES=NO,WIDTH=800,HEIGHT=400,STATUS=NO,TOOLBAR=NO,MENUBAR=YES");
  tmpWin= open("", "FormWindow","SCROLLBARS=YES,RESIZABLE=YES,STATUS=YES");

  // Open page:
  //tmpWin.document.open();
  
  // Create page:
  tmpWin.document.write("<HTML>");
  tmpWin.document.write("<HEAD>");
  tmpWin.document.write("<TITLE>CD-ROM Brochure</TITLE>");
  tmpWin.document.write("</HEAD>");

  tmpWin.document.write("<BODY BGCOLOR=#FFFFFF>");

  tmpWin.document.write("<CENTER>");

  tmpWin.document.write("<TABLE WIDTH=600 CELLSPACING=0 CELLPADDING=0 BORDER=0>");
  tmpWin.document.write("<TR><TD ALIGN=CENTER BGCOLOR=#FFFFFF WIDTH=600>");
  tmpWin.document.write("    <FONT COLOR=#000080 SIZE=2>I would like to receive a free CD-ROM brochure at the following address:</FONT>");
  tmpWin.document.write("</TABLE>");

  tmpWin.document.write("<TABLE WIDTH=600 CELLSPACING=0 CELLPADDING=0 BORDER=0>");
  tmpWin.document.write("<TR><TD WIDTH=600 BGCOLOR=#FFFFFF>");
  //tmpWin.document.write("<FORM METHOD=post ACTION=mailto:" + parEmail +  "?Subject=The Language Schools Directory ENCTYPE=text/plain>");
  tmpWin.document.write("<FORM METHOD=post ACTION=mailto:info@language-schools-directory.com?Subject=The Language Schools Directory ENCTYPE=text/plain>");
  tmpWin.document.write("<INPUT TYPE=HIDDEN NAME=FromOriginator VALUE='Form coming from The Language Schools Directory: A selection of the best Language Schools world wide.'>");
  tmpWin.document.write("<INPUT TYPE=HIDDEN NAME=@WEB-L.S.D. VALUE='http://www.language-schools-directory.com'>");
  tmpWin.document.write("<INPUT TYPE=HIDDEN NAME=ToSchool VALUE=" + parEmail + ">");
  tmpWin.document.write("<INPUT TYPE=HIDDEN NAME=Object VALUE='I would like to receive a free CD-ROM brochure.'>");

  tmpWin.document.write("<TABLE>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT WIDTH=200><EM>First Name</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT WIDTH=400><INPUT TYPE=TEXT SIZE=20 NAME=FirstName></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Last Name</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=20 NAME=LastName></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Company</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=30 NAME=Company></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Address</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=45 NAME=Address></TD>");
  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Address (...)</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=45 NAME=Address2></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Zip Code</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=10 NAME=ZipCode></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>City</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=40 NAME=City></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>State</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=TEXT SIZE=30 NAME=State></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Country</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=text SIZE=20 NAME=Country></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Phone</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=text SIZE=15 NAME=Phone></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>Fax</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=text SIZE=15 NAME=Fax></TD>");

  tmpWin.document.write(" <TR><TD ALIGN=RIGHT><EM>E-mail</EM></TD>");
  tmpWin.document.write("     <TD ALIGN=LEFT><INPUT TYPE=text SIZE=30 NAME=Email></TD>");

  tmpWin.document.write("</TABLE>");

  tmpWin.document.write("<P>");
  tmpWin.document.write("<CENTER>");
  tmpWin.document.write("Any questions or comments:<BR>");
  tmpWin.document.write("<TEXTAREA NAME=Comment ROWS=8 COLS=50></TEXTAREA>");

  tmpWin.document.write("<P>");
  tmpWin.document.write("We thank you to have filled in this registration form.<BR>");
  tmpWin.document.write("After having your answers checked, press the button above to send it.<BR>");
  tmpWin.document.write("<EM>Press this button <FONT COLOR=#FF0000>only once</FONT>, it could take some seconds</EM>...<BR>");

  tmpWin.document.write("<P>");
  tmpWin.document.write("  <INPUT NAME=B_OK TYPE=SUBMIT VALUE=Send>");
  tmpWin.document.write("  <INPUT NAME=B_Clear TYPE=RESET VALUE=Clear>");

  //tmpWin.document.write("  <INPUT TYPE=BUTTON VALUE=OK onClick=CloseWin();>");

  tmpWin.document.write("</CENTER>");
  tmpWin.document.write("</FORM>");
  tmpWin.document.write("</TABLE>");

  tmpWin.document.write("<TABLE WIDTH=600 CELLSPACING=0 CELLPADDING=0 BORDER=0>");
  tmpWin.document.write("<TR>");
  tmpWin.document.write("<TD WIDTH=10 VALIGN=TOP BGCOLOR=#FFFFFF>");
  tmpWin.document.write("<FONT COLOR=#FFFFFF>-</FONT>");

  tmpWin.document.write("<TD ALIGN=LEFT VALIGN=BOTTOM BGCOLOR=#FFFFFF>");
  tmpWin.document.write("<FONT SIZE=1>Copyright © 1998-2003 <A HREF=mailto:interart@chez.com><STRONG> I AM - Inter ART Multimedia</STRONG></A></FONT><BR>");
  tmpWin.document.write("<FONT SIZE=1>All rights reserved.</FONT>");

  tmpWin.document.write("<TD ALIGN=RIGHT VALIGN=TOP BGCOLOR=#FFFFFF>");
  tmpWin.document.write("<FONT SIZE=1>&nbsp;</FONT><BR>");
  tmpWin.document.write("<FONT SIZE=1><EM>Last updated Novembre 2002</EM>.</FONT>");
  tmpWin.document.write("</TABLE>");

  tmpWin.document.write("</CENTER>");

  tmpWin.document.write("</BODY>");

  tmpWin.document.write("</HTML>");

  // Close page for IE only:
  if (navigator.appName != "Netscape") tmpWin.document.close();
}

