// Java Document



//REQUISITION FORM "reqform"
function nicetitleDecorator(el)
{
	var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}
	return result;
}
domTT_replaceTitles(nicetitleDecorator);
var tooltips = {
	'span.reqform' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Click here to open an editable requisition form .  Print it blank or fill in the form online and print it straight from your computer.', 'styleClass', 'niceTitle','trail', true);
		}
	}
}
Behaviour.register(tooltips);


//SUPPLIES_CUPS "supcup"
function nicetitleDecorator(el)
{var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}
	return result;
}
domTT_replaceTitles(nicetitleDecorator);
var tooltips = {
	'span.supcup' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', '<img src="images/speciman-cup-big.jpg" />', 'trail', true, 'styleClass', 'imageonly', 'direction', 'northwest', 'offsetY', '-40', 'offsetX', '20');
		}
	}
}
Behaviour.register(tooltips);


//SUPPLIES_BAGS "supbags"
function nicetitleDecorator(el)
{var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}
	return result;
}
domTT_replaceTitles(nicetitleDecorator);
var tooltips = {
	'span.supbag' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', '<img src="images/speciman-bag-big.jpg" />', 'trail', true, 'styleClass', 'imageonly', 'direction', 'northwest', 'offsetY', '-40', 'offsetX', '20');
		}
	}
}
Behaviour.register(tooltips);


//SUPPLIES_PAP "suppap"
function nicetitleDecorator(el)
{var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}
	return result;
}
domTT_replaceTitles(nicetitleDecorator);
var tooltips = {
	'span.suppap' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', '<img src="images/pap-kit-big.jpg" />', 'trail', true, 'styleClass', 'imageonly', 'direction', 'northwest', 'offsetY', '-40', 'offsetX', '20');
		}
	}
}
Behaviour.register(tooltips);



//SEND A SPECIMEN PAGE

//TOOLTIP_Frozen

function nicetitleDecorator(el)
{
	var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}

	return result;
}

domTT_replaceTitles(nicetitleDecorator);
 
var tooltips = {
	'span.tooltip_frozen' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Frozen Sections are an immediate diagnosis performed during surgery that will alter intraoperative management.  <br />Please call (208) 529-6050 to schedule.', 'trail', true);
		}
	}
}
 
Behaviour.register(tooltips);


//Tooltip_cultures

function nicetitleDecorator(el)
{
	var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}

	return result;
}

domTT_replaceTitles(nicetitleDecorator);
 
var tooltips = {
	'span.tooltip_cultures' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Cultures are special studies to grow infectious organisms.  These tissues should be taken from the specimen at the time of the surgery and submitted separately to our microbiology laboratory.', 'trail', true);
		}
	}
}
 
Behaviour.register(tooltips);



//tooltip_cytogenetics

function nicetitleDecorator(el)
{
	var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}

	return result;
}

domTT_replaceTitles(nicetitleDecorator);
 
var tooltips = {
	'span.tooltip_cytogenetics' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Cytogenetics is a special test to grow cells and analyze the genetic make-up of the cells – tissue needs to be taken fresh and sent to a cytogenetics laboratory. <br />Note: We do not have a cytogenetic laboratory, but we would be happy to facilitate sending the test to an appropriate laboratory.', 'trail', true);
		}
	}
}
 
Behaviour.register(tooltips);


//tooltip_cyt

function nicetitleDecorator(el)
{
	var result = el.title;
	if (el.href)
	{
		result += '<p>' + el.href + '</p>';
	}

	return result;
}

domTT_replaceTitles(nicetitleDecorator);
 
var tooltips = {
	'span.tooltip_cyt' : function(element) {
		element.onmouseover = function(event) {
			domTT_activate(this, event, 'content', 'Cytology Specimens are specimens that focus on individual cells. <br />Note:  Direct smears can be sent in alcohol.  Liquid specimens, such as body fluids should be kept refrigerated and sent to us fresh.  If that is not possible, an equal volume of 50% reagent grade alcohol can be added to the specimen to preserve it.', 'trail', true);
		}
	}
}
 
Behaviour.register(tooltips);