<!--
function pageref(){
return location.pathname;
}
function register(pageref){
        parent.learn=0;
		parent.lastfile0=pageref;
}

function gen(ingen){
	if(ingen == 0){
		document.bgColor="#AAAAFF"
		
		var tagp=document.getElementsByTagName("table");
		for(var i=0;i<document.getElementsByTagName("table").length;++i){
		if(tagp[i].id=="kontent")tagp[i].style.borderColor="#666666";
		if(tagp[i].id=="kontent")tagp[i].style.backgroundColor="Gainsboro";
		if(tagp[i].id=="kontent")tagp[i].width="100%";
		if(tagp[i].id=="wrapper")tagp[i].style.backgroundColor="#AAAAFF";
		if(tagp[i].id=="wrapper")tagp[i].style.borderColor="#9999BB";
		if(tagp[i].id=="wrapper2")tagp[i].style.backgroundColor="#E6E6FF";
		if(tagp[i].id=="wrapper2")tagp[i].style.borderColor="#9999BB";
		if(tagp[i].id=="wrapper3")tagp[i].style.backgroundColor="#0000E3";
		if(tagp[i].id=="wrapper3")tagp[i].style.borderColor="#9999BB";
		
		if(tagp[i].id=="sessionlist")tagp[i].style.backgroundColor="#F3F3FF";				

		if(tagp[i].id=="stuff")tagp[i].style.backgroundColor="#FDFDFD";
		if(tagp[i].id=="stuff")tagp[i].style.borderColor="#9999BB";
		if(tagp[i].id=="title")tagp[i].bgColor="#FFFFFF";
		if(tagp[i].id=="title")tagp[i].style.borderColor="#888888";		
		}
		}
	if(ingen == 1){
		document.bgColor="#FFAAAA"
		var tagp=document.getElementsByTagName("table");
		for(var i=0;i<document.getElementsByTagName("table").length;++i){
		if(tagp[i].id=="kontent")tagp[i].style.borderColor="#666666";
		if(tagp[i].id=="kontent")tagp[i].style.backgroundColor="Gainsboro";
		if(tagp[i].id=="kontent")tagp[i].width="100%";
		if(tagp[i].id=="wrapper")tagp[i].style.backgroundColor="#FFAAAA";
		if(tagp[i].id=="wrapper")tagp[i].style.borderColor="#BB9999";
		if(tagp[i].id=="wrapper2")tagp[i].style.backgroundColor="#FFE6E6";
		if(tagp[i].id=="wrapper2")tagp[i].style.borderColor="#BB9999";
		if(tagp[i].id=="wrapper3")tagp[i].style.backgroundColor="#E3DDDD";
		if(tagp[i].id=="wrapper3")tagp[i].style.borderColor="#BB9999";
		
		if(tagp[i].id=="sessionlist")tagp[i].style.backgroundColor="#FFF3F3";				

		if(tagp[i].id=="stuff")tagp[i].style.backgroundColor="#FDFDFD";
		if(tagp[i].id=="stuff")tagp[i].style.borderColor="#BB9999";
		if(tagp[i].id=="title")tagp[i].bgColor="#FFFFFF";
		if(tagp[i].id=="title")tagp[i].style.borderColor="#999999";		
						
		}
				
		}
	if(ingen == -1){
		document.bgColor="#BBBBBB"
		var tagp=document.getElementsByTagName("table");
		for(var i=0;i<document.getElementsByTagName("table").length;++i){
		if(tagp[i].id=="kontent")tagp[i].style.borderColor="#666666";
		if(tagp[i].id=="kontent")tagp[i].style.backgroundColor="Gainsboro";
		if(tagp[i].id=="kontent")tagp[i].width="100%";
		if(tagp[i].id=="wrapper")tagp[i].style.backgroundColor="#CCCCCC";
		if(tagp[i].id=="wrapper")tagp[i].style.borderColor="#99BB99";
		if(tagp[i].id=="wrapper2")tagp[i].style.backgroundColor="#00FF00";
		if(tagp[i].id=="wrapper2")tagp[i].style.borderColor="#99BB99";
		if(tagp[i].id=="wrapper3")tagp[i].style.backgroundColor="#DDE6DD";
		if(tagp[i].id=="wrapper3")tagp[i].style.borderColor="#99BB99";
		
				if(tagp[i].id=="sessionlist")tagp[i].style.backgroundColor="#F6F6F6";				

		if(tagp[i].id=="stuff")tagp[i].style.backgroundColor="#FDFDFD";
		if(tagp[i].id=="stuff")tagp[i].style.borderColor="#99BB99";
		if(tagp[i].id=="title")tagp[i].bgColor="#FFFFFF";
		if(tagp[i].id=="title")tagp[i].style.borderColor="#888888";		
						
		}
		}

	}
function checkScreen(){
var screenwidth = screen.width;
}
function loader(){

	explorer();

}

function explorer(){
pageDim();

if(is_getElementsByTagName=='true'){


if(livePageWidth < 980){

var tagp=document.getElementsByTagName("p");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="8pt";
tagp[i].style.fontWeight="normal";
}

var tagp=document.getElementsByTagName("h3");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="8pt";
tagp[i].style.fontWeight="normal";
}

var tagp=document.getElementsByTagName("h2");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="10pt";
}

var tagp=document.getElementsByTagName("h1");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="12pt";
}


}
else {

var tagp=document.getElementsByTagName("p");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="8pt";
tagp[i].style.fontWeight="bold";
}

var tagp=document.getElementsByTagName("h3");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="10pt";
tagp[i].style.fontWeight="bold";
}

var tagp=document.getElementsByTagName("h2");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="12pt";
}
var tagp=document.getElementsByTagName("h1");
for(var i=0;i<tagp.length;++i){
tagp[i].style.fontSize="18pt";
}

}

}





if(is_getElementById == 'true'){

//document.getElementById('Layer1').style.width=livePageWidth;
//document.getElementById('Layer2').style.top=52;
//document.getElementById('Layer2').style.width=160;
//document.getElementById('Layer2').style.left=10;
//document.getElementById('Layer3').style.left=210;
//document.getElementById('Layer3').style.top=52;
//document.getElementById('Layer3').style.width=livePageWidth-220;
//document.getElementById('Layer3').style.color="#CC6666";
}

}


function findLivePageHeight() {
	if (window.innerHeight != null)
		return window.innerHeight; 
	if (document.body.clientHeight != null)
		return document.body.clientHeight;
	return (null);
}
function findLivePageWidth() {
	if (window.innerWidth != null)
		return window.innerWidth;
	if (document.body.clientWidth != null)
		return document.body.clientWidth;
	return (null);
}
function pageDim() {
	livePageHeight = findLivePageHeight();
	livePageWidth = findLivePageWidth();
}

//-->

