$(document).ready(function () {
	if (typeof (css) === "string") {
		window.timer = new Timer();
	}
});
Timer = function () {
	jQuery("#Logo_text").attr('style', css);
	jQuery("#Logo_text").html(line);
	updateTimer(line);
};
function updateTimer(line) {
	if (--nTotal < 0) {
		return;
	}
	h = Math.floor(nTotal / 3600);
	m = Math.floor(nTotal / 60) - (h * 60);
	s = (nTotal - (h * 3600)) - (m * 60);
	var tline = line;
	tline = tline.replace(/\%UREN\%/, Math.floor(nTotal / 3600));
	tline = tline.replace(/\%MINUTEN\%/, Math.floor(nTotal / 60) - (h * 60));
	tline = tline.replace(/\%SECONDEN\%/, (nTotal - (h * 3600)) - (m * 60));
	jQuery("#Logo_text").html(tline);
	setTimeout("updateTimer('" + line + "')", 1000);
}
