function showTheme(curid)
{
	posObj=curid;
	var curleft = curtop = 0;
	if (posObj.offsetParent) {
		curleft = posObj.offsetLeft
		curtop = posObj.offsetTop
		while (posObj = posObj.offsetParent) {
			curleft += posObj.offsetLeft
			curtop += posObj.offsetTop
		}
	}
	curtop+=10;
	document.getElementById("theme").style.left=curleft+'px';
	document.getElementById("theme").style.top=curtop+'px';
	document.getElementById("theme").style.display='block';	
}
function highlight(obj)
{
	obj.style.border="2px solid black";
}
function dehighlight(obj)
{
	obj.style.border="1px solid black";
}
function selectTheme(color)
{
	document.frmTheme.themeColor.value=color;
	document.frmTheme.submit();
}