/*
$(document).ready(function() {
		$("ul.nav").superfish();
		$(".nav > li").mouseover(function(){
     		$(this).addClass("current");
			$(this).siblings().removeClass("current");
		});
		$("#new-suggest ul li:last-child").addClass("lastchild");
		$("body").append("<div id='extraContent'><div class='repeatable-bg'></div></div>");
			var x,y;
			if (self.innerHeight) // all except Explorer
			{
				x = self.innerWidth;
				y = self.innerHeight;
			}
			else if (document.documentElement && document.documentElement.clientHeight)
				// Explorer 6 Strict Mode
			{
				x = document.documentElement.clientWidth;
				y = document.documentElement.clientHeight;
			}
			else if (document.body) // other Explorers
			{
				x = document.body.clientWidth;
				y = document.body.clientHeight;
			}
			if(x < 1003 && self.screen.width >= 1024 ){ window.resizeTo(1003,y+100) }
			else if(self.screen.width <1024 ){$("html").css("overflow-x","auto")}
 		$("#page-container").append("<div id='right-extra'><div id='char'><div></div></div></div> ");
                $("#quicklinks .toptitle").html("<a href='../../index.html'></a>");
		$(".selectlist").click(function(){ $(".selectlist ul").css("display","block")});
		$(".selectlist").blur(function(){ window.setTimeout("$('.selectlist ul').css('display','none')",300)});
		$(".slidelist .newstitle_bg span.btn").click(function(){ $(this).parents("li").toggleClass("expanded")});
		$("input").focus(function(){ $(this).addClass("focus")});
		$("input").blur(function(){ $(this).removeClass("focus")});
});
*/
function ddrivetip(thisText)
{
  isShowing=true;
  document.getElementById("toolBox").style.left=mouseX+10+"px";
  document.getElementById("toolBox").style.top=mouseY+15+document.documentElement.scrollTop+"px";
  document.getElementById("toolBox").innerHTML=thisText;
  document.getElementById("toolBox").style.display="block";
}
function hideddrivetip()
{
  document.getElementById("toolBox").style.display="none";
  isShowing=false;
}

function tipPosition(callingEvent)
{
  if (!callingEvent) callingEvent=window.event;
  mouseX=callingEvent.clientX;
  mouseY=callingEvent.clientY-1;
    var rightedge=document.body.clientWidth-callingEvent.clientX-40;
	var leftX=(rightedge>0)?10:-70;
  {
	document.getElementById("toolBox").style.left=mouseX+leftX+"px";
	document.getElementById("toolBox").style.top=mouseY+15+document.documentElement.scrollTop+"px" ;
  }
}
document.onmousemove=tipPosition;


