// Original:  Randy Bennett (rbennett@thezone.net)

// Web Site:  http://home.thezone.net/~rbennett/utility/javahead.htm

// This script and many more are available free online at

// The JavaScript Source!! http://javascript.internet.com



var browser = navigator.appName;

var ie = "Microsoft Internet Explorer";

var n = "Netscape";

var netscape = (navigator.appName.indexOf("Netscape") !=-1);

var x,y;



function DoNothing() {

	var x = 'y';

}



function ShowBubble(a,offLeft,offTop) {

	content = "<TABLE CELLPADDING='5' CELLSPACING='0' BORDER='0' BGCOLOR='#CCCCCC'><TR><TD CLASS='hint'>";

	
	if (a==1) 

		content += "If the street number<BR>is a range of numbers<BR>e.g 1-5 enter the<BR>first number only";

	if (a==3) 

		content += "If you select yes, you will manage<BR>this service from your existing account<BR>login and pin";

	if (a==4) 

		content += "Please enter 6<BR>numerical digits<BR>only";

	if (a==5) 

		content += "This new credit<BR>card will replace<BR>the previous saved";

	if (a==6) 

		content += "Key in the amount in<BR>dollars";

	if (a==7) 

		content += "Key in the security<BR>number found<BR>underneath the silver<BR>panel on the back of<BR>your recharge card<BR>(just scratch it gently<BR>away)";

	if (a==8) 

		content += "Totally hassle-free… Virgin Mobile can direct debit your cheque or savings account or your credit card each month to pay for your previous month's bill. (You still get a bill so you can see your charges).";

	if (a==9) 

		content += "You can choose to pay your bill by mail. Don't forget to include the payment slip in our reply-paid envelope along with your cheque (with the Bill Number written on the back) or your credit card details.";		

	if (a==10) 

		content += "Bpay lets you pay your Virgin Mobile bill from your cheque, savings or credit card account. You can set up Bpay by calling your bank, credit union or building society.";

	if (a==11) 

		content += "You can pay your Virgin Mobile Month to Month bill over the phone by Bankcard, MasterCard or Visa.  Just call our Virgin Mobile Team on 1300 555 100… and don't forget to have your card and bill details handy.";			

	if (a==12) 

		content += "You can pay your bill on this site in My Account.";		

	if (a==13) 

		content += "If you're having trouble paying your bill - financial or otherwise, give us a call and we'll try and help with other payment options.";

	if (a==14) 

		content += "Remember, if you're moving house, it's only a simple call to our Virgin Mobile Team on 1300 555 100 to tell us your new address. ";	

	if (a==15) 

		content += "If you're paying your bill by mail, just fill out the details of this payment slip and post it along with your payment in the reply-paid envelope you get with your bill.";		

	if (a==16) 

		content += "From this point on, each Virgin Mobile phone<BR>that's on this bill will be listed seperately.<P>This is where a charge can be listed if you<BR>haven't made $15 worth of calls etc for the<BR>month (minimum monthly charge). ie. You'll<BR>be charged $5 if you have only made $10 worth<BR>of calls.  If you have insurance for your phone,<BR>the monthly charge will aslo show here.<BR>Remember, all amounts listed here don't<BR>include GST.";	

	if (a==17) 

		content += "Your monthly mobile phone instalment. Instalments are GST free.";		

	if (a==18) 

		content += "A summary of the Vibe news and fun services you've used since your last bill.  Remember, the amounts listed here don't include GST.";	

	if (a==19) 

		content += "Remember, with Virgin Mobile the more you spend each month, the cheaper your calls get… automatically. See an itemised view of any national calls you have made since your last bill (billed by the second). This includes any calls that you have made using your allocated Rave Rate to a mate, also Virgin Mobile WOW time, (off-peak calls). The amounts listed don't include GST.";				

	if (a==20) 

		content += "A summary of call charges relating to each phone number on your account.";		

	if (a==21) 

		content += "See how much you've spent on each mobile number… if you have more than one mobile number on your account.  Remember, any amounts listed here don't include GST.";	

	if (a==22) 

		content += "Any payments received or adjustments made on your account will show up in this section of your bill.  Remember, these amounts do include GST.";				

	if (a==23) 

		content += "Remember, with Virgin Mobile the more you spend each month, the cheaper your calls get… automatically. See any international calls you have made (billed by the second). The amounts listed here don't include GST.";	

	if (a==24) 

		content += "The charges for your 'basic service'… including Text-mail (SMS), V-mail (Voicemail), Page-mail and Virgin 2 Virgin Text-mail. Note, the amounts listed here don't include GST.";					

	if (a==25) 

		content += "This section of your bill will only appear if you've been 'Globetrotting' (used your phone overseas).  Here, you can see the date, time, origin and destination, phone number, how long you've spoken for and the cost of your call.  If you want to go Globetrotting, just call our Virgin Mobile Team on 1300 555 100 before you jump on a plane, so we can give you access.  Note that Globetrotting calls are GST free!";	

	if (a==26) 

		content += "Your calls to special numbers… such as 12, 13, and 18 numbers.  You can see the date, time, number, how long you've spoken for and the cost of your call.  Remember, the amounts listed here don't include GST.";	

	if (a==31) 

		content += "This is your Virgin Mobile account number.  You can have two mobile numbers or services on this account, or request for approval for more with us… and receive just one bill for your family or business.";

	if (a==32) 

		content += "This number is unique on each bill.  You'll be asked to quote your Bill Number when paying your bill with your credit card and occasionally when you're speaking to the Virgin Mobile Team. Also, if you're mailing your payment, you will need to write your Bill Number on the back of your cheque.";

	if (a==33) 

		content += "This is the date your bill has been issued and from which the due date has been calculated.";

	if (a==34) 

		content += "This is the date your Virgin Mobile bill needs to be paid by.  It's also the date when your bank account, credit card etc. will be deducted if you have set up Direct Debit. (We'll still send you a bill if you use Direct Debit, so you can view your charges.)";	

	if (a==35) 

		content += "This was the amount<BR>due on your last bill.";

	if (a==36) 

		content += "This is the sum of any payments we have received since your last bill.";

	if (a==37) 

		content += "These are all your<BR>new charges since<BR>your last bill.";

	if (a==38) 

		content += "This is how much you<BR>owe us! It includes<BR>any outstanding amount<BR>that you may have forgotten<BR>to pay last month.";

	if (a==39) 

		content += "These are the dates<BR>that are covered<BR>by your bill.";

	if (a==40) 

		content += "All the new charges<BR>on your bill<BR>without GST.";

	if (a==41) 

		content += "The GST amount relating<BR>to your new charges.";

	if (a==42) 

		content += "The new charges and adjustments on your bill including GST.";

	if (a==43) 

		content += "Your new charges for each section of the bill...<BR>- Service - Minimum Monthly spend, insurance etc.<BR>- Equipment - this is your monthly mobile phone instalment (interest free).<BR>- Virgin Mobile Vibe - The really great services you've accessed during this billing period.<BR>- National & International calls - call details.<BR>- The basics - Your everyday mobile necessities... such as V-mail, Text-mail etc.<BR>- Globetrotting calls - calls made and received while you are overseas.<BR>- Special number calls - information calls.<BR>- Adjustments/other charges - any adjustment which has been addedto your Virgin Mobile account during the last billing period.<BR>- GST Adjustments - where an adjustment has been made to your Virgin Mobile account, a GST adjustment must also be made.";

	if (a==44) 

		content += "Don't forget to read our blurb each month.  This is where we'll post reminders and update you on the latest Virgin Mobile hot offers.";

	if (a==45) 

		content += "How to contact us! Drop us a line right here on this website. Go to the 'Contact Us' section.";

	if (a==46) 

		content += "The new charges on your bill without GST.";

	if (a==47) 

		content += "The GST amount relating to your new charges.";	

	if (a==48) 

		content += "How to contact us! Drop us a line right here on this website. Go to the 'Contact Us' section.";	

	if (a==49) 

		content += "This is your Bpay customer reference number and it changes for each bill.  You will need it to pay each bill via Bpay.";	

	if (a==50) 

		content += "You will need to pay your bill on time<br> in order to avoid our late payment fee.<BR>Note: If you use our Direct Debit option,<BR>you'll never have a late bill!";

	if (a==51) 

		content += "If you have insurance on your phone,<BR>the monthly premium will show here.<BR>Remember, all amounts listed here<BR>don't include GST.";	

	if (a==52) 

		content += "This is your Dial High Club Level.";

	if (a==53) 

		content += "Your Dial High Club included service credit (including any BONUS service credit). Note, this doesn't include GST.";	

	if (a==54) 

		content += "Equipment - This will show your handset order as $0 on your first bill only. There are no ongoing equipment charges for the Dial High Club.";	

	if (a==55) 

		content += "Your new charges for each section of the bill…<br>-	Service - Insurance, Dial High Club Level, Dial High Club Included credit etc.<br>-	Equipment - This will show your handset order as $0 on your first bill only. There are no ongoing equipment charges for the Dial High Club.<br>- Vibe - News and fun on the run. The news and entertainment services you accessed during this billing period.<br>- National & International calls - call details<br>- The basics - Your everyday mobile necessities… such as V-mail, Text-mail, Page-mail etc.<br>-	Globetrotting - calls made and received while you areoverseas.<br>- Special number calls - information calls eg: 12 numbers.<br>- Adjustments/other charges - any adjustment that's been added to your Virgin Mobile account during the last billing period.<br>- GST Adjustment - where an adjustment has been made to your Virgin Mobile account, a GST adjustment must also be made.";	

	if (a==56) 

		content += "<p>Never flashed anyone before? It's simple.<br>Just pull out your phone and give any of <br>our fantastic partners a quick 'flash' of the <br>'Vibe' screen. You'll be amazed at what<br>happens. </p><p>To display the Vibe screen you simply go<br>to your phone's main menu and click up <br>once. In some phones the Vibe screen may <br>be in the 'Tools', 'Extras' or 'Services' <br>menu.</p>";

	if (a==57) 

		content += "<p>Celebrate our 2nd birthday, with tiny two <br>cent text messagesfor a whole 6 months. <br>Just connect on line before Nov 19th, 2002 </p><p>Conditions of Offer<br>Use of this service for bulk commercial SMS <br>messages is a breach of our terms &amp; conditions,<br>could result in the suspension or cancellation<br>of your service and will be charged at normal <br>SMS rates</p>";

	if (a==58) 

		content += "<span class=subheading>What's Inside</span> <table width='100%' border='0' cellspacing='0' cellpadding='0'><tr>    <td valign='top' align='left' width='5%'>   <li>   </td>  <td width='95%'>Connection to Virgin Mobile</td>  </tr>   <tr>    <td valign='top' align='left' width='5%'>   <li>   </td>  <td width='95%'>Cash Cow Money Box</td>  </tr>   <tr>    <td valign='top' align='left' width='5%'>   <li> </td> <td width='95%'>Vibe Perks - Deals and Discounts</td>   </tr>   </table>";
		
	if (a==59) 

		content += "You must be logged in to view this.";

content += "</TD></TR></TABLE>";
	
	if (a==60) 

		content += "<div id='bonus_1' style='position:relative;z-index:1;visibility:hidden;left:80;top:80'><table><tr><td bgcolor='red'><img src='/selfcare/MyAccount/store/images/storepromos/banner_nokia5300_headphones.jpg' width='360' height='100' border='0'></td></tr>This is a image test</div>";

content += "</TD></TR></TABLE>";

	if (document.all) {

		document.all.bubble.innerHTML = content;

		document.all.bubble.style.left = event.clientX + offLeft + document.body.scrollLeft;

		document.all.bubble.style.top = event.clientY + offTop + document.body.scrollTop;

	} else {

		document.bubble.document.write(content);

		document.bubble.document.close();

		document.bubble.left = x + offLeft;

		document.bubble.top = y + offTop;

	}

}

	

function HideBubble(b){

	if (document.all){bubble.innerHTML="";}

	else{eval(document.bubble.top = b);}

}



function handlerMM(e) {

	x = (document.layers) ? e.pageX : event.clientX;

	y = (document.layers) ? e.pageY : event.clientY;

}



if (document.layers) {

	document.captureEvents(Event.MOUSEMOVE);

}



document.onmousemove = handlerMM;


