function lay3_DoFSCommand(command, args) 
{
	
}

function lay2_DoFSCommand(command, args) 
{
	if(command=='stop')
	{
		closeLayer();
	}
}
function lay1_DoFSCommand(command, args) 
{
	
}

document.write("<SCR"+"IPT LANGUAGE=VBScript>\n	on error resume next\nSub lay1_FSCommand(ByVal command, ByVal args)\n	call lay1_DoFSCommand(command, args)\nend sub\nSub lay2_FSCommand(ByVal command, ByVal args)\n	call lay2_DoFSCommand(command, args)\nend sub\nSub lay3_FSCommand(ByVal command, ByVal args)\n	call lay3_DoFSCommand(command, args)\nend sub\n<"+"/SCR"+"IPT>\n");



function setCookie(name, value, expires, path, domain, secure) 
{
	document.cookie= name + "=" + escape(value) +
	((expires) ? "; expires=" + expires.toGMTString() : "") +
	((path) ? "; path=" + path : "") +
	((domain) ? "; domain=" + domain : "") +
	((secure) ? "; secure" : "");
}
function getCookie(name)
{
	var dc = document.cookie;
	var prefix = name + "=";
	var begin = dc.indexOf("; " + prefix);
	if (begin == -1) 
	{
		begin = dc.indexOf(prefix);
		if (begin != 0) return null;
    } 
    else 
    {
        begin += 2;
    }
    var end = document.cookie.indexOf(";", begin);
    if (end == -1) 
    {
        end = dc.length;
    }
    return unescape(dc.substring(begin + prefix.length, end));
}
function deleteCookie(name, path, domain) 
{
    if (getCookie(name)) 
    {
        document.cookie = name + "=" +
		((path) ? "; path=" + path : "") +
		((domain) ? "; domain=" + domain : "") +
		"; expires=Thu, 01-Jan-70 00:00:01 GMT";
    }
}
function testCook()
{
	var isCookie;
	isCookie=getCookie('testcookie');
	if(isCookie=='cookieenabled') return true;
	else return false;
}

function showLay()
{
	ltim=setTimeout('shLay();',1000);
}
function shLay(wt)
{
	if(banbig!='')
	{
		document.getElementById('smalllay').style.display='none';
		document.getElementById('biglay2').style.display='none';
		document.getElementById('biglay1').style.display='none';
		if(!wt)
		{
			document.getElementById('biglay2').style.display='none';
			document.getElementById('biglay1').style.display='block';
		}
		else
		{
			document.getElementById('biglay2').style.display='block';
			document.getElementById('biglay1').style.display='none';
		}
		document.getElementById('biglay').style.display='block';
		setTimeout('closeLayer();',17000);
		lShowed=1;
	}
}
function clrTimBL()
{
	if(lShowed==0) clearTimeout(ltim);
}
function closeLayer()
{
	document.getElementById('smalllay').style.display='block';
	document.getElementById('biglay').style.display='none';
	lShowed=0;
}
var ltim;
var lShowed=0;
var bla='';
var blay=0;
var appnd='';
var expd= new Date();
document.write(bla);
if(blay==1) 
{
	if(testCook()==true && getCookie('dolay')==null && banbig!='')
	{
		setCookie('dolay', 'dont', expd, '/');
		shLay('2');
	}
}
