function changesize(size) {
	 var i=0;
	 	while (true) {
	 		if (document.getElementsByTagName('P')[i] == null) {break};
			document.getElementsByTagName('P')[i].style.fontSize=size; 
			i++;
		}
	}

function changeContentCSS(cssFileName,linkElementID) {
  link = document.getElementById(linkElementID);
  link.href = cssFileName;
  document.cookie = 'cssFileName='+cssFileName;
}


function getCookie(c_name){
	if (document.cookie.length>0)
	{ 
		c_start=document.cookie.indexOf(c_name + "=")
		if (c_start!=-1)
		{ 
		c_start=c_start + c_name.length+1 
		c_end=document.cookie.indexOf(";",c_start)
		if (c_end==-1) c_end=document.cookie.length
			return unescape(document.cookie.substring(c_start,c_end))
		} 
	}
return null
}

function printpage() {
if(document.all){
	document.all["print"].style.visibility = 'hidden';
	window.print();  
	document.all["print"].style.visibility = 'visible';
	}
else 
	{
	document.getElementById("print").style.visibility = 'hidden';
	window.print();
	document.getElementById("print").style.visibility = 'visible';
	}
}