function getElementsByClass(searchClass, domNode, tagName) {
	if (domNode == null) domNode = document;
	if (tagName == null) tagName = '*';
	var el = new Array();
	var tags = domNode.getElementsByTagName(tagName);
	var tcl = " "+searchClass+" ";
	for(i=0,j=0; i<tags.length; i++) {
		var test = " " + tags[i].className + " ";
		if (test.indexOf(tcl) != -1) el[j++] = tags[i];
	}
	return el;
}
var curvyCornersNoAutoScan = true;

function popitup(sElement, iWidth, iHeight) {
	newpopup = window.open(document.getElementById(sElement).href, 'popup', 'height=' + iHeight + ', width=' + iWidth);
	if (window.focus) { newpopup.focus(); }
	return false;
}

