function getClientWidth()
{
  return document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
}

function block_right(){
	if(getCookie('block_right_close')!=1){
		if (getClientWidth()<1280) { $('#deliver').addClass('hidden_block'); }
		if (getClientWidth()>1280) { $('#deliver').removeClass('hidden_block'); }
	}
	return;
}

function block_right_close(){
		setCookie('block_right_close',1);
		 $('#deliver').addClass('hidden_block');
		 return;
}

$('document').ready(function() {
								setInterval("block_right()",13);

});/*
               					  $('#float_trigger').bind('click', clickHandler);
	                              $('#basketlink').bind('click', basketHandler);
								  $('#basketclose').bind('click', basketClose);
								  
			                      $('#garantlink').bind('click', garantHandler);
								  $('#garantclose').bind('click', garantClose);

								  $('#productlink').bind('click', productHandler);
								  $('#productclose').bind('click', productClose);

								  $('#closedeliver').bind('click', deliverClose);

								  //$('#bouqet_link').bind('click', bouqetClick);

                              }  );


  function basketHandler(eventObj) 
  {
  	$('#basket').removeClass('hidden');
  }

  function basketClose(eventObj) 
  {
  	$('#basket').addClass('hidden');
  }


  function garantHandler(eventObj) 
  {
  	$('#garant').removeClass('hidden');
  }

  function garantClose(eventObj) 
  {
  	$('#garant').addClass('hidden');
  }
  
  function productHandler(eventObj) 
  {
  	$('#product').removeClass('hidden');
  }

  function productClose(eventObj) 
  {
  	$('#product').addClass('hidden');
  }
  
  function deliverClose(eventObj) 
  {
  	$('#deliver').addClass('hidden');
  }
*/
var id_1=1;

function blok_je(){

	document.getElementById(blok_id).style.display='block';

}

function blok_nema(){

	document.getElementById(blok_id).style.display='none';

}
