<!-- Begin SIDEBAR

// ONLY USE lowercase FOR ALL OPTIONS

var paragraph_1 	= "yes"		// SHOW THE 1ST PARAGRAPH
var paragraph_2 	= "yes"		// SHOW THE 2ND PARAGRAPH

var showRimage_1        = "yes"		// SHOW A RANDOM SIDEBAR IMAGE
var linkedR		= "index.html"	// RANDOM IMAGE PAGE LINK
var showimage		= "no"		// SHOW A SMALL SIDEBAR IMAGE
var linked		= "index.html"	// SIDEBAR IMAGE LINK

var showRimage_2	= "yes"		// SHOW A RANDOM SIDEBAR IMAGE
var linkedR		= "index.html"	// RANDOM IMAGE PAGE LINK
var showimage		= "no"		// SHOW A SMALL SIDEBAR IMAGE
var linked		= "index.html"	// SIDEBAR IMAGE LINK

var showRimage_3	= "yes"		// SHOW A RANDOM SIDEBAR IMAGE
var linkedR		= "index.html"	// RANDOM IMAGE PAGE LINK
var showimage		= "no"		// SHOW A SMALL SIDEBAR IMAGE
var linked		= "index.html"	// SIDEBAR IMAGE LINK

var spacing		= "1"		// NUDGE SIDEBAR DOWN
var showdate		= "yes"		// SHOW THE DATE ON THE PAGE
var dateLR		= "right"	// DATE LEFT OR RIGHT
var dateX		= "10"		// DATE X LOCATION
var dateY		= "55"		// DATE Y LOCATION



// SIDEBAR LOCTION CODE - YOU CAN EDIT TOP OR L/R LOCATION
document.write('<div style="position: relative; left: 0px; top: -15px;">')



// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {

document.write('<span class="sidebartitle">')

document.write('Tomis Co. Offer:')

document.write('<br></span><span class="sidebartext">')

document.write(' Hardwood installation and refinishing specials.<br>')

document.write('<a href="contact.htm" class="sidelink">Contact</a><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('Free Estimates')

document.write('<br></span><span class="sidebartext">')

document.write('Tomis Construction Offers free estimates for Orange & L.A.County<br>')

document.write('</span><br><br>')

}
// END SIDEBAR AREA PARAGRAPH 2








// SMALL RANDOM PICTURE AREA 
   if (showRimage_1 == "yes") {

document.write('<center>')

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" width=\"125\" height=\"125\" class=\"bordersSB\">";
var forx = "";
var img = "";

forx += Math.floor(Math.random()*10);
img = forx;
if (img == "0") {
document.write(twox+ '20.jpg"' +thrx);
}
if (img == "1") {
document.write(twox+ '21.jpg"' +thrx);
}
if (img == "2") {
document.write(twox+ '22.jpg"' +thrx);
}
if (img == "3") {
document.write(twox+ '23.jpg"' +thrx);
}
if (img == "4") {
document.write(twox+ '24.jpg"' +thrx);
}
if (img == "5") {
document.write(twox+ '25.jpg"' +thrx);
}
if (img == "6") {
document.write(twox+ '26.jpg"' +thrx);
}
if (img == "7") {
document.write(twox+ '27.jpg"' +thrx);
}
if (img == "8") {
document.write(twox+ '28.jpg"' +thrx);
}
if (img == "9") {
document.write(twox+ '29.jpg"' +thrx);
}
document.write('</a><br>');
document.write('<br><br>')
document.write('</center>')

}





// SMALL RANDOM PICTURE AREA 
   if (showRimage_2 == "yes") {

document.write('<center>')

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" width=\"125\" height=\"125\" class=\"bordersSB\">";
var forx = "";
var img = "";

forx += Math.floor(Math.random()*10);
img = forx;
if (img == "0") {
document.write(twox+ '1.jpg"' +thrx);
}
if (img == "1") {
document.write(twox+ '2.jpg"' +thrx);
}
if (img == "2") {
document.write(twox+ '3.jpg"' +thrx);
}
if (img == "3") {
document.write(twox+ '4.jpg"' +thrx);
}
if (img == "4") {
document.write(twox+ '5.jpg"' +thrx);
}
if (img == "5") {
document.write(twox+ '6.jpg"' +thrx);
}
if (img == "6") {
document.write(twox+ '7.jpg"' +thrx);
}
if (img == "7") {
document.write(twox+ '8.jpg"' +thrx);
}
if (img == "8") {
document.write(twox+ '9.jpg"' +thrx);
}
if (img == "9") {
document.write(twox+ '10.jpg"' +thrx);
}
document.write('</a><br>');
document.write('<br><br>')
document.write('</center>')

}





// SMALL RANDOM PICTURE AREA 
   if (showRimage_3 == "yes") {

document.write('<center>')

var twox = "<a href=\""+linkedR+"\"><img src=\"picts/";
var thrx = " border=\"0\" width=\"125\" height=\"125\" class=\"bordersSB\">";
var forx = "";
var img = "";

forx += Math.floor(Math.random()*10);
img = forx;
if (img == "0") {
document.write(twox+ '11.jpg"' +thrx);
}
if (img == "1") {
document.write(twox+ '12.jpg"' +thrx);
}
if (img == "2") {
document.write(twox+ '13.jpg"' +thrx);
}
if (img == "3") {
document.write(twox+ '14.jpg"' +thrx);
}
if (img == "4") {
document.write(twox+ '15.jpg"' +thrx);
}
if (img == "5") {
document.write(twox+ '16.jpg"' +thrx);
}
if (img == "6") {
document.write(twox+ '17.jpg"' +thrx);
}
if (img == "7") {
document.write(twox+ '18.jpg"' +thrx);
}
if (img == "8") {
document.write(twox+ '19.jpg"' +thrx);
}
if (img == "9") {
document.write(twox+ '00.jpg"' +thrx);
}
document.write('</a><br>');
document.write('<br><br>')
document.write('</center>')

}


// SMALL PICTURE AREA
   if (showimage == "yes") {

document.write('<a href="index.html"><img src="picts/sidebar.jpg" border="0" 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 -->
