// roll over imgs

img01off=new Image();  	img01off.src="/timothy/common/imgs/button01_off.jpg";
img01on=new Image();  	img01on.src="/timothy/common/imgs/button01_on.jpg";
img02off=new Image();  	img02off.src="/timothy/common/imgs/button02_off.jpg";
img02on=new Image();  	img02on.src="/timothy/common/imgs/button02_on.jpg";
img03off=new Image();  	img03off.src="/timothy/common/imgs/button03_off.jpg";
img03on=new Image();  	img03on.src="/timothy/common/imgs/button03_on.jpg";
   // it
img04off=new Image();  	img04off.src="/timothy/common/imgs/button04_off.jpg";
img04on=new Image();  	img04on.src="/timothy/common/imgs/button04_on.jpg";
img05off=new Image();  	img05off.src="/timothy/common/imgs/button05_off.jpg";
img05on=new Image();  	img05on.src="/timothy/common/imgs/button05_on.jpg";
img06off=new Image();  	img06off.src="/timothy/common/imgs/button06_off.jpg";
img06on=new Image();  	img06on.src="/timothy/common/imgs/button06_on.jpg";
   //en
img07off=new Image();  	img07off.src="/timothy/common/imgs/button07_off.jpg";
img07on=new Image();  	img07on.src="/timothy/common/imgs/button07_on.jpg";
img08off=new Image();  	img08off.src="/timothy/common/imgs/button08_off.jpg";
img08on=new Image();  	img08on.src="/timothy/common/imgs/button08_on.jpg";


function roll(image,slot) {
 
if (document.getElementById && document.getElementById(slot) != null)
 
eval('node=document.getElementById(slot).src='+image+'.src');

   else if (document.images)

        eval("document.images['"+slot+"'].src = "+image+".src");
}


//open win resizable


function ImagePopup(url)

{

     var popupWin=window.open('','','titlebar=no,location=no,menubar=no,toolbar=no,status=no,scrollbars=no,resizable=no,hotkeys=no');

     var docHTML;

 

     docHTML  = "<html><head><title></title><script language='javascript'>";

     docHTML += "var NS = (navigator.appName=='Netscape')?true:false;";

     docHTML += "function ResizePicture() {iWidth = (NS)?window.innerWidth:document.body.clientWidth;";

      docHTML += "iHeight = (NS)?window.innerHeight:document.body.clientHeight;";

      docHTML += "iWidth = document.images[0].width - iWidth;";

      docHTML += "iHeight = document.images[0].height - iHeight;";

      docHTML += "window.resizeBy(iWidth, iHeight);";

      docHTML += "self.focus();}</";

      docHTML += "script></head>";

      docHTML += "<body topmargin='0' leftmargin='0' marginwidth='0' margineight='0' onload='ResizePicture();'>";

      docHTML += "<script language='javascript'>document.write('<img src=";

      docHTML += '"';

      docHTML += url;

      docHTML += '"';

      docHTML += " border=0>');</";

      docHTML += "script></";

      docHTML += "body></";

      docHTML += "html>";

 

      popupWin.document.open();

      popupWin.document.write(docHTML);

      popupWin.document.close();

}


