function showImage(URL)
{
  windowOps = "toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes," +
              "width=700,height=500,left=50,top=50";
        ImageWindow = window.open("empty.htm","ImageWindow",windowOps);
	windowHTML = '<html><body><head><link rel="stylesheet" href="stylesheet.css" type="text/css"></head>' +
                     '<title>Stuff.DewsoftOverseas.com - External Link</title>' +
	             '<center><span class="largeFont">' +
	             '<br><br><br><br>' +
	             '<font color="red"><b>External Link:</b></font> ' + URL +
	             '<p>' +
	             'This link is an external link to this site.......<p>' +
	             '<a href="' + URL + '">Click here</a> if you want to ' +
	             ' view this external site.<p>' +
	             '<a href="javascript:window.close();">Click here</a> to close this window.</span></center>' +
	             '</body></html>';
	self.ImageWindow.document.clear();
        self.ImageWindow.document.write(windowHTML);
	self.ImageWindow.focus();
	self.ImageWindow.document.close();
}

function showMovie(URL)
{
	  windowOps = "toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes," +
	              "width=700,height=500,left=50,top=50";
          ImageWindow = window.open("empty.htm","ImageWindow",windowOps);
          self.ImageWindow.document.location = URL;
	  self.ImageWindow.document.clear();
          self.ImageWindow.focus();
	  self.ImageWindow.document.close();
}

function showILink(URL,page)
{
    parent._sidebar.document.location = 't' + URL;
		parent._body.document.location = 'b' + URL + '#page' + page;
}

function tryIt(HTML)
{
	  windowOps = "toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes," +
	              "width=500,height=500,left=250,top=50";
	  if (self.ImageWindow) {
	     self.ImageWindow.close();
	  }
	  ImageWindow = window.open("","ImageWindow",windowOps);
	  windowHTML = '<html><body>' + HTML +
	               '<p><font face="arial,helvetica">' +
                 '<A HREF="javascript:window.close();">Click here</a> to close this window.</font>' +
	               '</body></html>';
	  self.ImageWindow.document.clear();
	  self.ImageWindow.document.write(windowHTML);
	  self.ImageWindow.focus();
	  self.ImageWindow.document.close();
}


document.onkeydown=noMenu;

function noMenu() {
             alert('sorry,key control disabled!');
	return(false);
}

function right(e) {
if (navigator.appName == 'Netscape' && 
(e.which == 3 || e.which == 2))
return false;
else if (navigator.appName == 'Microsoft Internet Explorer' && 
(event.button == 2 || event.button == 3)) {
alert("Sorry! Right click is disabled");
return false;
}

return true;

}

document.onmousedown=right;
document.onmouseup=right;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (document.layers) window.captureEvents(Event.MOUSEUP);
window.onmousedown=right;
window.onmouseup=right;


