Date.prototype.getWeek = function () {
	"use strict";
	var onejan = new Date(this.getFullYear(), 0, 1);
	return Math.ceil((((this - onejan) / 86400000) + onejan.getDay() + 1) / 7);
};


var today = new Date();
var thisWeek = today.getWeek() - 1;
var featuredAdvertiser = '';

// document.write("<P STYLE = 'text-align:center; margin-top:7px;'>This week is number " + today.getWeek() + "</p>");

// thisWeek = 48;

switch (thisWeek) {
	
case 21: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'https://home.americanexpress.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/amex.jpg' /></A>"; break;

case 14:
case 15:
	var random = Math.floor(Math.random() * 2);
	if (random === 0) {
		featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'http://www.well-spring.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/wellspring.jpg' /></A>";
	} else {
		featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'http://www.greensborocollege.edu' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/greensboro_college.jpg' STYLE = 'margin-top: 30px;'/></A>";
	}
	break;

case 13: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'http://www.uacarts.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/uac.jpg' /></A>"; break;

case 19: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.wfdd.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/wfdd.jpg' STYLE = 'margin-top: 30px;'/></A>"; break;

case 41: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'http://www.pennybyrnatmaryfield.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/pennybyrn.jpg' STYLE = 'margin-top: 20px;'/></A>"; break;

case 40: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'http://www.17daysgreensboro.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/17days.jpg' STYLE = 'margin-top: 20px;'/></A>"; break; 

case 20: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.crlaw.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/carruthers_roth.jpg'  STYLE = 'margin-top: 20px;'/></A>"; break;

case 9: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.christgreensboro.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/cumc.jpg' /></A><P STYLE = 'text-align:center; margin-top:7px;'>Christ United Methodist Church</P>"; break; 

case 11: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.clothesbefitting.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/clothes_befitting.jpg' STYLE = 'margin-top: 20px;' /></A>"; break;

case 8: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.comfortkeepers.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/comfort_keepers.jpg' STYLE = 'margin-top: 40px;' /></A>"; break;

case 6: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.investdavenport.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/davenport.jpg' STYLE = 'margin-top: 40px;' /></A>"; break;

case 16: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.dlmbuilders.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/dlm.jpg' /></A><P STYLE = 'text-align:center; margin-top:7px;'>DLM Builders</P>"; break;

case 35: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.forbisanddick.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/forbis_dick.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 17: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.oratoriogso.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/gso_oratorio.jpg' /></A><P STYLE = 'text-align:center; margin-top:7px;'>Greensboro Oratorio Singers</P>"; break;

case 12: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://bryanseries.guilford.edu/' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/bryan_series.jpg' /></A><P STYLE = 'text-align:center; margin-top:7px;'>Guilford College Bryan Series</P>"; break;

case 51: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.anncrithmk.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/hallmark.jpg' /></A>"; break;

case 50: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.haneslineberryfhnorthelm.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/hanes_lineberry.jpg'  STYLE = 'margin-top: 50px;'/></A>"; break;

case 1: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.hmn-law.com/' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/hicks_mcdonald_noecker.jpg' /></A>"; break;

case 2: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.homeinstead.com/311' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/home_instead.jpg' /></A>"; break;

case 3: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.thehubltd.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/hub.jpg' STYLE = 'margin-top: 50px;' /></A>"; break;

case 26: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.hughesmetalworks.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/hughes.jpg' /></A>"; break;

case 49: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.hyalynlampsandshades.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/hyalyn.jpg'  STYLE = 'margin-top: 10px;'/></A><P STYLE = 'text-align:center; margin-top:7px;'>Hyalyn Lamps</P>"; break;

case 38: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.inmozartsfootsteps.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/in_mozarts_footsteps.jpg' /></A>"; break;

case 4: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.irvinorthodontics.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/irvin.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 37: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.drkaley.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/kaley.jpg' /></A>"; break;

case 5: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.mamclothing.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/mack_mack.jpg'  STYLE = 'margin-top: 40px;'/></A>"; break;

case 33: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://maps.google.com/maps?hl=en&tab=ll' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/mahis.jpg'  STYLE = 'margin-top: 20px;'/></A>"; break;

case 29: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.fa.ml.com/RKGroup' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/merrill_lynch.jpg'  STYLE = 'margin-top: 40px;'/></A>"; break;

case 47: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.mooremusiccompany.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/moore_music.jpg' /></A>"; break;

case 25: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.natsci.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/natural_science.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 30: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><P STYLE = 'text-align:center; margin-top: 60px;'>New Age Builders<BR />(336) 274-3598</P>"; break;

case 24: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.noteworthypianoservice.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/noteworthy.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 10: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.plantsandanswersflorist.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/plants_answers.jpg'  STYLE = 'margin-top: 50px;'/></A>"; break;

case 34: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://http://www.printeryweb.com/' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/printery.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 48: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.qwrh.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/quaintance_weaver.jpg' /></A>"; break;

case 18: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.ramhomesinc.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/ram.jpg' /></A>"; break;

case 7: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.ricetoyota.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/rice.jpg'  STYLE = 'margin-top: 45px;'/></A>"; break;

case 23: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.wfu.edu/secrest/' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/secrest.jpg'  STYLE = 'margin-top: 50px;'/></A>"; break;

case 39: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.SouthernLightsBistro.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/southern_lights_bistro.jpg'  STYLE = 'margin-top: 35px;'/></A>"; break;

case 22: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.srsg99.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/spiritual_renaissance_singers.jpg' /></A>"; break;

case 42: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.love2makeUsmile.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/steinberg.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 32: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.tegreensboro.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/temple_emanuel.jpg' /></A>"; break;

case 28: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><P STYLE = 'text-align:center; margin-top: 60px;'>Thomas Brewington Ophthalmology<BR />(336) 272-5628</P>"; break;

case 45: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.trifiadv.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/tfa.jpg'  STYLE = 'margin-top: 50px;'/></A>"; break; 

case 46: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://performingarts.uncg.edu' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/uncg.jpg' /></A>"; break;

case 27: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/wright.jpg' STYLE = 'margin-top:15px' STYLE = 'margin-top:8px'/>"; break;

case 31: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><P STYLE = 'text-align:center; margin-top: 60px;'>Yamamori Ltd.<BR />(336) 274-4533</P>"; break;

case 43: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.bryanymca.org' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/ymca.jpg'  STYLE = 'margin-top: 30px;'/></A>"; break;

case 44: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured advertiser:</H3><A HREF = 'http://www.piedmontmusiccenternc.com/' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/playbill/piedmont_music_center.jpg'  STYLE = 'margin-top: 23px;'/></A>"; break;

case 36:
default: featuredAdvertiser =  "<H3 STYLE = 'text-align: center; margin-bottom: 10px'>This week's featured sponsor:</H3><A HREF = 'http://www.lfg.com' TARGET = '_blank'><IMG CLASS = 'floatMid' SRC = 'images/logos/lincoln.jpg' STYLE = 'margin-top: 20px;'/></A>"; break;
	
	
}
