// vzRestrictionIgnore
// version 0.1 BETA!
// 2010-03-04
// Copyright (c) 2010, marpeta
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// --------------------------------------------------------------------
//
// This is a Greasemonkey user script.  To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to "Install User Script".
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select "vzRestrictionIgnore", and click Uninstall.
//
// --------------------------------------------------------------------
//
// ==UserScript==
// @name          vzRestrictionIgnore
// @namespace     http://marpeta.lt/project/vzrestignore/
// @description   removing article read div from vz.lt
// @include       http://vz.lt/*
// @include       http://www.vz.lt/*
// ==/UserScript==

var logForm;
logForm = document.getElementById('articleLoginForm');
if (logForm)
{
	logForm.parentNode.removeChild(logForm);
	
	var divover;
	divover = document.getElementById('articleLoginOverlay');
	if (divover)
	{
		divover.parentNode.removeChild(divover);
	}
	
}

var nowd = new Date();
var futd = new Date(nowd.getFullYear()+1, nowd.getMonth(), nowd.getDate());
document.cookie = "VzLtReadingCookie=1;expires=" + futd.toGMTString() + ";" + ";";
document.cookie = "VzLtReadingCookieArticles=a|b|c;expires=" + futd.toGMTString() + ";" + ";";
var futstr = futd.getFullYear() + ".12.31 23:59:59";	
document.cookie = "VzLtReadingCookieExpires=" + futstr + ";expires=" + futd.toGMTString() + ";" + ";";


//
// ChangeLog
// 2010-03-04 - 0.1 - MAR - initial release
//
