<!-- 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 Rimagephrase	= "no"		// SHOW PHRASE UNDER RANDOM IMAGE

var showimage		= "yes"		// SHOW A 2nd SMALL SIDEBAR IMAGE
var imagephrase		= "yes"		// SHOW PHRASE UNDER SECOND IMAGE

var showimage1		= "yes"		// SHOW A 3rd SMALL SIDEBAR IMAGE
var imagephrase1		= "no"		// SHOW PHRASE UNDER THIRD IMAGE

var showimage2		= "yes"		// SHOW A 3rd SMALL SIDEBAR IMAGE
var imagephrase2		= "no"		// SHOW PHRASE UNDER THIRD IMAGE

var showimage3		= "yes"		// SHOW A 3rd SMALL SIDEBAR IMAGE
var imagephrase3		= "no"		// SHOW PHRASE UNDER THIRD IMAGE

var showimage4		= "yes"		// SHOW A 3rd SMALL SIDEBAR IMAGE
var imagephrase4		= "no"		// SHOW PHRASE UNDER THIRD IMAGE

var fromtop		= "-30"		// NUDGE SIDEBAR DOWN - CAN BE NEGATIVE
var showdate		= "yes"		// SHOW THE DATE ON THE PAGE
var dateLR		= "right"	// DATE LEFT OR RIGHT
var dateX		= "10"		// DATE X LOCATION
var dateY		= "165"		// DATE Y LOCATION



// SIDEBAR LOCATION CODE - YOU CAN EDIT L/R LOCATION
document.write('<div style="position: relative; left: 0px; top: '+fromtop+'px;">');
document.write('<span class="printonly"><img src="picts/spacer.gif" width="10" height="50"><br></span>');

// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {

document.write('<span class="sidebartitle">');

document.write(' <br>');

document.write('<img src="picts/Ionad_Siuil-logo_main.jpg" width="158" height="189" border="1" class="bordersidebar" vspace="2" alt="Self catering and B&B accommodation available"><br>');

document.write('<br>');

document.write('Ionad Si&uacute;l <br>');

document.write('Hill Walking Centre <br>');

document.write('<br>');

document.write('</span>');

}

// START SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA

   if (paragraph_2 == "yes") {

document.write('<span class="sidebartitle">');

document.write('Accommodation available');

document.write('<br></span><span class="sidebartext">');

document.write('Glencolmcille Hill Walkers Centre<br>');

document.write('Telephone: +353 (0)74 9730302<br>');

document.write(' <A HREF="mailto:info@ionadsiul.ie">Email Us</a><br>');

document.write('</span><br><br>');

}

// END SIDEBAR AREA PARAGRAPH 2




document.write('<center>');




// SMALL RANDOM PICTURE AREA
   if (showRimage == "yes") {

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" class=\"bordersidebar\" vspace=\"2\">";
var forx = "";
var img = "";

forx += Math.floor(Math.random()*10);
img = forx;
if (img == "0") {
document.write(twox+ 'sidebar.jpg"' +thrx);
}

if (img == "1") {
document.write(twox+ 'sidebar-1.jpg"' +thrx);
}

if (img == "2") {
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.jpg"' +thrx);
}

if (img == "7") {
document.write(twox+ 'sidebar-1.jpg"' +thrx);
}

if (img == "8") {
document.write(twox+ 'sidebar-2.jpg"' +thrx);
}

if (img == "9") {
document.write(twox+ 'sidebar-3.jpg"' +thrx);
}

document.write('</a><br>');

}







// SMALL PICTURE PHRASE 1
   if (Rimagephrase == "yes") {

document.write('<span class="sidebartext">');

document.write('Gleann Cholm Cille, Co. Donegal');

document.write('<br></span>');

}






document.write('<br><br>');






// SMALL PICTURE AREA
   if (showimage == "yes") {

document.write('<IMG SRC="picts/ionad_sunset.jpg" border="1" width="158" class="bordersidebar" vspace="2" alt="Self catering and B&B accommodation available"></a><br><br>');

}


// SMALL PICTURE PHRASE 2
   if (imagephrase == "yes") {

document.write('<span class="sidebartext">');

document.write('Gleann Cholm Cille <br>');

document.write('County Donegal<br>');

document.write('<br><br></span>');

}





// SMALL PICTURE AREA
   if (showimage1 == "yes") {

document.write('<IMG SRC="picts/sidebar-4.jpg" border="1" width="158" class="bordersidebar" vspace="2" alt="Self catering and B&B accommodation available"></a><br><br>');

}


// SMALL PICTURE PHRASE 
   if (imagephrase1 == "yes") {

document.write('<span class="sidebartext">');

document.write('Gleann Cholm Cille <br>');

document.write('County Donegal<br>');

document.write('<br><br></span>');

}





// SMALL PICTURE AREA
   if (showimage2 == "yes") {

document.write('<IMG SRC="picts/sidebar-5.jpg" border="0" width="158" class="bordersidebar" vspace="2"></a><br><br>');

}


// SMALL PICTURE PHRASE 
   if (imagephrase2 == "yes") {

document.write('<span class="sidebartext">');

document.write('Gleann Cholm Cille <br>');

document.write('County Donegal<br>');

document.write('<br><br></span>');

}





// SMALL PICTURE AREA
   if (showimage3 == "yes") {

document.write('<IMG SRC="picts/sidebar-3.jpg" border="0" width="158" class="bordersidebar" vspace="2"></a><br><br>');

}


// SMALL PICTURE PHRASE 
   if (imagephrase3 == "yes") {

document.write('<span class="sidebartext">');

document.write('Gleann Cholm Cille <br>');

document.write('County Donegal<br>');

document.write('<br><br></span>');

}





// SMALL PICTURE AREA
   if (showimage4 == "yes") {

document.write('<IMG SRC="picts/sidebar-6.jpg" border="0" width="158" class="bordersidebar" vspace="2"></a><br><br>');

}


// SMALL PICTURE PHRASE 
   if (imagephrase4 == "yes") {

document.write('<span class="sidebartext">');

document.write('Gleann Cholm Cille <br>');

document.write('County Donegal<br>');

document.write('<br><br></span>');

}



document.write('</center>');

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>');

}





