//==== image preloader ====//
var myimages_right = new Array();
function preloading_right(){
for (x=0; x<preloading_right.arguments.length; x++){
myimages_right[x] = new Image();
myimages_right[x].src = preloading_right.arguments[x];
}
}
preloading_right("australia/yelllo_a/APPLICATION-FORM-08.jpg","australia/yelllo_a/POSTAL.jpg","australia/yelllo_a/PHONE-NUMBERS.jpg","australia/yelllo_a/EMAIL.jpg","australia/yelllo_a/CONFIDENTIALITY-STATMENT.jpg");
//==== preloader ends ====//


//========== right menu quotes ====================//
var quotes_r=new Array("Man cannot live by chocolate alone but it’s sure fun trying.",
"Chocolate doesn't make the world go around ... but it certainly makes the trip more pleasant!",
"A day without chocolate is a day without sunshine.",
"REASONS WHY CHOCOLATE IS BETTER THAN MEN No one’s ever been jilted by a chocolate gateau.",
"REASONS WHY CHOCOLATE IS BETTER THAN MEN A bar of chocolate doesn’t bore you by constantly talking about football.",
"REASONS WHY CHOCOLATE IS BETTER THAN MEN Your mother will never disapprove of your choice of chocolate.",
"Chocoholics Dictionary  Romance : The art of slowly and seductively unwrapping your chocolate bar.",
"Chocoholics Dictionary iet : Cutting down from twelve to eleven chocolate gateaux per day.",
"Chocoholics Dictionary Recipe : A formula to ensure that chocolate is included in everything from baked potatoes to onion soup.",
"Chocoholics Dictionary Self Control : Saving half your box of chocolates until 'later'.",
"Chocoholics Dictionary Ultimate Act of Generosity : Grudgingly giving someone a square of your precious chocolate.",
"If youve got melted chocolate all over your hands, youre eating it too slowly.",
"Chocolate coated raisins, peanuts, cherries, orange slices and strawberries all count as fruit, so eat as many as you want.",
"Eat a chocolate bar before each meal. Itll take the edge off your appetite and youll eat less.",
"Problem: How to get a kilogram of chocolate home from the shops in a hot car. Solution: Eat it in the car park.",
"If calories are an issue, store your chocolate on top of the fridge. Calories are afraid of heights and they will jump out of the chocolate to protect themselves.",
"If I eat equal amounts of dark and white chocolate, is that a balanced diet? Dont they actually counteract each other?",
"Money talks. Chocolate sings. Beautifully!",
"Chocolate has many preservatives. Preservatives make you look younger!",
"A nice box of chocolates can provide your total daily intake of calories in one place. Isnt that handy?",
"If you cant eat all of your chocolate it will keep in the fridge. But if you cant eat all of your chocolate what is wrong with you?",
"Put 'eat chocolate' at the top of your list of things to do today. That way, at least you will get one thing done!");
var lnt_r=quotes_r.length;
var qt_r=parseInt(Math.random()*lnt_r);
var comment_r=quotes_r[qt_r];
//======================= end ==============================//

function mouseon_contact(imgnm)
	{
		document.images[imgnm].src="australia/yelllo_a/"+ imgnm + ".jpg";		
	}
function mouseOff_contact(imgnm)
	{
		document.images[imgnm].src="australia/yello_b/"+ imgnm + ".jpg";		
	}

//---- Below code is removed As below function is defined on 'left_menu.js' also -----//
//var emailfilter=/^\w+[\+\.\w-]*@([\w-]+\.)*\w+[\w-]*\.([a-z]{2,4}|\d+)$/i;
//function checkmail()
//	{
//		//alert(a);
//		e=frm2.mail.value;
//		var returnval=emailfilter.test(e)
//		if(returnval==false)
//		{
//		alert("Please enter a valid email address.");
//		e.select;
//		}
//		else
//		frm2.submit();
//		
//	}
	
function right_panel()
{
	var p=document.location.href;
	var pn=p.lastIndexOf('/');
	var pe=p.indexOf('?');
	if(pe!='-1')
	var pageName=p.substring(pn+1,pe);
	else
	var pageName=p.substring(pn+1);
var str="<table cellpadding='0' cellspacing='0' align='right' border='0' width='183'>";
str+="<tr><td>&nbsp;</td></tr>";
str+="<tr><td>&nbsp;</td></tr>";
str+="<tr height='150'><td valign='top'><table cellspacing='2' cellpadding='3' border='0'>";
str+="<tr><td class='txt1_b pad_left' align='left'>A thought to laugh with...</td></tr>";
str+="<tr><td class='db_txt1 pad_left' align='left'>\""+comment_r+"\"</td></tr>";
str+="<tr><td>&nbsp;</td></tr>";
str+="</table></td></tr>";
str+="<tr><td align='center' valign='bottom'><object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='150' height='136' vspace='4' align='top'>";
str+="<param name='movie' value='australia/right_panel.swf'><param name='quality' value='high'>";
str+="<embed src='australia/right_panel.swf' width='150' height='136' vspace='4' align='top' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash'></embed>";
str+="</object></td></tr>";
str+="<tr><td>&nbsp;</td></tr>";
str+="</table>";
document.write(str);
}	
