function appletLocalJournal(regkey) {
try {
	document.write ('<applet code="physicon.journal.LocalJournal.class" name="LocalJournal" width="1" height="1" background="008080" foreground="FFFFFF">');
	document.write ('<param name="jfname_regkey" value="'+regkey+'"/>');
	document.write ('</applet>');
}catch(e){}
}

function objectputflash (width, height, path) {
try {
	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 + '">');
	document.write ('<param name="movie" value="'+path+'"/>');						
	document.write ('<param name="quality" value="high"/>');
	document.write ('<param name="wmode" value="transparent"/>');
	document.write ('<param name="devicefont" value="true"/>');
	document.write ('<param name="bgcolor" value="#FFFFFF"/>');							
	document.write ('</object>');
	//document.write ('<a href="'+path+'" disabled="true"/>');
}catch(e){}	
}
function objectputtestbar (width, height, path) {
try {
	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" id="testbar" width="' + width + '" height="' + height + '">');
	document.write ('<param name="movie" value="'+path+'"/>');
	document.write ('<param name="quality" value="high"/>');
	document.write ('<param name="wmode" value="transparent"/>');
	document.write ('<param name="bgcolor" value="#FFFFFF"/>');
	document.write ('<param name="menu" value="false"/>');
	document.write ('</object>');
}catch(e){}
}

function addcounter_and_nav()
{
	body_el = document.getElementsByTagName("body");
	body_el[0].innerHTML += '<div style="clear:both;margin:20px 0;text-align:center;"><!--LiveInternet counter--><a href=\'http://www.liveinternet.ru/click\' target=_blank><img style="float:left;" src=\'http://counter.yadro.ru/hit?t12.3;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: показано число просмотров за 24"+" часа, посетителей за 24 часа и за сегодня' "+"border='0' width='88' height='31'><\/a>\n" + '<!--/LiveInternet-->Смотрите также: <a href="http://mathematics.ru/" target="_top">математика</a>, <a href="http://chemistry.ru/" target="_top">химия</a>, <a href="http://biology.ru/" target="_top">биология</a>, <a href="http://college.ru/astronomy/" target="_top">астрономия</a>. А также: <a href="http://college.ru/" target="_top">подготовка к ЕГЭ</a> на College.ru.</div>';
}

window.onload=addcounter_and_nav;
