
function openWindow(windowSource,windowName)	{
windowSource = windowSource + '&varPassedDlrId=4822';
screenHeight=screen.availHeight;
screenWidth=screen.availWidth;
positionX = (screenWidth / 2) - 292;
positionY = (screenHeight / 2) - 200;
params = 'left='+positionX+',top='+positionY+',height=400,width=655,directories=no,menubar=no,resizable=no,scrollbars=yes,titlebar=no,toolbar=no,alwaysraised=yes';
window.open(windowSource,windowName,params);
}

function openWindowUCL(windowSource)	{
windowSource = windowSource + '&varPassedDlrId=4822&state=DLRWS';
screenHeight=screen.availHeight;
screenWidth=screen.availWidth;
positionX = (screenWidth / 2) - 525;
positionY = (screenHeight / 2) - 375;
params = 'left='+positionX+',top='+positionY+',height=700,width=800,directories=no,menubar=no,resizable=no,scrollbars=yes,titlebar=no,toolbar=no,alwaysraised=yes';
window.open(windowSource,"UCL",params);
}

function openExternalLink(windowSource)	{
screenHeight=screen.availHeight;
screenWidth=screen.availWidth;
positionX = (screenWidth / 2) - 400;
positionY = (screenHeight / 2) - 300;
params = 'left='+positionX+',top='+positionY+',height=600,width=800,directories=no,menubar=no,resizable=no,scrollbars=yes,titlebar=no,toolbar=no,alwaysraised=yes';
//		window.open(windowSource,"UCL",params);
window.open("app_externalWarning3a63.php?urlFromSite="+windowSource,"UCL",params);
}

/* More Generic version */
function openExternalLinkGen(windowSource)	{
screenHeight=screen.availHeight;
screenWidth=screen.availWidth;
positionX = (screenWidth / 2) - 400;
positionY = (screenHeight / 2) - 300;
params = 'left='+positionX+',top='+positionY+',height=600,width=800,directories=no,menubar=no,resizable=no,scrollbars=yes,titlebar=no,toolbar=no,alwaysraised=yes';
window.open("app_externalWarningGen3a63.php?urlFromSite="+windowSource,"UCL",params);
}



function buttRoll(id,src,state){
var butt = document.getElementById(id);
butt.src = "graphics/"+src+"_"+state+".gif";
}

function f_onBg(src,clsName){
src.style.cursor = 'hand';
src.className = clsName;
}

function f_offBg(src,clsName){
src.style.cursor = 'default';
src.className = clsName;
}

