<!--
// http://www.quirksmode.org/js/blockinvi.html
function blocking(nr)
{
if (document.layers) {
current = (document.layers[nr].display == 'none') ? 'block' : 'none';
document.layers[nr].display = current;
}
else if (document.all)
{
current = (document.all[nr].style.display == 'none') ? 'block' : 'none';
document.all[nr].style.display = current;
}
else if (document.getElementById)
{
vista = (document.getElementById(nr).style.display == 'none') ? 'block' : 'none';
document.getElementById(nr).style.display = vista;
}
}

<!--
function toggleDiv(id,flagit) {
if (flagit=="1"){
document.getElementById(''+id+'').style.visibility = "visible"
}
else
if (flagit=="0"){
document.getElementById(''+id+'').style.visibility = "hidden"
}
}


<!-- 
function timerlinks() {
  setTimeout("toggleDiv('links',0)", 3000);
}


<!-- 
function timerlists() {
  setTimeout("toggleDiv('lists',0)", 3000);
}


<!-- 
function timerrants() {
  setTimeout("toggleDiv('rants',0)", 3000);
}


<!-- 
var win = null;
function NewWindow(wizpage, wizname, w, h, scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings = 'height=' + h + ',width=' + w + ',top= 100,' + TopPosition + ',left=' + LeftPosition + ',scrollbars=' + scroll + ',resizable'
win = window.open(wizpage, wizname, settings)
}


<!-- 
function addbookmark() {
window.external.AddFavorite("http://home.epix.net/~alamb/","King Shit")
}


<!--
var SubjectLine='Take a look at this web page I found, '+top.document.title;
var BodyText='You can see this page at: '+top.location.href;
var Message='<a class=contact HREF="mailto:?SUBJECT='+escape(SubjectLine)+'&BODY='+escape(BodyText)+'">Email this page<\/a>';
var MessageIE='<a class=contact HREF="mailto:?SUBJECT='+(SubjectLine)+'&BODY='+(BodyText)+'">Email this page<\/a>';


<!-- 
function clock() {
if (!document.layers && !document.all) return;
var digital = new Date(); var hours = digital.getHours(); var minutes = digital.getMinutes(); var seconds = digital.getSeconds(); var amOrPm = "AM";
if (hours > 11) amOrPm = "PM"; if (hours > 12) hours = hours - 12; if (hours == 0) hours = 12; if (minutes <= 9) minutes = "0" + minutes; if (seconds <= 9) seconds = "0" + seconds;
dispTime = hours + ":" + minutes + ":" + seconds + " " + amOrPm;
if (document.layers) {
document.layers.pendule.document.write(dispTime);
document.layers.pendule.document.close();
}
else
if (document.all)
pendule.innerHTML = dispTime;
setTimeout("clock()", 1000);
}


<!-- 
var now = new Date();
var days = new Array('Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday');
var months = new Array('January','February','March','April','May','June','July','August','September','October','November','December');
var date = ((now.getDate()<10) ? "0" : "")+ now.getDate();
function fourdigits(number)	{
return (number < 1000) ? number + 1900 : number;
}
today =  days[now.getDay()] + ", " +
         months[now.getMonth()] + " " +
         date + ", " +
         (fourdigits(now.getYear())) ;


<!-- 
/*Get the best java scripts at
http://sites.move.to
*/

function shakem(n) {
   if (self.moveBy) {
	for (i = 15; i > 0; i--) {
	   for (j = n; j > 0; j--) {
		self.moveBy(0,i);
		self.moveBy(i,0);
		self.moveBy(0,-i);
		self.moveBy(-i,0);
           }
       }
   }
}


<!-- 
function shakef(n) {
   if (self.moveBy) {
	for (i = 30; i > 0; i--) {
	   for (j = n; j > 0; j--) {
		self.moveBy(0,i);
		self.moveBy(i,0);
		self.moveBy(0,-i);
		self.moveBy(-i,0);
           }
       }
   }
}

<!-- 
function weekNo() {
var totalDays = 0;
now = new Date();
years=now.getYear();
var days = new Array(12); // Array to hold the total days in a month
days[0] = 31;
days[2] = 31;
days[3] = 30;
days[4] = 31;
days[5] = 30;
days[6] = 31;
days[7] = 31;
days[8] = 30;
days[9] = 31;
days[10] = 30;
days[11] = 31;
 // Check to see if this is a leap year
if (Math.round(now.getYear()/4) == now.getYear()/4) {
days[1] = 29
}else{
days[1] = 28
}
 // If this is January no need for any fancy calculation otherwise figure out the
// total number of days to date and then determine what week
if (now.getMonth() == 0) { 
totalDays = totalDays + now.getDate();
}else{
var curMonth = now.getMonth();
for (var count = 1; count <= curMonth; count++) {
totalDays = totalDays + days[count - 1];
}
totalDays = totalDays + now.getDate();
}
// Here is the modification: considering when start the 1st week of year.
// Originally was only: var week = Math.round(totalDays/7)
// Check if browser is "Microsoft Internet Explorer" or not and apply the right var
var agt=navigator.userAgent.toLowerCase();
if ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)) {
var firstday=new Date("01/01/"+String(now.getYear())).getDay();
}
else {
var firstday=new Date("01/01/"+String(1900+now.getYear())).getDay();
}
var diff=7-firstday+1;
var week = Math.round((totalDays+diff-firstday)/7); return week;
}

