
/* 

INSTRUCTIONS FOR ADS. 
(This page controls ads below the sidebar. There is another page for the Spotlight ad above the sidebar.)

Use this file to control what ads show in the RV sidebar BELOW the RV content.
Currently there are 10 ads that con be hidden or shown. More can be added if necessary.

Each ad has 4 lines of info - all necessary for it to work correctly. To use an ad you set its 4 lines according to the following:

ShowAd# can be set to "yes" or "no" (all lowercase). If you set it to "yes" then the ad will show. Set it to "no" and the as will not show.

AdFileName# is the actual name of the file to show. It MUST be placed in the ads folder in zResources or it will not be found.

WhereToGo# is the link to go to when the ad is clicked.

ToolTip# is the text of the small help box that appears when you pause your mouse over the ad. Note that you can only use certain characters in this tooltip text. You can only use Aa-Zz, 0-9, and the straight apostrophe '. You can also use characters like $!@#%&*() but avoid -{}[]^/\.

PROCESS

Here is a suggested workflow for managing ads when they come in.

First, make sure the add is 200px wide exactly. If it is not 200px wide them someone has to make it 200 pixels wide. This is critical. Other dimensions will distort the RV pages. Also make sure it has the agreed upon height.

Second, put it into the ads folder that is inside zResources

Third assign it (mentally) to one of the ten ads below.

Fourth, go to the ad setup lines below and change all four lines accoring to the ad.

EXAMPLE

Assume and ad comes in with the name: LiveUpPublishing.jpg

You:
  - make sure it is 200px wide and the correct height
  - put it into the ads folder and copy its name
  - assign it to a free ad (mentally), let's say ad3 
  - go to ad3 below and change the four lines so they look like this:
  
  // for the third ad
  var ShowAd3         = "yes";
  var AdFileName3     = "LiveUpPublishing.jpg"
  var WhereToGo3      = "http://www.LiveUpPublishing.com";
  var ToolTip3        = "Click this link to visit LiveUpPublishing.com";

  - check in this code file and the image using DW
  - test the site.

TO REMOVE AN AD

  - simply set its ShowAd# to "no". You don't need to change the other 3 lines. You can do that next time you need to use the ad.

*/




// for the first ad
var ShowAd1         = "yes";
var AdFileName1     = "Ad-BlogCritics.jpg"
var WhereToGo1      = "http://www.blogcritics.com";
var ToolTip1        = "Click this link to read our reviews on Blog Critics";

// for the second ad
var ShowAd2         = "yes";
var AdFileName2     = "Ad-Lilith.jpg"
var WhereToGo2      = "http://theodore-cohen-novels.com/lilith.html";
var ToolTip2        = "Click this link to find out more about Lilith";


// for the third ad
var ShowAd3         = "yes";
var AdFileName3     = "Ad-Budd.jpg"
var WhereToGo3      = "http://hellhoundsofhighschool.authorsxpress.com//";
var ToolTip3        = "Click this link to find out about Hellhounds of Highschool";

// for the fourth ad
var ShowAd4         = "yes";
var AdFileName4     = "Ad-200x200_PolkaDot2.jpg"
var WhereToGo4      = "http://www.polkadotbanner.com";
var ToolTip4        = "Click this link to go to Polka Dot Banner - Network Marketing";

// for the fifth ad
var ShowAd5         = "yes";
var AdFileName5     = "AD-RTBforRV.jpg"
var WhereToGo5      = "http://www.reviewthebook.com/";
var ToolTip5        = "Click this link to find out about ReviewTheBook.com";

// for the sixth ad
var ShowAd6         = "yes";
var AdFileName6     = "FQ_Ad200x200NEW.jpg"
var WhereToGo6      = "http://featheredquill.com/";
var ToolTip6        = "Click this link to find out more getting book reviews";

// for the seventh ad
var ShowAd7         = "yes";
var AdFileName7     = "Ad-200x200_Seniors.jpg"
var WhereToGo7      = "http://www.seniorcitizenjournal.com";
var ToolTip7        = "Click this link to find out more about Senior Citizen Journal";

// for the eigth ad
var ShowAd8         = "yes";
var AdFileName8     = "r4r200x300readersviews.jpg"
var WhereToGo8      = "http://reviews4reviews.com";
var ToolTip8        = "Click here to visit Reviews 4 Reviews";

// for the ninth ad
var ShowAd9         = "yes";
var AdFileName9     = "FCP-ad-200x150px.jpg"
var WhereToGo9      = "http://www.firstchapterplus.com";
var ToolTip9        = "Click this link to find out about listing your book in an e-catalog";

// for the tenth ad
var ShowAd10        = "yes";
var AdFileName10    = "Ad-200px_high-IreneWatson.jpg"
var WhereToGo10     = "http://www.irenewatson.com/";
var ToolTip10       = "Click this link to find out about Irene Watson";

// for the eleventh ad
var ShowAd11         = "yes";
var AdFileName11     = "Ad-200x300_RebeccasReads.jpg"
var WhereToGo11      = "http://www.rebeccasreads.com";
var ToolTip11        = "Click this link to go to RebeccasReads.Com";

// for the twelfth ad
var ShowAd12         = "no";
var AdFileName12     = "Ad-100px_high-1106.jpg"
var WhereToGo12      = "http://www.1106design.com/";
var ToolTip12        = "Click this link to go to 1106 Design";


// for the thirteenth ad
var ShowAd13         = "yes";
var AdFileName13     = "Ad-200x200_AA30.gif"
var WhereToGo13      = "http://modernhistorypress.com/success-secrets/";
var ToolTip13        = "Click this link to find out more about Authors Access Secrets";

// for the fourteenth ad
var ShowAd14         = "no";
var AdFileName14     = "Ad-300px_high-abdullah.jpg"
var WhereToGo14      = "http://www.ShailaAbdullah.com/";
var ToolTip14        = "Click this link to visit Shaila's website";

// for the fifteenth ad
var ShowAd15         = "yes";
var AdFileName15     = "Ad-100px_high-LauraRuggeri.jpg"
var WhereToGo15      = "http://www.lauraruggeri.com";
var ToolTip15        = "Click this link to go to Laura Ruggeri - book & cover design";

// for the sixteenth ad
var ShowAd16         = "yes";
var AdFileName16     = "Ad-200px_high-WomenForWomen.jpg"
var WhereToGo16      = "http://www.womenforwomen.org";
var ToolTip16        = "Click this link to help women survivors of war";



/* ========================================================================= */
/* ========================================================================= */
/* END OF AD SETUP - NO EDITING BELOW THIS LINE ============================ */
/* ========================================================================= */
/* ========================================================================= */



// put in the ad banner if there is any advertising

if ( (ShowAd1 == "yes") || (ShowAd2 == "yes") || (ShowAd3 == "yes") || (ShowAd4 == "yes") || (ShowAd5 == "yes") || (ShowAd6 == "yes") || (ShowAd7 == "yes") || (ShowAd8 == "yes") || (ShowAd9 == "yes") || (ShowAd10 == "yes")  || (ShowAd11 == "yes")  || (ShowAd12 == "yes")  || (ShowAd13 == "yes") || (ShowAd14 == "yes")) {
	document.write("<br /><h2 style=\"clear:both;margin-bottom:0px;\">Advertising</h2>");
}


// 1
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo1;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip1;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName1;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";
    
if (ShowAd1 == "yes") {
    document.write(AdString);}


// 2
    AdString        =  "<a href=\"";
    AdString        +=  WhereToGo2;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip2;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName2;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd2 == "yes") {
    document.write(AdString);}


// 3
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo3;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip3;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName3;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd3 == "yes") {
    document.write(AdString);}


// 4
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo4;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip4;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName4;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd4 == "yes") {
    document.write(AdString);}


// 5
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo5;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip5;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName5;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd5 == "yes") {
    document.write(AdString);}


// 6
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo6;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip6;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName6;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd6 == "yes") {
    document.write(AdString);}


// 7
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo7;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip7;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName7;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd7 == "yes") {
    document.write(AdString);}


// 8
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo8;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip8;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName8;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd8 == "yes") {
    document.write(AdString);}


// 9
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo9;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip9;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName9;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd9 == "yes") {
    document.write(AdString);}


// 10
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo10;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip10;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName10;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd10 == "yes") {
    document.write(AdString);
}

// 11
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo11;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip11;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName11;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd11 == "yes") {
    document.write(AdString);	}
	
	// 12
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo12;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip12;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName12;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd12 == "yes") {
    document.write(AdString);	}

	// 13
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo13;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip13;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName13;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd13 == "yes") {
    document.write(AdString);	}
	
		// 14
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo14;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip14;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName14;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd14 == "yes") {
    document.write(AdString);	}
	
			// 15
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo15;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip15;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName15;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd15 == "yes") {
    document.write(AdString);	}
	
			// 16
var AdString        =  "<a href=\"";
    AdString        +=  WhereToGo16;
    AdString        +=  "\"";
    AdString        +=  " title=\"";
    AdString        +=  ToolTip16;
    AdString        +=  "\">";
    AdString        +=  "<img src=\"zResources/ads/";
    AdString        +=  AdFileName16;
    AdString        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString        +=  "<\/a>";

if (ShowAd16 == "yes") {
    document.write(AdString);	}




