
// Get Element By Id
function no_getel(id) {
	return document.getElementById(id);
}

// Get the left and the top of the element.
function no_getleft(el) {
	var tmp = el.offsetLeft;
	el = el.offsetParent
	while(el) {
		tmp += el.offsetLeft;
		el = el.offsetParent;
	}
	return tmp;
}
function no_gettop(el) {
	var tmp = el.offsetTop;
	el = el.offsetParent
	while(el) {
		tmp += el.offsetTop;
		el = el.offsetParent;
	}
	return tmp;
}

// Output Element
var no_oe = no_getel('no_calclass');
// Container
var no_ce = no_getel('no_conclass');

// Output Buffering
var no_ob = ''; 
function no_ob_clean() {
	no_ob = '';
}
function no_ob_flush() {
	no_oe.innerHTML = no_ob;
	no_ob_clean();
}
function no_echo(t) {
	no_ob += t;
}

var no_element; // Text Element...

function no_template_main_above() {
	return '<iframe src="http://www.villanovarina.com/content/FR/FR_notification.php" width=685 height=350 frameborder=0></iframe>';
}




function no_draw_page() {
	no_ob_clean();
	no_echo (no_template_main_above());
	no_ob_flush();
	// Scroll it into view.
	//no_ce.scrollIntoView();
}


function no_sh(t) {
	// Set the element to set...
	no_element = t;
	no_draw_page();
	// To change the position properly, we must show it first.
	no_ce.style.display = '';
	the_left = no_getleft(t);
	the_top = no_gettop(t) + t.offsetHeight;
	no_ce.style.left = the_left + 'px';
	no_ce.style.top = the_top + 'px';
	t.id="no_li";
	// Scroll it into view.
	//no_ce.scrollIntoView();
}

function no_hi() {
	no_ce.style.display = 'none';
}


function no_onclick(d, m, y) {
	no_hi();
	}


