var VARIABLES = {
	'top'        : -10,			// a vertical offset of a hint from mouse pointer
	'left'       : 25,			// a horizontal offset of a hint from mouse pointer
	'css'        : '',		// a style class name for all hints, TD object
	'show_delay' : 100,		// a delay between object mouseover and hint appearing
	'hide_delay' : 0,			// a delay between hint appearing and hint hiding
	'wise'       : true, 	// always positioned to be fully visible. If set to true, a tooltip whose part is appearing to be beyond browser window border is moved toward the window center until visible in full.
	'follow'     : true,	// follow mouse pointer movements while it is visible.
	'z-index'    : 0 			// a z-index for all hint layers
},

HINTS = {
	'Loucas':preview("../resourcesmain/images/screenshots/preview1.png", "Loucas de Pedra Lilas at the Social Forum of the Americas"), 
	'Tiger':preview("img/tiger.jpg","A picture of a tiger"), 
	'campaign':preview("../../../resourcesmain/images/icons/button_campaign.gif","Create your own campaign, and become a political player!"), 
	1:'<table id="hint_01"><tr><th>Bill:</th><td>$200</td></tr><tr><th>Deduct:</th><td>$200</td></tr><tr><th>Waive:</th><td>$200</td></tr></table>',
	2:'<table id="hint_01"><tr><th>Bill:</th><td>$200</td></tr><tr><th>Deduct:</th><td>$200</td></tr></table>',
	3:'<table id="hint_01"><tr><td colspan="6" class="title">Project Scope (by Labor Code)</td></tr><tr><td>&nbsp;</td><td class="selected">Hour Estimates</td><td colspan="3" class="selected">Actual Time Spent </td><td class="selected">Rates</td></tr><tr><th><b>Code</b></th><td>&nbsp;</td><td class="group">Billable</td><td class="group">Non Billable</td><td class="group">Total</td><td></td></tr><tr><th>Administrative:</th><td>10</td><td>12.32</td><td>0</td><td>12.32</td><td>$175</td></tr><tr class="row2"><th>Accounting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Account Executive:</th><td>5</td><td>2.2</td><td>0</td><td>2.2</td><td>$175</td></tr><tr class="row2"><th>Client Support :</th><td>0</td><td>12</td><td>0</td><td>12</td><td>$175</td></tr><tr><th>Client Training:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Consulting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Content Creation :</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Content Creation :</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Design & Creative:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Discovery and Planning:</th><td>12</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Documentation:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>HTML Production:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Project Management:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Sphere Implementation:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Data Analytics:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Database Administration:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Engineering:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>IT Services:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Data Integration:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Quality Assurance:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Product Management:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row2"><th>Hosting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr class="row1"><th><b>Totals:</b></th><td><b>27</b></td><td><b>26.53</b></td><td><b>0</b></td><td><b>26.53</b></td><td>N/A</td></tr></table>',
	4:'<table id="hint_01"><tr><td colspan="6" class="title">Project Scope (by Labor Code)</td></tr><tr><td>&nbsp;</td><td class="selected">Hour Estimates</td><td colspan="3" class="selected">Actual Time Spent </td><td class="selected">Rates</td></tr><tr><th><b>Code</b></th><td>&nbsp;</td><td class="group">Billable</td><td class="group">Non Billable</td><td class="group">Total</td><td></td></tr><tr><th>Administrative:</th><td>100</td><td>120.32</td><td>0</td><td>120.32</td><td>$150</td></tr><tr class="row2"><th>Accounting:</th><td>10</td><td>5</td><td>5</td><td>10</td><td>$150</td></tr><tr><th>Account Executive:</th><td>5</td><td>2.2</td><td>0</td><td>2.2</td><td>$150</td></tr><tr class="row2"><th>Client Support :</th><td>0</td><td>12</td><td>0</td><td>12</td><td>$150</td></tr><tr><th>Client Training:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$150</td></tr><tr class="row2"><th>Consulting:</th><td>5</td><td>5</td><td>0</td><td>5</td><td>$150</td></tr><tr><th>Content Creation :</th><td>2</td><td>2</td><td>0</td><td>2</td><td>$150</td></tr><tr class="row2"><th>Content Creation :</th><td>10</td><td>3</td><td>7</td><td>10</td><td>$150</td></tr><tr><th>Design & Creative:</th><td>50</td><td>10</td><td>40</td><td>50</td><td>$150</td></tr><tr class="row2"><th>Discovery and Planning:</th><td>12</td><td>6</td><td>6</td><td>12</td><td>$150</td></tr><tr><th>Documentation:</th><td>10</td><td>0</td><td>10</td><td>10</td><td>$150</td></tr><tr class="row2"><th>HTML Production:</th><td>100</td><td>0</td><td>100</td><td>10</td><td>$150</td></tr><tr><th>Project Management:</th><td>2</td><td>1</td><td>1</td><td>2</td><td>$150</td></tr><tr class="row2"><th>Sphere Implementation:</th><td>1</td><td>0</td><td>1</td><td>1</td><td>$150</td></tr><tr><th>Data Analytics:</th><td>1</td><td>0</td><td>1</td><td>1</td><td>$150</td></tr><tr class="row2"><th>Database Administration:</th><td>1</td><td>0</td><td>1</td><td>1</td><td>$150</td></tr><tr><th>Engineering:</th><td>5</td><td>0</td><td>5</td><td>5</td><td>$150</td></tr><tr class="row2"><th>IT Services:</th><td>1</td><td>0</td><td>1</td><td>1</td><td>$150</td></tr><tr><th>Data Integration:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$150</td></tr><tr class="row2"><th>Quality Assurance:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$150</td></tr><tr><th>Product Management:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$150</td></tr><tr class="row2"><th>Hosting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$150</td></tr><tr class="row1"><th><b>Totals:</b></th><td><b>327</b></td><td><b>290.5</b></td><td><b>0</b></td><td><b>1026.53</b></td><td>N/A</td></tr></table>',
	5:'<table id="hint_01"><tr><td colspan="6" class="title">Project Scope (by Labor Code)</td></tr><tr><td>&nbsp;</td><td class="selected">Hour Estimates</td><td colspan="3" class="selected">Actual Time Spent </td><td class="selected">Rates</td></tr><tr><th><b>Code</b></th><td>&nbsp;</td><td class="group">Billable</td><td class="group">Non Billable</td><td class="group">Total</td><td></td></tr><tr><th>Administrative:</th><td>10</td><td>12.32</td><td>0</td><td>12.32</td><td>$175</td></tr><tr><th>Accounting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Account Executive:</th><td>5</td><td>2.2</td><td>0</td><td>2.2</td><td>$175</td></tr><tr><th>Client Support :</th><td>0</td><td>12</td><td>0</td><td>12</td><td>$175</td></tr><tr><th>Client Training:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Consulting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Content Creation :</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Content Creation :</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Design & Creative:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Discovery and Planning:</th><td>12</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Documentation:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>HTML Production:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Project Management:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Sphere Implementation:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Data Analytics:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Database Administration:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Engineering:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>IT Services:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Data Integration:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Quality Assurance:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Product Management:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th>Hosting:</th><td>0</td><td>0</td><td>0</td><td>0</td><td>$175</td></tr><tr><th><b>Totals:</b></th><td><b>27</b></td><td><b>26.53</b></td><td><b>0</b></td><td><b>26.53</b></td><td>N/A</td></tr></table>',
	17:wrap("Tigra Hints Documentation", true)
};

// Ouput to the browser DO NOT MODIFY!
var myHint = new THints (VARIABLES, HINTS);
function wrap (s_, b_ques) {return "<table cellpadding='0' cellspacing='0' border='0' style='-moz-opacity:90%;filter:progid:DXImageTransform.Microsoft.dropShadow(Color=#777777,offX=4,offY=4)'><tr><td rowspan='2'><img src='img/1"+(b_ques?"q":"")+".gif'></td><td><img src='/img/pixel.gif' width='1' height='15'></td></tr><tr><td background='../../assets/javascripts/img/2.gif' height='28' nowrap>"+s_+"</td><td><img src='../../assets/javascripts/img/4.gif'></td></tr></table>"}
function preview (s_file, s_title){return "<table cellpadding=5 bgcolor=white style='border:1px solid #777777'><tr><td><img src='../../assets/javascripts/"+s_file+"' class=''></td></tr><tr><td align=left>"+s_title+"</td></tr></table>"}


function manage(ID)//If you need more (or less) than 4 items in the mouseover menu, add or remove more variables.
{// These variables make the IF statements further down, less complicated to understand.
	image = "<img src='https://www.kintera.com/CommonLib/images/spacer.gif' border='0' height='1' width='100%' style='background-color: #003366'>";
	container = "<div class='menuitems'<a href=>";
	if (ID == 1)// ID of the link
		{// If the text variable is left blank, it will not show up in the menu
		text1 = "Edit";link1 = "#.";
		text2 = "";link2 = "../registration/frm_registrationtypes.htm";
		text3 = "";link3 = "javascript:MM_openBrWindow('../registration/frm_registrationtypes.htm','','toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=1,width=660,height=500')";
		text4 = "";link4 = "#.";
		}
	if (ID == 2)// ID of the link
		{// If the text variable is left blank, it will not show up in the menu
		text1 = "Rename";link1 = "frm_folder_edit.htm";
		text2 = "Move";link2 = "#.";
		text3 = "Delete";link3 = "#.";
		text4 = "";link4 = "#.";
		}
	if (ID == 3)// ID of the link
		{// If the text variable is left blank, it will not show up in the menu
		text1 = "Default 1";link1 = "#.";
		text2 = "Default 2";link2 = "#.";
		text3 = "Default 3";link3 = "#.";
		text4 = "";link4 = "#.";
		}
// If the text variable is left blank, it will not display in the manage menu.
	if (text1 != '')var divTag = container+'<a href='+ link1 +'>' + text1 + '</a></div>'
	if (text2 != '')var divTag = divTag +image+container+'<a href='../../assets/javascripts/+ link2 +'>' + text2 + '</a></div>'
	if (text3 != '')var divTag = divTag +image+container+'<a href='../../assets/javascripts/+ link3 +'>' + text3 + '</a></div>'
ShowMenu(event,0,'Kintera','','',divTag);
}
