	
		function copyData(from,to) { to.value = from.value; }
	 
	 
	 		function count()
{
var program1 = 160.00;
var program2 = 160.00;
var program3 = 160.00;
var program4 = 160.00;
var program5 = 160.00;
var program6 = 160.00;
var program7 = 160.00;
var program8 = 160.00;
var program9 = 160.00;
var program10 = 160.00;
var program11 = 160.00;
var program12 = 160.00;
var program16 = 275.00;
var program17 = 300.00;
var program19 = 275.00;
var program20 = 300.00;
var program21 = 250.00;
var program23 = 160.00;
var program24 = 160.00;
var program25 = 160.00;
var program26 = 160.00;
var program27 = 160.00;
var program28 = 160.00;
var program29 = 160.00;
var program30 = 160.00;
var program31 = 160.00;
var program32 = 160.00;


 if (registration.program1.checked){
   var item1 = program1;
 } else {
   var item1 =  0;
 }
 
   if (registration.program2.checked){
   var item2 =  program2;
 } else {
   var item2 =  0;
 }
 
  if (registration.program3.checked){
   var item3 =  program3;
 } else {
   var item3 =  0;
 }
 
   if (registration.program4.checked){
   var item4 = program4;
 } else {
   var item4 =  0;
 }
 
   if (registration.program5.checked){
   var item5 =  program5;
 } else {
   var item5 =  0;
 }
 
   if (registration.program6.checked){
   var item6 =  program6;
 } else {
   var item6 =  0;
 }
 
 if (registration.program7.checked){
   var item7 = program7;
 } else {
   var item7 =  0;
 }
 
    if (registration.program8.checked){
   var item8 = program8;
 } else {
   var item8 =  0;
  }
   
    if (registration.program9.checked){
   var item9 = program9;
 } else {
   var item9 =  0;
  }
  
     if (registration.program10.checked){
   var item10 = program10;
 } else {
   var item10 =  0;
  }
  

       if (registration.program11.checked){
   var item11 = program11;
 } else {
   var item11 =  0;
  }
 
      if (registration.program12.checked){
   var item12 = program12;
 } else {
   var item12 =  0;
  } 
  

   if (registration.program16.checked){
   var item16 = program16;
 } else {
   var item16 =  0;
 }
 
   if (registration.program17.checked){
   var item17 = program17;
 } else {
   var item17 =  0;
 }
   
     if (registration.program19.checked){
   var item19 =  program19;
 } else {
   var item19 =  0;
 }
 
   if (registration.program20.checked){
   var item20 = program20;
 } else {
   var item20 =  0;
 }
 
  if (registration.program21.checked){
   var item21 = program21;
 } else {
   var item21 =  0;
 }
 
  if (registration.program23.checked){
   var item23 =  program23;
 } else {
   var item23 =  0;
 }
 
   if (registration.program24.checked){
   var item24 = program24;
 } else {
   var item24 =  0;
 }
 
   if (registration.program25.checked){
   var item25 = program25;
 } else {
   var item25 =  0;
 }
 
   if (registration.program26.checked){
   var item26 = program26;
 } else {
   var item26 =  0;
 }
 
 if (registration.program27.checked){
   var item27 = program27;
 } else {
   var item27 =  0;
 }
 
    if (registration.program28.checked){
   var item28 = program28;
 } else {
   var item28 =  0;
  }
   
    if (registration.program29.checked){
   var item29 = program29;
 } else {
   var item29 =  0;
  }
   
    if (registration.program30.checked){
   var item30 = program30;
 } else {
   var item30 =  0;
  }
   
    if (registration.program31.checked){
   var item31 = program31;
 } else {
   var item31 =  0;
  }  
  
   
    if (registration.program32.checked){
   var item32 = program32;
 } else {
   var item32 =  0;
  }  
 
   document.registration.amount.value = item1 + item2 + item3 + item4 + item5 + item6 + item7 + item8 + item9 + item10 + item11 + item12 + item16 + item17 + item19 + item20 + item21 + item23 + item24 + item25 + item26 + item27 + item28 + item29 + item30 + item31 + item32;

}



/*
Image w/ description tooltip- By Dynamic Web Coding (www.dyn-web.com)
Copyright 2002 by Sharon Paine
Visit http://www.dynamicdrive.com for this script
*/

/* IMPORTANT: Put script after tooltip div or 
	 put tooltip div just before </BODY>. */

var dom = (document.getElementById) ? true : false;
var ns5 = ((navigator.userAgent.indexOf("Gecko")>-1) && dom) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ns4 = (document.layers && !dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ns4 && !ie4 && !ie5) ? true : false;

// resize fix for ns4
var origWidth, origHeight;
if (ns4) {
	origWidth = window.innerWidth; origHeight = window.innerHeight;
	window.onresize = function() { if (window.innerWidth != origWidth || window.innerHeight != origHeight) history.go(0); }
}

// avoid error of passing event object in older browsers
if (nodyn) { event = "nope" }

///////////////////////  CUSTOMIZE HERE   ////////////////////
// settings for tooltip 
// Do you want tip to move when mouse moves over link?
var tipFollowMouse= false;	
// Be sure to set tipWidth wide enough for widest image
var tipWidth= 360;
var offX= 20;	// how far from mouse to show tip
var offY= 10; 
var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
var tipFontSize= "8pt";
// set default text color and background color for tooltip here
// individual tooltips can have their own (set in messages arrays)
// but don't have to
var tipFontColor= "#555555";
var tipBgColor= "#ffffff"; 
var tipBorderColor= "#3366cc";
var tipBorderWidth= 1;
var tipBorderStyle= "ridge";
var tipPadding= 6;

// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing: 
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip
messages[0] = new Array('images/blank.gif','<b><font color="3366cc">Goalkeeper Master Class</font></b><br><hr width="360" size="1" color="3366cc"><div align="justify"><strong>The Goalkeeper Master Class</strong> will develop the key skills needed for this specialized position.  The class will cater for keepers of all ages with sessions designed to challenge all ability levels.  Skills taught will focus on the Ten Principles of Goalkeeping – essential technical, tactical, physical and psychological practice for all keepers serious about improving their game.</p><li>Handling – The Key Consideration<li>Body Shape – The Gunslinging Gorilla<li>Staying Alert – The Concentration Factor<li>Staying on Your Feet – The Importance of Footwork<li>Body Behind the Ball – Making Barriers<li>Getting Set – Ready for Action<li>React, Don’t Anticipate – The Reaction Factor<li>Recovery – Making the Second Save<li>Decisions, Communication and Organization – The Boss of the Defense<li>Goalkeeping in Transition - From Last Defender to First Attacker</div><br>',"#FFFFFF");
messages[1] = new Array('images/blank.gif','<b><font color="3366cc">Fitness and Footskills</font></b><br><hr width="360" size="1" color="3366cc"><div align="justify"><p>The Fitness and Footskills program offers soccer players the chance to develop their game during the winter months when outdoor play is impossible. Rather than simply playing games, this 10 week program offers structured and progressive development focusing on two aspects of the game:</p>1. The fitness components required for soccer, including aerobic fitness (endurance), strength training, sprinting techniques, plyometrics (bounding) and Speed, Agility & Quickness (SAQ). Players will undergo fitness testing to determine their level of fitness, using tests recognized by leading Colleges and Universities. <br><img src="images/spacer.gif" width=1 height=6 border=0><br>2. Technical development of the key technical components of soccer, including ball control (Fast Starters), ball-striking, heading, turning and dribbling. Sessions will also allow players to practice their new found skills in 1v1 and 3v3 (\‘Joga Bonito\’) style environments.<p>The curriculum, while not for the faint hearted is delivered in a fun manner and is appropriate to the level of players involved, but flexible enough to provide a test for each player. Our experienced coaches – also Physical Education graduates – provide a physical and technical experience for each player that will provide huge benefits to their outdoor game when spring arrives, while also giving a highly enjoyable workout each week.</p></div><br>',"#FFFFFF");
messages[2] = new Array('images/blank.gif','<b><font color="3366cc">Striker Clinic</font></b><br><hr width="360" size="1" color="3366cc"><div align="justify">Scoring goals is the key to winning soccer games, and goal-scorers are the players that get the most attention. This program offers players a chance to focus totally on improving and sharpening this crucial element of their soccer skill-set.<p>Topics covered will include:<br><br>1. Long-range shooting<br>2.  Curled & chip shots<br>3.       The art of tap-ins<br>4.       Right-foot and left-foot shooting<br>5.       Attitude to shooting<br>6.       Scoring with the head<br>7.       Volleying<br>8.       Moves to beat final defender<br>9.       Creating ˝ a yard to shoot</p>All these things – and more – are covered in this program. The Striker Clinic is delivered by Mark Woodward, and promises an enjoyable focus every training week, striking fear into goalkeepers everywhere when the spring season starts!!!</div><br>',"#FFFFFF");
messages[3] = new Array('images/blank.gif','<b><font color="3366cc">Peak Soccer Performance (PSP)</font></b><br><hr width="360" size="1" color="3366cc"><div align="justify">Peak Soccer Performance (PSP) provides all-round soccer development with a specific focus on developing speed and agility, acceleration, reaction time, pace and power. The coaching element is in the context of practical situations – preparing players to execute skills correctly at speed under pressure. All this is achieved by analyzing and developing the specific requirements of the soccer player, delivered in a soccer context. We also use a variety of equipment including speed hurdles, ladders, rings and parachutes, and video-analysis where appropriate. All this works toward making players mentally and physically better prepared to perform to the peak of their potential.</div><br>',"#FFFFFF");
messages[4] = new Array('images/blank.gif','<b><font color="3366cc">Center of Excellence</font></b><br><hr width="360" size="1" color="3366cc">Our Center of Excellence program offers a structured program of training and competition, and is part of our commitment to providing the best possible opportunities for the soccer community we serve. We run the program on a year round basis, with different classes dove-tailing into other soccer league commitments. This supplement to the schedule of the commited soccer players ensures continual progression and development for all our players, enabling them to reach their full potential, guided by staff of the highest quality.<br><br>',"#FFFFFF");
messages[5] = new Array('images/blank.gif','<b><font color="3366cc">Kindersoccer</font></b><br><hr width="360" size="1" color="3366cc"><p>The Kindersoccer program is designed specifically for younger children, and directed by staff who specialize in working with this age group. The camp provides the best possible introduction to soccer for the aspiring soccer player, in a fun setting that will only increase their love of the game. Players develop basic ball skills and techniques, through fun games and exercises. Kindersoccer camps offer the best introduction to the beautiful game while providing a fun and enjoyable learning environment.</p><br><br>',"#FFFFFF");
messages[6] = new Array('images/blank.gif','<b><font color="3366cc">High School Skills and Drills</font></b><br><hr width="360" size="1" color="3366cc">Designed specifically for players who are looking to get the most intense, physically demanding and challenging preseason training possible - in a focused professional setting. Players will follow an advanced technical and tactical curriculum. The aim is to maximize the potential of each player throughout the Fall season. All training is focused to players performing to an optimum level for when high school training begins, and individual progress reports allow players to go away knowing areas they can develop in their own time.<br><br>',"#FFFFFF");
messages[7] = new Array('images/blank.gif','<b><font color="3366cc">First Touch</font></b><br><hr width="360" size="1" color="3366cc">The training young players receive can not only shape their playing habits for the remainder of their playing careers, but also serves to inspire them to greater things.</p><p>Our coaching with young players focuses on the Dutch skills philosophy of  \"total socce\r". This model encourages players to develop a wide range of abilities and to make the correct decisions on the field, rather than simply conditioning them to rely on instructions and only understanding how to play one position.</p><p>Throughout everything we do, there is a large component of fun. We recognize that the happy player is more receptive to learning, and we want people to leave every session counting the minutes to the start of the next one!</p><span class="sonesoccer"><strong>This program is:</strong></span><br><br><li>Especially for younger players<li>The best possible introduction to soccer for the aspiring soccer player.<li>Based on the world-famous Dutch coaching model<li>Helpful to players that want to develop the individual ball skills and techniques needed to be successful<li>A chance to learn the rules of the game<li>A wonderful introduction to \"the beautiful game\"<br><br>',"#FFFFFF");
messages[8] = new Array('images/blank.gif','<b><font color="3366cc">High School</font></b><br><hr width="360" size="1" color="3366cc">Designed specifically for players who are looking to get the most intense, physically demanding and challenging preseason training possible - in a focused professional setting. Players will follow an advanced technical and tactical curriculum. The aim is to maximize the potential of each player throughout the Fall season. All training is focused to players performing to an optimum level for when high school training begins, and individual progress reports allow players to go away knowing areas they can develop in their own time.<br>',"#FFFFFF");
messages[9] = new Array('images/blank.gif','<b><font color="3366cc">FUT1</font></b><br><hr width="360" size="1" color="3366cc"><p>This is a new program designed to work the individual in a small group. The session revolves around FUTSAL, which develops Fast Starters, control and dribbling abilities. This program is different because the coach’s interact with play. Working on the players individual ability’s in game related situation they get to try new things and work on their technique under pressure. Each player will be evaluated on the first week to work out what they need to improve as well as this  each week there is a special topic; i.e. running at players, this emphasis confidence to  beat players not just pass around them. </p><br>',"#FFFFFF");
messages[10] = new Array('images/blank.gif','<b><font color="3366cc">Fast Starters</font></b><br><hr width="350" size="1" color="3366cc"><p><em>SONESOCCER</em> is pleased to present Fast Starters, a pre-travel program for young soccer players around 1st Grade age. The program provides tuition that is fun, but also develops soccer fundamentals, offering the best possible introduction to soccer. As a wonderful first experience in the sport, it offers every ‘Fast Starter’ a chance to get a taste of all that as good about the game, also experiencing success through developing skills from a progressive soccer curriculum, and within a positive learning environment.</p><br>',"#FFFFFF");
messages[11] = new Array('images/blank.gif','<b><font color="3366cc">Skill Development</font></b><br><hr width="350" size="1" color="3366cc"><p><strong><font color=3366cc>The Skill development</font></strong> program is designed for players who enjoy soccer, and are keen to improve their skills and enhance their enjoyment of the game. Players are grouped according to ability, and undertake a program designed for their level, in an environment that allows them to work at their own pace. Constant input and support from the <em>SONESOCCER</em> staff often leads to results often beyond what players thought possible, coupled with a highly enjoyable and fun experience. </p><br>',"#FFFFFF");
messages[12] = new Array('images/blank.gif','<b><font color="3366cc">The PassMasterClass (PMC)</font></b><hr width="350" size="1" color="3366cc"><p>The PassMasterClass (PMC) deals with the many techniques of passing: from a 5-yard backpass to a defense-splitting through ball, different passes are practiced in depth so you are better equipped to keep the ball and make a positive impact when the ball is at your feet.</p><p>Individual and small-sided exercises will provide numerous opportunities for you to increase the range and quality of your passing.  Tactical situations will also be included to improve your decision-making ability under pressure.</p><p>Players of all ages and abilities will benefit from this program.  Take your game to the next level and graduate to become a PassMaster!</p><br>',"#FFFFFF");
messages[13] = new Array('images/blank.gif','<b><font color="3366cc">Advanced Technical Training</font></b><hr width="350" size="1" color="3366cc"><p>Following the success of the Center  of Excellence program and as a result of both parent and player feedback, the Advanced Technical Training (ATT) program is designed to develop the technical abilities of the higher level soccer player, focusing the development and execution of skills in pressured situations. Recognizing that team training sessions need to focus on a group of players and their collective needs, ATT classes will have smaller group sizes to allow more one-to-one training. Game play will be in 1v1, 2v2 and 3v3 situations, with a focus on the individual skills necessary to beat opponents. Also covered are different ways of striking and bending the ball, improving Fast Starters and increasing the speed of decisions in pressured situations.</p><p>Playing high level travel soccer is a pre-requisite for entering the program and applicants should be aware that the intensity is not for everyone, but designed around the needs of the focused and motivated player. The ATT class is for 9 through 11 year-old players, ATT+ is for 12 through 14s – although there is flexibility between groups based on ability.</p><p>Places are limited to ensure quality and small coach/player ratios, early classes have already sold out. The class represents great value for the techniques learned to equip the player for the highest level of soccer.</p><br>',"#FFFFFF");
messages[14] = new Array('images/blank.gif','<b><font color="3366cc">Futsal</font></b><hr width="350" size="1" color="3366cc"><p>Futsal is the only Official form of Indoor Soccer approved by FIFA.  It is played on all the continents of the world in over 100 countries by more than 12 million players. Futsal is played on a basketball-size court, and can be played on a variety of surfaces.  Without the walls, futsal is a great skill-developer, demanding quick reflexes, fast thinking, and pin-point passing.  It is an exciting game for children as well as adults.</p><p>Great soccer superstars such as Pele, Zico and Socrates grew up playing the game and credit Futsal with developing their skills.  Futsal is played with a special low bounce ball, requiring players to use their skills, rather than the ball\'s bounce, to propel it.</p> <p>This program teaches players some of the basic techniques necessary to play the game effectively, with plenty of time for players to learn themselves in game situations. Included in the price is participation into the State Futsal Championship at the appropriate age.</p><br>',"#FFFFFF");
messages[15] = new Array('images/blank.gif','<b><font color="3366cc">Art of Defending</font></b><hr width="350" size="1" color="3366cc"><p>We all know that offense sells tickets and defense wins championships. Whether you consider yourself a defender, midfielder or attacker, as soon as your team doesn\'t have the ball, you\'re defending! Knowing how to defend properly can often be the difference between victory and defeat and after all, if you don\'t concede a goal, you can\'t lose. The Art of Defending will cover all the essential aspects of defending and will help the individual, defensive unit and team improve the following:</p><ol><li>1v1: Winning the Individual Battle<li>Pressure, Cover, Balance<li>Man-to-man and zonal marking<li>Defending in transition<li>Controlling the space: staying compact as a unit<li>Making play predictable<li>Defending set-pieces<li>Developing the Defensive Mentality<li>How to tackle<li>Effective communication</ol>Individuals and teams will benefit greatly from this intense, focused program.</p><br>',"#FFFFFF");
messages[16] = new Array('images/blank.gif','<b><font color="3366cc">Winning Attitudes</font></b><hr width="350" size="1" color="3366cc"><p>Winning Attitudes focuses on the least practiced but often most important aspect of soccer: the psychological side of the game. This practical, classroom-based program will help all players develop their mental game, covering the following areas:</p><ul><li>Psychological profile: what kind of player are you?<li>Positive Mental Energy: Developing Confidence<li>Control and Discipline<li>Visualization: How to set goals<li>Mental Toughness<li>Competing v Playing<li>Motivation: Extrinsic and Intrinsic<li>Staying positive: what to say when you talk to yourself<li>Having a Winning Mentality/ul>The program will prove beneficial for players of all ages and abilities and will help the individual in other walks of life.</p><br>',"#FFFFFF");
messages[17] = new Array('images/blank.gif','<b><font color="3366cc">Camps</font></b><hr width="350" size="1" color="3366cc"><p><span class="sonesoccer">SONESOCCER</span> offers camps which are carefully tailored for the needs of the players, who are grouped into appropriate ability levels on the first day of the camp. We integrate our high-quality coaching with games and activities that combine to promote learning in a variety of enjoyable ways. All camp sessions finish with structured scrimmage games, allowing players to apply and practice what they have learned in game situations. We have specialist goalkeeper coaching staff at our camps to offer the best training in this specialist position.</p><br>',"#FFFFFF");

////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

// preload images that are to appear in tooltip
// from arrays above
if (document.images) {
	var theImgs = new Array();
	for (var i=0; i<messages.length; i++) {
  	theImgs[i] = new Image();
		theImgs[i].src = messages[i][0];
  }
}

// to layout image and text, 2-row table, image centered in top cell
// these go in var tip in doTooltip function
// startStr goes before image, midStr goes between image and text
var startStr = '<table width="' + tipWidth + '"><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td valign="top">';
var endStr = '</td></tr></table>';

////////////////////////////////////////////////////////////
//  initTip	- initialization for tooltip.
//		Global variables for tooltip. 
//		Set styles for all but ns4. 
//		Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ns4)? document.tipDiv.document: (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = (ns4)? document.tipDiv: tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		tipcss.fontFamily = tipFontFamily;
		tipcss.fontSize = tipFontSize;
		tipcss.color = tipFontColor;
		tipcss.backgroundColor = tipBgColor;
		tipcss.borderColor = tipBorderColor;
		tipcss.borderWidth = tipBorderWidth+"px";
		tipcss.padding = tipPadding+"px";
		tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		if (ns4) document.captureEvents(Event.MOUSEMOVE);
		document.onmousemove = trackMouse;
	}
}

window.onload = initTip;

/////////////////////////////////////////////////
//  doTooltip function
//			Assembles content for tooltip and writes 
//			it to tipDiv
/////////////////////////////////////////////////
var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip(evt,num) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	// set colors if included in messages array
	if (messages[num][2])	var curBgColor = messages[num][2];
	else curBgColor = tipBgColor;
	if (messages[num][3])	var curFontColor = messages[num][3];
	else curFontColor = tipFontColor;
	if (ns4) {
		var tip = '<table bgcolor="' + tipBorderColor + '" width="' + tipWidth + '" cellspacing="0" cellpadding="' + tipBorderWidth + '" border="0"><tr><td><table bgcolor="' + curBgColor + '" width="100%" cellspacing="0" cellpadding="' + tipPadding + '" border="0"><tr><td>'+ startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr + '</td></tr></table></td></tr></table>';
		tooltip.write(tip);
		tooltip.close();
	} else if (ie4||ie5||ns5) {
		var tip = startStr + messages[num][0] + midStr + '<span style="font-family:' + tipFontFamily + '; font-size:' + tipFontSize + '; color:' + curFontColor + ';">' + messages[num][1] + '</span>' + endStr;
		tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
	else t1=setTimeout("tipcss.visibility='visible'",100);
}

var mouseX, mouseY;
function trackMouse(evt) {
	mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
	mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	if (tipOn) positionTip(evt);
}

/////////////////////////////////////////////////////////////
//  positionTip function
//		If tipFollowMouse set false, so trackMouse function
//		not being used, get position of mouseover event.
//		Calculations use mouseover event position, 
//		offset amounts and tooltip width to position
//		tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip(evt) {
	if (!tipFollowMouse) {
		mouseX = (ns4||ns5)? evt.pageX: window.event.clientX + document.body.scrollLeft;
		mouseY = (ns4||ns5)? evt.pageY: window.event.clientY + document.body.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ns4)? tooltip.width: (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ns4)? tooltip.height: (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns4||ns5)? window.innerWidth-20+window.pageXOffset: document.body.clientWidth+document.body.scrollLeft;
	var winHt = (ns4||ns5)? window.innerHeight-20+window.pageYOffset: document.body.clientHeight+document.body.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = (ns4)? mouseX-(tpWd+offX): mouseX-(tpWd+offX)+"px";
	else tipcss.left = (ns4)? mouseX+offX: mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = (ns4)? winHt-(tpHt+offY): winHt-(tpHt+offY)+"px";
	else tipcss.top = (ns4)? mouseY+offY: mouseY+offY+"px";
	if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}




