        //-------    popImg()    --------------------------------------- 
        //--   Input : (iName) - the name of the large image to be shown in the popup 
        //--   Options : (pInfo) - These are for the base window settings when opened 
        //-------------------------------------------------------------- 
function DOMCall(name) {
	if (document.layers) 
		return document.layers[name];
	else if (document.all)
		return document.all[name];
	else if (document.getElementById)
		return document.getElementById(name);
}
	

        function popImg(iName) { 
           var pURL='/view/image.aspx?pi='+iName; 
                pInfo='toolbar=0,'; 
                pInfo+='location=0,'; 
                pInfo+='directories=0,'; 
                pInfo+='status=0,'; 
                pInfo+='menubar=0,'; 
                pInfo+='scrollbars=0,'; 
                pInfo+='resizable=0,'; 
                pInfo+='width=300,'; 
                pInfo+='height=300'; 
            enlargeWindow=window.open(pURL, 'bigPop', pInfo); 
            enlargeWindow.focus();
		 	return false;
        } 

        function popData(iName) { 
        
            var pURL=iName; //'/view/data.aspx?pi='+
                pInfo='toolbar=0,'; 
                pInfo+='location=0,'; 
                pInfo+='directories=0,'; 
                pInfo+='status=0,'; 
                pInfo+='menubar=0,'; 
                pInfo+='scrollbars=2,'; 
                pInfo+='resizable=1,'; 
                pInfo+='width=760,'; 
                pInfo+='height=500'; 
            enlargeWindow= window.open(pURL, 'bigPop', pInfo); 
            enlargeWindow.focus();
		 	return false;
        } 
        function popVideo(iName) { 
        
            var pURL=iName; //'/view/video.aspx?VID='+
                pInfo='toolbar=0,'; 
                pInfo+='location=0,'; 
                pInfo+='directories=0,'; 
                pInfo+='status=0,'; 
                pInfo+='menubar=0,'; 
                pInfo+='scrollbars=2,'; 
                pInfo+='resizable=1,'; 
                pInfo+='width=760,'; 
                pInfo+='height=500'; 
            enlargeWindow= window.open(pURL, 'bigPop', pInfo); 
            enlargeWindow.focus();
		 	return false;
        } 