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

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    = "AshlieAd"
var WhereToGo1     = "http://www.wisdompathway.com/home.htm";
var ToolTip1       = "Visit with Malana Ashlie";

// for the second ad
var ShowAd2         = "yes";
var AdFileName2     = "ArnoldAd.jpg"
var WhereToGo2      = "http://www.eurekastreetpress.com";
var ToolTip2        = "Visit with Jim Arnold";

// for the third ad
var ShowAd3         = "no";
var AdFileName3     = "DonovanAd.gif"
var WhereToGo3      = "http://georginadonovan.com/";
var ToolTip3        = "Visit with Georgina Donovan";

// for the fourth ad
var ShowAd4         = "no";
var AdFileName4     = "BrayAd.jpg"
var WhereToGo4       = "http://rickeybray.com/";
var ToolTip4       = "Visit with Ricky Bray";

// for the fifth ad
var ShowAd5         = "no";
var AdFileName5     = "CorbinAd.jpg"
var WhereToGo5      = "http://www.artbookguy.com";
var ToolTip5        = "Click here to visit Michael Corbin";

// for the sixth ad
var ShowAd6         = "no";
var AdFileName6     = "ThayerAd.jpg"
var WhereToGo6      = "http://www.feistylydia.com/";
var ToolTip6        = "Learn more about Feisty Lydia!";

// for the seventh ad
var ShowAd7         = "no";
var AdFileName7     = "SaundersAd.jpg"
var WhereToGo7      = "http://drtdarnellsaunders.com";
var ToolTip7        = "Click this link to find out more about Darnell Saunders";

// for the eight ad
var ShowAd8         = "no";
var AdFileName8     = "LacyAd"
var WhereToGo8      = "http://web.me.com/m.l.lacy/ML_Lacy_Official_Web_Site/Welcome.html";
var ToolTip8        = "Click this link to go Madonna Lacy's website";

// for the ninth ad
var ShowAd9         = "no";
var AdFileName9     = "FodiAd.jpg"
var WhereToGo9      = "http://www.kendrakandlestar.com";
var ToolTip9        = "Learn more about Kendra!";

// for the tenth ad
var ShowAd3         = "yes";
var AdFileName3    = "Ad-YourAdHere-100h.gif"
var WhereToGo3      = "http://insidescooplive.com/services-advertising.html";
var ToolTip3      = "Click this link to learn more about our advertising program";


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

// for the eleventh ad
var ShowAd11         = "no";
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 thirtheenth ad
var ShowAd13         = "no";
var AdFileName13     = "Ad-200x200_high-YourBookTube.jpg"
var WhereToGo13      = "http://www.YourBookTube.com/";
var ToolTip13        = "Click this link post your videos or watch videos";




/* ========================================================================= */
/* ========================================================================= */
/* 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") ) {
	document.write("<br /><h2 style=\"clear:both;margin-bottom:0px;\">Advertising</h2>");
}


// 1
var AdString1        =  "<a href=\"";
    AdString1        +=  WhereToGo1;
    AdString1        +=  "\"";
    AdString1        +=  " title=\"";
    AdString1        +=  ToolTip1;
    AdString1        +=  "\">";
    AdString1        +=  "<img src=\"http://www.insidescooplive.com/zResources/ads/";
    AdString1        +=  AdFileName1;
    AdString1        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString1        +=  "<\/a>";


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


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


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


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


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


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


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


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


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


// 11
var AdString11        =  "<a href=\"";
    AdString11        +=  WhereToGo11;
    AdString11        +=  "\"";
    AdString11        +=  " title=\"";
    AdString11        +=  ToolTip11;
    AdString11        +=  "\">";
    AdString11        +=  "<img src=\"http://www.insidescooplive.com/zResources/ads/";
    AdString11        +=  AdFileName11;
    AdString11        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString11        +=  "<\/a>";
	
	// 12
var AdString12        =  "<a href=\"";
    AdString12        +=  WhereToGo12;
    AdString12        +=  "\"";
    AdString12        +=  " title=\"";
    AdString12        +=  ToolTip12;
    AdString12        +=  "\">";
    AdString12        +=  "<img src=\"http://www.insidescooplive.com/zResources/ads/";
    AdString12        +=  AdFileName12;
    AdString12        +=  "\" style=\"margin:.5em 0px 0px 0px;\" />";
    AdString12        +=  "<\/a>";


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

// write the ads into the page in the following order
if (ShowAd1 == "yes") {document.write(AdString1)}
if (ShowAd2 == "yes") {document.write(AdString2)}
if (ShowAd3 == "yes") {document.write(AdString3)}
if (ShowAd4 == "yes") {document.write(AdString4)}
if (ShowAd5 == "yes") {document.write(AdString5)}
if (ShowAd6 == "yes") {document.write(AdString6)}
if (ShowAd7 == "yes") {document.write(AdString7)}
if (ShowAd8 == "yes") {document.write(AdString8)}
if (ShowAd9 == "yes") {document.write(AdString9)}
if (ShowAd10 == "yes") {document.write(AdString10)}
if (ShowAd11 == "yes") {document.write(AdString11)}
if (ShowAd12 == "yes") {document.write(AdString12)}
if (ShowAd13 == "yes") {document.write(AdString13)}
