<?php

echo<<<PPPRINT
<!-- BEGIN TEMPLATE: showfull.tmpl -->
PPPRINT;

if ( $Globals['right-click'] == "yes" ) {
echo <<<PPPRINT
<script language=JavaScript>
<!--
function clickIE4(){
if (event.button==2){
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("return false")

// -->
</script>
PPPRINT;
}

echo <<<PPPRINT
<table cellpadding="0" cellspacing="0" border="0" width="96%">
<tr>
<td class="{$Style['tdbackground']}" valign="top" align="center" onclick="window.close()">$imgdisp</td>
</tr>
</table>
<!-- END TEMPLATE: showfull.tmpl -->
PPPRINT;

?>
