// JavaScript Document

///////////////////////////////////////////////////////////

function fullScreen(page,windowname) {
  
	var HPos = screen.height;
	var WPos = screen.width;
	var XPos = 0;
	var YPos = 0;
	var screenPosition = "left=" + XPos + ",top=" + YPos + ",height=" + HPos + ",width=" + WPos;
	var mywindow = window.open (page, windowname ,"toolbar=0,scrollbars=1,resizable=1," + screenPosition);

}

///////////////////////////////////////////////////////////

function QuadroLegal(myWindow){
    	var winl = screen.width - 436;
		var wint = 0;
		var winh = screen.height - 46;
            newWindow = window.open(myWindow,'legal','height='+winh+',width=436,top='+wint+',left='+winl+',scrollbars=yes');
			newWin.focus();
	 }


///////////////////////////////////////////////////////////

function QuadroPlus(myWindow){
    	var winl = 0;
		var wint = 0;
		var HPos = screen.height;
		var WPos = screen.width;
            newWindow = window.open(myWindow,'streetArt','height=660,width=360,top='+wint+',left='+winl+',scrollbars=no');
			newWin.focus();
	 }
	 

function QuadroCC(myWindow){
    	var winl = 0;
		var wint = 0;
		var winh = 600;
		var winw = 800;
            newWindow = window.open(myWindow,'creativecommons','height='+winh+',width='+winw+',top='+wint+',left='+winl+',scrollbars=yes');
			newWin.focus();
	 }

///////////////////////////////////////////////////////////

function QuadroHost(myWindow){
		var winh = 768;
		var winw = 1024;
		var winl = (screen.width-winw)/2;
   		var wint = (screen.height-winh)/2;
            newWindow = window.open(myWindow,'host','height='+winh+',width='+winw+',top='+wint+',left='+winl+',scrollbars=yes');
			newWin.focus();
	 }
