
//Mouse Buttons No Click
function click() {
if (event.button==1) {alert('Sorry, this function is disabled.')
}}
document.onMouseDown=click
var message="";

function clickIE() {
if (document.all) {(message);return false;}}

function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all))
 {if (e.which==2||e.which==3) {(message);return false;}
// {if (e.which=1) {(message);return false;}
}}

if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS;}
else{
document.onmouseup=clickNS;
document.oncontextmenu=clickIE;
}
document.oncontextmenu=new Function("return false")
//end Mouse Buttons 0

//Open Pop UP
function OpenIt(img){
Img1= new Image();
Img1.src=(img);
TheImg(img);
}

function TheImg(img){
  if((Img1.width!=0)&&(Img1.height!=0))
  {    ViewImage(img);  }
  else{
//    alert("Opps! Image Gone");
	a="TheImg('"+img+"')";
    b=setTimeout(a,400);
}}

function ViewImage(img){
var background = "#000000";
 WW=Img1.width;
 HH=Img1.height;
WH=HH+12
stuff = '<html><body  bgcolor='+background
+ ' leftmargin=0 topmargin=0 marginwidth=0 marginheight=0>'
+ '<head><title></title>'
+ '<style>'
+ '.Intro {font-family: Arial;'
+ 'font-weight: normal;'
+ 'font-size: 8pt;'
+ 'font-family:arial;'
+ 'color:#ffffff; }'
+ '</style></head>';

otherstuff = '<table bgcolor=#660000 width=100% border=0 cellspacing=0 cellpadding=0>'
+ '<tr><td  background='+img+' >'
+ '<img src="../system/Images/73494.gif" width='+WW+' height='+HH+' alt="" border="0">'
+ '</td></tr>'
+ '<tr><td bgcolor=#666666 class=Intro align=center valign=middle>'
//+ 'size=' + WW + 'x' + HH + '&nbsp;&nbsp;'
+ '<a class=Intro href="javascript:onClick=window.close();">CLOSE</a>'
+ '</td></tr></table>'
+ '</body></html>';
PrintIt=window.open("","","width="+WW+",height="+WH);
PrintIt.document.write(stuff);
PrintIt.document.write(otherstuff);
}		
