var x=0;
var l=0;

function check_submit(frm)
{
	if(frm.q.value=='')
		return false;
	return true;
}

function downloading()
{
	var bar = document.getElementById('bar');
	if(bar) 
	{
		if (x==0)
		{
			l = l + 2;
		}
		if (l>32 || x>130) 
		{
			x = x + 2;
		}
		if (x>130)
		{
			l = l - 2;
		}
		if (x>130 && l==0)
		{	
			x=0;
		}
		bar.style.left = x;
		bar.style.width = l;
	}
}

function start_ani()
{
	setInterval(downloading,20);
}

function start_dl(f)
{
//	document.write('<iframe style="visibility:hidden" height="0" width="0" src="http://www.shareup.com' + f + '"></iframe>');
	location.href = 'http://www.shareup.com' + f;
}
function reca()
{
	document.write('<p style="margin-top:0px;margin-bottom:0px;padding:3px 0px 3px 20px;font-size:18px">Recommended: <a href="http://www.liutilities.com/affcb/?id=DSgen&aff=2507&xat=gen" rel="nofollow" target="_blank">Scan your PC for outdated drivers</a></p>');
}