var opera=0;
if (navigator.userAgent.indexOf("Opera")!=-1) opera=1;

//MATH
function min(a,b){return ((a<b)?a:b);}
function max(a,b){return ((a>b)?a:b);}

//IO:
function documentwriteln(str) {document.writeln(str);}
function documentwrite(str) {document.write(str);}

function corr_width() {return max(document.body.clientWidth,800);}
function corr_height() {return max(document.body.clientHeight,600);}

//Задание общего вида BODY
document.writeln('<STYLE>');
document.writeln('<!--');
document.writeln('BODY {font-family:"Arial Narrow";');
//document.writeln('background-image:url("images/fon.gif");');
document.writeln('background-color:transparent;');
document.writeln('padding:0px;margin:0px;');
document.writeln('font-style:normal;');
document.writeln('font-weight:normal;font-height:11pt;');
document.writeln('}');
document.writeln('.clNorm {color:rgb(0,0,0);}');
//document.writeln('.clWhite {color:rgb(0,124,186);}');
document.writeln('.clWhite {color:rgb(0,164,220);}');
document.writeln('-->');
document.writeln('</STYLE>');
