var ua=navigator.userAgent;
document.writeln("<style type='text/css'><!--");
if(navigator.appVersion.indexOf("Mac") > -1){
	//===============MAC Opera===============
	if(ua.match(/Opera[\/\s](\d\.\d+)/)){
		document.writeln("body{font-size:70%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:85%;}");
	}
	//===============MAC IE===============
	else if(ua.match(/MSIE (\d\.\d+)/)){
		document.writeln("body{font-size:80%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:90%;}");
	}
	//===============MAC Firefox===============
	else if(ua.match(/Gecko/) && ua.match(/(Firebird|Firefox)\/([\.\d]+)/)){
		document.writeln("body{font-size:80%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:90%;}");
	}
	//===============MAC Safari===============
	else if(ua.match(/Safari\/([\.\d]+)/)){
		document.writeln("body{font-size:80%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:85%;}");
	}
	//===============MAC Netscape,etc...===============
	else{
		document.writeln("body{font-size:80%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:85%;}");
	}
}
else{
	//===============WIN Opera===============
	if(ua.match(/Opera[\/\s](\d\.\d+)/)){
		document.writeln("body{font-size:75%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:95%;}");
	}
	//===============WIN IE===============
	else if(ua.match(/MSIE (\d\.\d+)/)){
		document.writeln("body{font-size:75%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:90%;}");
	}
	//===============WIN Firefox===============
	else if(ua.match(/Gecko/) && ua.match(/(Firebird|Firefox)\/([\.\d]+)/)){
		document.writeln("body{font-size:75%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:90%;}");
	}
	//===============WIN Netscape,etc...===============
	else{
		document.writeln("body{font-size:75%;}");
		document.writeln("h1{font-size:120%; font-weight:bold;}");
		document.writeln("h2{font-size:120%; font-weight:bold;}");
		document.writeln("h3{font-size:160%;}");
		document.writeln("h4,h5,h6{font-size:100%;}");
		document.writeln("dt{font-size:100%;}");
		document.writeln("th{font-size:100%;}");
		document.writeln("td{font-size:100%;}");
		document.writeln("input,select,option,textarea{font-size:100%;}");
		document.writeln(".size-XL{font-size:160%;}");
		document.writeln(".size-Lb{font-size:120%; line-height:150%; font-weight:bold;}");
		document.writeln(".size-L{font-size:120%; line-height:150%;}");
		document.writeln(".size-Mb{font-size:100%; font-weight:bold;}");
		document.writeln(".size-M{font-size:100%;}");
		document.writeln(".size-S{font-size:80%;}");
	}
}
document.writeln("--></style>");


 //////////////////////////////////////////////////////////////
// [ PageUp ]
//////////////////////////////////////////////////////////////

function pageup(e) {
UAGENT = navigator.userAgent.toUpperCase();
if (UAGENT.indexOf("MSIE") >=0) { posi = event.y; }
else { posi = e.pageY; }
moveObje(posi);
}

function moveObje(position) {
move = position / 10;
point = parseInt(position - move);
scrollTo(0,point);
if (point > 0) { setTimeout("moveObje(point)",10); }
}
