// JavaScript Document
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable=no'
win = window.open(mypage,myname,settings)
}



function goNewWin(page,h,w,x,y) {

// Set height and width
var NewWinHeight=h;
var NewWinWidth=h;

// Place the window
var NewWinPutX=x;
var NewWinPutY=y;

//Get what is below onto one line

TheNewWin =window.open(page,'TheNewpop','fullscreen=no,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no');

//Get what is above onto one line

TheNewWin.resizeTo(NewWinHeight,NewWinWidth);
TheNewWin.moveTo(NewWinPutX,NewWinPutY);

}

function chgcursor(name,curstyle)
{
if(document.getElementById)
{
elm=document.getElementById(name.id);
elm.style.cursor=curstyle;

}
}

