var timer = null;

var fadeTimer = null;
var fadeValue = .0;

function infoTimer()
{
	path = getPath();
	isPreview = getIsPreview();
	setRequest(path + 'infoContent.php', 'isPreview=' + isPreview, 'infoContent');
	timer = setTimeout("infoTimer()", 5000);
}

function stopInfoTimer()
{
	clearTimeout(timer);
}

function getPath()
{
	path = document.getElementById('infoPnlScriptPath').innerHTML;

	return path;
}

function getIsPreview()
{
	preview = document.getElementById('infoPnlScriptIsPreview').innerHTML;

	return preview;
}

function fadeText(fade)
{

}

function sleep(milliseconds) {
	var start = new Date().getTime();
	for ( var i = 0; i < 1e7; i++) {
		if ((new Date().getTime() - start) > milliseconds) {
			break;
		}
	}
}


