<!-- 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 showimage		= "yes"		// SHOW A SIDEBAR IMAGE
var spacing			= "20"		// NUDGE SIDEBAR DOWN
var bordercolor		= "666666"	// SCROLLER AND IMAGE border COLOR

var showdate		= "yes"		// SHOW THE DATE ON THE PAGE
var dateLR			= "left"	// DATE LEFT OR RIGHT
var dateX			= "15"		// DATE X LOCATION
var dateY			= "795"		// DATE Y LOCATION

var showsearch		= "yes"		// SHOW THE SEARCH FORM
var searchLR		= "left"	// SEARCH FORM LEFT OR RIGHT
var searchX			= "10"		// SEARCH FORM X LOCATION
var searchY			= "242"		// SEARCH FORM Y LOCATION
var searchwidth		= "160"		// width OF THE SEARCH FORM
var searchtext		= "Web Search"	// TEXT ABOVE SEARCH FORM

var showsflash		= "yes"		// SHOW FLASH IMAGE CHANGER
var flashcolor		= "000000"	// FLASH BACKGROUND COLOR
var flashwidth		= "150"		// width OF THE FLASH (IN PIXELS) (and adjust the menu.js)
var flashheight		= "150"		// HEIGHT OF THE FLASH (IN PIXELS) (and adjust the menu.js)


// EDIT THE "scroller/scroll.variables0.js" FOR SCROLLER OPTIONS


// NUDGE SPACER
document.write('<img src="picts/spacer.gif" height="'+spacing+'" width="10" /><br />')
document.write('<img src="picts/spacer.gif" height="'+spacing+'" width="10" /><br />')

// SMALL PICTURE AREA

   if (showimage == "yes") {

document.write('<br /><table cellpadding="0" cellspacing="0" border="1" bordercolor="#'+bordercolor+'" style="border-collapse: collapse"><tr><td>')
document.write('<a href="index.html" title="Home"><img src="picts/MG-RACINGLOGO79.gif" alt="Matt Griffin Racing Logo" border="0" width="150" /></a><br />')
document.write('</td></tr></table>')
document.write('<br /><br />')
}

// START SIDEBAR AREA PARAGRAPH 1 EDIT THIS AREA

   if (paragraph_1 == "yes") {
document.write('<span class="sidebartitle">')
document.write('Contact')
document.write('<br /></span><span class="sidebartext">')
document.write('If you wish to Contact me use the link below.<br />')
document.write('<a href="contact.htm" class="sidelink" title="Contact me">Contact me</a><br /><br />')
document.write('or leave a message in my <a href="http://pub48.bravenet.com/guestbook/4045966309/" class="sidelink" title="Guestbook">Guestbook</a><br />')
document.write('</span><br /><br />')
}
// END SIDEBAR AREA PARAGRAPH 1

// FLASH CHANGER
   if (showsflash == "yes") {
document.write('<table cellpadding="0" cellspacing="0" border="1" bordercolor="#'+bordercolor+'" style="border-collapse:collapse"><tr><td valign="top">')
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+flashwidth+'" height="'+flashheight+'" id="imagechanger" align="">')
document.write('<param name="movie" value="imagechanger.swf">')
document.write('<param name="quality" value="high">')
document.write('<param name="bgcolor" value="#'+flashcolor+'">')
document.write('<embed src="imagechanger.swf" quality="high" bgcolor="#'+flashcolor+'" width="'+flashwidth+'" height="'+flashheight+'" name="imagechanger" align="" type="application/x-shockwave-flash" pluginspace="http://www.macromedia.com/go/getflashplayer">')
document.write('</embed>')
document.write('</object><br />')
document.write('</td></tr></table>')
document.write('<br /><br />')
}

// START SIDEBAR AREA PARAGRAPH 2 EDIT THIS AREA

   if (paragraph_2 == "yes") {

document.write('<span class="sidebartitle">')
document.write('Motto:')
document.write('<br /></span><span class="sidebartext">')
document.write('The Future belongs to the people who believe in the beauty of their dreams.<br />')
document.write('</span><br /><br /><br />')
}
// END SIDEBAR AREA PARAGRAPH 2

// SEARCH FORM
   if (showsearch == "yes") {
document.write('<div id="search" style="'+searchLR+': '+searchX+'px; position: absolute; TOP: '+searchY+'px; width: auto; z-index: 1;">')
document.write('<table cellpadding="0" cellspacing="2" border="0" width="'+searchwidth+'"><tr><td colspan="2" class="sidebartext">')
document.write(''+searchtext+'<br />')
document.write('</td></tr><tr><td align="left">')
document.write('<form action="http://www.google.com/search" name="f" target="_blank" style="margin: 0px">')
document.write('<input type="hidden" name="any selected">')
document.write('<input size="15" name="q" value="" class="searchform">&nbsp;<input type="submit" value="Go!" name="btnG" class="searchbutton"><br />')
document.write('</form>')
document.write('</td></tr></table>')
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(d.getDate() + ". ")
document.write(monthname[d.getMonth()] + " ")
document.write(d.getFullYear())
document.write("</nobr><br /></span>")
document.write('</div>');
document.write('<br /><br />')
document.write('<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td align="center">')
document.write('<a href="http://validator.w3.org/check?uri=http%3A%2F%2Fwww.mattgriffin-racing.com%2F"><img src="picts/valid-xhtml10.gif" alt="Valid XHTML 1.0 Transitional" title="Validate my XHTML code" style="border:0;width:88px;height:31px" /></a> ')
document.write('<br /><br />')
document.write('<a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.mattgriffin-racing.com"><img src="picts/valid-css.gif" alt="Valid CSS!" title="Validate my CSS" style="border:0;width:88px;height:31px" /></a> ')
document.write('<br /><br />')
document.write('<a href="http://www.feedvalidator.org/check.cgi?url=http://www.mattgriffin-racing.com/indexfeed.xml"><img src="picts/valid-rss-rogers.png" alt="[Valid RSS]" title="Validate my RSS feed" style="border:0;width:88px;height:31px" /></a> ')
document.write('<br /><br />')
document.write('<a href="http://www.validome.org/lang/en/get/http://www.mattgriffin-racing.com"><img src="picts/valid_xhtml_1_0.gif" alt="Valid XHTML 1.0" title="Valid XHTML 1.0" style="border:0;width:80px;height:15px" /></a> ')
document.write('<br /><br />')
document.write('</td></tr></table>')
}
// -- END -->