var intland = new Object();
intland.tooltip = function(target,align,text){
	if(align == "TL"){
		cornerX = 20;
		cornerY = 60;
		cornerTip = "bottomRight";
	}else if(align == "TR"){
		cornerX = 555;
		cornerY = 60;
		cornerTip = "bottomLeft";
	}else if(align == "T"){
		cornerX = 290;
		cornerY = 60;
		cornerTip = "bottomMiddle";
	}
	if(align == "BL"){
		cornerX = 20;
		cornerY = 380;
		cornerTip = "topRight";
	}else if(align == "BR"){
		cornerX = 555;
		cornerY = 380;
		cornerTip = "topLeft";
	}else if(align == "B"){
		cornerX = 290;
		cornerY = 380;
		cornerTip = "topMiddle";
	}else if(align == "L"){
		cornerX = 20;
		cornerY = 230;
		cornerTip = "rightMiddle";
	}else if(align == "R"){
		cornerX = 540;
		cornerY = 230;
		cornerTip = "leftMiddle";	
	}
	target.qtip({
		position: {
		corner: {
			tooltip: "topLeft",
			target: "topLeft"
		},
		container: target,
		adjust:{
			scroll: false,
			mouse: false,
			screen: false,
			resize: false,
			x: cornerX,//30,
			y: cornerY
		}
	},
	content: text,
	show: {
	when: false,
	ready: true
	},
	hide: false, // Don't specify a hide event
	style: {
	border: {
	width: 1,
	radius: 5,
	color: "#404040"
	},
	padding: 10, 
	width: 150,
	textAlign: 'center',
	tip: cornerTip, 
	//                             tip: "bottomRight", 
	name: 'dark' // Style it according to the preset 'cream' style
	}
	});
}
