// JavaScript Document
function PopupPic(sPicURL) { 
 window.open( "http://www.navada.net/univofbmx/univofbmx/popup.htm?"+sPicURL, "",  
"resizable=1,HEIGHT=200,WIDTH=400,screenX=200,screenY=255,top=200,left=250");  
}
function popimage(imagesrc,winwidth,winheight){

var look

	if (document.all)
		var xMax = screen.width, yMax = screen.height;
	else
		if (document.layers)
			var xMax = window.outerWidth, yMax = window.outerHeight;
		else
			var xMax = 800, yMax=600;
			
	var xOffset = (xMax - winwidth)/2, yOffset = (yMax - winheight)/2;
 
 look='width='+winwidth+',height='+winheight+',screenX='+xOffset+',screenY='+yOffset+',top='+yOffset+',left='+xOffset+','
 
popwin=window.open("","",look)
popwin.document.open()
popwin.document.write('<title>UnivOfBMX</title><body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFF99" text="#FFFFFF" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF"><div align="left"><a href="JavaScript:parent.close()"><img src="'+imagesrc+'" border="0"></a></div></body>')
popwin.document.close()
}

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

function openWindow(url) 
{newWind = window.open(url, 'univofBMX', 'scrollbars,left=0,top=0','maximize=true');
if (newWind.opener == null)
        {newWind.opener = window;}
        else
        {newWind.focus();}
        onerror=null
}
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]+"'");
}