// launch new windows
function loadPopUpContent(strURL,strTitle,intWidth,intHeight)
{
	var newWin;
	newWin = window.open(strURL,strTitle,"width=" + intWidth + ",height=" + intHeight + ",scrollbars,resizable,menubar=1");

}

function toggleImageByControlId(imgCtrlId, onText, offText){
	if(imgCtrlId!=null) toggleImageHighlight(document.getElementById(imgCtrlId, onText, offText));
	return true;
}
function toggleImageHighlight(imgCtrl, onText, offText){
	if(imgCtrl!=null){
		var imgSrc = imgCtrl.src;
		if(src.length>0){
			if(src.indexOf(offText,1)>-1)
				src.replace(offText, onText);
			else
				src.replace(onText, offText);
		}
	}
	return true;
}