// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
// ±± <SCRIPT LANGUAGE='Javascript'           ±±
// ±±             TYPE='text/javascript'      ±±
// ±±              SRC='viewer.js'> </SCRIPT> ±±
// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
<!-- Gracefully hide from old browsers
 /***********************************************
 * Image Thumbnail viewer- © Dynamic Drive (www.dynamicdrive.com)
 * Last updated Sept 26th, 03'. This notice must stay intact for use
 * Visit http://www.dynamicdrive.com/ for full source code
 ***********************************************/
 var ie=document.all
 var ns6=document.getElementById&&!document.all

// "YV330"...YV330 Restoration Project ~ Wes Swift
 function yv330(which, e, position, imgwidth, imgheight){
 if (ie||ns6){
 crossobj=document.getElementById? document.getElementById("showimage") : document.all.showimage
 if (position=="center"){
 pgyoffset=ns6? parseInt(pageYOffset) : parseInt(ietruebody().scrollTop)
 horzpos=ns6? pageXOffset+window.innerWidth/2-imgwidth/2 : ietruebody().scrollLeft+ietruebody().clientWidth/2-imgwidth/2
 vertpos=ns6? pgyoffset+window.innerHeight/2-imgheight/2 : pgyoffset+ietruebody().clientHeight/2-imgheight/2
 if (window.opera && window.innerHeight) //compensate for Opera toolbar
 vertpos=pgyoffset+window.innerHeight/2-imgheight/2
 vertpos=Math.max(pgyoffset, vertpos)
 }
 else{
 var horzpos=ns6? pageXOffset+e.clientX : ietruebody().scrollLeft+event.clientX
 var vertpos=ns6? pageYOffset+e.clientY : ietruebody().scrollTop+event.clientY
 }
 crossobj.style.left=horzpos+"px"
 crossobj.style.top=vertpos+"px"
 crossobj.innerHTML='<CENTER><DIV ALIGN="center" ID="dragbar"><SPAN ID="closetext" STYLE="font-size:8pt;color:#aadfea" onClick="closepreview()">YV330&nbsp;Restoration&nbsp;Project&nbsp;~&nbsp;Wes&nbsp;Swift</SPAN><TABLE CELLSPACING=0 CELLPADDING=0><tr><td HEIGHT=5> </td></tr></TABLE></DIV><IMG SRC="'+which+'"><DIV ALIGN="center" ID="dragbar"><SPAN ID="closetext" STYLE="font-size:7pt" onClick="closepreview()"><TABLE CELLSPACING=0 CELLPADDING=0><tr><td HEIGHT=2> </td></tr></TABLE><SPAN STYLE="color:#4c829c">Close&nbsp;Window</SPAN></SPAN></DIV></CENTER>'
 crossobj.style.visibility="visible"
 return false
 }
 else //if NOT IE 4+ or NS 6+, simply display image in full browser window
 return true
 }

// "BLANK"...Title of user's choice.
 function blank(who, which, e, position, imgwidth, imgheight){
 if (ie||ns6){
 crossobj=document.getElementById? document.getElementById("showimage") : document.all.showimage
 if (position=="center"){
 pgyoffset=ns6? parseInt(pageYOffset) : parseInt(ietruebody().scrollTop)
 horzpos=ns6? pageXOffset+window.innerWidth/2-imgwidth/2 : ietruebody().scrollLeft+ietruebody().clientWidth/2-imgwidth/2
 vertpos=ns6? pgyoffset+window.innerHeight/2-imgheight/2 : pgyoffset+ietruebody().clientHeight/2-imgheight/2
 if (window.opera && window.innerHeight) //compensate for Opera toolbar
 vertpos=pgyoffset+window.innerHeight/2-imgheight/2
 vertpos=Math.max(pgyoffset, vertpos)
 }
 else{
 var horzpos=ns6? pageXOffset+e.clientX : ietruebody().scrollLeft+event.clientX
 var vertpos=ns6? pageYOffset+e.clientY : ietruebody().scrollTop+event.clientY
 }
 crossobj.style.left=horzpos+"px"
 crossobj.style.top=vertpos+"px"
 crossobj.innerHTML='<CENTER><DIV ALIGN="center" ID="dragbar"><SPAN ID="closetext" STYLE="font-size:8pt;color:#aadfea" onClick="closepreview()">'+who+'</SPAN><TABLE CELLSPACING=0 CELLPADDING=0><tr><td HEIGHT=5> </td></tr></TABLE></DIV><IMG SRC="'+which+'"><DIV ALIGN="center" ID="dragbar"><SPAN ID="closetext" STYLE="font-size:7pt" onClick="closepreview()"><TABLE CELLSPACING=0 CELLPADDING=0><tr><td HEIGHT=2> </td></tr></TABLE><SPAN STYLE="color:#4c829c">Close&nbsp;Window</SPAN></SPAN></DIV></CENTER>'
 crossobj.style.visibility="visible"
 return false
 }
 else //if NOT IE 4+ or NS 6+, simply display image in full browser window
 return true
 }

 function ietruebody(){
 return (document.compatMode && document.compatMode!="BackCompat" && !window.opera)? document.documentElement : document.body
 }

 function closepreview(){
 crossobj.style.visibility="hidden"
 }

 function drag_drop(e){
 if (ie&&dragapproved){
 crossobj.style.left=tempx+event.clientX-offsetx+"px"
 crossobj.style.top=tempy+event.clientY-offsety+"px"
 }
 else if (ns6&&dragapproved){
 crossobj.style.left=tempx+e.clientX-offsetx+"px"
 crossobj.style.top=tempy+e.clientY-offsety+"px"
 }
 return false
 }

 function initializedrag(e){
 if (ie&&event.srcElement.id=="dragbar"||ns6&&e.target.id=="dragbar"){
 offsetx=ie? event.clientX : e.clientX
 offsety=ie? event.clientY : e.clientY
 tempx=parseInt(crossobj.style.left)
 tempy=parseInt(crossobj.style.top)
 dragapproved=true
 document.onmousemove=drag_drop
 }
 }
 document.onmousedown=initializedrag
 document.onmouseup=new Function("dragapproved=false")
// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
// ±± Palette: ccffff aadfea 99ced9 599db8 4c829c 3f6780 324c64  ±±
// ±± Light/Medium/DarkYellow:ffffcc/ffff99/ffff66  ·: &middot;  ±±
// ±± Gold: e1e78f Copper: bc9787 Brass: bec786 Green: 31adad    ±±
// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
// end-->
// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
// ±±± <A ONCLICK="return xxxxxxx('subdirectory/filename.ext' ±±±
// ±±±                             event,'center',774,492)">  ±±±
// ±±±                                       ...to... 774     ±±±
// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
// ±±± 12/26/06: Changed all software calls to this script to ±±±
// ±±± force the viewer window up against the top of brower's ±±±
// ±±± page. Apparently the precise number is not important   ±±±
// ±±± as long as it exceeds an undetermined necessary size.  ±±±
// ±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±±
