// JavaScript Document

var ht_cc = "<h5 align=center><font color=blue>Credit Card Required Explanation:</font></h5>\
	<p><b>ID and Fraud Prevention:</b> To ensure that positive identification of person placing ad is on file.\
	<p><b>Free Month:</b> PlotExchange.com will not charge your credit card during the free month.\
	<p><b>Continuation of Service:</b> At monthly subscription rate occurs automatically at the end of the free month, unless your ad is unsubscribed before the end of the free month.\
	<p><b>Cancel Anytime:</b> No long-term commitment, upon cancellation of service, no further monthly charges.\
	<p><b>Detailed Terms of Service:</b> Is available at the bottom of all of our web pages.\
	<p align=center><button onclick=\"writetxt(0)\">Close Explanation</button>";

var sugformat = "<b>Plot Exchange suggests the following ad format</b><br><br>\
	Description of Property, Name of Property Section, Property Lot/Block Number, Grave/Niche/Crypt Number. \
	Additional Information. The Cemetery\'s Selling Price. Your Selling Price.<br><br>\
	<b>Example</b><br>\
	Two adjacent plots in Garden Of Remembrance section, Lot #3566, Spaces 1 & 2. Cemetery Price: $5,300 each. \
	Asking $3,500 each or $6,500 for both.\
	<p align=center><button onclick=\"writetxt(0)\">Close Help</button>";

var contacthelp = "Your ad is allowed to display up to 4 ways to contact you. \
	These can be your phone, fax, pager \
	or mobile numbers, e-mail addresses, or any other way prospective buyers can contact you. When using multiple \
	contacts, you can also enter descriptive text.\
	<br><br><b><u>Examples:</u></b><br>(202) 555-1212 (Daytime)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(202) 555-9011 (Evening)<br>\
	(858) 201-5555 (Mobile)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;contactme@myisp.com<br><br>\
	Note: If you enter an e-mail address, we will automatically create a customized contact form for you and \
	embed a link to it in the ad. This helps keeps your e-mail inbox free from unsolicited advertising.\
	<p align=center><button onclick=\"writetxt(0)\">Close Help</button>";

function preparepost() {

	if (typeof(document.frm.smt) != "undefined") {
		document.frm.smt.disabled = true;
	}
	
	if (typeof(top.frames["csi"].document.cs.iframecs) != "undefined") {
		document.frm.citystate.value = top.frames["csi"].document.cs.iframecs.value;
	}

	if (typeof(document.frm.saturn) != "undefined") {
		document.frm.saturn.value = document.frm.cbomonth.value + "/" + document.frm.cboyear.value;
	}

	if (document.frm.address.value == "Enter address only, do not enter city and state") {document.frm.address.value = "";}

}

function cardcodehelp() {

	var cc = window.open("","_blank","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,left=100,width=600,top=100,height=400")
	with (cc.document) {
		write("<html><body><head><title>Card Code</title></head><font face=verdana size=2>Card Code \
		(also called CVV2 or CVC2): a 3 or 4-digit number usually found on the back (Amex on front) \
		of the credit card (see examples below). For Visa, the Card Code is on the same line as the \
		customer\'s signature, following the last four digits of the credit card number. American Express \
		has a 4-digit card code on the front of the card. Card code provides an added measure of security. \
		Credit Card companies are implementing this as an added security measure to protect both merchants \
		and consumers.<br><br><img src=images/cccode1.gif width=259 height=181><img src=images/cccode2.gif  \
		width=259 height=181><br><br><center><button onclick='self.close()'>\
		<font size=2>Close</font></button></center></font></body></html>");
	}
}

function popupSample(url) {

	var win = window.open(url,"_blank","toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0,left=0,width=800,top=0,height=600");

}
