function check_law_accepted(obj_id) {
	if (jQuery("#" + obj_id).is(":checked")) { 
		return true;
	} else {
		alert("Sie müssen die Teilnahmebedingungen akzeptieren!");  
		return false;
	}
} 

function LotteryActionStack()	//Creating Stack Object
{
    // Create an empty array of cards.
    this.actions = new Array();  //cards array inside stack object
    this.push  = pushdata;      //Call pushdata function on push operation
    this.pop   = popdata;	     //Call popdata function on pop operation
    this.get = showStackData; //Call showStackData function on printstack operation
}

function pushdata(data)
{
    this.actions.push(data);
}

function popdata()
{
    return this.actions.pop();			
}

function showStackData()
{
    return this.actions;
}