
picDir = "images"
photos = "photos"


/* Draws standard main restricting frame */
function openFrame() {
	document.writeln("<div class=\"mainframe\">")
}

function closeFrame() {
	document.writeln("<img src=\"images/\LLL.jpg\" width=\"1000\" height=\"60\" hspace=\"0\" vspace=\"0\" align=\"middle\" alt=\"[Banner]\">")
	copyright()
	document.writeln("<\/div>")
}
/*******/


/* Displays standard copyright message  */
function copyright() {
 document.writeln("<p class=\"copyright\">&copy; Copyright 2000-2009 John Trent Wallace &amp; Kevin Heuston. All rights reserved.<\/p>")
}


/* Draws the standard page header */
function standardHeader(offset) {

if(offset == "nobanner") {
 banner = 0
}
else {
 banner = 1
}

document.writeln("<div class=\"topbanner\"><\/div>")

if(banner) {
  flashpath = picDir + "\/Quotes.swf"
  document.writeln("<div class=\"banner\">")
  document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" width=\"600\" height=\"50\">")
  document.writeln("<param name=\"movie\" value=\"" + flashpath + "\">")
  document.writeln("<param name=\"quality\" value=\"high\">")
  document.writeln("<embed src=\"" + flashpath + "\" quality=\"high\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application\/x-shockwave-flash\" width=\"600\" height=\"50\"><\/embed><\/object>")
  document.writeln("<\/div>")
}


flashpath = picDir + "\/Fader.swf"
document.writeln("<div class=\"logo\">")
document.writeln("<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,29,0\" width=\"130\" height=\"122\" hspace=\"0\" vspace=\"0\" >")
document.writeln("<param name=movie value=\"" + flashpath + "\">")
document.writeln("<param name=quality value=high>")
document.writeln("<embed src=\"" + flashpath + "\" quality=\"high\" pluginspage=\"http:\/\/www.macromedia.com\/go\/getflashplayer\" type=\"application\/x-shockwave-flash\" width=\"130\" height=\"122\" hspace=\"0\" vspace=\"0\" align=\"absbottom\"><\/embed><\/object>")
document.writeln("<\/object>")
document.writeln("<\/div>")
}

    

/* Generic function to get the parameter from the command line */
function getParam(thisURL) {

  param = new String

  pos = thisURL.indexOf('?')

  if(pos != -1)
   param = thisURL.substring(pos+1, thisURL.length)

  return param
}


