function printPreview() {
	setActiveStyleSheet('Print Preview');
	document.getElementById('printpreview').className = 'information';
	document.getElementById('printpreview').innerHTML = '<strong>Print Version</strong> - <a href="#" onclick="printCancel();" >Click here</a> to return to the normal view';
}

function printCancel() {
	setActiveStyleSheet('default');
	document.getElementById('printpreview').className = '';
	document.getElementById('printpreview').innerHTML = '';
}

function setActiveStyleSheet(title) {

	var i, a, main;
	
	for (i = 0; (a = document.getElementsByTagName('link')[i]); i++) {
		if (a.getAttribute('rel').indexOf('style') != -1 && a.getAttribute('title')) {
			a.disabled = true;
			if(a.getAttribute('title') == title) {
				a.disabled = false;
			};
		}
	}
	
}