<!-- Begin POP-UP SIZES AND OPTIONS CODE

// 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		= "no"		// SHOW A RANDOM SIDEBAR IMAGE
var linkedR		= "index.html"	// RANDOM IMAGE PAGE LINK
var showimage		= "yes"		// SHOW A SMALL SIDEBAR IMAGE
var linked		= "index.html"	// SIDEBAR IMAGE LINK

var spacing		= "1"		// NUDGE SIDEBAR DOWN
var showdate		= "no"		// SHOW THE DATE ON THE PAGE
var dateLR		= "left"	// DATE LEFT OR RIGHT
var dateX		= "10"		// DATE X LOCATION
var dateY		= "165"		// 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">')



}
// END SIDEBAR AREA PARAGRAPH 1








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

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" 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>')

}





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

document.write('<a href="index.html"><IMG SRC="http://www.mycgc.org/MYCGClogo.jpg" border="0" width="150" class="bordersSB"></a><br><br>')

}








// START SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA

   if (paragraph_2 == "yes") {

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

document.write('About the MYCGC')

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

document.write('The Mid-York Color Guard Circuit was created in 1965 to organize a color guard circuit to conduct and regulate contests for all eligible members and to establish standardized rules and policies that will promote and regulate competition enabling young adults to participate in an activity that is educational, enjoyable, safe, equitable and ethical.<br>')


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


}
// END SIDEBAR AREA PARAGRAPH 2










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 -->
