var myEH = {
	auth_code:0,
	main_url:'http://hs.email.mynet.com/api/',
	base_url:window.location.href,
	init: function(){
		if(this.id != 0){
			document.write("<iframe onload=\"myEH.resize(window.location.hash.substr(window.location.hash.lastIndexOf('#')+1));\" allowtransparency=\"true\" id=\"emailhosting\" src=\""+this.main_url+"?a="+this.auth_code+"#"+escape(this.base_url)+"\" frameborder=\"0\" scrolling=\"no\" width=\"352\" height=\"500\"></iframe>");
		}
	},
	resize: function(height){
		if (height == 10)
		{
			height = 350;
		}
		if(/Firefox/.test(navigator.userAgent)){
			height = height + 'px';
		}
		document.getElementById('emailhosting').style.height = height;
	}
}
