var browser = new function(){};


// OpenNewWindow
function displayWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}





function replaceOuterLinks() {
	var anchor = document.getElementsByTagName("a");
	for(i=0;i<anchor.length;i++){
		if(anchor[i].rel=="outerlink"){
			href = anchor[i].href;
			anchor[i].rel = href;
			anchor[i].href = "#";
			anchor[i].onclick = function(e){
				window.open(this.rel);	
			}
		}
	}
}


function on_dom_ready() {
	replaceOuterLinks();
	//animate_inputs();
	//start_content_paging();
}





function frm_ShowErrorMessage(no, tx){
		
		alert(tx);
		
}