<!-- Begin SIDEBAR

// CHANGE ANY OF THESE VARIABLES TO "no" OR "yes" TO TURN AN OPTION OFF OR ON

// ONLY USE lowercase FOR ALL OPTIONS

var paragraph_1 	= "yes"		// SHOW THE 1ST PARAGRAPH
var paragraph_2 	= "yes"		// SHOW THE 2ND PARAGRAPH

var showRimage		= "yes"		// SHOW A RANDOM SIDEBAR IMAGE
var linkedR		= "index.html"	// RANDOM IMAGE PAGE LINK
var showimage		= "no"		// SHOW A SMALL SIDEBAR IMAGE
var linked		= "index.html"	// SIDEBAR IMAGE LINK

var spacing		= "1"		// NUDGE SIDEBAR DOWN
var showdate		= "yes"		// SHOW THE DATE ON THE PAGE
var dateLR		= "right"	// DATE LEFT OR RIGHT
var dateX		= "10"		// DATE X LOCATION
var dateY		= "90"		// DATE Y LOCATION



// SIDEBAR LOCTION CODE - YOU CAN EDIT TOP OR L/R LOCATION
document.write('<div style="position: relative; left: 0px; top: -15px;">')



// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {

document.write('<span class="sidebartitle">')

document.write('Questions?:')

document.write('<br></span><span class="sidebartext">')

document.write('Do you have a question you would like to ask?  Looking for information?  Click the link below to <br>')

document.write('<a href="contact.htm" class="sidelink">Contact Us</a><br>')

document.write('</span><br><br>')

}
// END SIDEBAR AREA PARAGRAPH 1










// START SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA

   if (paragraph_2 == "yes") {

document.write('<span class="sidebartitle">')

document.write('Donations')

document.write('<br></span><span class="sidebartext">')

document.write('USAFA Parents Club of Eastern North Carolina is now able to accept donations online via Paypal, just click the button below<br>')

document.write('</span>')

document.write('<form action="https://www.paypal.com/cgi-bin/webscr" method="post">');

document.write('<input type="hidden" name="cmd" value="_donations">');

document.write('<input type="hidden" name="business" value="treasurer@usafapcenc.org">');

document.write('<input type="hidden" name="no_shipping" value="0">');

document.write('<input type="hidden" name="no_note" value="1">');

document.write('<input type="hidden" name="currency_code" value="USD">');

document.write('<input type="hidden" name="tax" value="0">');

document.write('<input type="hidden" name="lc" value="US">');

document.write('<input type="hidden" name="bn" value="PP-DonationsBF">');

document.write('<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">');

document.write('<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">');

document.write('</form>');

}
// END SIDEBAR AREA PARAGRAPH 2






// SMALL RANDOM PICTURE AREA
   if (showRimage == "yes") {

document.write('<center>')

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" width=\"125\" height=\"125\" class=\"bordersSB\">";
var forx = "";
var img = "";

forx += Math.floor(Math.random()*10);
img = forx;
if (img == "0") {
document.write(twox+ 'sidebar-1.jpg"' +thrx);
}
if (img == "1") {
document.write(twox+ 'sidebar-2.jpg"' +thrx);
}
if (img == "2") {
document.write(twox+ 'sidebar-3.jpg"' +thrx);
}
if (img == "3") {
document.write(twox+ 'sidebar-4.jpg"' +thrx);
}
if (img == "4") {
document.write(twox+ 'sidebar-5.jpg"' +thrx);
}
if (img == "5") {
document.write(twox+ 'sidebar-6.jpg"' +thrx);
}
if (img == "6") {
document.write(twox+ 'sidebar-7.jpg"' +thrx);
}
if (img == "7") {
document.write(twox+ 'sidebar-8.jpg"' +thrx);
}
if (img == "8") {
document.write(twox+ 'sidebar-9.jpg"' +thrx);
}
if (img == "9") {
document.write(twox+ 'sidebar-10.jpg"' +thrx);
}
document.write('</a><br>');
document.write('<br><br>')
document.write('</center>')

}





// SMALL PICTURE AREA
   if (showimage == "yes") {

document.write('<a href="index.html"><img src="picts/sidebar.jpg" border="0" width="150" class="bordersSB"></a><br><br>')

}




document.write('</div>')




// START DATE SCRIPT
   if (showdate == "yes") {

document.write('<div id="date-location" style="'+dateLR+': '+dateX+'px; POSITION: absolute; TOP: '+dateY+'px">');
var d=new Date()
var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getDate() + ". ")
document.write(d.getFullYear())
document.write("</nobr><br></span>")
document.write('</div>');

}


// -- END -->
