/*
	------------------------------------------------------------------------------
	Customizing Vars & Functs...
	(!) Important: This site is UTF-8 encoded.
	------------------------------------------------------------------------------
*/

var ShowDislc_ = true;
var ShowCopyText_ = "Copyright by Slovenian Chemical Society \xA9 1997-2008<br>";
var ShowLastMoif_ = "Last modified: March 2010.";

function init() {
	if (ShowDislc_) {
		document.getElementById("CopyRight").innerHTML = ShowCopyText_;
		document.getElementById("ContentChange").innerHTML = ShowLastMoif_;
		RedarawHeight();
	}
}
function RedarawHeight() {
	if (!document.all) { //Mozilla only + Head + Dummy
		if (document.getElementById('ContentChange').offsetTop + 90 + 25 < innerHeight) 
			document.getElementById('OneW').style.height = innerHeight;
	}
}
function popup(mylink, cover)
{
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, cover, 'width=500,height=490,left=50,top=50,resizable=yes,scrollbars=yes');
return false;
}

window.onload = init;