function wlow(vobj)
{
	theobject = vobj;
	lowlighting = setInterval("lowlightit(theobject)", 50);
}

function whigh(vobj)
{
	clearInterval(lowlighting);
	vobj.filters.alpha.opacity = 100;
}

function lowlightit(vcur)
{
	if (vcur.filters.alpha.opacity>40)
	{
		vcur.filters.alpha.opacity-=10;
	}
	else
	{
		if (window.lowlighting)
		{
			clearInterval(lowlighting);
		}
	} 
}

function pageScroll_R() 
{
	document.getElementById('scroller').scrollLeft+=10;
	scrolldelay = setTimeout("pageScroll_R()",50);
}

function pageScroll_L() 
{
	document.getElementById('scroller').scrollLeft-=10;
	scrolldelay = setTimeout("pageScroll_L()",50);
}

function pageScroll_reset() 
{
var node=document.getElementById('scroller');
node.scrollLeft=0;
}

function pageScroll_to(pos) 
{
var node=document.getElementById('scroller');
node.scrollLeft=newpos;
}

function swapimage(img_name)
{
	document.id_img.src = img_name;
}

function CheckMailCode(dummy)
{
	if (document.SendMailForm.verifycode.value == dummy)
	{
		return(true);
	}
	else
	{
		alert("Въведете коректно цифрите!");
		return(false);
	}
	return(true);
}
