function wJump(targ) {

    //var targ	= fileNameExt ; //"c7ed0002cs2_std.jpg" ;
	w =window.open("","","fullscreen=no, left=400 top=0, toolbar=no,location=yes,scrollbars=no,directories=no,resizable=no,menubar=no,location=no,status=no,width=600,height=600");	
	
	if (navigator.userAgent.indexOf("MSIE")==-1) w.focus();
 
	w.document.write("<html>")
	w.document.write('<meta http-equiv="imagetoolbar" content="no"/>')
       w.document.write("<head>");
	
	
	w.document.writeln("</head>"  );
	w.document.writeln('<body bgcolor="#FFFFFF" text="#000000" onLoad="trap()">');
     
	
	w.document.writeln('<center><img src=' + targ +  '  ></center>');
	
	w.document.writeln("<br><br>" );
	
      
	w.document.writeln( '<center><input type="button"  value="Close" onClick="window.close()"><br></center>' );
 w.document.writeln( '');

	
	 
 


w.document.writeln('<SCRIPT language="JavaScript">');


w.document.writeln("function right(e) {");
w.document.writeln("var msg = 'Sorry, you dont have permission to right-click.';");
w.document.writeln("if (navigator.appName == 'Netscape' && e.which == 3) {");
w.document.writeln("alert(msg);");
w.document.writeln("return false;");
w.document.writeln("}");
w.document.writeln("if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {");
w.document.writeln("alert(msg);");
w.document.writeln("return false;");
w.document.writeln("}");
w.document.writeln("else return true;");
w.document.writeln("}");

 w.document.writeln( '');
w.document.writeln("function trap() ");
w.document.writeln("  {");
//w.document.writeln("alert('hi');");
w.document.writeln("document.onmousedown=right;")
w.document.writeln("document.onmouseup=right;")
w.document.writeln("if (document.layers) window.captureEvents(Event.MOUSEDOWN);")
w.document.writeln("if (document.layers) window.captureEvents(Event.MOUSEUP);")
w.document.writeln("window.onmousedown=right;")
w.document.writeln("window.onmouseup=right");

w.document.writeln("  if(document.images)");
w.document.writeln("    {");
w.document.writeln("    for(i=0;i<document.images.length;i++)");
w.document.writeln("      {");
w.document.writeln("      document.images[i].onmousedown = right;");
w.document.writeln("      document.images[i].onmouseup = right;");
w.document.writeln("      }");
w.document.writeln("    }");
w.document.writeln("  }");

w.document.write("</script");
w.document.write(">");

w.document.close();
/////////////////
}


/////////////////
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->

<!-- Begin -->
function right(e) {
var msg = "Sorry, you don't have permission to right-click.";
if (navigator.appName == 'Netscape' && e.which == 3) {
alert(msg);
return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && event.button==2) {
alert(msg);
return false;
}
else return true;
}

function trap() 
  {
  if(document.images)
    {
	document.onmousedown = right
	document.onmousup = right
    if (document.layers) window.captureEvents(Event.MOUSEDOWN);
    if (document.layers) window.captureEvents(Event.MOUSEUP);
    window.onmousedown=right;
    window.onmouseup=right;


    for(i=0;i<document.images.length;i++)
      {
      document.images[i].onmousedown = right;
      document.images[i].onmouseup = right;
      }
    }
  }

/////////////////


