// JavaScript Document

function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

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

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 - 450;
		var wint = 0;
		var winh = screen.height - 46;
            newWindow = window.open(myWindow,'legal','height='+winh+',width=450,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();
	 }

