// Abre TELA 1280 x 1024
function OpenWindow(url){
	w=screen.width;
	h=screen.height;
	LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
	TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
	window.open(url,"DESCONSTRUTORA","fullscreen=yes, toolbar=no, titlebar=no, location=no, status=no, menubar=no, top="+TopPosition+" ,left="+LeftPosition+" ,height="+h+", width="+w);
}

function OpenBrie(){
	window.open("brie_pop.html","DESCONSTRUTORA - Briefing");
}

function closeWindow(){
	window.close()
}

function shake_x(n){
	if (self.moveBy) { 
		for (i = 30; i > 0; i--) { 
			for (j = n; j > 0; j--) { 
				self.moveBy(i,0); 
				self.moveBy(-i,0); 
			}
		} 
	} 
}
/*
// Função Shake
function shake_x(n) { 
	//var bro=navigator.appName;
	if(bro.indexOf("Net"==-1)){
		if (self.moveBy) { 
				for (i = 30; i > 0; i--) { 
					for (j = n; j > 0; j--) { 
						self.moveBy(i,0); 
						self.moveBy(-i,0); 
					} 
				} 
			} 
		}
	}else{
		var shakeIndex=document.index_;
		shakeIndex.shakeFFF();
	}
}*/