function loopback()
{

}

var prevScrollBars; // 
function insertFlash(width,height,path,bgcolor,align,id,no_transp,stretch_y)
{

	document.write('<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="'+width+'" height="'+height+'" id="'+id+'" align="middle">');
	document.write('<param name="allowScriptAccess" value="sameDomain" />');
	document.write('<param name="movie" value="'+path+'" />');
	document.write('<param name="quality" value="high" />');
	document.write('<param name="menu" value="false" />');


	if (no_transp != 1) 
		{document.write('<param name="wmode" value="transparent" />');}
	if (stretch_y == 1) 
		{document.write('<param name="scale" value="exactFit" />');}



	document.write('<param name="bgcolor" value="'+bgcolor+'" />');
	document.write('<embed src="'+path+'" quality="high" ');

	if (no_transp != 1) 
		{document.write(' wmode="transparent" ');}
	if (stretch_y == 1) 
		{document.write(' scale = "exactFit" ');}


	document.write(' bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+id+'" align="middle" menu="false" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');

	document.write('</object>');
}


function checker(doIt)
{               

		toHeight = document.body.scrollHeight;

		document.getElementById("level1").style.height = toHeight;
		document.getElementById("rightColumnLevel3").style.height = toHeight;
		document.getElementById("leftColumnLevel2").style.height = toHeight;
		var bodyClientWidth = document.body.clientWidth;


if (navigator.userAgent.indexOf ("MSIE") != -1)
		{
		var param = 850;
		var param1 = 835;
		var param2 = 850;
		}
else
		{
		var param = 835;
		var param1 = 835;
		var param2 = 835;
		}
	
		if (bodyClientWidth > param)
			{
			document.getElementById("rightColumnLevel2").style.width = bodyClientWidth - param1;
			document.getElementById("rightColumnLevel3").style.width = bodyClientWidth - param2;
			}



document.getElementById("statue").style.display = 'block';
	
}



function showLarge(theURL,altstr,w,h,s) {
        var width=w;
        var height=h;
        var top=(screen.height) ? (screen.height-height)/2 : 0;
        var left=(screen.width) ? (screen.width-width)/2 : 0;
        var features = '';
        if (s==1) {features = 'scrollbars=1,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==2) {features = 'scrollbars=1,toolbar=1,status=1,resizable=1,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==0) {features = 'scrollbars=0,toolbar=1,status=0,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==3) {features = 'scrollbars=0,toolbar=0,status=0,resizable=0,width='+width+',height='+height+',top='+top+',left='+left;};
	myWin =  window.open(theURL,"_blank",features);
	myWin.document.open();
	myWin.document.writeln('<html><head>');
	myWin.document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">');
	myWin.document.writeln('<title>'+altstr+'</title></head>');
	myWin.document.writeln('<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
	myWin.document.writeln('<center><a href="javascript:window.close();"><img src="'+theURL+'" alt="'+altstr+'" border=0 width=' + w + ' height=' + h + '></a></center>');
	myWin.document.writeln('</body></html>');
	myWin.document.close();

}


function popUpWin(theURL,altstr,w,h,s) {
        var width=w;
        var height=h;
        var top=(screen.height) ? (screen.height-height)/2 : 0;
        var left=(screen.width) ? (screen.width-width)/2 : 0;
        var features = '';
        if (s==1) {features = 'scrollbars=1,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==2) {features = 'scrollbars=1,toolbar=1,status=1,resizable=1,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==0) {features = 'scrollbars=0,toolbar=1,status=0,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==3) {features = 'scrollbars=0,toolbar=0,status=0,resizable=0,width='+width+',height='+height+',top='+top+',left='+left;};
	myWin =  window.open(theURL,"_blank",features);
}



function showPreviewWindow(str,altstr,w,h,s) {
        var width=w;
        var height=h;
        var top=(screen.height) ? (screen.height-height)/2 : 0;
        var left=(screen.width) ? (screen.width-width)/2 : 0;
        var features = '';
        if (s==1) {features = 'scrollbars=1,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==2) {features = 'scrollbars=1,toolbar=1,status=1,resizable=1,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==0) {features = 'scrollbars=0,toolbar=1,status=0,width='+width+',height='+height+',top='+top+',left='+left;};
	  if (s==3) {features = 'scrollbars=0,toolbar=0,status=0,resizable=0,width='+width+',height='+height+',top='+top+',left='+left;};
	myWin =  window.open('',"_blank",features);
	myWin.document.open();
	myWin.document.writeln('<html><head>');
	myWin.document.writeln('<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">');
	myWin.document.writeln('<script type="text/javascript" src="/funcs.js"></script>');
	myWin.document.writeln('<style type="text/css" media="screen, projection, print">@import url("/style.css");</style>');
	myWin.document.writeln('<title>'+altstr+'</title></head>');
	myWin.document.writeln('<body bgcolor="#FFFFFF" leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>');
	myWin.document.writeln(str);
	myWin.document.writeln('</body></html>');
	myWin.document.close();

}



