		    
		    function openNewWindow1(URLtoOpen, windowName) 
			{ 
			    newWindow=window.open(URLtoOpen, windowName, 'height=540,width=720,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no');  
			    return false;
				//function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, 'height=540,width=720'); } 
			// -->
			
			}
		    
		    
			function openNewWindow(URLtoOpen, windowName, windowFeatures) 
			{ newWindow=window.open(URLtoOpen, windowName, 'height=540,width=720,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no'); 
			 
			} 
			
				//function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, 'height=540,width=720'); } 
			// -->
			
			function openPrintWindow(url, winName, width, height) {
        	var winFeatures = '';
	            winFeatures = appendKeyValuePair(winFeatures, 'width', width);
	            winFeatures = appendKeyValuePair(winFeatures, 'height', height);
	            winFeatures = appendKeyValuePair(winFeatures, 'menubar', "yes");
	            winFeatures = appendKeyValuePair(winFeatures, 'toolbar', "yes");
	            winFeatures = appendKeyValuePair(winFeatures, 'scrollbars', "yes");
	            window.open(url, winName, winFeatures);
	            return false;
            }
            
            function openPopupWindow(url, winName, width, height) {
        	var winFeatures = '';
	            winFeatures = appendKeyValuePair(winFeatures, 'width', width);
	            winFeatures = appendKeyValuePair(winFeatures, 'height', height);
	            winFeatures = appendKeyValuePair(winFeatures, 'menubar', "yes");
	            winFeatures = appendKeyValuePair(winFeatures, 'toolbar', "yes");
	            winFeatures = appendKeyValuePair(winFeatures, 'scrollbars', "yes");
	            window.open(url, winName, winFeatures);
	            return false;
            }

            function appendKeyValuePair(s, key, value) {
	            if (s != '') s += ', ';
	            s += key + '=' + value;
	            return s;
            }

