<!-- Hide the script from non-Javascript browsers

/*** Feel free to use this script, just leave these comment lines. ***/
/***         Goetz's Banner Script copyright 1998 Lawrence Goetz   ***/
/***         goetz@lawrencegoetz.com http://www.lawrencegoetz.com/ ***/

	// Indicate how many banner ads there are.
	var amount=2;


	// Array Function.
	function makeArray(len) {
		for (var i = 0; i < len; i++) 
			this[i] = null;
		this.length = len;
	}

	// Array Function for target in frames. 
	// You can adjust the default here if you like.
	// The default is _self.
	function makeTargetArray(len) {
		for (var i = 0; i < len; i++) 
			this[i] = "_top";
		this.length = len;
	}
	
	// Generate's the arrays.
	image = new makeArray(amount);
	link = new makeArray(amount);
	target = new makeTargetArray(amount);
	info = new makeArray(amount);

	// Place your banner information here. Start at index number 0.

	image[0]="fotos/skybanner-onlinehoteles.jpg";
	link[0]="http://www.onlinehoteles.com?source=freelancer.com.ar_banner";
	info[0]="Alojamiento en Argentina y Brasil - Online Hoteles";
	target[0]="_top";
	
	image[1]="fotos/skybanner-onlinehoteles.jpg";
	link[1]="http://www.onlinehoteles.com?source=freelancer.com.ar_banner";
	info[1]="Alojamiento en Argentina y Brasil - Online Hoteles";
	target[1]="_top";
	

	
	// Randomly pick a banner to display.
	function rand(n) {
		seed = (0x015a4e35 * seed) % 0x7fffffff;
		return (seed >> 16) % n;
	}
	        
	var now = new Date();
	var seed = now.getTime() % 0xffffffff;
	var position=rand(amount);

//-- End Hiding Here -->

// JavaScript Document

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

