// pipeline start

function loadPage(ref,url){
	// Link collection variable
	var elm = document.getElementById(ref);

	// If exists
	if(elm){
		if(url){
			ajaxpage(url,ref);
		}
	}else{
		alert('The controller with the id ' + ref + ' does not exits..');
	}
}

function hsTrick(ref){
	var elm = document.getElementById(ref);
	if(elm){
		elm.onclick();
	}
}

// end pipeline
