// JavaScript Document
function showHideDiv(show_div, hide_div)
{
	document.getElementById(show_div).style.display = 'none';
	document.getElementById(hide_div).style.display = 'block';
}

function showImg(imgpath)
{
	file = 'imgpop.php?path='+imgpath;
	window.open(file,'ImageViewer', 'width=300,height=350,status=no,resizable=no,top=150,left=200,dependent=yes,alwaysRaised=yes');
return false;	
}

function colorPicker(txtcolor) 
{
	sOut = null;
	var tbBGColor = txtcolor;
	sOut = parent.showModalDialog("phpcon/color.htm",null,"dialogWidth:183px; dialogHeight:235px;help:0;status:no;");  
	
	if (sOut)
		tbBGColor.value = sOut;
}
