//#####################################################################

function openjpgh(name)
{
	mpath = document.images[name].src;
	mpath = mpath.substring(0,mpath.length - 4);
	mpath = mpath + 'gr.jpg';

	window.open(mpath,'_blank', 'width=570, height=430, left=100, top=100, menu-bar=no, resizable=no, scrollbars=no');
}

//*********************************************************************

function openjpgv(name)
{
	mpath = document.images[name].src;
	mpath = mpath.substring(0,mpath.length - 4);
	mpath = mpath + 'gr.jpg';

	window.open(mpath,'_blank', 'width=420, height=580, left=100, top=100, menu-bar=no, resizable=no, scrollbars=no');
}

//*********************************************************************

function openjpgsh(name)
{
	mpath = document.images[name].src;
	mpath = mpath.substring(0,mpath.length - 4);
	mpath = mpath + 'gr.jpg';

	window.open(mpath,'_blank', 'width=420, height=330, left=100, top=100, menu-bar=no, resizable=no, scrollbars=no');
}

//*********************************************************************

function openjpgsv(name)
{
	mpath = document.images[name].src;
	mpath = mpath.substring(0,mpath.length - 4);
	mpath = mpath + 'gr.jpg';

	window.open(mpath,'_blank', 'width=320, height=430, left=100, top=100, menu-bar=no, resizable=no, scrollbars=no');
}

//#####################################################################


if (window.Event)
document.captureEvents(Event.MOUSEUP);
function nocontextmenu()
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
function norightclick(e)
{
if (window.Event)
{
if (e.which == 2 || e.which == 3)
return false;
}
else
if (event.button == 2 || event.button == 3)
{
event.cancelBubble = true
event.returnValue = false;
return false;
}
}
document.oncontextmenu = nocontextmenu;
document.onmousedown = norightclick;


//#####################################################################
