var top_spul = '<head>\
    <title>Form</title>\
    <style  type="text/css">\
body, table, td, tr, th, a {\
		font-family: Verdana, Arial, Helvetica, sans-serif;\
		font-size: 12px;\
		font-weight: normal;\
		}\
    </style>\
</head>\
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> \
<font face="verdana">\
<table cellspacing="0" cellpadding="0" border="0" width="540">\
  <tr>\
    <td width="540" height="35" valign="top"  colspan = "2">\
  <table border="0" cellpadding="0" cellspacing="0" width="540" mm_noconvert="TRUE">\
    <tr valign="top">\
      <td colspan="9"><img name="pn_all_r1_c01" src="../images/prodnav/pn_all_r1_c01.jpg" width="540" height="10" border="0"></td>\
    </tr>\
    <tr valign="top">\
      <td rowspan="2"><img name="pn_all_r2_c01" src="../images/prodnav/pn_all_r2_c01.jpg" width="19" height="25" border="0"></td>\
      <td><a href="../html/fields.html"><img name="pn_all_r2_c02" src="../images/prodnav/pn_subj_black.jpg" width="90" height="16" border="0" alt="Subject Areas"></a></td>\
      <td rowspan="2"><img name="pn_all_r2_c03" src="../images/prodnav/pn_all_r2_c03.jpg" width="22" height="25" border="0"></td>\
      <td><a href="../html/backlist.html"><img name="pn_all_r2_c04" src="../images/prodnav/pn_backl_black.jpg" width="102" height="16" border="0" alt="Backlist of Books"></a></td>\
      <td rowspan="2"><img name="pn_all_r2_c05" src="../images/prodnav/pn_all_r2_c05.jpg" width="17" height="25" border="0"></td>\
      <td><a href="../html/bookseri.html"><img name="pn_all_r2_c06" src="../images/prodnav/pn_bseri_black.jpg" width="98" height="16" border="0" alt="Book Series"></a></td>\
      <td rowspan="2"><img name="pn_all_r2_c07" src="../images/prodnav/pn_all_r2_c07.jpg" width="19" height="25" border="0"></td>\
      <td><a href="../html/journals.html"><img name="pn_all_r2_c08" src="../images/prodnav/pn_journ_black.jpg" width="97" height="16" border="0" alt="Journals"></a></td>\
      <td rowspan="2"><img name="pn_all_r2_c09" src="../images/prodnav/pn_all_r2_c09.jpg" width="76" height="25" border="0"></td>\
    </tr>\
    <tr valign="top">\
      <td><img name="pn_all_r3_c02" src="../images/prodnav/pn_all_r3_c02.jpg" width="90" height="9" border="0"></td>\
      <td><img name="pn_all_r3_c04" src="../images/prodnav/pn_all_r3_c04.jpg" width="102" height="9" border="0"></td>\
      <td><img name="pn_all_r3_c06" src="../images/prodnav/pn_all_r3_c06.jpg" width="98" height="9" border="0"></td>\
      <td><img name="pn_all_r3_c08" src="../images/prodnav/pn_all_r3_c08.jpg" width="97" height="9" border="0"></td>\
    </tr>\
  </table>\
</td>\
  </tr>\
  <tr>\
    <td valign="top">&nbsp;&nbsp;&nbsp;</td>\
    <td><BR>\
    <FORM METHOD="POST" ACTION=" http://www.solcon.nl/cgi-bin/fm.cgi ">';
var top_spul2='<FORM METHOD="POST" ACTION=" http://www.solcon.nl/cgi-bin/fm.cgi ">';
var top_spul1='<head>\
    <title>Form</title>\
<link rel="stylesheet" type="text/css" href="../iosstyle2.css"/>\
</head>\
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> \
<!--<font face="verdana">-->\
<FORM METHOD="POST" ACTION=" http://www.solcon.nl/cgi-bin/fm.cgi ">';
//    <FORM METHOD="POST" ACTION="http://www.iospress.nl/cgi-bin/sendform.cgi">';
//var order_to = '<input type=hidden name="fm_address" value="p.dejong@melissendejong.nl">';
var order_to = '<input type=hidden name="fm_address" value="order@iospress.nl">';
//var market_to = '<input type=hidden name="fm_address" value="p.dejong@melissendejong.nl">';
var market_to = '<input type=hidden name="fm_address" value="market@iospress.nl">';
var pay_form = '<table border = "0"><tr><td>\n\
<INPUT TYPE="radio" NAME="Pay" VALUE="bill_me"> </td><td>Please bill me\
(postage and handling charges will be added)<BR></td></tr>\
<tr><td><INPUT TYPE="radio" NAME="Pay" VALUE="creditcard"> </td><td>Charge my credit card:<BR>\
<!--(Note: we do not recommend using this method of payment over the WWW)<BR>-->\
<INPUT TYPE="radio" NAME="Card" VALUE="Amex">American Express<BR>\
<INPUT TYPE="radio" NAME="Card" VALUE="Euro">Euro/Mastercard<BR>\
<INPUT TYPE="radio" NAME="Card" VALUE="Visa">Visa<BR></td></tr></table>\n\
<table border = "0">\n\
<tr><td>Card No.:</td><td><INPUT TYPE="text" SIZE=30 NAME="Cardnumber"></td></tr>\
<tr><td>Expiration date:</td><td><INPUT TYPE="text" SIZE=12 NAME="Expdate">\
</table>';
var name_form = '<HR><table border = "0">\n\
<tr><td>Name: </td><td><INPUT TYPE="text" SIZE=40 NAME="realname"></td></tr>\
<tr><td>Organization: </td><td><INPUT TYPE="text" SIZE=40 NAME="organization"></td></tr>\
<tr><td>E-mail address:</td><td><INPUT TYPE="text" SIZE=30 NAME="username"></td></tr>\
<tr><td>Address:</td><td><INPUT TYPE="text" SIZE=40 NAME="Street"></td></tr>\
<tr><td>City:</td><td><INPUT TYPE="text" SIZE=20 NAME="City"> ZIP Code:<INPUT TYPE="text" SIZE=9 NAME="Zipcode"></td></tr>\
<tr><td>State:</td><td><INPUT TYPE="text" SIZE=40 NAME="State"></tr>\
<tr><td>Country</td><td><INPUT TYPE="text" SIZE=40 NAME="Country"></td></tr>\
<tr><td>V.A.T. No.:</td><td><INPUT TYPE="text" SIZE=15 NAME="Vatnumber"></td></tr>\
</table><BR>\
<INPUT TYPE="submit" VALUE="Submit Order">\
<INPUT TYPE="reset" VALUE="Reset">\
</FORM>';
var name_form1 = '<HR><table border = "0">\n\
<tr><td>Name: </td><td><INPUT TYPE="text" SIZE=40 NAME="realname"></td></tr>\
<tr><td>E-mail address:</td><td><INPUT TYPE="text" SIZE=30 NAME="username"></td></tr>\
</table><BR>\
<INPUT TYPE="submit" VALUE="Submit">\
</FORM>';
var voet_spul = '\t<P><ADDRESS>\
	<BR><FONT SIZE=-1> <I><B>IOS Press</B></I> <BR>\
	Nieuwe Hemweg 6B, 1013 BG Amsterdam<BR>\
	+31 20 688 3355 phone, +31 20 620 3419 fax<BR>\
	<A HREF="mailto:order@iospress.nl" >order@iospress.nl  </A>e-mail </FONT>\
	</ADDRESS>\
    </td>\
  </tr>\
</table>\
</BODY>\
</HTML>';
var voet_spul = '<ADDRESS>\
	<BR><FONT SIZE=-1> <B><i>IOS</i> Press</B><BR>\
	Nieuwe Hemweg 6B, 1013 BG Amsterdam, The Netherlands<BR>\
	Tel.: +31 20 688 3355, Fax: +31 20 687 0039<BR>\
	E-mail: <A HREF="mailto:info@iospress.nl" >info@iospress.nl  </A>\
</ADDRESS>\
    </td>\
  </tr>\
</table>\
</font>\
</BODY>\
</HTML>';

function book_order(b_title, isbn, prijs){
	txt = b_title + ' (' + isbn + ')'
	all = top_spul + order_to +
	'\t<input type=hidden name="fm_subject" value="Ordering: ' + b_title + '">' +
	'\n\t<input type=hidden name="fm_response" value="http://www.iospress.nl/respons/order.php?text=' + txt + '">' +
	'\tYes, send me ' +
	'\t<input type = text name = "amount" value = "1" size = "2"> copies of the book with title:<br><BR>\n' +
	'<input type = text name = "Title" size =  "40" value = "' +
	b_title + '"><br><BR>\n' +
	'ISBN: <input type = text name = "ISBN"  size =  "15" value = "' +
	isbn + '"><br><br>' +
	'Price: ' + prijs + '<BR><BR>'+
	pay_form + name_form + voet_spul;
	document.write(all);
}

function freesample(j_title, issn){
	txt = 'Ordering a free copy of: ' + j_title + '(' + issn + ')'
	all = top_spul + market_to +
		'\t<input type=hidden name="fm_subject" value="Freesample Copy of : ' + j_title + '">' +
		'\n\t<input type=hidden name="fm_response" value="http://www.iospress.nl/respons/frees.php?text=' + txt + '">' +
		'\tPlease, send me a free sample copy of the journal:<Br><BR>' +
		'<input type = text name = "Title" size =  "50" value = "' +
		j_title + '"><br><BR>\n' +
		'ISBN: <input type = text name = "ISSN"  size =  "15" value = "' +
		issn + '"><br><br>\n' +
		name_form +
		voet_spul;
	document.write(all);
}

function subscribe(j_title, issn, prijs_nl, prijs_us){
	txt = 'Subscribing to: ' + j_title + '(' + issn + ')'
	all = top_spul + order_to +
		'\t<input type=hidden name="fm_subject" value="I subscribe to: ' + j_title + '">' +
		'\n\t<input type=hidden name="fm_response" value="http://www.iospress.nl/respons/order.php?text=' + txt + '">' +
		'\tYes, I would like to subscribe to:<Br><BR>\n' +
		'<input type = text name = "Title" size =  "50" value = "' +
		j_title + '"><br><BR>\n' +
		'ISBN: <input type = text name = "ISSN"  size =  "15" value = "' +
		issn + 	'"><br><br>\n' +
		'Price: EUR ' + prijs_nl + ' /USD ' + prijs_us + '<BR><BR>' +
		pay_form + name_form + voet_spul;
	document.write(all);
}

function subscribe1(j_title, issn, prijs_nl, prijs_us){
	txt = 'Subscribing to: ' + j_title + '(' + issn + ')'
	all = top_spul1 + order_to +
		'\t<input type=hidden name="fm_subject" value="I subscribe to: ' + j_title + '">' +
		'\n\t<input type=hidden name="fm_response" value="http://www.iospress.nl/respons/order.php?text=' + txt + '">' +
		'\tYes, I would like to subscribe to:<Br><BR>\n' +
		'<input type = text name = "Title" size =  "50" value = "' +
		j_title + '"><br><BR>\n' +
		'ISBN: <input type = text name = "ISSN"  size =  "15" value = "' +
		issn + 	'"><br><br>\n' +
		'Price: EUR ' + prijs_nl + ' /USD ' + prijs_us + '<BR><BR>' +
		pay_form + name_form + voet_spul;
	document.write(all);
}

function freesample2(j_title, issn){
	if (issn == '0972-6721' || issn == '0973-0516' ||
		issn == '0971-3573' || issn == '1905-7415' || issn == '0255-7193' || 
		issn == '0573-197X' || issn == '0973-4880' || issn == '0972-8538' || 
		issn == '0303-6960' || issn == '0019-5502' || issn == '0970-2822' || 
		issn == '0972-4907' || issn == '0972-0529' || issn == '1726-037x' || 
		issn == '0972-4397' || issn == '0378-9519' || issn == '0972-0561' || 
		issn == '0252-2667' || issn == '0972-0502' || issn == '0971-7811' || 
		issn == '0972-0510' || issn == '0019-638X' || issn == '0971-6831' || 
		issn == '0973-0516' || issn == '0974-567X') {open_window(issn)}
	else{
		txt = '<h3>Ordering a free copy of: ' + j_title + '(' + issn + ')</h3>'
		all = top_spul1 + market_to +
			'\t<input type=hidden name="fm_subject" value="' + j_title + '">' +
			'\n\t<input type=hidden name="fm_response" value="http://www.iospress.nl/respons/frees.php?text=' + txt + '">' +
			'\tPlease, send me a free sample copy of the journal:<Br><BR>' +
			'<input type = text name = "Title" size =  "50" value = "' +
			j_title + '"><br><BR>\n' +
			'ISBN: <input type = text name = "ISSN"  size =  "15" value = "' +
			issn + '"><br><br>\n' +
			name_form +
			voet_spul;
		document.write(all);
	}
}
function freesample1(j_title, issn){
	if (issn == '0972-6721' || issn == '0973-0516' ||
		issn == '0971-3573' || issn == '1905-7415' || issn == '0255-7193' || 
		issn == '0573-197X' || issn == '0973-4880' || issn == '0972-8538' || 
		issn == '0303-6960' || issn == '0019-5502' || issn == '0970-2822' || 
		issn == '0972-4907' || issn == '0972-0529' || issn == '1726-037x' || 
		issn == '0972-4397' || issn == '0378-9519' || issn == '0972-0561' || 
		issn == '0252-2667' || issn == '0972-0502' || issn == '0971-7811' || 
		issn == '0972-0510' || issn == '0019-638X' || issn == '0971-6831' || 
		issn == '0973-0516' || issn == '0974-567X') {open_window(issn)}
	else{
		txt = j_title + '(' + issn + ')'
		all = top_spul1 + market_to +
			'\t<input type=hidden name="fm_subject" value="Freesample Copy of : ' + j_title + '">' +
			'\n\t<input type=hidden name="fm_response" value="http://www.iospress.nl/respons/frees.php?text=' + txt + '">' +
			'\t<BR><div class="titelkop">' + j_title + '</div>' +
			'<BR><BR>Unfortunately, this journal is still in production and not yet published.<BR>\n' + 
			'\nPlease provide us with your name and email address and we will notify you when <BR>the electronic sample copy is online.<Br><BR>' +
			'<input type = text name = "Title" size =  "50" value = "' +
			j_title + '"><br><BR>\n' +
			'ISBN: <input type = text name = "ISSN"  size =  "15" value = "' +
			issn + '"><br><br>\n' +
			name_form1 +
			voet_spul;
		document.write(all);
	}
}
function open_window(issn){
	if (issn == '0974-567X') {address = 'http://bookstore.teriin.org/docs/journals/Sample%20copy-WDL-June2008.pdf'} 
	if (issn == '0972-6721') {address = 'http://bookstore.teriin.org/docs/journals/TIDEE%203(4)%20December-2004.pdf'} 
	if (issn == '0973-0516') {address = 'http://bookstore.teriin.org/docs/journals/REaD1-1_Inaugural_Sept%202004.pdf'}
	if (issn == '0971-3573') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:apps&type=trialaccess_issue'}
	if (issn == '1905-7415') {address = 'http://www.asianbiomed.org/'}
	if (issn == '0255-7193') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:cr&type=trialaccess_issue'}
	if (issn == '0573-197X') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ija&type=trialaccess_issue'}
	if (issn == '0973-4880') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ijocs&type=trialaccess_issue'}
	if (issn == '0972-8538') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ijh&type=trialaccess_issue'}
	if (issn == '0303-6960') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ijn&type=trialaccess_issue'}
	if (issn == '0019-5502') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ijpp&type=trialaccess_issue'}
	if (issn == '0970-2822') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ijv&type=trialaccess_issue'}
	if (issn == '0972-4907') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:ijrg&type=trialaccess_issue'}
	if (issn == '0972-0529') {address = 'http://www.tarupublications.com/journals/jdmsc/sample-issue.htm'}
	if (issn == '1726-037x') {address = 'http://www.tarupublications.com/journals/jdsgt/sample-issue.htm'}
	if (issn == '0972-4397') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:jeoh&type=trialaccess_issue'}
	if (issn == '0378-9519') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:jer&type=trialaccess_issue'}
	if (issn == '0972-0561') {address = 'http://indianjournals.com/ijor.aspx?target=ijor:jii&type=trialaccess_issue'}
	if (issn == '0252-2667') {address = 'http://www.tarupublications.com/journals/jios/sample-issue.htm'}
	if (issn == '0972-0502') {address = 'http://www.tarupublications.com/journals/jim/sample-issue.htm'}
	if (issn == '0971-7811') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:jpbb&type=trialaccess_issue'}
	if (issn == '0972-0510') {address = 'http://www.tarupublications.com/journals/jsms/sample-issue.htm'}
	if (issn == '0019-638X') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:jisss&type=trialaccess_issue'}
	if (issn == '0971-6831') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:pmhe&type=trialaccess_issue'}
	if (issn == '0973-0516') {address = 'http://www.indianjournals.com/ijor.aspx?target=ijor:read&type=trialaccess_issue'}
	if (issn == '') {address = ''}
	wind = window.open(address, "free_ex") 
}

function doe_iets() {
	alert ('peter')
}
