var margin_left = parseInt((screen.availWidth/2));
var margin_top = parseInt((screen.availHeight/2));

function init() {
  initLightbox();
	RandItem();
	//initLightbox;
	//ajax_properties();
}

function must_accept(check,element) {
	if($(check).checked==false) {
		$(element).style.display = 'none';
	} else {
		$(element).style.display = 'block';
	}
 return;
}

/*Timer*/
var countdownfrom=10
var currentsecond=countdownfrom+1
function countredirect(){
  if (currentsecond!=1){
    currentsecond-=1
  }
  else{
    return
  }
  setTimeout("countredirect()",1000)
}
/**/

function pageRedirect() {
	window.location=document.pageSelect.pageSel.options[document.pageSelect.pageSel.selectedIndex].value;
}