// code by Identità http://www.identita.com.br

function openSiteBr(){
	var win, name, features, ref, top, left;
	if(screen.width == 1006){
		top = 0;
		left = 0;
	}else{
		top = parseInt(screen.availHeight - 583) / 2;
		left = parseInt(screen.availWidth - 1006) / 2;
	}
	win = "home_br.html";
	name = "home";
	features = "width="+ "1006"  +", height="+ "583" +", top="+top+", left="+left+", scrollbars=no";
	ref = window.open(win, name, features);
	ref.focus();
}

function openSiteIt(){
	var win, name, features, ref, top, left;
	if(screen.width == 1006){
		top = 0;
		left = 0;
	}else{
		top = parseInt(screen.availHeight - 583) / 2;
		left = parseInt(screen.availWidth - 1006) / 2;
	}
	win = "home_it.html";
	name = "home";
	features = "width="+ "1006"  +", height="+ "583" +", top="+top+", left="+left+", scrollbars=no";
	ref = window.open(win, name, features);
	ref.focus();
}

function openSiteEn(){
	var win, name, features, ref, top, left;
	if(screen.width == 1006){
		top = 0;
		left = 0;
	}else{
		top = parseInt(screen.availHeight - 583) / 2;
		left = parseInt(screen.availWidth - 1006) / 2;
	}
	win = "home_en.html";
	name = "home";
	features = "width="+ "1006"  +", height="+ "583" +", top="+top+", left="+left+", scrollbars=no";
	ref = window.open(win, name, features);
	ref.focus();
}

function openSiteRu(){
	var win, name, features, ref, top, left;
	if(screen.width == 1006){
		top = 0;
		left = 0;
	}else{
		top = parseInt(screen.availHeight - 583) / 2;
		left = parseInt(screen.availWidth - 1006) / 2;
	}
	win = "home_ru.html";
	name = "home";
	features = "width="+ "1006"  +", height="+ "583" +", top="+top+", left="+left+", scrollbars=no";
	ref = window.open(win, name, features);
	ref.focus();
}