
  // Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.
 
// SETUPS:
// ===============================
 
// Set the horizontal and vertical position for the popup
 
PositionX = 100;
PositionY = 100;
 
// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)
 
defaultWidth  = 500;
defaultHeight = 500;
 
// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

var menuskin = "skin0";
 
// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head><title>Loading...</title><style>body{margin:0px;}');

writeln('.skin0 {');
writeln('position:absolute;');
writeln('border:0px solid black;');
writeln('cursor:default;');
writeln('visibility:hidden;');
writeln('}');
writeln('.skin1 {');
writeln('cursor:default;');
writeln('font:menutext;');
writeln('position:absolute;');
writeln('text-align:left;');
writeln('font-family: Arial, Helvetica, sans-serif;');
writeln('font-size: 10pt;');
writeln('width:120px;');
writeln('background-color:menu;');
writeln('border:1 solid buttonface;');
writeln('visibility:hidden;');
writeln('border:2 outset buttonhighlight;');
writeln('}');
writeln('.menuitems {');
writeln('padding-left:0px;');
writeln('padding-right:0px;');
writeln('}</style>');

writeln('<sc'+'ript>');



writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width-20);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');




writeln('</sc'+'ript>');
if (!AutoClose) writeln('</head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()">')
else writeln('</head><body bgcolor=ffffff scroll="no" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block">');

writeln('<sc'+'ript>');
writeln('var menuskin = "skin0";');
writeln('var display_url = 0;');
writeln('function showmenuie5() {');
writeln('var rightedge = document.body.clientWidth-event.clientX;');
writeln('var bottomedge = document.body.clientHeight-event.clientY;');
writeln('if (rightedge < ie5menu.offsetWidth)');
writeln('ie5menu.style.left = document.body.scrollLeft + event.clientX - ie5menu.offsetWidth;');
writeln('else');
writeln('ie5menu.style.left = document.body.scrollLeft + event.clientX;');
writeln('if (bottomedge < ie5menu.offsetHeight)');
writeln('ie5menu.style.top = document.body.scrollTop + event.clientY - ie5menu.offsetHeight;');
writeln('else');
writeln('ie5menu.style.top = document.body.scrollTop + event.clientY;');
writeln('ie5menu.style.visibility = "visible";');
writeln('return false;');
writeln('}');
writeln('function hidemenuie5() {');
writeln('ie5menu.style.visibility = "hidden";}');
writeln('function highlightie5() {');
writeln('if (event.srcElement.className == "menuitems") {');
writeln('event.srcElement.style.backgroundColor = "highlight";');
writeln('event.srcElement.style.color = "white";');
writeln('if (display_url)');
writeln('window.status = event.srcElement.url;}}');
writeln('function lowlightie5() {');
writeln('if (event.srcElement.className == "menuitems") {');
writeln('event.srcElement.style.backgroundColor = "";');
writeln('event.srcElement.style.color = "black";');
writeln('window.status = "";}}');
writeln('function jumptoie5() {');
writeln('if (event.srcElement.className == "menuitems") {');
writeln('if (event.srcElement.getAttribute("target") != null)');
writeln('window.open(event.srcElement.url, event.srcElement.getAttribute("target"));');
writeln('else');
writeln('window.location = event.srcElement.url;}}');


writeln('</sc'+'ript>');


writeln('</body></html>');
close();    
}}

