/*******************************************************************************************
 * swapTerms
 * Written by Daniel Course
 * If the browser can support javascript it will put the terms into a widget and show/hide
 *******************************************************************************************/

// swaps the terms and conditions
function swapTerms() {
	
	var a = document.getElementById("terms");
	var newStyle = 'jsTerms';
	var oldStyle = 'jsTermsSwitch';
	if(cssjs( 'check', a, 'jsTermsSwitch' )){
		newStyle = 'jsTerms';
		oldStyle = 'jsTermsSwitch';
	}
	cssjs('swap', a, newStyle, oldStyle);	
	
	
	
}	




document.write('<style type="text/css" media="screen">');
document.write('<!-- ');

document.write('.jsTerms {');
document.write('    display: none;');
document.write('}');

document.write('.jsTermsSwitch {');
document.write('    height: 180px;');
document.write('    overflow: auto;');
document.write('}');

document.write('-->');
document.write('<\/style>');








	