<?

function get_random_photo($directory){
	$handle = opendir($directory);
	$c = 0;
	while (false !==($file = readdir($handle))){
		if(((preg_match('/jpg/', $file)) or (preg_match('/jpeg/', $file)) or (preg_match('/gif/', $file))) and ((!preg_match('/2/',$file)))){
			$image[$c] = $file;
			$c++;
		}
	} 
	$image_count = (count ($image)-1);
	$randpict = rand(0,$image_count);
	return $image[$randpict];
}
$random_background = get_random_photo("/home/srbc/public_html/files/random_banners/");

?>

	<style>
		bonzai {
			nothing;
		}
		body {
			margin: 0px;
			text-align: center;
			color: #794301;
			background: #FBBA6B url(images/background_filler.gif);
		}
		
		p {
			margin: 0;
			padding: 0;
		}
		
		div#background-home {
			margin: 0;
			padding: 0;
			background: url(images/background_top.gif) repeat-x;
			background-position: top center;
		}
				
		div#background {
			margin: 0;
			padding: 0;
			background: url(images/background_top.gif) repeat-x;
			background-position: top center;
		}
		
		div#container {
			width: 1047px;
			margin: 0px auto;
			padding: 0;
			text-align: left;
			background: none;
		}
		
		div#banner {
			visibility: hidden;
			margin: 0px 0px 0px 0px;
			padding: 0px;
			height: 276px;
			background: url(/files/random_banners/<?=$random_background?>) 76px 16px no-repeat;
		}
	
		div#address {
			height: 22px;
			background: url(images/address_background.png) top center no-repeat;
		}
		
		div#address p, div#footer-sub p {
			text-align: left;
			margin: 0px 0px 0px 128px;
			padding: 3px 0px 0px 0px;
			font: normal 13px/13px Trebuchet MS, Trebuchet, Arial, Verdana;
			color: #FFFFFF;
		}
		
		div#footer-sub p {
			padding-top: 14px;
		}
	
		div#content-top {
			visibility: hidden;
			
			background: url(images/sub_content_top.gif) no-repeat;
			background-position: top left;
			height: 45px;
		}
	
		div#content {
			margin: 0px 0px 0px 0px;
			padding: 22px 380px 25px 107px;
			font: normal 15px/18px Arial, Verdana, Sans Serif;
			color: #0A2F46;
			background: url(images/sub_background_repeat.gif) repeat-y;
			background-position: top left;
		}
		
		div#content-wide {
			margin: 0px 0px 0px 0px;
			padding: 22px 120px 25px 107px;
			font: normal 15px/18px Arial, Verdana, Sans Serif;
			color: #0A2F46;
			background: url(images/sub_background_repeat.gif) repeat-y;
			background-position: top left;
		}
		
		div#content-home-repeat {
			background: url(images/content_home_repeat.gif) repeat-y;
			background-position: top left;
		}

		div#content-home {
			margin: 0px 0px 0px 0px;
			padding: 0px 425px 0px 150px;
			font: normal 15px/21px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
			color: #794301;
			background: url(images/content-home-background.gif) no-repeat;
			background-position: bottom left;
		}
		
		div#content table {
			margin: 5px 0px 10px 20px;
			padding: 0px;
		}
		
		div#content tbody tr td, div#content-wide tbody tr td{
			padding: 10px;
			font: normal 14px/18px Arial, Verdana, Sans Serif;
			color: #0A2F46;
		}
		
		div#content tbody tr td p, div#content-wide tbody tr td p{
			margin: 0px;
			padding: 0px;
			font: normal 14px/18px Arial, Verdana, Sans Serif;
			color: #0A2F46;
		}
		
		div#content tbody tr ul, div#content-widet body tr ul{
			font: normal 14px/18px Arial, Verdana, Sans Serif;
			color: #0A2F46;
		}
		
		div#content p, div#content-wide p {
			margin: 0;
			padding: 0px 0px 11px 0px;
		}	
		
		div#content-home p {
			margin: 0;
			padding: 0px 0px 0px 0px;
		}
	
			
		div#content blockquote {
			margin: 10px 20px 10px 20px;
		}
		
		div#content img {
			margin: 0px;
			padding: 0px;
			border-right: 2px solid #FBBA6B;
			border-left: 2px solid #FBBA6B;
			border-bottom: 3px solid #F6C58A;
			border-top: 3px solid #F6C58A;
		}
		
		div#header {
			visibility: hidden;
			padding: 0px 0px 0px 0px;
			margin: 0;
			text-align: left;
			background: url(images/header_background.gif) 0px 48px no-repeat;
			height: 148px;
		}
		
		
		div#home-link {
			float: left;
			padding: 53px 0px 0px 0px;
			width: 168px;
			visibility: hidden;
			
		}
		
		div#command {
			padding: 112px 0px 0px 0px;
			margin: 0;
			text-align: left;
			height: 26px;
			visibility: hidden;
			
		}

		div#header p {
			margin: 0;
			padding: 0px;
		}

		div#right-side {
			visibility: hidden;
			
			margin: 0px;
			padding: 0px;
			float: right;
			width: 361px;
			font: normal 14px Arial, Verdana, Sans Serif;
		}
		
		div#right-side-home {
			margin: 0px;
			padding: 6px 0px 0px 0px;
			float: right;
			width: 407px;
		}
		
		div#right-side-home p {
			margin: 0px;
			padding: 0px 0px 0px 0px;
			font: normal 12px Arial, Verdana, Sans Serif;
			color: #1B5070;
		}
				
		div#right-side p {
			margin: 0px;
			padding: 0px 55px 5px 10px;
			font: normal 11px Arial, Verdana, Sans Serif;
			color: #1B5070;
		}
		
		
		div#right-side ul {
			margin: 0px 0px 2px 60px;
			padding: 0px;
			list-style: square;
			font: normal 13px Arial, Verdana, Sans Serif;
			color: #D38D39;
		}
		
		div#right-side ul li{
			padding: 0px 0px 0px 0px;
			margin: 0px 0px 4px 0px;
			line-height: 15px;
		}
		
		div#right-side ul li ul{
			padding: 1px 0px 0px 12px;
			margin: 0px 0px 4px 0px;
			line-height: 12px;
			list-style: none;
		}
		
		div#right-side ul li ul li{
			padding: 0px 0px 0px 0px;
			margin: 0px 0px 4px 0px;
			line-height: 12px;
		}
		
		div#footer-background {
			visibility: hidden;
			
			background: #FBBA6B url(images/footer_background.gif) repeat-x;
			height: 242px;
		}
		
		div#footer {
			height: 143px;
			width: 1047px;
			text-align: center;
			background: url(images/content_bottom.gif) top center no-repeat;
		}
		
		div#footer-background-sub {
			visibility: hidden;
			
			background: #FBBA6B url(images/footer_background.gif) repeat-x;
			height: 242px;
		}
		
		div#footer-sub {
			height: 143px;
			width: 1047px;
			text-align: center;
			background: url(images/subpage_footer.gif) top center no-repeat;
		}

		div#footer p{
			text-align: left;
			margin: 0px 0px 0px 0px;
			padding: 6px 0px 0px 150px;
			font: normal 15px/15px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
		}
		
		div#image_stamps {  /*see content-bottom for subpage declarations */
			float: right;
			visibility: hidden;
			
			width: 665px;
		}
		
		div#image_stamps p{
			text-align: right;
			font: normal 11px Arial, Verdana, Sans Serif;
			margin: 0px 50px 0px 0px;
			padding: 0px;
		}
		
		div#image_stamps p a{
			border: 0px;
		}
		
		div#image_stamps p a img{
			border: 0px;
			margin: 18px 44px 0px 0px;
			padding: 0px;
		}
		
		div#content-bottom {
			visibility: hidden;
			
			background: url(images/sub_content_bottom.gif) no-repeat;
			background-position: top left;
			height: 110px;
		}
		
		div#content-bottom p{
			text-align: right;
			font: normal 11px Arial, Verdana, Sans Serif;
			margin: 0px 66px 0px 0px;
			padding: 0px 0px 0px 0px;
		}
		
		div#content-bottom p a{
			border: 0px;
		}
		
		div#content-bottom p a img{
			border: 0px;
			margin: 20px 52px 0px 0px;
			padding: 0px;
		}
		
		
		div#content ul {
			margin: 0px 10px 8px 50px;
			padding: 0;
			list-style: square;
		}
		
		div#content ol {
			margin: 0px 10px 8px 50px;
			padding: 0;
		}
		
		div#content table ul {
			margin: 0px 10px 6px 40px;
			padding: 0;
			list-style: square;
		}
		
		div#content ul li {
			margin: 0px 0px 4px 0px;
			padding: 0;
		}
		
		
		h1 {
			font: bold 24px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
			margin: 0px 0px 0px 0px;
			padding: 0px 0px 7px 0px;
			color: #A86718;
		}
		
		div#content-home h1 {
			padding: 10px 0px 0px 0px;
		}
		
		h2 {
			font: bold 19px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
			margin: 5px 0px 0px 0px;
			padding: 0px 0px 0px 0px;
			color: #C38438;
		}
						
		h3 {
			font: normal 17px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
			margin: 0px 0px 0px 0px;
			padding: 0px 0px 0px 0px;
			color: #3984BF;
		}
		
		h4 {
			margin: 2px 30px 16px 20px;
			padding: 6px 12px 10px 11px;
			background-color: #C49A64;
			background: url(images/h4_background.jpg) repeat-x; 
			border-top: 5px solid #5E7CAD;
			font-style: italic;
			font-size: 14px;
			line-height: 140%;
		}
		
				
		h5 {
			font: normal 16px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
			margin: 8px 0px 0px 0px;
			padding: 0px 20px 2px 37px;
			color: #53A1DE; 
		}
		
		h6 {
			font: normal 13px Trebuchet MS, Trebuchet, Verdana, Arial, Sans Serif;
			margin: 0px 0px 0px 0px;
			padding: 0px 130px 11px 33px;
			color: #53A1DE;
		}
		
		a:link { 
			color: #2970A8; 
			font-weight: bold; 
			text-decoration: none; 
		}
		
		a:visited { 
			color: #8D6E48;
			font-weight: bold;
			text-decoration: none; 
		 }
		
		a:hover { 
			color: #155689; 
			text-decoration: underline; 
		}
		
		a:active { 
			color: #000000; 
			text-decoration: underline; 
		}

		.note {
			font: normal .85em Verdana, Arial, Sans Serif;
			color: #666666;
		}
		
		.required {
			font-weight: normal;
			color: #4B6710;
		}
		
		#dropdowns { padding: 0px 0px 0px 2px; margin: 0; text-align: left; visibility: hidden;}
		#nav, #nav ul {  float: left; list-style: none; line-height: 1; background: none; font-weight: normal; padding: 0; margin: 0px; }
		#nav a {  border-right: 0px solid #986823; font: bold 18px/18px Trebuchet MS, Georgia, Arial, Sans Serif; text-decoration: none; display: block; color: #57ABEB;  padding: 9px 12px 8px 11px; }
		#nav a.child { font: bold 11px Verdana, Tahoma, Arial; text-decoration: none;  background: none; color: #FFFFFF; padding: 7px 2px 7px 9px; border-right: 0px solid #FFDC90; }
		#nav li {  float: left; padding: 0; }
		#nav li ul { position: absolute; left: -999em; height: auto; width: 10.9em; w\idth: 11.4em; font-weight: normal; background: #FFF5EE url(images/menu_background.jpg) no-repeat; background-position: top left; margin: 0; padding-bottom: 6px; padding: 0px; margin: 0px; border-top: 1px #22679D solid; border-bottom: 1px #22679D solid;  }
		#nav li li {  padding-right: 0em; width: 11.4em } 
		#nav li ul a {  width: 15.5em; w\idth: 15.5em; }
		#nav li ul ul {  margin: -1.2em 0 0 11.3em; }
		#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li.sfhover ul ul, #nav li.sfhover ul ul ul { color: #105890; left: -999em; }
		#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul { color: #105890; left: auto; }
		#nav li:hover, #nav li.sfhover { color: #105890; background: #2D88CE url(images/hover.jpg); background-position: top center no-repeat; }
		#nav a:hover, #nav a.sfhover { color: #105890; text-decoration: none; background: #2D88CE url(images/hover.jpg); background-position: top center no-repeat;  }
		
		
</style>

