
function imagehover( path, alt, width, height )
{
	document.getElementById( 'mainpic' ).innerHTML = '<img src="' + path.replace('large/', '') + '" alt="' + alt + '" onclick="javascript:imagepopup(\'' + path + '\', \'' + alt +'\', \'' + width + '\', \'' + height + '\')" style="cursor: pointer;" />';
}

function imagepopup( path, alt, width, height )
{
	window.open( '/image.php?p=' + path, alt, 'width=' + width + ',height=' + height );
}


