// JavaScript Document
function toggleMenu(currMenu) {
			if (document.getElementById) {
				thisMenu = document.getElementById(currMenu).style
				if (thisMenu.display == "block") {
					thisMenu.display = "none"
				}
				else {
					thisMenu.display = "block"
				}
				return false
			}
			else {
				return true
			}
		}

	<!-- Hide script from old browsers

	adImages = new Array("ads/4sl.gif","ads/2sl.gif","ads/3sl.gif","ads/1sl.gif","ads/5sl.gif","ads/7sl.gif","ads/8sl.gif","ads/9sl.gif","ads/11sl.gif","ads/12sl.gif","ads/13sl.gif","ads/15sl.gif")
	adURL = new Array("ads/4s.gif","ads/2s.gif","ads/3s.gif","ads/1s.gif","ads/5s.gif","ads/7s.gif","ads/8s.gif","ads/9s.gif","ads/11s.gif","ads/12s.gif","ads/13s.gif","ads/15s.gif")
	thisAd = 0
	imgCt = adImages.length
	
	adImages1 = new Array("ads/2l.gif","ads/1l.gif","ads/3l.gif","ads/4l.gif","ads/5l.gif","ads/6l.gif","ads/7l.gif","ads/8l.gif","ads/9l.gif","ads/10sl.gif","ads/10l.gif","ads/6sl.gif","ads/11l.gif","ads/12l.gif","ads/13l.gif","ads/14l.gif")
	adURL1 = new Array("ads/2.gif","ads/1.gif","ads/3.gif","ads/4.gif","ads/5.gif","ads/6.gif","ads/7.gif","ads/8.gif","ads/9.gif","ads/10s.gif","ads/10.gif","ads/6s.gif","ads/11.gif","ads/12.gif","ads/13.gif","ads/14.gif")
	thisAd1 = 0
	imgCt1 = adImages1.length
	
	adImages2 = new Array("ads/5_l.gif","ads/2_l.gif","ads/3_l.gif","ads/4_l.gif","ads/1_l.gif","ads/6_l.gif","ads/7_l.gif","ads/8_l.gif","ads/9_l.gif","ads/10_l.gif","ads/11_l.gif","ads/12_l.gif","ads/13_.gif","ads/14_l.gif","ads/palawan_l_.gif")
	adURL2 = new Array("ads/5_.gif","ads/2_.gif","ads/3_.gif","ads/4_.gif","ads/1_.gif","ads/6_.gif","ads/7_.gif","ads/8_.gif","ads/9_.gif","ads/10_.gif","ads/11_.gif","ads/12_.gif","ads/13_.gif","ads/14_.gif","ads/palawan.gif")
	thisAd2 = 0
	imgCt2 = adImages2.length

	function rotate() {
		if (document.images) {
			if (document.adBanner.complete) {
				thisAd++
				if (thisAd == imgCt) {
					thisAd = 0
				}
				document.adBanner.src=adImages[thisAd]
			}
		
		if (document.adBanner1.complete) 
			{
				thisAd1++
				if (thisAd1 == imgCt1) 
				{
					thisAd1 = 0
				}
				document.adBanner1.src=adImages1[thisAd1]
			}
		
		if (document.adBanner2.complete) 
			{
				thisAd2++
				if (thisAd2 == imgCt2) 
				{
					thisAd2 = 0
				}
				document.adBanner2.src=adImages2[thisAd2]
			}
		
		  	setTimeout("rotate()", 3 * 1000)
	  	}
	}
	
	function newLocation() {
		document.location.href = adURL[thisAd]
	}

	function newLocation1() {
		document.location.href = adURL1[thisAd1]
	}
	
	function newLocation2() {
		document.location.href = adURL2[thisAd2]
	}

	// End hiding script from old browsers -->
	

var offsetxpoint=15 //Customize x offset of tooltip
var offsetypoint=20 //Customize y offset of tooltip
var ie=document.all
var ns6=document.getElementById && !document.all
var enabletip=false
if (ie||ns6)
var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

function ietruebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}

function ddrivetip(thetext, thecolor, thewidth)
{
	if (ns6||ie)
	{
	if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
	if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
	tipobj.innerHTML=thetext
	enabletip=true
	return false
	}
}

function positiontip(e)
{
	if (enabletip)
	{
	var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
	var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
	//Find out how close the mouse is to the corner of the window
	var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-20
	var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-20

	var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000

//if the horizontal distance isn't enough to accomodate the width of the context menu
	if (rightedge<tipobj.offsetWidth)
//move the horizontal position of the menu to the left by it's width
	tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
	else if (curX<leftedge)
	tipobj.style.left="5px"
	else
//position the horizontal position of the menu where the mouse is positioned
tipobj.style.left=curX+offsetxpoint+"px"

//same concept with the vertical position
	if (bottomedge<tipobj.offsetHeight)
	tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
	else
	tipobj.style.top=curY+offsetypoint+"px"
	tipobj.style.visibility="visible"
	}
}

function hideddrivetip(){
if (ns6||ie){
enabletip=false
tipobj.style.visibility="hidden"
tipobj.style.left="-1000px"
tipobj.style.backgroundColor=''
tipobj.style.width=''
}
}

document.onmousemove=positiontip


