
// Note: This function only renders the beginning DIV tag. You need to input the content and the close DIV tag.
function renderPNGBG(name,path,style,repeat,transform) {
	alert('como?');
	document.write('<div id="' + name + '" style="' + style);
	if (pngAlpha) { document.write('filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=\'' + path + name + '.png\', sizingMethod=\'' + transform + '\');'); }
	else { document.write('background:url(' + path + name + '.png) left top ' + repeat + ';'); }
	document.write('">');
}

function adjustDivs(firstID,secondID,firstPadding,secondPadding,firstIDset,secondIDset)
{
	var fHeight = xHeight(firstID);
	var fHeightAdd = (firstPadding);
	var fHeightNew = (parseInt(fHeight) + parseInt(fHeightAdd));
	var sHeight = xHeight(secondID);
	var sHeightAdd = (secondPadding);
	var sHeightNew = (parseInt(sHeight) + parseInt(sHeightAdd));
	var maxHeight = Math.max(fHeightNew,sHeightNew);

	xHeight(firstIDset, maxHeight);
	xHeight(secondIDset, maxHeight);
}
function openCalendar(FormElement){
	var calendarwindow;
	url = "calendar1737.html?formname=resform&amp;formelement=" + FormElement;
	calendarwindow = window.open(url,"thewindow","toolbar=no,LEFT=700,TOP=400,WIDTH=180,HEIGHT=180,status=no,scrollbars=no,resize=no,menubar=no");
	calendarwindow.focus();
}


