// JS code needed for whateverwimm
// http://kyrlian.free.fr/
// http://whateverwimm.blogspot.com/
/////////////////////////////
// wwimm links code
/////////////////////////////
var pos=0;
function myscroll(dir){
scrollBy(0,dir*10);
if (window.innerHeight){
pos = window.pageYOffset;
}
else if (document.documentElement && document.documentElement.scrollTop){
pos = document.documentElement.scrollTop;
}
else if (document.body){
pos = document.body.scrollTop;
}
pos=pos-90;
if (pos<30) {
scrollTo(0,120);
pos=30;
}
}
/////////////////////////////
// popup images code
/////////////////////////////
function ppp(){
window.open('about:blank','Viewer','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=200,height=200');
return true;
}
function popimg(img){
var msg;
if(img!="") {
msg="[photo]";
document.write(msg);
}
}
function popurl(img){
if(img!="") {
odot=new RegExp("\\+dot\\+");
rdot=new String(".");
odash=new RegExp("\\+dash\\+");
rdash=new String("/");
decodurl=img.slice(0,-4);
while (decodurl.search(odot)!=-1){
decodurl=decodurl.replace(odot,rdot);
}
while (decodurl.search(odash)!=-1){
decodurl=decodurl.replace(odash,rdash);
}
img="http://kyrlian.free.fr/binaries/" + img;
msg="";
document.write(msg);
}
}
/////////////////////////////
// O1pack code
/////////////////////////////
// The Central Randomizer 1.3 (C) 1997 by Paul Houle (houle@msc.cornell.edu), see: http://www.msc.cornell.edu/~houle/javascript/randomizer.html
rnd.today=new Date();
rnd.seed=rnd.today.getTime();
function rnd() {
rnd.seed = (rnd.seed*9301+49297) % 233280;
return rnd.seed/(233280.0);
};
function rand(number) {
return Math.ceil(rnd()*number);
};
// end central randomizer.
// h=number of lines, w=width of lines, p=period for modifier, a=beforemodifier b=aftermodifier
function write01(h,w,p,a,b){
var msg;
for (i=0;i");
};
};
function pack(){
write01(18,100,10,"","");
};
/////////////////////////////
//XML DOM describer code
/////////////////////////////
var m='';
function describe(elm){
m+=elm.nodeName;
if (elm.hasChildNodes()){
m+='(';
var selm=elm.childNodes;
var ni=selm.length;
for (var i=0;iminL){
adad(elm,ctxt,mURL);
}else{
adtx(elm,ctxt);
}
adtx(elm,' ');
}
elm.parentNode.removeChild(elm);
}
function modlist(mlist,mURL,minL){
// var n=mlist.length;
// for (var i=0;i0);
}
function dig(elm){
if (elm.hasChildNodes() && elm.nodeName!='A'){
var selm=elm.childNodes;
var ni=selm.length;
for (var i=0;i1){
mlist.push(elm);
}
}
function digger(mURL,minL){
var targ=document.getElementsByTagName('body')[0];
dig(targ);
modlist(mlist,mURL,minL);
}
function diggerName(tname,mURL,minL){
var targ=document.getElementsByName(tname)[0];
dig(targ);
modlist(mlist,mURL,minL);
}
//EOF