
// Pop Up
self.popUp = function(url,name,w,h,s) {
	var opts = 'toolbar=no,status=no,location=yes,menubar=no,resizable=yes,width='+w+',height='+h+',scrollbars='+s+'';
	var popupbox = window.open(url, name, opts);
	popupbox.focus();
}

// html Mark up
// <a href="openSwf.html?swfname=nameOfTheFile" onclick="popUp(this.href,'Small','625','400','yes'); return false;">*Terms &amp; Conditions</a>

//
// find all the anchor links and stop its action if the href value is simply #
//
	window.addEvent('domready',function(){
		$$('a').each(function(el, id) {
			str = el.get('href');
			if(str) {
				str_hash = str.substr(str.length-1,str.length);
				if(str_hash=="#") {
					el.addEvent('click',function(e) {
						e.stop();
						// alert ('stop the reload');
					});
				}
			}
		}); // a
	});  // DOM
	
	
//
// To print the Email out used in aboutThisReport.html
//
	function getEmail(name,at,domain) {
		return (name+at+domain);
	}
		