<!--

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

function preload(imgObj, imgSrc)
{
	if(document.images)
	{
		eval(imgObj+' = new Image()');
		eval(imgObj+'.src = "'+imgSrc+'"');
	}
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

function chmenup(n, a)
{
	document.images[n].src = eval(n+"_"+a+".src");
}

//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

newWin = false;

function openWindow(url,width,height, scrollb)
{
	if(isNaN(parseInt(width)) && isNaN(parseInt(height)))
	{
		width = 700;
		height = 500;
	}

	scrb = (scrollb == 1)? "yes" : "no" ;
	
	c = "toolbar=no,menubar=no,location=no,personalbar=no,status=no,directories=no,";
	c += "resizable=no,scrollbars="+scrb+",width="+width+",height="+height+",left=50,top=50";
	
	if(newWin)
		newWin.close();
	
	newWin = window.open(url,"newWin",c);
	
	newWin.focus();
} 

//-->
