

var win = null;

function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings='height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}



/*
setTimeout ("showTitle()",1*1000); // 1 сек.
*/



//======================


function OpenMainWin1(){

Win1 = NewWindow('../mainwin.html','mainwin','800','400',1) ;
}





function OpenMainLink1(){
s="<A HREF=\"javascript:OpenMainWin1()\" class=\"link14\" onMouseOver=\"window.status='Дополнительно рекомендуем!';return true\"	onMouseOut=\"window.status='';return true\" title=\"Дополнительно рекомендуем!\">Рекомендуем</A>"
document.write(s);
}



// ============================


/*
setTimeout ("OpenPicWin1()",30*1000); // 30 сек.

function OpenPicWin1()

{
Win1 = NewWindow('readme01.html','pics','600','110',0) ;
setTimeout("OpenPicWin2()", 23*1000);
}

function OpenPicWin2()

{
NewWindow('readme02.html','pics2','600','110',0) ;
setTimeout("OpenPicWin3()", 22*1000);
} 

function OpenPicWin3()

{
NewWindow('readme03.html','pics3','600','110',0) ;
setTimeout("OpenPicWin1()", 24*1000);
} 
*/

//===================================



function openBanner01(){
s="<a href=\"#\"><img src=\"../banner/468x60_1.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function openBanner02(){
s="<a href=\"#\"><img src=\"../banner/468x60_2.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}


function openBannerAll(){
s="<div align=\"center\"><SCRIPT>openBanner01();openBanner02();</SCRIPT></div><HR/>"
document.write(s);
}


// ========================================

function Account01(){
s="<a href=\"#\"><img src=\"../banner/88x31_1.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account02(){
s="<a href=\"#\"><img src=\"../banner/88x31_2.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account03(){
s="<a href=\"#\"><img src=\"../banner/88x31_3.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account04(){
s="<a href=\"#\"><img src=\"../banner/88x31_4.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account05(){
s="<a href=\"#\"><img src=\"../banner/88x31_5.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}


function Account06(){
s="<a href=\"#\"><img src=\"../banner/88x31_6.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account07(){
s="<a href=\"#\"><img src=\"../banner/88x31_7.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account08(){
s="<a href=\"#\"><img src=\"../banner/88x31_8.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}

function Account09(){
s="<a href=\"#\"><img src=\"../banner/88x31_9.gif\" border=\"0\"></a>&nbsp;"
document.write(s);
}




function AccountAll(){
s="<div align=\"center\"><SCRIPT>Account01();Account02();Account03();Account04();Account05();Account06();Account07();Account08();Account09();</SCRIPT></div><HR/>   "
document.write(s);
}






// ============================


function Search(){
    s="<form id=\"searchbox_015745939455911147905:akbe3hcmadu\" action=\"http://google.com/cse\"><input type=\"hidden\" name=\"cx\" value=\"015745939455911147905:akbe3hcmadu\" /><input type=\"hidden\" name=\"cof\" value=\"FORID:0\" /><input name=\"q\" type=\"text\" maxlength=\"160\" size=\"50\" />&nbsp;&nbsp;&nbsp;<input type=\"submit\" name=\"sa\" value=\"Найти\" /></form>"
    document.write(s);
}

  
/*
function Search(){
    s="<form name=\"web\" method=\"get\" action=\"http://web03.org/mdbooks/temp.html\"><input type=\"hidden\" name=\"rpt\" value=\"rad\" /><input type=\"text\" name=\"text\" size=\"50\" maxlength=\"160\" />&nbsp;&nbsp;&nbsp;<input type=\"submit\" value=\"Найти!\" /></form>"
    document.write(s);
}
*/



/*
<form name="web" method="get" action="http://www.yandex.ru/yandsearch">
<input type="hidden" name="rpt" value="rad" />
<input type="text" name="text" size="50" maxlength="160" />
<input type="submit" value="Найти!" />
</form>
*/


// ===================================



function fndown(){

<!--LiveInternet counter--><script type="text/javascript"><!--
document.write('<a href="http://www.liveinternet.ru/click" '+
'target=_blank><img src="http://counter.yadro.ru/hit?t44.1;r'+
escape(document.referrer)+((typeof(screen)=='undefined')?'':
';s'+screen.width+'*'+screen.height+'*'+(screen.colorDepth?
screen.colorDepth:screen.pixelDepth))+';u'+escape(document.URL)+
';'+Math.random()+
'" alt="" title="LiveInternet" '+
'border=0 width=31 height=31><\/a>')//--></script><!--/LiveInternet-->

} 


// ========================================
    

function mUs1(){
 
    var mbase="web03info";
    s="<A href=\"mai" + "lto:"+mbase+"" + "&#64;" + "g&#109;ail&#46;c&#111;m\"><IMG src=\"../img/mus.gif\" BORDER=0></A>"
    document.write(s);
    }    

function mUs2(){
 
    var mbase="web03info";
    s="<A href=\"mai" + "lto:"+mbase+"" + "&#64;" + "g&#109;ail&#46;c&#111;m\"><IMG src=\"../img/mus.gif\" BORDER=0></A>"
    document.write(s);
    }    




// ============================


function showFlash(o){
	var bg,q,s,v;
	if(o.bgcolor){bg=o.bgcolor;}else{bg="#FFFFFF";}
	if(o.quality){q=o.quality;}else{q="high";}
	if(o.scale){s=o.scale;}else{s="noscale";}
	if(o.ver){v=o.ver;}else{v=6;}
	var str='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='+v+',0,0,0" ';
	str+='id="'+o.id+'" ';
	if(o.base){str+='base="'+o.base+'" ';}
	if(o.align){str+='align="'+o.align+'" ';}
	str+='width="'+o.width+'" height="'+o.height+'"><param name="movie" value="'+o.name+'"/><param name="bgcolor" value="'+bg+'"/><param name="quality" value="'+q+'"/>';
	if(o.flashvars){str+='<param name="flashvars" value="'+o.flashvars+'"/>';}
	if(o.salign){str+='<param name="salign" value="'+o.salign+'"/>';}
	str+='<param name="scale" value="'+s+'"/><embed type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" id="'+o.id+'-embed" src="'+o.name+'" bgcolor="'+bg+'" ';
	if(o.flashvars){str+='flashvars="'+o.flashvars+'" ';}
	str+='quality="'+q+'" ';
	if(o.base){str+='base="'+o.base+'" ';}
	if(o.salign){str+='salign="'+o.salign+'" ';}
	str+='scale="'+s+'" width="'+o.width+'" height="'+o.height+'"></embed></object>';
	document.writeln(str);
}


// ================================

function bn_top1(){
	var o = {};
	o.bgcolor = "#A5A5A5";
	o.width = "140";
	o.height = "70";
	o.name = "../flash/bn_top1.swf";
	o.id = "bn_top1";
	o.quality = "high";
	o.salign = "";
	o.align = "";
	showFlash (o);
}

function bn_top2(){
	var o = {};
	o.bgcolor = "#cccccc";
	o.width = "220";
	o.height = "50";
	o.name = "../flash/bn_top2.swf";
	o.id = "bn_top2";
	o.quality = "high";
	o.salign = "";
	o.align = "";
	showFlash (o);
}

// ================================


function bn_down1(){
	var o = {};
	o.bgcolor = "#F0F0F0";
	o.width = "600";
	o.height = "25";
	o.name = "../flash/bn_down1.swf";
	o.id = "bn_top2";
	o.quality = "high";
	o.salign = "";
	o.align = "";
	showFlash (o);
}




function bn_down2(){
	var o = {};
	o.bgcolor = "#F0F0F0";
	o.width = "778";
	o.height = "97";
	o.name = "../flash/bn_down2.swf";
	o.id = "bn_down2";
	o.quality = "high";
	o.salign = "";
	o.align = "";
	showFlash (o);
}


function bn_down3(){
	var o = {};
	o.bgcolor = "#F0F0F0";
	o.width = "778";
	o.height = "25";
	o.name = "../flash/bn_down3.swf";
	o.id = "bn_top2";
	o.quality = "high";
	o.salign = "";
	o.align = "";
	showFlash (o);
}



// === Flash конец


// ================================


function NothingHere()
{
    document.write('<HR/><TABLE border="1" style="width:100%"><TR><TD>');
    document.write('<P class="p-copyright">Информация на сайте предоставляется исключительно в ознакомительных целях</P>');
    document.write('</TD></TR></TABLE>');
}


function Kitab()
{
NothingHere() ;
} 


//======================================================




// сайт Фалеева
function Faleev()
{
    document.write('<HR/><TABLE border="1" style="width:100%"><TR><TD>');
    document.write('<P class="p-copyright">Школа коррекции тела Алексея Фалеева <a href="http://li.ru/go?faleev.ru">faleev.ru</a></P>');
    document.write('</TD></TR></TABLE>');
}


// сайт Малахова
function Malahov()
{
    document.write('<HR/><TABLE border="1" style="width:100%"><TR><TD>');
    document.write('<P class="p-copyright">Официальный сайт Геннадия Малахова <a href="http://li.ru/go?www.genesha.ru">www.genesha.ru</a></P>');
    document.write('</TD></TR></TABLE>');
}




// Свияш Александр
function Sviyash() 
{
    document.write('<HR/><TABLE border="1" style="width:100%"><TR><TD>');
    document.write('<P class="p-copyright">Cайт Центра Александра Свияша "Разумный путь" <A href="http://li.ru/go?www.sviyash.ru">www.sviyash.ru</A></P>');
    document.write('</TD></TR></TABLE>');
}

// поставить ссылку на Cleargreen
function Cleargreen()
{
    document.write('<HR/><TABLE border="1" style="width:100%"><TR><TD>');
    document.write('<P class="p-copyright">Официальный сайт: <A target="_blank" href="http://li.ru/go?cleargreen.com/mirrors/russian/index.html">Cleargreen</A></P>');
    document.write('</TD></TR></TABLE>');
}

// поставить ссылку на Комаровский
function Komarovskij()
{
    document.write('<HR/><TABLE border="1" style="width:100%"><TR><TD>');
    document.write('<P class="p-copyright">Официальный сайт: <A target="_blank" href="http://www.komarovskiy.net"> известного врача-педиатра Доктора Комаровского. Клиника доктора Комаровского - «Клиником»</A></P>');
    document.write('</TD></TR></TABLE>');
}



