function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1,width=680,height=500');");
}

// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.

// SETUPS:
// ===============================

// Set the horizontal and vertical position for the popup

PositionX = 5;
PositionY = 5;

// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)

defaultWidth  = 616;
defaultHeight = 300;

// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows

var AutoClose = true;

// 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=yes,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=yes,width=150,height=100,left='+PositionX+',top='+PositionY;
var imageTitle=" © C.A. Tronics";
function Start(imageURL){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('<html><head>');
writeln('<meta http-equiv="imagetoolbar" content="false">');
writeln('<title>Loading...</title><style>body{margin:10px;}</style>');
writeln('<script>');
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=110-(document.body.clientWidth-document.images[0].width);');
writeln('height=110-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width+10,height+10);}');writeln('if (isNN){');       
writeln('window.innerWidth=document.images["George"].width+20;');writeln('window.innerHeight=document.images["George"].height+20;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('</sc'+'ript>');
if (!AutoClose){
writeln('</head><body bgcolor=000000 scroll="yes" onload="reSizeToImage();doTitle();self.focus()">');
writeln('<script language=JavaScript>');
writeln('var message="";');
writeln('function clickIE() {if (document.all) {(message);return false;}}');
writeln('function clickNS(e) {if ');
writeln('(document.layers||(document.getElementById&&!document.all)) {');
writeln('if (e.which==2||e.which==3) {(message);return false;}}}');
writeln('if (document.layers) ');
writeln('{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}');
writeln('else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}');
writeln('document.oncontextmenu=new Function("return false")');
writeln('</sc'+'ript>');
}
else {
writeln('</head><body bgcolor=000000 scroll="yes" onload="reSizeToImage();doTitle();self.focus()" onblur="self.close()">');
writeln('<img name="George" src='+imageURL+' style="display:block">');
writeln('<script language=JavaScript>');
writeln('var message="";');
writeln('function clickIE() {if (document.all) {(message);return false;}}');
writeln('function clickNS(e) {if ');
writeln('(document.layers||(document.getElementById&&!document.all)) {');
writeln('if (e.which==2||e.which==3) {(message);return false;}}}');
writeln('if (document.layers) ');
writeln('{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}');
writeln('else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}');
writeln('document.oncontextmenu=new Function("return false")');
writeln('</sc'+'ript>');
writeln('</body></html>');
}
close();		
}}



