
    function popout(url, targetWin, h, w, bTouchUrl)
    {
        if (bTouchUrl)
        {
            if (bTouchUrl == 1)
            {
                url += "&z=" + uniqueUrl;
                uniqueUrl++;
            }
        }
        if (h && h > 0)
            height=h;
        else
            height=400;
        if (w && w > 0)
            width=w;
        else
            width=610;
        ViewWin=window.open(url, targetWin,'width='+width+',height='+height+',resizable=yes,menubar=no,scrollbars=yes,status=no' );
    }


function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		menustripe_over = newImage("http://www.auburn.edu/main/images/menustripe_over.gif");
		white = newImage("http://www.auburn.edu/main/images/white.gif");
	 	preloadFlag = true;
	}
}



function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

function makeItVisible(id, event)

{
 
 var divObj = document.getElementById(id); 
 document.getElementById(id).style.left = (document.body.scrollLeft +event.clientX) + 10+"px";
if (document.documentElement )
document.getElementById(id).style.top = (document.documentElement.scrollTop +event.clientY) + 10+"px";
else 
document.getElementById(id).style.top = (document.body.scrollTop +event.clientY) + 10+"px";

document.getElementById(id).style.visibility = 'visible';
document.getElementById(id).style.display = 'block';

}
function hideHelp(id)
{
document.getElementById(id).style.visibility = 'hidden';
}


