// JavaScript Document
 
// Master function ran at end of site HTML. Do not put start/end <script> tags.
function masterJSFunction(){
//Start global code here


document.getElementById('block-title1').innerHTML = 'Financial Independence';
document.getElementById('block-content1').innerHTML = 'The dream of nearly every individual is sure to include the freedom to make life choices providing joy and security for themselves, their loved ones and their career path through retirement.  Consider these important questions...';
document.getElementById('block-readmore1').innerHTML = '<div id="block-readmore1" class="clear span-4 last block-readmore"><a class="block-readmore readmore1" href="http://wadsworthgroup.net/wadsworthgroup.aspx?MyMenu=nh&MyPage=nh/freeform2.asp">Read More</a></div>';

document.getElementById('block-title2').innerHTML = 'Exit Planning';
document.getElementById('block-content2').innerHTML = 'There are many tools available to help individuals get into business, but few that help them get out.  This seven step exit planning process is a customized, comprehensive approach to designing and implementing a business owners successful exit...';
document.getElementById('block-readmore2').innerHTML = '<div id="block-readmore1" class="clear span-4 last block-readmore"><a class="block-readmore readmore1" href="http://wadsworthgroup.net/wadsworthgroup.aspx?MyMenu=nh&MyPage=nh/freeform3.asp">Read More</a></div>';

document.getElementById('block-title3').innerHTML = 'Estate Planning';
document.getElementById('block-content3').innerHTML = 'It is a noble endeavor to leave behind a legacy that includes the continued execution of your desires, principles and life goals.  How will you continue to provide for the passions of a lifetime?  Consider these important questions...';
document.getElementById('block-readmore3').innerHTML = '<div id="block-readmore1" class="clear span-4 last block-readmore"><a class="block-readmore readmore1" href="http://wadsworthgroup.net/wadsworthgroup.aspx?MyMenu=nh&MyPage=nh/freeform4.asp">Read More</a></div>';








document.getElementById('homepage-banner').innerHTML = document.getElementById('slider').innerHTML;
//Slider
window.addEvent('domready', function() {
		//slider variables for making things easier below
		var itemsHolder = $('homepage-banner');
		var myItems = $$(itemsHolder.getElements('.item'));
		//create instance of the slider, and start it up		
		var mySlider = new SL_Slider({
			slideTimer: 6000,
			orientation: 'none',      //vertical, horizontal, or none: None will create a fading in/out transition.
			fade: true,                    //if true will fade the outgoing slide - only used if orientation is != None
			isPaused: false,
			container: itemsHolder,
			items: myItems
		});
		mySlider.start();
	});


//End global code here
}
window.onload = masterJSFunction;

//Insert your own fuctions/script here

