function history_write() {
	document.getElementById('main_content').className="";
	document.getElementById('main_content').className="home_content";
    tmpStr = '';
	
	tmpStr += '<p>At the dawn of the 25th century the Federation as we know it had changed. The Klingon people wished to return to the old ways and expand their empire. Over the years it became clear a dark thread loomed encroaching in shadows. These times would later be referred to as the storm unleashed by the Dominion war decades before.</p>';
	
	tmpStr += '<p>In the year 2407 Starfleet command decided to assemble a new force of elite officers. They would be known as the 12th Fleet. Along with the promotion to Fleet Admiral Arsinoe Scientia received orders to oversee the construction of an experimental space station.</p>';
	
	tmpStr += '<p>To accomplish this he received help from renowned scientist Maki Picard and expert engineer T\'ruk Grax. Starfleet allocated an abundance of resources to the construction to ensure its fast and successful completion.</p>';
	
	tmpStr += '<p>With the start of the project Starfleet Command had named Valhalla the Federation finally had a platform to mount an effective defence against acts of aggression committed by the Klingons or other enemies of the Federation.</p>';
	
	tmpStr += '<p>The Starbase was equipped with thousands of torpedo launchers all equipped with a backup generator in case the primary, secondary and tertiary power would be disabled. The stations armory is supplied by torpedo\'s made on site at the fleets own manufacturing plant. Furthermore the starbase is equipped with thousands of integrated phaser strips on all levels.</p>';
	
	tmpStr += '<p>Due to the dangerous environment the starbase has to exist in, it is equipped with the latest technology such as a primary, secondary and tertiary layer of regenerative shielding and a layer of ablative armor several feet thick. </p>';
	
	tmpStr += '<p>Along with the starbase 2 additional projects where launched. A mobile fleet of 100 runabout class vessels as well as 100 Valkyrie class fighters were stationed to protect the station from raiders at a moments notice. Rather than station defence ships around the starbase it was equipped with 6 experimental Stingray class starships. These ships where the first type of ship that was actually a part of the starbase.</p>';
	
	tmpStr += '<p>Despite its strategic location starbase Valhalla welcomes traders and adventurers from all across the Galaxy. These people can browse one of the many stores housed on the 30 promenade levels. The Seventh Heaven bar located on level 10 is considered one of the places to be in the Federation providing entertainment and dishes that would make you want to stay. For more recreation there is a park, lakes, a 4 mile long beach front, sporting courts and a lot more besides the standard holo suites.</p>';
	
	tmpStr += '<p>The rest of the base makes room for standard and specialised laboratory to expand the knowledge of the Federation and store important discoveries next to the standard supplies. New areas of space visited by the explorers are charted here and passed on to the rest of Starfleet. The new technologies are investigated and adapted for use on Starfleet vessels.</p>';
	
	tmpStr += '<p>For many Valhalla is not just a starbase, it is a symbol of light and all the good the Federation stands for. This is the home of the heroes of the Federation. The 12th Fleet.</p>';
	
	document.getElementById('lyr2').innerHTML = tmpStr;
	document.title = "The 12th Fleet: Valhalla: History";
	
	var link_name = ['', 'Home', 'History', 'Blueprints', 'Specifications', '', 'Ships'];
	var link_script = ['', 'home_write()', 'history_write()', 'blueprints_write()', 'specs_write()', '', 'ships_write()'];
	var j = 2;
	
	for(var i =1;i<7;i++) {
		if(i==5) {
			
		} else
		{
			if(i == j) {
				document.getElementById('menu' + i).className="menu" + i + "_s";
				document.getElementById('menu' + i).innerHTML = '<div class="selected">' + link_name[i] + '</div>';
			} else {
				document.getElementById('menu' + i).className = "menu" + i;
				document.getElementById('menu' + i).innerHTML = '<div onclick="' + link_script[i] + '" class="menu_links"><div class="menu_links_text">' + link_name[i] + '</div></div>';
			}
		}
	}
	
	tmpStr = '';
	
	document.getElementById('lyr1').innerHTML = tmpStr;
	document.getElementById('scroll_links').className="scroll_links_h";
	//init_dw_Scroll();
	init_dw_Scroll2();
}