function confirm(page,name,w,h) {
  var email1=(document.response1.EM1.value)
  if (email1 == ""){
    var email2 = "unknown@citizensinc.com"
   }
  else{
    var email2=email1
  }
  var lin2=(document.response1.CF1.value)
  var link=new Array("'ci7.shtml'","'id8.shtml'","'pd2.shtml'","'eo3.shtml'","'um1.shtml'","'im8.shtml'","'ad2.shtml'")
  var lin1=link[lin2]
  var dat2=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
  var dat1=new Date()
  var mon1= dat2[dat1.getMonth()]
  var des0=(document.response1.PG1.value)
  var des1=new Array("Accounting@citizensinc.com","Actuarial@citizensinc.com","Claims@citizensinc.com","Corporate@citizensinc.com","PR@citizensinc.com","Legal@citizensinc.com","Marketing@citizensinc.com","MarketingUSA@citizensinc.com","NB@citizensinc.com","POS@citizensinc.com","Personnel@citizensinc.com","CTI@citizensinc.com")
  var des3=des1[des0]
  var des4=new Array("Accounting Office","Actuarial Office","Claims Office","Corporate Office","Public Relations Office","Legal Office","Marketing-International Office","Marketing-U.S. Office","New Business / Underwriting Office","Policy Service Office","Personnel Office","Webmaster")
  var des5=des4[des0]
  if (dat1.getHours() >= 12){
     var hr1= (dat1.getHours() - 12)
	 var me1= "P.M."
  }
  if (dat1.getHours() == 0){
     var hr1= (dat1.getHours())
	 var me1= "A.M."
  }
  if (dat1.getHours() < 12) {
     var hr1= (dat1.getHours())
	 var me1= "A.M." 
	 }
  var min=dat1.getMinutes()
  if (min < 10){
     var mn1= "0" +min
  }
  else {	 
     var mn1= min
  }
  var len3=(screen.availHeight - 135)
  var who1=(document.response1.TO1.value)
  var who2=(document.response1.PG1.value)
  if (who1 == ""){
     var TO3 = "Gentlemen/Ladies"
	 var TO4 = des5
	 var PG3 = ""
  }
  else{
     var TO3 = who1
	 var TO4 = who1
	 var PG3 = des5
	 }
  var cenl=(screen.width - 8);
  var cent=(screen.height - 8);
  var day1=dat1.getDate()
  var pr1="'window.print()'"
  if (document.all){
      var STRING="onClick=print1('window.print()') onMouseUp=forceReload()"
    }
  else {
      var STRING="onClick=print1('window.print()')"
    }
  win1=window.open("",page,'resizable=yes,width="800",height="400",status=yes,scrollbars=yes')
  win1.document.write('<html><head><title>Confirmation for ');
  win1.document.write('' + document.response1.NA1.value + '');
  win1.document.write('</title>\n');
  win1.document.write('<script langauge=JavaScript">\n');
  win1.document.write('window.moveTo(0,0);\n');
  win1.document.write('if (document.all){\n');
  win1.document.write('window.resizeTo(800,600);\n');
  win1.document.write('}\n');
  win1.document.write('else if(document.layers||document.getElementById){\n');
  win1.document.write('if(top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){\n');
  win1.document.write('top.window.outerHeight=screen.availHeight;\n');
  win1.document.write('top.window.outerWidth=screen.availWidth;\n');
  win1.document.write('}\n');
  win1.document.write('}\n');
  win1.document.write('function main1(url) {\n');
  win1.document.write('window.opener.location=url\n');
  win1.document.write('}\n');
  win1.document.write('function print1(jsStr){\n');
  win1.document.write('   return eval(jsStr)\n');
  win1.document.write('}\n');
  win1.document.write('function forceReload(){\n');
  win1.document.write('	location.reload(true);\n');
  win1.document.write('}\n');
  win1.document.write('</script>\n');
  //win1.document.write('</head>\n<body background="../backs/main.gif" leftmargin=5 rightmargin=5 topmargin=5 bottommargin=5 marginheight=5 marginwidth=5">\n');
  win1.document.write('</head>\n<body eftmargin=5 rightmargin=5 topmargin=5 bottommargin=5 marginheight=5 marginwidth=5">\n');
  //win1.document.write('<table bgcolor="#FFFFFF" width=600 border=0 cellpadding=8 cellspacing=0><tr><td width=35 height=35 nowrap background="../backs/lt2.jpg">\n');
  win1.document.write('<table bgcolor="#FFFFFF" width=600 border=0 cellpadding=8 cellspacing=0><tr><td width=35 height=35 nowrap>\n');
  //win1.document.write('</td><td height=35 width="100%" background="../backs/t2.jpg"></td>\n');
  win1.document.write('</td><td height=35 width="100%"></td>\n');
  //win1.document.write('<td width=35 height=35 nowrap background="../backs/rt2.jpg"></td></tr>\n');
  win1.document.write('<td width=35 height=35 nowrap></td></tr>\n');
  //win1.document.write('<tr><td width=35 height='+len3+' background="../backs/l.jpeg"></td>\n');
  win1.document.write('<tr><td width=35 height='+len3+'></td>\n');
  win1.document.write('<td valign=top>\n');
  win1.document.write('<table width=600 height="20">\n<tr>\n<td width=100% height=20 >\n<hr width=75% size=2>\n</td>\n</tr>\n<tr>\n<td align=center>\n<font face=Times size="+1"><b><div align=center>MESSAGE CONFIRMATION</div></b></font>\n<br>\n</td>\n</tr></table>\n');
  win1.document.write('<font face=times size=3><b>\n');
  win1.document.write('Dear ' + document.response1.NA1.value +',<BR><br>\n');
  win1.document.write('<table width=600 height="20">\n<tr>\n<td width=100% height=20 >\n<hr width=75% size=2>\n</td>\n</tr>\n<tr>\n<td align=center>\n<font face=courier size=3>\n<b><div align=justify> Please review and confirm your information.&nbsp;&nbsp;&nbsp;To change the information or your message, click "EDIT".&nbsp;&nbsp;&nbsp;To print a copy for your records, click "PRINT". To send, click "CONFIRM". To cancel your information and message without sending, click "CANCEL".<br><br>\nThank you for taking the time to help us better serve you.&nbsp;&nbsp;&nbsp;An answer will be provided shortly.\n<br><br>\nCitizens</div></b>\n</font>\n<br>\n</td>\n</tr></table>\n<table width=600 height="20">\n<tr>\n<td width=100% height=20 >\n<hr width=75% size=2>\n</td>\n</tr>\n<tr>\n<td align=center>\n<font face=courier size=3>\n<b>WEB MESSAGE</b>\n</font>\n</td>\n</tr></table>\n<br><br>\n<table width=50% border=0>\n<tr>\n<td width=70 valign=top nowrap>\n<font face="courier" size=3>Date:\n<br><br><br><br>To:\n<br><br><br>Ref:\n</font>\n</td>\n<td width=50% valign=top>\n<font face="courier" size=3>\n');
  win1.document.write(''+ mon1 + ' ');
  win1.document.write('' + dat1.getDate() + ', ');
  win1.document.write('' + dat1.getYear() + ' ');
  win1.document.write(' ' + hr1 + ':');
  win1.document.write('' + mn1 + ' ');
  win1.document.write('' + me1 + '<br><br><br><br>\n');
  win1.document.write('' + TO4 + '<br>\n');
  win1.document.write('' + PG3 + '<br><br>\n');
  win1.document.write('' + document.response1.RF1.value + '<br><br>\n');
  win1.document.write('</font>\n</td>\n</tr>\n</table>\n<table width=600 border=0>\n<tr>\n<td width=100%><font face=courier size=3>\n');
  win1.document.write('Dear ' + TO3 + ',<br>\n');
  win1.document.write('<br>\n<pre>\n<table width=600 height="20">\n<tr>\n<td width=100% height=20 >\n<hr width=75% size=2>\n</td>\n</tr>\n<tr>\n<td align=left>\n<font face="courier" size=3>' + document.response1.CM1.value + '</font>\n<br>\n</td>\n</tr></table>\n</pre>\n');
  win1.document.write('</font>\n');
  win1.document.write('</td>\n</tr>\n</table>\n<br>\n');
  win1.document.write('<table width=50% border=0><tr>\n<td width=70 valign=top nowrap>\n<font face=courier size=3>\nFrom:\n<br><br><br><br><br>Phone:\n<br>Fax:<br><br>\nEmail:</font>\n<br><br></td><td width="100%" valign=top>\n<font face="courier" size=3>\n');
  win1.document.write('' + document.response1.NA1.value + '<br>\n');
  win1.document.write('' + document.response1.AD1.value + ' \n');
  win1.document.write('<br>' + document.response1.CI1.value + ' \n');
  win1.document.write(' ' + document.response1.ST1.value + ' \n');
  win1.document.write(' ' + document.response1.ZP1.value + ' \n');
  win1.document.write('<br>' + document.response1.CO1.value + ' \n');
  win1.document.write('<br><br>' + document.response1.PH1.value + ' \n');
  win1.document.write('<br>' + document.response1.FX1.value + ' \n');
  win1.document.write('<br><br>' + document.response1.EM1.value + '\n');
  win1.document.write('</font>\n<br>\n</td>\n</tr>\n</table>\n');
  win1.document.write('<table width=50% border=0>\n<tr>\n<td width=100%>\n<font face=times size=3><b>\n');
  win1.document.write('<form action="http://www.citizensinc.com/cgi-bin/response.cgi" method="post">\n');
  win1.document.write('<input type=hidden name=DP2 value="' + des3 +'">\n');
  win1.document.write('<input type=hidden name=PG2 value="' + PG3 + '">\n');
  win1.document.write('<input type=hidden name=NA2 value="' + document.response1.NA1.value + '">\n');
  win1.document.write('<input type=hidden name=AD2 value="' + document.response1.AD1.value + '">\n');
  win1.document.write('<input type=hidden name=CI2 value="' + document.response1.CI1.value + '">\n');
  win1.document.write('<input type=hidden name=ST2 value="' + document.response1.ST1.value + '">\n');
  win1.document.write('<input type=hidden name=ZP2 value="' + document.response1.ZP1.value + '">');
  win1.document.write('<input type=hidden name=CO2 value="' + document.response1.CO1.value + '">\n');
  win1.document.write('<input type=hidden name=PH2 value="' + document.response1.PH1.value + '">\n');
  win1.document.write('<input type=hidden name=FX2 value="' + document.response1.FX1.value + '">\n');
  win1.document.write('<input type=hidden name=EM2 value="' + email2 + '">\n');
  win1.document.write('<input type=hidden name=TO2 value="' + TO3 + '">\n');
  win1.document.write('<input type=hidden name=VP2 value="' + TO4 + '">\n');
  win1.document.write('<input type=hidden name=RF2 value="' + document.response1.RF1.value + '">\n');
  win1.document.write('<input type=hidden name=CM2 value="' + document.response1.CM1.value + '">\n');
  win1.document.write('<input type=hidden name=DA2 value="'+ mon1 + ' ');
  win1.document.write('' + day1 + ', ');
  win1.document.write('' + dat1.getYear() + ' ');
  win1.document.write('' + hr1 + ':');
  win1.document.write('' + mn1 + ' ');
  win1.document.write('' + me1 + '"');
  win1.document.write('>\n');
  win1.document.write('<input type=hidden name=BN2 value="beensent.htm">\n'); 
  win1.document.write('<div align=center>\n');
  win1.document.write('<input type="button" name="edit" value="EDIT" onClick="window.close()">&nbsp;\n');  
  win1.document.write('<input type="button" name="print22" value="PRINT" '+STRING+'>&nbsp;\n');
  win1.document.write('<input type="submit" name="confirm" value="CONFIRM" onClick=main1('+lin1+')>&nbsp;\n'); 
  win1.document.write('<input type="button" name="erase" value="CANCEL" onMouseDown=main1('+lin1+') onMouseUp=window.close()>\n'); 
  win1.document.write('</div>\n</form>\n</td>\n</tr>\n</table>\n');
  win1.document.write('</td>\n');
  //win1.document.write('<td width=35 background="../backs/r2.jpeg">\n</td>\n</tr>\n');
  win1.document.write('<td width=35>\n</td>\n</tr>\n');
  //win1.document.write('<tr><td height=35 background="../backs/lb2.jpg">\n</td>\n');
  win1.document.write('<tr><td height=35>\n</td>\n');
  //win1.document.write('<td background="../backs/b2.jpg">\n</td>\n');
  win1.document.write('<td>\n</td>\n');
  //win1.document.write('<td background="../backs/rb2.jpg">\n</td>\n</tr>\n</table>\n');
  win1.document.write('<td>\n</td>\n</tr>\n</table>\n');
  win1.document.write('</body></html>');
}