var myAppName; 

function showCommon( programName )
{
  myAppName = programName;

//*** remember to replace ProductName with  "+programName+"
t = "<hr>" +
"<h2>Notes</h2> " +
"<ol> " +
"<li><a href=\"presales.html\">Click here</a> to ask a pre-sales question</li> " +
"<li>To purchase an <b>Extended Upgrade Package</b>, <a href=\"../secure/index.html\"> " +
"click here</a> to login to the secure area</li> " +
"<li>If you have any problems or queries using this page at all please " +
"<a href=\"../contact.html\">contact a sales representative</a>. Please tell us which products you " +
"would like to purchase</li> " +
"<li><a target=\"_blank\" href=\"currency.html\">Click here</a> to view a currency " +
"converter in a new window</li> " +
"</ol> " +
"<h2>Site and Enterprise Licenses, Volume Discounts</h2>" +
"<p><a href=\"volume.html\">Click here</a> for information on our educational and non-profit volume discount program. " +
"Please <a href=\"../contact.html\">contact us</a> if you need a Site or Enterprise license that is not listed.</p>"+

"<h2>90 Day Money Back Guarantee</h2> " +
"<p>If for any reason you are unhappy with your purchase, send it back within 90 " +
"days for a full refund.</p> " +
"<h2>System Requirements</h2> " +
"<p>Our software runs under Windows 95, 98, ME, NT, 2000, XP, 2003 Server, Vista and Vista 64, and " +
"requires 32 MB of memory.</p> " +
"<h2>CDs</h2> " +
"<p>For an additional USD 20/EUR 18, you can purchase a CD of all your products. " +
"The CD will contain the products that you can currently download - our CD system " +
"<b>does not</b> retain older versions of software. </p> " +

"<h2>Multiple Purchases</h2>"+
"<p>Need to purchase multiple items from different pages? When the shopping cart is displayed, click the '<< Continue Shopping' link (at the base of the page) "+
"to return to this site and add additional items. Just ensure you always use the first, default Buy Now button throughout.</p>"+

"<h2>Quotes</h2>"+
"<p>You can generate a Quote (in the form of Purchase Order) through our online system - just click the [Generate a Quote] button instead of the [Buy] button. "+
"Prices are valid for 14 days.</p>"+

"<h2>Offline Purchasing - Purchase Orders, Fax and Mail Orders</h2> " +
"<p>Offline purchases are processed within 48 hours during " +
"regular business hours (Monday through Friday, 9 am to 5 pm PST). To receive licenses immediately or outside of business hours, please " +
"<a href=\"#top\">purchase " +
"online</a> using a credit card.</p> " +

"<p>You can generate a pre-filled Purchase Order or Quote by following the ONLINE process above and clicking the [Generate a Quote] button instead of a [Buy] button.</p>"+

"<p><b><font color=\"#FF0000\">Important! Your Purchase Order, Fax Order or Mail Order " +
"MUST include the following items:</font></b></p> " +
"<ol> " +
"<li>The postal/shipping address must include the <b>COUNTRY</b>!</li> " +
"<li>The phone number must include the <b>country code</b> (international " +
"dialing prefix) in case we have to call you for clarification</li> " +
"<li>You must include a <b>contact email address</b></li> " +
"<li>You must include <b>Order Id numbers</b> for each item - see the form " +
"above</li> " +
"<li>Please fax or post your purchase order to the closest address below:</li> " +
"</ol>"+
"<style> " +
"<!-- " +
".ms-list7-0001-main { background-color: #CCCCCC } " +
".ms-list7-0001-even { color: black; background-color: #F1F1F1 } " +
".ms-list7-0001-odd { color: black; background-color: #CCCCCC } " +
"--> " +
"</style>" +
"<table border=\"0\" class=\"ms-list7-0001-main\" style=\"border-width: 0\" cellpadding=\"2\"> " +
"<!-- fpstyle: 30,000010000 --> " +
"<tr> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">USA</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">Tel. +1-724-850-8186 (Mon-Fri 9am-5pm EST)</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">Fax. +1-724-850-8187</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\"> " +
"<p>ShareIt! Inc.<br> " +
"PO Box 844<br> " +
"Greensburg<br> " +
"PA 15601-0844<br> " +
"U.S.A.</td> " +
"</tr> " +
"<tr> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-odd\">Europe</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-odd\">Tel: +49-221-31088-20 (Mon-Fri 9am-7pm CET)</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-odd\">Fax: +49-221-31088-29</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-odd\"> " +
"ShareIt!<br> " +
"element 5 AG<br> " +
"Vogelsanger Str. 78<br> " +
"50823 Köln/Cologne<br> " +
"Germany</td> " +
"</tr> " +
"<tr> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">Australia/<br> " +
"New Zealand/<br> " +
"Asia</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">Does not accept orders over the phone</td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">Fax: +61-3-<img border=\"0\" src=\"../images/faxnumber.gif\" width=\"59\" height=\"8\"></td> " +
"<td bgcolor=\"#E8E8E8\" class=\"ms-list7-0001-even\">DataMystic<br> " +
"5 Bond Street<br> " +
"Mt Waverley<br> " +
"Victoria 3149<br> " +
"AUSTRALIA</td> " +
"</tr> " +
"</table>" +
"<h2>Phone Orders</h2> " +
"<p>You can order by credit card over the phone if you do not have Internet " +
"access, please have the Order Id (see above) and your credit card ready.</p> " +
"<p>See the table above for phone numbers.</p> " +

"<h2>Australian GST Pricing</h2> " +
"<p>As of April 2006, our online purchasing systems do NOT charge Australian GST to Australian customers. If you need to be charged GST, please email or fax your purchase order to our Australian office on 03 <img border='0' src='../images/faxnumber.gif' width='59' height='8'>. Our ABN (Australian Business Number) is 86 073 690 712. AU$ pricing is determined by the current exchange rate shown by our online system, plus 10% GST.</p>";
  document.write( t );

//*** remember to replace ProductName with  "+programName+"

}


function fillform( form ) 
{ 
  return;  //no longer have the pre-sales question form
  if ( GetCookie( "email_address" ) )
    form.requiredEMAIL.value = GetCookie( "email_address" );
  if ( GetCookie( "first_name" ) )
    form.requiredname.value = GetCookie( "first_name" ) + " " + GetCookie( "last_name" );

  var source = form.product, searched = myAppName.toUpperCase();

  for(var cnt=0; cnt<source.options.length; cnt++)
{
//document.write( source.options[cnt].value + "," );
    if (source.options[cnt].value.toUpperCase().indexOf( searched ) != -1 )
    {
      source.options[cnt].selected = true;
      break;
    }
}

  document.write( "JavaScript Error: Unable to find " + searched + " in product list. Values:<br>" );
  for(var cnt=0; cnt<source.options.length; cnt++)
    document.write( source.options[cnt].value.toUpperCase() + "," );
} 

