function openAnnouncementPhotoWin(dir,photo,desc) 
{
	myWin = rs('myWin','../photoshow.aspx?photo=announcements/' + dir + '/' + photo + '&desc=' + desc,640,480,'no','no',0);
}

function openKataPhotoWin(dir,photo,desc) 
{
	myWin = rs('myWin','../../photoshow.aspx?photo=kata/' + dir + '/' + photo + '&desc=' + desc,640,480,'no','no',0);
}

function openWin(pg)
{
	myWin = rs('myWin',pg,420,260,'no','yes',0);
}

function openPhotoWin(photo,desc)
{
	myWin = rs('myWin','../photoshow.aspx?photo=dev_center/' + photo + '&desc=' + desc,420,400,'no','no',0);
}

function openExercisePhotoWin(photo,desc)
{
	myWin = rs('myWin','../photoshow.aspx?photo=exercises/' + photo + '&desc=' + desc,640,480,'no','no',0);
}

function openCeremonialPhotoWin(photo,desc)
{
	myWin = rs('myWin','photoshow.aspx?photo=basic_ceremonial/' + photo + '&desc=' + desc,640,480,'no','no',0);
}

function rs(n,u,w,h,r,s,x)
{
	args = "width=" + w + ",height=" + h + ",resizable=" + r + ",scrollbars=" + s + ",status=" + x;
	remote = window.open(u,n,args);

	if (remote != null)
	{
		if (remote.opener == null)
		{
			remote.opener = self;
		}
	}
	remote.focus();
	
	if (x == 1)
	{
		return remote;
	}
}
