<!-- 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		= "yes"		// 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 showdate		= "yes"		// SHOW THE DATE ON THE PAGE
var dateLR		= "right"	// DATE LEFT OR RIGHT
var dateX		= "10"		// DATE X LOCATION
var dateY		= "150"		// DATE Y LOCATION



// SIDEBAR LOCTION CODE - YOU CAN EDIT TOP OR L/R LOCATION
document.write('<div style="position: relative; left: 0px; top: 10px;">')



// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {

document.write('<span class="sidebartitle">')

document.write('Lisbon Half Marathon:')

document.write('<br></span><span class="sidebartext">')

document.write('Great popular success for the 20th edition of the Lisbon Half Marathon  2010. Welcome to 21st Lisbon Half Marathon on March 20, 2011<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('...and also a Mini Marathon:')

document.write('<br></span><span class="sidebartext">')
document.write('The event will offer to all those which do not wish or are not inevitably prepared for the distance of half marathon the possibility of taking part in the mini marathon, of a distance of 7,200Km approximately <br>')
document.write('_______________________</a><br>')
document.write('</a><br>')
document.write('<a href="http://www.running-portugal.com/eng/resto.htm"  class="sidebartext"> -> where to eat after racing</a><br>')
document.write('<a href="http://www.running-portugal.com/eng/expo.htm"  class="sidebartext"> -> Race Expo</a><br>')
document.write('<a href="performance.htm" class="sidebartext"> -> Race Performances</a><br>')
document.write('<a href="bestperf.htm" class="sidebartext"> -> Best Recorded Times</a><br>')
document.write('<a href="contact.htm"  class="sidebartext"> -> Hotel Information</a><br>')
document.write('<a href="http://www.running-portugal.com" Target="blank" class="sidebartext"> -> Running Portugal</a><br>')
document.write('<a href="http://lisboainteractiva.cm-lisboa.pt/" Target="blank" class="sidebartext"> -> Map of Lisbon</a><br>')
document.write('<a href="http://www.atl-turismolisboa.pt/"  Target="blank" class="sidebartext"> -> Tourism of Lisbon</a><br>')
document.write('</span><br><br>')
}
// END SIDEBAR AREA PARAGRAPH 2


// 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()*11);
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);
}

if (img == "10") {
document.write(twox+ 'sidebar-11.jpg"' +thrx);
}
document.write('</a><br>');
document.write('<br><br>')

}


// SMALL PICTURE AREA
   if (showimage == "yes") {

document.write('<a href="../index.html"><IMG SRC="../picts/lab001.jpg" border="1" width="150" class="bordersSB"></a><br><br>')

}

 {

document.write('<a href="http://www.inmotions.com.pt/exp.detail.php?zID=96&aID=593"  target="_blank"><IMG SRC="../picts/inmo.jpg" border="1" width="150" class="bordersSB"></a><br><br>')

}

 {

document.write('<a href="http://www.running-portugal.com/eng/events.htm"  target="_blank"><IMG SRC="../picts/limassol.png" border="1" 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 -->