<!--//


function flashloadns() {
	if (document.layers) {
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ?   navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;

if ( plugin && parseInt (plugin.description.substring(plugin.description.indexOf(".")-1)) >= 4 )
   { document.writeln('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=117 HEIGHT=54> <PARAM NAME=movie VALUE="../logo3.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#253383> <EMBED src="../logo3.swf" quality=high bgcolor=#253383  WIDTH=117 HEIGHT=54 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED></OBJECT>');
   }
else {
	 document.writeln('<img src="../pics/logo.gif" width="132" height="71" alt="" border="0">');
}
}   
}


function init() {

if(document.all) {

H=document.body.scrollHeight;
//alert(H);
cont_H=document.all['table_content'].offsetHeight;
//alert(cont_H);
document.all['rasporka'].height=H-cont_H;
H=document.body.scrollHeight;

document.images['bg_dark'].height=H-400-179;	
document.all['bg_dark_div'].style.top=400+179;	
if(H<700) {
document.all.top.src="pics/0.gif";
}
y=0;
imgs=document.getElementById("point0");
		do {
			y+=imgs.offsetTop;
			imgs=imgs.offsetParent;
		} while (imgs)
y+=15;
if((y+170)>H) {
document.all['rasporka'].height=y+190-cont_H;
H=document.body.scrollHeight;



}

}
else {

H=document.height;
//alert(H);
cont_H=document.ids.table_content.height;
//alert(cont_H);
document.ids['rasporka'].height=H-cont_H;
H=document.height;

document.images['bg_dark'].height=H-400-179;	
document.ids['bg_dark_div'].style.top=400+179;	
if(H<700) {
document.ids.top.src="pics/0.gif";
}
y=0;
imgs=document.getElementById("point0");
y+=imgs.Top;
y+=15;
if((y+170)>H) {
document.ids['rasporka'].height=y+190-cont_H;
H=document.height;
}

}
Start_filter=1;


mask=document.all['mask_img'];

if(mask) {
mask.height=cont_H;
mask.width=document.body.offsetWidth;
//alert(mask.width);
}

}

function ButtonChange(name, namesrc){
	document.images[name].src = namesrc;
}

function BgChange(name, namesrc){

if (document.all) {	document.all[name].style.background = "url("+namesrc+")"; }
else { eval("document.ids."+name+".backgroundImage = \""+namesrc+"\""); }

}



function dateout() {
today = new Date();
a=''+((today.getDate()+1<10)?'0'+today.getDate():String(today.getDate()))+'.'+((today.getMonth()+1<10)?'0'+(today.getMonth()+1):String((today.getMonth()+1)))+'.'+String(today.getYear()).substr(String(today.getYear()).length-2,2);
document.write(a);
}


var opened=false;
function Open_Popup(pagesrc){
var a
var b 
a=20;
b=20;

features="top="+a+",left="+b+",width=450,height=450,toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,resizable=no";
if ((!opened)||(NewWin.closed)){
opened=true;
NewWin=window.open(pagesrc,"NewWindow",features);
NewWin.focus();
}
else{
	if ((opened)||(!NewWin.closed)){
	NewWin.location=pagesrc;
	NewWin.focus();
	}
}
}


var opened_info=false;
function Open_Info(pagesrc){
var a
var b 
a=20;
b=20;

features="top="+a+",left="+b+",width=101,height=73,toolbar=no,menubar=no,location=no,directories=no,scrollbars=no,resizable=no";
if ((!opened_info)||(NewInfo.closed)){
opened_info=true;
NewInfo=window.open(pagesrc,"Info",features);
NewInfo.focus();
}
else{
	if ((opened)||(!NewInfo.closed)){
	NewInfo.location=pagesrc;
	NewInfo.focus();
	}
}
}
//-->

