// ====================================================================
// ==== Version 1.2, (c) by TRUE-ID;         14.02.01 <:>              
// ==== Release 1: 28.05.01
// ====================================================================

var DatNum   = false;
var m1ok     = true;
var m2ok     = true;
var m1opt    = true;
var m2opt    = true;
var RollOv1  = true;
var RollOv2  = false;
var OfImgM1  = 2;
var OfImgM2  = 1;
var ExtImgM1 = 'gif';
var ExtImgM2 = 'gif';
var ImgLoad  = false;
var n1o      = "00";
var n2o      = "00";
var x1       = "00";
var x2       = "00";
var x3       = "00";

var NS  = navigator.appName == "Netscape"; var IE  = navigator.appName == "Microsoft Internet Explorer" || navigator.appName == ""; var NS3 = (navigator.appVersion.substring(0,1) < "4") && NS; var IE3 = (navigator.appVersion.substring(0,1) < "4") && IE; var NS4 = (navigator.appVersion.substring(0,1) >= "4") && NS; var IE4 = (navigator.appVersion.substring(0,1) >= "4") && IE; var s='' + self.document.location; var i=s.indexOf('?'); if (i >= 0) { s=s.substring(0,i); } for (i=s.length; (i>0)&&(s.charAt(i)!='/'); i--); wPath=s.substring(0,i+1); 
function goback(go) { if (go=='on') { parent.frames['in'].location.replace(wPath+"back.htm"); } if (go=='of') { parent.frames['in'].location.replace(wPath+"info.htm"); } }
function split() { s='' + parent.frames['pg'].document.location; i=s.indexOf('.'); if (DatNum) { n1=s.substring(i-6,i-4); n2=s.substring(i-4,i-2); n3=s.substring(i-2,i-0); } if (!DatNum) { n1=x1; n2=x2; n3=x3; } if (m1opt==false) { ImgFileOf1 = wPath+'_images/'+n1o+'of.'+ExtImgM1; ImgFileOn1 = wPath+'_images/'+n1 +'on.'+ExtImgM1; } else { ImgFileOf1 = wPath+'_images/of.'+ExtImgM1; ImgFileOn1 = wPath+'_images/on.'+ExtImgM1; } if (m2opt==false) { ImgFileOf2 = wPath+'_images/'+n1o+n2o+'of.'+ExtImgM2; ImgFileOn2 = wPath+'_images/'+n1 +n2 +'on.'+ExtImgM2; } else { ImgFileOf2 = wPath+'_images/2of.'+ExtImgM2; ImgFileOn2 = wPath+'_images/2on.'+ExtImgM2; } }
function ping_m() { split(); if (n1!=0) { parent.frames['1m'].document.images[n1-1+OfImgM1].src = ImgFileOn1; n1o=n1; n2o=n2; } /*if (n2!=0) { parent.frames['2m'].document.images[n2-1+OfImgM2].src = ImgFileOn2; n2o=n2; } */}
function ping(p1,p2,p3) { if ((p1) && (!DatNum)) { x1=p1; x2=p2; x3=p3; } split(); if ((n1==0) && (n2==0) && (m1ok)) { parent.frames['1m'].location.replace(wPath+"1m"+n1+ "0000.htm"); } if ((n1==0) && (n2==0) && (m2ok)) { /*parent.frames['2m'].location.replace(wPath+"2m"+n1+ "0000.htm"); */} if ((n1!=n1o) && (m1ok)) { if (n1o>0) { parent.frames['1m'].document.images[n1o-1+OfImgM1].src = ImgFileOf1; } if (n1>0) { parent.frames['1m'].document.images[n1-1+OfImgM1].src = ImgFileOn1; } if (m2ok) { /*parent.frames['2m'].location.replace(wPath+"2m"+n1+ "0000.htm");*/ } n1o=n1; n2o=n2; } if ((n2!=0) && (m2ok)) { if (n2o>0) { /* parent.frames['2m'].document.images[n2o-1+OfImgM2].src = ImgFileOf2; */} if (n2>0) {/* parent.frames['2m'].document.images[n2-1+OfImgM2].src = ImgFileOn2; */} n2o=n2; } }
function ImgRoll(Ro,Fr,ImgName) { split(); if(RollOv1) { if (Fr=='1m') { ImgSel = n1; if (m1opt==false) { if( Ro=='Ov' ) ImgFile = wPath+'_images/'+ImgName+'ov.'+ExtImgM1; if( Ro=='Of' ) ImgFile = wPath+'_images/'+ImgName+'of.'+ExtImgM1; } else { if( Ro=='Ov' ) ImgFile = wPath+'_images/ov.'+ExtImgM1; if( Ro=='Of' ) ImgFile = wPath+'_images/of.'+ExtImgM1; } if(ImgSel!=ImgName) { parent.frames[Fr].document.images[ImgName-1+OfImgM1].src = ImgFile; } } } if(RollOv2) { if (Fr=='2m') { ImgSel = n2;  if (m2opt==false) { if( Ro=='Ov' ) ImgFile = wPath+'_images/'+n1+ImgName+'ov.'+ExtImgM2; if( Ro=='Of' ) ImgFile = wPath+'_images/'+n1+ImgName+'of.'+ExtImgM2; } else { if( Ro=='Ov' ) ImgFile = wPath+'_images/ov.'+ExtImgM2; if( Ro=='Of' ) ImgFile = wPath+'_images/of.'+ExtImgM2; } if(ImgSel!=ImgName) { parent.frames[Fr].document.images[ImgName-1+OfImgM2].src = ImgFile; } } } }
