function popup(url,width,height)
{	
        win=eval('window.open(url,"MVC.pt","width = " + width + ", height = " + height + ", status=no, toolbar=no, location=no, menubar=no, directories=no, resizable=yes, scrollbars=yes")')
		if (win){
        if (window.focus){win.focus()}
        }
}
function go_to(target, href)
{
		try {
			target.location = href;
		} 
		catch (e) { }
}
function toggleBox(obj) 
{
	var el = document.getElementById(obj);
	var bt = document.getElementById(obj+"BT");
	if ( el.style.display != 'none' ) 
	{
		el.style.display = 'none';
		bt.src='img/blt_plus.jpg';
	}
	else 
	{
		el.style.display = '';
		bt.src='img/blt_minus.jpg';
	}	
}
function showPic(obj) 
{
	var el = document.getElementById("imgHolder");
	el.src='lib/script.createthumb.php?img=' + obj + '&w=280&h=280&er=1';
}
