function setCookie(name, value, expire, path, domain, secur)
{
	$.cookie(name, value, {
	   expires : (expire) ? expire : 30,           		//expires in 10 days

	   path    : (path) ? path : '/',          			//The value of the path attribute of the cookie 
														//(default: path of page that created the cookie).

	   domain  : (domain) ? domain : '.nlpmania.ro',  	//The value of the domain attribute of the cookie
														//(default: domain of page that created the cookie).

	   secure  : (secur) ? secur : false          		//If set to true the secure attribute of the cookie
														//will be set and the cookie transmission will
														//require a secure protocol (defaults to false).
	});

}

function getCookie(name){
	return $.cookie(name);
}

$(document).ready(function() {
    

});

/*$(document).ready(function(){
    //setCookie("displayedPopover", '1', 1);
    //var displayedPopover = getCookie("displayedPopover");
    
    $('#abonat').submit(function(event){
        
        $.post(this.action, $(this).serialize(), function(returnData){
               //do something with returnData
        })

        
        console.log('form submit');
        return false; //do not submit form the normal way

    });

});*/
