

// this has to have all the script (head section ) in it.
// this will be a big file


day = new Date();

tiNow = day.getTime();

dayNow= day.getDate();

 monNow = day.getMonth() ;

yy = day.getYear();

// made by GJ
// all the extended writing is done for clarity
// ..


var th = new Date() ;

function filIt(item,leng) {
  if (isNaN(item)) { df= item ; } else {df= item.toString() ;}   ;
 lent= df.length ;  while (lent<leng) {df="0"+ df ; lent= df.length ;  } ;
      if (lent > leng) return item ;
else  return df ; 
} ;


// de weekday-generator

  function weekresult(w) {
    r =  th - ( ((-w*7)+num4) * 86.4E6 ) ;
return r ;
} ;


// de day-generator



  function dayresult(w) {
    r =  th - ((-w) * 86.4E6 ) ;
return r ;
} ;
   var  thatDay =  new Array(7) ;
           function aDay(gj) {
 
     thatDay[0] =  new Date(dayresult(gj)) ;
       filIt ( thatDay[0].getMonth() + 1,2) ;  thatDay[1] = df ;
       filIt ( thatDay[0].getDate(),2) ;  thatDay[2] = df ;
// keeping room voor Netscape code
num= 2 ;
  if ( thatDay[0].length > num) thatDay[3] = thatDay[0].getYear() ;
else
       filIt ( thatDay[0].getYear(),num) ;  thatDay[3] = df ;

  if (isMinNS4) thatDay[3] = parseInt(thatDay[3]) + 1900 ;

     thatDay[4] = thatDay[0].getMonth() + 1 ;
     thatDay[5] = thatDay[0].getDate() ;

     thatDay[6] = mon_nam_short() ;
} ;



// for minnen's weekly (it's on a Sunday)

num3 =  th.getTime();  //  check today's date
num4 =  th.getDay();  // how far away from sunday
// de functie
// enter numbers of sundays
// mon, day, year and full string back
    var  thatSunday =  new Array(4) ;
           function aSd(gj) {
 
     thatSunday[0] =  new Date(weekresult(gj)) ;
       filIt ( thatSunday[0].getMonth() + 1,2) ;  thatSunday[1] = df ;
       filIt ( thatSunday[0].getDate(),2) ;  thatSunday[2] = df ;

// keeping room voor Netscape code
num= 2 ;
  if ( thatSunday[0].length > num) thatSunday[3] = thatSunday[0].getYear() ;
else
       filIt ( thatSunday[0].getYear(),num) ;  thatSunday[3] = df ;
  if (isMinNS4) thatDay[3] = parseInt(thatDay[3]) + 1900 ;


} ;

/*


ok

*/


var isMinNS4 = (document.layers) ? 1 : 0;
var isMinIE4 = (document.all)    ? 1 : 0;

if (isMinNS4) yy= yy + 1900 ;

   function calcdays() {	

daysfrom= (Math.round(tiNow / 86.4E6));

thirdday= (Math.floor(daysfrom / 3))  ; 

  // deday= (daysfrom-11776) ;

while (daysfrom > 130) daysfrom-= 130 ;

      deday= (daysfrom) ; // my daily pic , picarrB.htm

 //  deday= deday-20 ;

//  deday= deday+36 ;

minnum=3702 ; picje= (thirdday - minnum); dd=picje  ; 

dg=dd ;  em= dd.toString()  ;   fillit= em.length ;

 filIt(dd,4); dd=df ;  fillim="on";   siem= dd.toString()  ; }




var checKIt = false ;  // falsetrue

var  picNampjenr = 0 ;


function showmypic(pictitl,picnas,txtkleur,toevkleur) {

// filIt(nummer,leng) ; si= df ; 

// document.write("<div align=center>");

  document.write("<font color="+txtkleur+" size=2><B>"+pictitl+"</B></font><BR>");

  document.write("<a href=",fil2Open()," target=\"_blank\"><img src="

, tumNam() , " border=0 alt=");


if (checKIt)document.write(tumNam()) ;
else document.write(altNam());



document.write("   name=" , showPicnr , " ");


 if (picNam()!== "NoErrPic"){ 
    document.write("  onError=\"defaultPic(\'" , showPicnr , "\')\"");
    };

  document.write("></a><br>");

 if (picnas!=="") document.write("<font color="+txtkleur+" size=2><B>"+picnas+"</B></font><BR>");


document.write("<font face=arial size=1 color="+toevkleur+"><B><I>",picNam(),

"</I></B><br>");

if (toevkleur!=="nix"){ 

document.write("</font> ");

dagnumr=  daysfrom.toString()  ;

len1= dagnumr.length ;

dagnumr= dagnumr.substring((len1-4),len1) ;

 document.write("<font color=blue size=2><B>MyDay = "+dagnumr+"</B></font>");

}
//  document.write("</div>");

}





function showmypicloop(pictitl,picnas,txtkleur,toevkleur,toOpen,tumNam,altNam,picNam) {

// filIt(nummer,leng) ; si= df ; 

// document.write("<div align=center>");

  document.write("<font color="+txtkleur+" size=2><B>"+pictitl+"</B></font><BR>");

  document.write("<a href=",toOpen," target=\"_blank\"><img src="

, tumNam , " border=0 alt=");


if (checKIt)document.write(tumNam) ;
else document.write(altNam);



document.write("   name=" , showPicnr , " ");


 if (picNam !== "NoErrPic"){ 
    document.write("  onError=\"defaultPic(\'" , showPicnr , "\')\"");
    };

  document.write("></a><br>");

 if (picnas!=="") document.write("<font color="+txtkleur+" size=2><B>"+picnas+"</B></font><BR>");


document.write("<font face=arial size=1 color="+toevkleur+"><B><I>",picNam,

"</I></B><br>");

if (toevkleur!=="nix"){ 

document.write("</font> ");

dagnumr=  daysfrom.toString()  ;

len1= dagnumr.length ;

dagnumr= dagnumr.substring((len1-4),len1) ;

 document.write("<font color=blue size=2><B>MyDay = "+dagnumr+"</B></font>");

}
//  document.write("</div>");

}


function inCard2(){good.style.visibility="visible";}



function uitCard2(){good.style.visibility="hidden";}

  var   nrShowit = 0 ;

afb1err = new Image (66,100);
afb1err.src = "imags/defAWarn.gif";

function defaultPic(anaam) {




  picNampjenr = 4 ;


defPlaatje = eval("afb1err.src");


document [anaam].src = defPlaatje ;
//  alert (" niet geladen");
} ;


afb2err = new Image (66,100);
afb2err.src = "imags/def0Warn.gif";

function defAbPic(anaam) {




  picNampjenr = 5 ;






defAPlaatje = eval("afb2err.src");

document [anaam].src = defAPlaatje ;
//  alert (" niet geladen");
} ;



var opaoff = true ;
var opa_OK = false ;

opaColor= 70 ;

function picOpaFull() {


event.srcElement.style.filter = "alpha(opacity=100)";


}


function picOpaNr() {

  if (opaoff) {
    iets      = "alpha(opacity= "+ opaColor +" )";
event.srcElement.style.filter = iets  ;

} else { }  ;


}





function showpicloop(pictitl,picnas,txtkleur,toevkleur,toOpen,tumNam,altNam,picNam) {

     nrShowit += 1 ;


  document.write("<font color="+txtkleur+" size=2><B>"+pictitl+"</B></font><BR>");




  document.write("<a href=",toOpen," target=\"_blank\">");

 showPicnr = "pic" + nrShowit ;



  document.write("<img src=" , tumNam , " width=66 height=100 ");


 if (opa_OK){ 

 document.write(" onmouseout=picOpaNr() onmouseover=picOpaFull() ");


 document.write(" style='FILTER: alpha(opacity= 40)' ");



 //  document.write(" style='FILTER: alpha(opacity=",opaColor,")' ");



} ;


document.write("   name=" , showPicnr , " ");

// altNam + " failed to load from "+ showPicnr.src

 if (picNam !== "NoErrPic"){ 


    document.write("  onError=\"defaultPic(\'" , showPicnr , "\')\"");



    document.write("  onAbort=\"defAbPic(\'" , showPicnr , "\')\"");

    };

/*

*/


//  if (picNampjenr>3) {


  if (onError) {



  picNampje = "'*-*"+showPicnr+"*-*'" ;
       picNampjenr = 0 ;

                   }
else
      {picNampje = "'*"+showPicnr+"*'" ;}







document.write(" border=0 alt=");


/*
if (onError)document.write("AAN") ;

else document.write("uit") ;
*/

if (checKIt){document.write(tumNam) }

 else 
{

    document.write(altNam);


 //      document.write(picNampje);



}
//  document.write(errAltnam);

//   document.write(altNam + " failed to load ");

//  document.write(toOpen);



  document.write("></a><br>");



 if (picnas!=="") document.write("<font color="+txtkleur+" size=2><B>"+picnas+"</B></font><BR>");
 if (picNam !== "Unknown"){ document.write("<font face=arial size=1 color="+toevkleur+"><B><I>",picNam,
"</I></B><br>");}
 else
  {document.write("<font face=arial size=1>.<br>");}


document.write("</font>");



}

























function showpico(pictitl,picnas,txtkleur,toevkleur) {

     nrShowit += 1 ;


  document.write("<font color="+txtkleur+" size=2><B>"+pictitl+"</B></font><BR>");




  document.write("<a href=",fil2Open()," target=\"_blank\">");

 showPicnr = "pic" + nrShowit ;

  document.write("<img src=" , tumNam() , " width=66 height=100 ");

 if (opa_OK){ 

 document.write(" onmouseout=picOpaNr() onmouseover=picOpaFull() ");


 document.write(" style='FILTER: alpha(opacity= 40)' ");



 //  document.write(" style='FILTER: alpha(opacity=",opaColor,")' ");



} ;


document.write(" border=0 alt=");




/*
if (onError)document.write("AAN") ;

else document.write("uit") ;
*/

if (checKIt)document.write(tumNam()) ;

else document.write(altNam());


document.write("   name=" , showPicnr , " ");


 if (picNam()!== "NoErrPic"){ 
    document.write("  onError=\"defaultPic(\'" , showPicnr , "\')\"");
    document.write("  onAbort=\"defAbPic(\'" , showPicnr , "\')\"");

    };

/*


*/


  document.write("></a><br>");



 if (picnas!=="") document.write("<font color="+txtkleur+" size=2><B>"+picnas+"</B></font><BR>");
 if (picNam()!== "Unknown"){ document.write("<font face=arial size=1 color="+toevkleur+"><B><I>",picNam(),
"</I></B><br>");}
 else
  {document.write("<font face=arial size=1>.<br>");}


document.write("</font>");



}



function fullwin(){



alert("Remember: Close it with Alt-F4.") ;



window.open("#","re","fullscreen,scrollbars")



}

function dePic(pictitl,picnas,txtkleur,toevkleur) {
 
  document.write("<font color="+txtkleur+" size=2><B>"+pictitl+"</B></font><BR>");
  document.write("<a href=",fil2Open()," target=\"_blank\"><img src=", tumNam() , " width=66 height=100  border=0 alt=", altNam(),"></a><br>");

 if (picnas!=="") document.write("<font color="+txtkleur+" size=2><B>"+picnas+"</B></font><BR>");

document.write("<font face=arial size=1 color="+toevkleur+"><B><I>",picNam(),
"</I></B><br>");

document.write("</font> ");

}

 calcdays() ;


// for netscape transparancy

// if (isMinNS4)document.captureEvents(Event.MOUSEMOVE);

chanday=  deday ;

    function comeBk2mrw(site) {

alert(" Come back Tomorrow \n Visit "+ site +" 4 more") ;

} ;

    function NoLink(site) {

alert(" There is no link to these pictures \n "+ site +" ") ;

} ;

var dayName = new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday");


// for Glazzgirls (removed)and Bottom's up

glazz = (Math.round(((tiNow+ 43.2E6) / 86.4E6)  - 11236 ));
var Cglazz = glazz ;
var cg ;
var BUcount = glazz + 2 ;


// deze is voor Panorama

deWeek= ((Math.ceil((daysfrom-3) / 7)) - 5 ) ;
while (deWeek > 52) deWeek-= 52 ;


// speciaal voor CelebBabes
month = new Object();

month[0] = "Jan";
month[1] = "Feb";
month[2] = "March";
month[3] = "April";
month[4] = "May";
month[5] = "June";
month[6] = "July";
month[7] = "Aug";
month[8] = "Sept";
month[9] = "Oct";
month[10] = "Nov";
month[11] = "Dec";


/*
   the mon_nam_short function is several hours a month
   wrong, it uses GMT time so it will show the old month
   several hours during the new month.
   the brown time-line under the black textbox shows it.
 */

    function mon_nam_short() {


    t1 =  thatDay[0].toGMTString() ;

 b_num= t1 + "a"  ;   // make it a string, definitive.


// out loud , this is actually a threeliner

  aaa1= b_num.indexOf(" ",1) ;

 bbb1=  b_num.indexOf(" ",(aaa1+1)) ;

 ccc1=  b_num.indexOf(" ",(bbb1+1)) ;

 an = b_num.substring((bbb1+1),ccc1) ;

  
  return an ;

} ;


// for FOX

var monthNames=new Array(12);
monthNames[2]="January";
monthNames[3]="February";
monthNames[4]="March";
monthNames[5]="April";
monthNames[6]="May";
monthNames[7]="June";
monthNames[8]="July";
monthNames[9]="August";
monthNames[10]="September";
monthNames[11]="October";
monthNames[12]="November";
monthNames[13]="December";



var monNames = new Array("january","february","march","april","may","june","july","august","september","october","november","december");

var countR ;

  onError = null


bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
        if (bName == "Netscape" && bVer == 3) ver = "n3";
        else if (bName == "Netscape" && bVer == 2) ver = "n2";
        else if (bName == "Netscape" && bVer >= 4) ver = "n4";
        else if (bName == "Microsoft Internet Explorer" && bVer == 2) ver = "e3";
        else if (bName == "Microsoft Internet Explorer" && bVer > 2) ver = "e4";
if (navigator.appVersion.indexOf("Mac") != -1) ver+="m";


function shake() {


        if (ver == "n4" || ver == "n4m" || ver == "e4" || ver == "e4m") {
         for (i = 3; i > 0; i--) {
 

               for (z = 3; z > 0; z--) {
                        self.moveBy(0,i);
                        self.moveBy(i,0);
                        self.moveBy(0,-i);
                        self.moveBy(-i,0);
                } }
        }
}


 function sjeek2() {   setTimeout('shake()',800) ; }



 var  si = filIt(deday,4) ;



// converts 4 (numeric) to "C4.gif"
function Url(num) {
num1 = Math.floor(num);
return "timer/C" + num1 + ".gif";

}




 var TransparencyID = "ON" ;

 var CheckUrlID = "OFF" ;

 var CheckPicUrlID = "OFF" ;

 var CookiesID = "OFF" ;






function Index_main_Transparency(name) {

                  if (name=="ON"&&TransparencyID == "OFF") {

// switch it on

// prepare new lines

 docTransLine = "<font color='#GGFF00'><B>ON</B></font>" ;

     newTransLine = 'Transparency return = "'+ docTransLine + '" ' + '&nbsp;' ;

  document.getElementById("Transparency").innerHTML = newTransLine ;


    opaoff = true ;

  TransparencyID = "ON" ;

                                   } else {

// switch it off
// prepare new lines

 docTransLine = "<font color=red><B>OFF</B></font>" ;

     newTransLine = 'Transparency return = "'+ docTransLine + '" ' ;

  document.getElementById("Transparency").innerHTML = newTransLine ;

    opaoff = false ;

  TransparencyID = "OFF" ;

                                            } ;


       } ;

function Index_main_CheckUrl(name) {



                   if (name=="ON"&&CheckUrlID == "OFF") {

// switch it on

// prepare new lines

 docTransLine = "<font color='#GGFF00'><B>ON</B></font>" ;

     newTransLine = 'Naming/CheckUrl = "'+ docTransLine + '" ' + '&nbsp;' ;

  document.getElementById("CheckUrl").innerHTML = newTransLine ;



        alert("Not available. AAN") ;


  CheckUrlID = "ON" ;

                                   } else {

// switch it off
// prepare new lines

 docTransLine = "<font color=red><B>OFF</B></font>" ;

     newTransLine = 'Naming/CheckUrl = "'+ docTransLine + '" ' ;

  document.getElementById("CheckUrl").innerHTML = newTransLine ;

  alert("Not available.OFF");


  CheckUrlID = "OFF" ;

                                            } ;


       } ;



 function Index_main_CheckPicUrl(name) {



                   if (name=="ON"&&CheckPicUrlID == "OFF") {

// switch it on

// prepare new lines

 docTransLine = "<font color='#GGFF00'><B>ON</B></font>" ;

     newTransLine = 'CheckPictureUrl = '+ docTransLine + '" ' + '&nbsp;' ;

  document.getElementById("CheckPicUrl").innerHTML = newTransLine ;



        alert("CheckPictureUrl \nNot available. AAN") ;


  CheckPicUrlID = "ON" ;

                                   } else {

// switch it off
// prepare new lines

 docTransLine = "<font color=red><B>OFF</B></font>" ;

     newTransLine = 'CheckPictureUrl = "'+ docTransLine + '" ' ;

  document.getElementById("CheckPicUrl").innerHTML = newTransLine ;

  alert("CheckPictureUrl \nNot available.OFF");


  CheckPicUrlID = "OFF" ;

                                            } ;


       } ;



function Index_main_Cookies(name) {



                   if (name=="ON"&&CookiesID == "OFF") {

// switch it on

// prepare new lines

 docTransLine = "<font color='#GGFF00'><B>ON</B></font>" ;

     newTransLine = 'Cookies = "'+ docTransLine + '" ' + '&nbsp;' ;

  document.getElementById("Cookies").innerHTML = newTransLine ;



        alert("Not available. AAN") ;


  CookiesID = "ON" ;

                                   } else {

// switch it off
// prepare new lines

 docTransLine = "<font color=red><B>OFF</B></font>" ;

     newTransLine = 'Cookies = "'+ docTransLine + '" ' ;

  document.getElementById("Cookies").innerHTML = newTransLine ;

  alert("Not available.OFF");


  CookiesID = "OFF" ;

                                            } ;


       } ;




function link2URL(tekst,formaat,kleur,picnum,picrotat){ 

  df = ((picnum) ? eval(picnum) : 0 ) ;  // korte notatie
 // if(picnum){ df = eval(picnum) ;} else  {df= 0 ;}   ; ..lange notatie

  if(picnum=="undefined"){ df = -1 ;} ;

  if(picrotat=="undefined"){ picrotat = 1 ;} ;


 // var picnam1 = "imags/smiley1.gif" ; // nieuwe parameter

   var picnam = smiley1.src ; // nieuwe parameter


 // if(picrotat){ var picnam = smiley1.src ;} // nieuwe parameter

// prepare new lines

 docTransLine = "<center>" ;

if (df>0) {
    for (i=0;i<df;i++) {
 docTransLine += "<img src='"+ picnam +"' border='0' align=middle>"  
                       } ;  // de for  
          } ;   // de if 


 docTransLine += "&nbsp;<FONT face=verdana color="+ kleur +" size="+ formaat +"><B>" + tekst + "</B></font>&nbsp;" ;

if(df>0){for(i=0;i<df;i++){docTransLine+="<img src='"+picnam+"' border='0' align=middle>"};} ; 

 docTransLine += "</center>" ;
 
   document.getElementById("Link_to_URL").innerHTML = docTransLine ;


} ;
 
 
function uitlink2URL(){ 

// prepare new lines

 docTransLine = "<center><FONT face=verdana color=white size=4><B>A lot of Babe's</B></font></center>" ;
 
   document.getElementById("Link_to_URL").innerHTML = docTransLine ;


} ;
 
 

        function showURLlink(url,naam,formaat,kleur,picnum){

document.write("<font size=3><a href='"+url+"' target=_blank ") ;

document.write("title='"+url+"' ") ;


document.write(" onMouseOver='link2URL(\""+ naam +"\","+formaat+",\""+ kleur +"\",\""+picnum+"\")' onMouseOut=\"uitlink2URL()\" >"+naam+"</a>") ;

document.write("</font><br>")

 } ;






soundbgOn = new Array(0) 
soundbgOff = new Array(0) 

soundbgOff[0] = new Image(18,20) ;
soundbgOff[0].src = "imags/speakOff.gif" ;
soundbgOn[0] = new Image(18,20) ;
soundbgOn[0].src = "imags/speakOn.gif" ;


  sound_bg = 0 ;

  loopBGsound = -1 ;


function sounder_bg(){
if (sound_bg==0) { sound_bg=1;
               document.soundpic.src = soundbgOn[0].src;


      playBGsound(loopBGsound,sound_bg_nam) ;

          
                 } 

else 

     if (sound_bg==1){ sound_bg=0 ; 
         document.soundpic.src = soundbgOff[0].src; 
           playBGsound(3,sound_bg_nam) ;


 }}



function loop_bgsound(nr){
if (loopBGsound==-1) { loopBGsound=1;
  //             document.soundpic.src = soundbgOn[0].src;

          
                 } 

else 

     if (loopBGsound==1){ loopBGsound=-1 ; 
    //     document.soundpic.src = soundbgOff[0].src; 
 

 }

     playBGsound(loopBGsound,sound_bg_nam) ;




}



function playBGsound(nr,nam) {






 parent.soundFram.document.open();
 parent.soundFram.document.write("<html><head>");

      if (nr==3) {} else {

 parent.soundFram.document.write(" <bgsound src=\"sound/"+ nam +"\" loop="+nr+">");
                         }

 parent.soundFram.document.write("</head>");
 parent.soundFram.document.write("<body bgcolor=black>");

 parent.soundFram.document.write("<font color=red size=2><B>");

     if (nr==3) {

 parent.soundFram.document.write("&nbsp;BG_Sound=OFF");



} else {

 parent.soundFram.document.write("&nbsp;<font color=white>BG_Sound=ON</font>");

        }

 parent.soundFram.document.write("</B></font>");

 parent.soundFram.document.write("<br><font color=red size=2>");
 parent.soundFram.document.write("&nbsp;Repeat=");


 if (nr == -1) { parent.soundFram.document.write("<font color=white>ON</font>");  }
           else        { parent.soundFram.document.write("OFF"); }


 parent.soundFram.document.write("</font>");

 parent.soundFram.document.write("</body></html>");
 parent.soundFram.document.close();
                     } ;











// thanx 4 watching

