// JavaScript Document
function email(name, domain,tld, link)
{
if(link.length == 0)
{
link = name + '@' + domain + '.' + tld;
}
var display_this = '<a href="mailto:' + name + '@' + domain + '.' + tld + '">' + link + '</a>';
document.write(display_this);
}

jQuery.noConflict();
// Use jQuery via jQuery(...)
 jQuery(document).ready(function(){
	//hide the all of the element with class msg_body
	jQuery(".msg_body").hide();
   
   //toggle the componenet with class msg_body
   jQuery(".msg_head").click(function(){
		jQuery(this).next(".msg_body").slideToggle();
	});
 });	
//<![CDATA[
if (navigator.userAgent.indexOf('iPhone') != -1) {
	addEventListener("load", function() {
		setTimeout(hideURLbar, 0);
	}, false);
}
function hideURLbar() {
	window.scrollTo(0, 1);
}
//]]>

