function findDOM(objectID, withstyle) {
	if (withstyle) {
		if 
			(document.getElementById) return (document.getElementById(objectID).style) ; 
		else if 
			(document.all) return (document.all[objectID].style); 
		else if 
			((navigator.appName.indexOf('Netscape') != -1) && (parseInt(navigator.appVersion) == 4)) return (document.layers[objectID]); 
	}
	else {
		if 
			(document.getElementById) return (document.getElementById(objectID)) ; 
		else if 
			(document.all) return (document.all[objectID]); 
		else if 
			((navigator.appName.indexOf('Netscape') != -1) && (parseInt(navigator.appVersion) == 4)) return (document.layers[objectID]); 
	}
}

var window1 = null;
function openWindow(contentURL,windowWidth,windowHeight,leftPos,topPos,scrol) 
{	
	if (scrol == null)
		{	
		sizePos = 'height=' + windowHeight + ',width=' + windowWidth 
			+ ',left=' + leftPos + ',top=' + topPos + ',resizable=' + '1' + ',toolbar=' + '1';	
		window1 = window.open(contentURL,null,sizePos);		
		window1.focus()
		}
	else 
		{
		sizePos = 'height=' + windowHeight + ',width=' + windowWidth 
			+ ',left=' + leftPos + ',top=' + topPos + ',resizable=' + '1' + ',toolbar=' + '1'
			+ ',scrollbars=' + '1';	
		window1 = window.open(contentURL,null,sizePos);		
		window1.focus()
		}		
}
