﻿var dom = (document.getElementById) ? true : false;
var ns5 = (!document.all && dom || window.opera) ? true: false;
var ie5 = ((navigator.userAgent.indexOf("MSIE")>-1) && dom) ? true : false;
var ie4 = (document.all && !dom) ? true : false;
var nodyn = (!ns5 && !ie4 && !ie5 && !dom) ? true : false;

var origWidth, origHeight;

// avoid error of passing event object in older browsers
if (nodyn) { event = "nope" }

///////////////////////  CUSTOMIZE HERE   ////////////////////
var tipFollowMouse= true;	
var tipWidth= 420;
var offX= 20;	// how far from mouse to show tip
var offY= 12; 
//var tipBgColor= "#000000"; 
var tipPadding= 0;
//var tipFontFamily= "Verdana, arial, helvetica, sans-serif";
//var tipFontSize= "8pt";
//var tipFontColor= "#000000";
//var tipBorderColor= "#000080";
//var tipBorderWidth= 3;
//var tipBorderStyle= "ridge";

// tooltip content goes here (image, description, optional bgColor, optional textcolor)
var messages = new Array();
// multi-dimensional arrays containing: 
// image and text for tooltip
// optional: bgColor and color to be sent to tooltip e.g. messages[2] = new Array('test.gif','Test description','black','white');
//bands
messages[0] = new Array('Images/Entertainment/Band/10615_m.jpg','Band Website 1');
messages[1] = new Array('Images/Entertainment/Band/10997_m.jpg','Band Website 2');
messages[2] = new Array('Images/Entertainment/Band/11442_m.jpg','Band Website 3');
messages[3] = new Array('Images/Entertainment/Band/15030_m.jpg','Band Website 4');
messages[4] = new Array('Images/Entertainment/Band/16211_m.jpg','Band Website 5');
messages[5] = new Array('Images/Entertainment/Band/22295_m.jpg','Band Website 6');
messages[6] = new Array('Images/Entertainment/Band/23198_m.jpg','Band Website 7');
messages[7] = new Array('Images/Entertainment/Band/24055_m.jpg','Band Website 8');
messages[8] = new Array('Images/Entertainment/Band/25126_m.jpg','Band Website 9');
messages[9] = new Array('Images/Entertainment/Band/26536_m.jpg','Band Website 10');
messages[10] = new Array('Images/Entertainment/Band/3137_m.jpg','Band Website 11');
messages[11] = new Array('Images/Entertainment/Band/3218_m.jpg','Band Website 12');
messages[12] = new Array('Images/Entertainment/Band/4504_m.jpg','Band Website 13');
messages[13] = new Array('Images/Entertainment/Band/4667_m.jpg','Band Website 14');
messages[14] = new Array('Images/Entertainment/Band/4854_m.jpg','Band Website 15');
messages[15] = new Array('Images/Entertainment/Band/4962_m.jpg','Band Website 16');
messages[16] = new Array('Images/Entertainment/Band/5852_m.jpg','Band Website 17');
messages[17] = new Array('Images/Entertainment/Band/6477_m.jpg','Band Website 18');
messages[18] = new Array('Images/Entertainment/Band/7466_m.jpg','Band Website 19');
messages[19] = new Array('Images/Entertainment/Band/7580_m.jpg','Band Website 20');
messages[20] = new Array('Images/Entertainment/Band/7640_m.jpg','Band Website 21');
messages[21] = new Array('Images/Entertainment/Band/7898_m.jpg','Band Website 22');
messages[22] = new Array('Images/Entertainment/Band/8325_m.jpg','Band Website 23');
messages[23] = new Array('Images/Entertainment/Band/9151_m.jpg','Band Website 24');
//dj'a
messages[24] = new Array('Images/Entertainment/DJ/10029_m.jpg','DJ Website 1');
messages[25] = new Array('Images/Entertainment/DJ/10506_m.jpg','DJ Website 2');
messages[26] = new Array('Images/Entertainment/DJ/10555_m.jpg','DJ Website 3');
messages[27] = new Array('Images/Entertainment/DJ/10798_m.jpg','DJ Website 4');
messages[28] = new Array('Images/Entertainment/DJ/10856_m.jpg','DJ Website 5');
messages[29] = new Array('Images/Entertainment/DJ/10979_m.jpg','DJ Website 6');
messages[30] = new Array('Images/Entertainment/DJ/11591_m.jpg','DJ Website 7');
messages[31] = new Array('Images/Entertainment/DJ/12021_m.jpg','DJ Website 8');
messages[32] = new Array('Images/Entertainment/DJ/16128_m.jpg','DJ Website 9');
messages[33] = new Array('Images/Entertainment/DJ/16389_m.jpg','DJ Website 10');
messages[34] = new Array('Images/Entertainment/DJ/16612_m.jpg','DJ Website 11');
messages[35] = new Array('Images/Entertainment/DJ/22700_m.jpg','DJ Website 12');
messages[36] = new Array('Images/Entertainment/DJ/22763_m.jpg','DJ Website 13');
messages[37] = new Array('Images/Entertainment/DJ/5978_m.jpg','DJ Website 14');
messages[38] = new Array('Images/Entertainment/DJ/7302_m.jpg','DJ Website 15');
messages[39] = new Array('Images/Entertainment/DJ/8499_m.jpg','DJ Website 16');
//singer
messages[40] = new Array('Images/Entertainment/Singer/10129_m.jpg','Singer Website 1');
messages[41] = new Array('Images/Entertainment/Singer/10395_m.jpg','Singer Website 2');
messages[42] = new Array('Images/Entertainment/Singer/10491_m.jpg','Singer Website 3');
messages[43] = new Array('Images/Entertainment/Singer/10553_m.jpg','Singer Website 4');
messages[44] = new Array('Images/Entertainment/Singer/10755_m.jpg','Singer Website 5');
messages[45] = new Array('Images/Entertainment/Singer/11740_m.jpg','Singer Website 6');
messages[46] = new Array('Images/Entertainment/Singer/11987_m.jpg','Singer Website 7');
messages[47] = new Array('Images/Entertainment/Singer/12127_m.jpg','Singer Website 8');
messages[48] = new Array('Images/Entertainment/Singer/13253_m.jpg','Singer Website 9');
messages[49] = new Array('Images/Entertainment/Singer/13701_m.jpg','Singer Website 10');
messages[50] = new Array('Images/Entertainment/Singer/18421_m.jpg','Singer Website 11');
messages[51] = new Array('Images/Entertainment/Singer/19180_m.jpg','Singer Website 12');
messages[52] = new Array('Images/Entertainment/Singer/20237_m.jpg','Singer Website 13');
messages[53] = new Array('Images/Entertainment/Singer/20435_m.jpg','Singer Website 14');
messages[54] = new Array('Images/Entertainment/Singer/21760_m.jpg','Singer Website 15');
messages[55] = new Array('Images/Entertainment/Singer/23263_m.jpg','Singer Website 16');
messages[56] = new Array('Images/Entertainment/Singer/23979_m.jpg','Singer Website 17');
messages[57] = new Array('Images/Entertainment/Singer/26864_m.jpg','Singer Website 18');
messages[58] = new Array('Images/Entertainment/Singer/5695_m.jpg','Singer Website 19');
messages[59] = new Array('Images/Entertainment/Singer/8228_m.jpg','Singer Website 20');
messages[60] = new Array('Images/Entertainment/Singer/8597_m.jpg','Singer Website 21');
messages[61] = new Array('Images/Entertainment/Singer/8612_m.jpg','Singer Website 22');
messages[62] = new Array('Images/Entertainment/Singer/8853_m.jpg','Singer Website 23');
messages[63] = new Array('Images/Entertainment/Singer/9460_m.jpg','Singer Website 24');
//graphic design mrm
messages[64] = new Array('Images/mrm/mrm-1_m.jpg','Romantic Design 1','1');
messages[65] = new Array('Images/mrm/mrm-2_m.jpg','Romantic Design 2','1');
messages[66] = new Array('Images/mrm/mrm-3_m.jpg','Romantic Design 3','1');
messages[67] = new Array('Images/mrm/mrm-4_m.jpg','Romantic Design 4','1');
messages[68] = new Array('Images/mrm/mrm-5_m.jpg','Romantic Design 5','1');
messages[69] = new Array('Images/mrm/mrm-6_m.jpg','Romantic Design 6','1');
messages[70] = new Array('Images/mrm/mrm-7_m.jpg','Romantic Design 7','1');
messages[71] = new Array('Images/mrm/mrm-8_m.jpg','Romantic Design 8','1');
messages[72] = new Array('Images/mrm/mrm-9_m.jpg','Romantic Design 9','1');
messages[73] = new Array('Images/mrm/mrm-10_m.jpg','Romantic Design 10','1');
messages[74] = new Array('Images/mrm/mrm-11_m.jpg','Romantic Design 11','1');
messages[75] = new Array('Images/mrm/mrm-12_m.jpg','Romantic Design 12','1');
messages[76] = new Array('Images/mrm/mrm-13_m.jpg','Romantic Design 13','1');
messages[77] = new Array('Images/mrm/mrm-14_m.jpg','Romantic Design 14','1');
messages[78] = new Array('Images/mrm/mrm-15_m.jpg','Romantic Design 15','1');
messages[79] = new Array('Images/mrm/mrm-16_m.jpg','Romantic Design 16','1');
messages[80] = new Array('Images/mrm/mrm-17_m.jpg','Romantic Design 17','1');
messages[81] = new Array('Images/mrm/mrm-18_m.jpg','Romantic Design 18','1');
messages[82] = new Array('Images/mrm/mrm-19_m.jpg','Romantic Design 19','1');
messages[83] = new Array('Images/mrm/mrm-20_m.jpg','Romantic Design 20','1');
messages[84] = new Array('Images/mrm/mrm-21_m.jpg','Romantic Design 21','2');
messages[85] = new Array('Images/mrm/mrm-22_m.jpg','Romantic Design 22','2');
messages[86] = new Array('Images/mrm/mrm-23_m.jpg','Romantic Design 23','2');
messages[87] = new Array('Images/mrm/mrm-24_m.jpg','Romantic Design 24','2');
messages[88] = new Array('Images/mrm/mrm-25_m.jpg','Romantic Design 25','2');
messages[89] = new Array('Images/mrm/mrm-26_m.jpg','Romantic Design 26','2');
messages[90] = new Array('Images/mrm/mrm-27_m.jpg','Romantic Design 27','2');
messages[91] = new Array('Images/mrm/mrm-28_m.jpg','Romantic Design 28','2');
messages[92] = new Array('Images/mrm/mrm-29_m.jpg','Romantic Design 29','2');
messages[93] = new Array('Images/mrm/mrm-30_m.jpg','Romantic Design 30','2');
messages[94] = new Array('Images/mrm/mrm-31_m.jpg','Romantic Design 31','2');
messages[95] = new Array('Images/mrm/mrm-32_m.jpg','Romantic Design 32','2');
messages[96] = new Array('Images/mrm/mrm-33_m.jpg','Romantic Design 33','2');
messages[97] = new Array('Images/mrm/mrm-34_m.jpg','Romantic Design 34','2');
messages[98] = new Array('Images/mrm/mrm-35_m.jpg','Romantic Design 35','2');
messages[99] = new Array('Images/mrm/mrm-36_m.jpg','Romantic Design 36','2');
messages[100] = new Array('Images/mrm/mrm-37_m.jpg','Romantic Design 37','2');
messages[101] = new Array('Images/mrm/mrm-38_m.jpg','Romantic Design 38','2');
messages[102] = new Array('Images/mrm/mrm-39_m.jpg','Romantic Design 39','2');
messages[103] = new Array('Images/mrm/mrm-40_m.jpg','Romantic Design 40','2');
messages[104] = new Array('Images/mrm/mrm-41_m.jpg','Romantic Design 41','3');
messages[105] = new Array('Images/mrm/mrm-42_m.jpg','Romantic Design 42','3');
messages[106] = new Array('Images/mrm/mrm-43_m.jpg','Romantic Design 43','3');
messages[107] = new Array('Images/mrm/mrm-44_m.jpg','Romantic Design 44','3');
messages[108] = new Array('Images/mrm/mrm-45_m.jpg','Romantic Design 45','3');
messages[109] = new Array('Images/mrm/mrm-46_m.jpg','Romantic Design 46','3');
messages[110] = new Array('Images/mrm/mrm-47_m.jpg','Romantic Design 47','3');
messages[111] = new Array('Images/mrm/mrm-48_m.jpg','Romantic Design 48','3');
messages[112] = new Array('Images/mrm/mrm-49_m.jpg','Romantic Design 49','3');
messages[113] = new Array('Images/mrm/mrm-50_m.jpg','Romantic Design 50','3');
messages[114] = new Array('Images/mrm/mrm-51_m.jpg','Romantic Design 51','3');
messages[115] = new Array('Images/mrm/mrm-52_m.jpg','Romantic Design 52','3');
messages[116] = new Array('Images/mrm/mrm-53_m.jpg','Romantic Design 53','3');
messages[117] = new Array('Images/mrm/mrm-54_m.jpg','Romantic Design 54','3');
messages[118] = new Array('Images/mrm/mrm-55_m.jpg','Romantic Design 55','3');
messages[119] = new Array('Images/mrm/mrm-56_m.jpg','Romantic Design 56','3');
messages[120] = new Array('Images/mrm/mrm-57_m.jpg','Romantic Design 57','3');
messages[121] = new Array('Images/mrm/mrm-58_m.jpg','Romantic Design 58','3');
messages[122] = new Array('Images/mrm/mrm-59_m.jpg','Romantic Design 59','3');
messages[123] = new Array('Images/mrm/mrm-60_m.jpg','Romantic Design 60','3');
messages[124] = new Array('Images/mrm/mrm-61_m.jpg','Romantic Design 61','3');
messages[125] = new Array('Images/mrm/mrm-62_m.jpg','Romantic Design 62','3');
messages[126] = new Array('Images/mrm/mrm-63_m.jpg','Romantic Design 63','3');
//graphic design misc
messages[127] = new Array('Images/graphicdesign/gd_1_m.jpg','Graphic Design Miscellaneous 1');
messages[128] = new Array('Images/graphicdesign/gd_2_m.jpg','Graphic Design Miscellaneous 2');
messages[129] = new Array('Images/graphicdesign/gd_57_m.jpg','Graphic Design Miscellaneous 3');
messages[130] = new Array('Images/graphicdesign/gd_4_m.jpg','Graphic Design Miscellaneous 4');
messages[131] = new Array('Images/graphicdesign/gd_5_m.jpg','Graphic Design Miscellaneous 5');
messages[132] = new Array('Images/graphicdesign/gd_6_m.jpg','Graphic Design Miscellaneous 6');
messages[133] = new Array('Images/graphicdesign/gd_7_m.jpg','Graphic Design Miscellaneous 7');
messages[134] = new Array('Images/graphicdesign/gd_8_m.jpg','Graphic Design Miscellaneous 8');
messages[135] = new Array('Images/graphicdesign/gd_9_m.jpg','Graphic Design Miscellaneous 9');
messages[136] = new Array('Images/graphicdesign/gd_10_m.jpg','Graphic Design Miscellaneous 10');
messages[137] = new Array('Images/graphicdesign/gd_11_m.jpg','Graphic Design Miscellaneous 11');
messages[138] = new Array('Images/graphicdesign/gd_12_m.jpg','Graphic Design Miscellaneous 12');
messages[139] = new Array('Images/graphicdesign/gd_13_m.jpg','Graphic Design Miscellaneous 13');
messages[140] = new Array('Images/graphicdesign/gd_14_m.jpg','Graphic Design Miscellaneous 14');
messages[141] = new Array('Images/graphicdesign/gd_15_m.jpg','Graphic Design Miscellaneous 15');
messages[142] = new Array('Images/graphicdesign/gd_16_m.jpg','Graphic Design Miscellaneous 16');
messages[143] = new Array('Images/graphicdesign/gd_17_m.jpg','Graphic Design Miscellaneous 17');
messages[144] = new Array('Images/graphicdesign/gd_18_m.jpg','Graphic Design Miscellaneous 18');
messages[145] = new Array('Images/graphicdesign/gd_19_m.jpg','Graphic Design Miscellaneous 19');
messages[146] = new Array('Images/graphicdesign/gd_20_m.jpg','Graphic Design Miscellaneous 20');
messages[147] = new Array('Images/graphicdesign/gd_21_m.jpg','Graphic Design Miscellaneous 21');
messages[148] = new Array('Images/graphicdesign/gd_22_m.jpg','Graphic Design Miscellaneous 22');
messages[149] = new Array('Images/graphicdesign/gd_23_m.jpg','Graphic Design Miscellaneous 23');
messages[150] = new Array('Images/graphicdesign/gd_24_m.jpg','Graphic Design Miscellaneous 24');
messages[151] = new Array('Images/graphicdesign/gd_25_m.jpg','Graphic Design Miscellaneous 25');
messages[152] = new Array('Images/graphicdesign/gd_58_m.jpg','Graphic Design Miscellaneous 26');
messages[153] = new Array('Images/graphicdesign/gd_27_m.jpg','Graphic Design Miscellaneous 27');
messages[154] = new Array('Images/graphicdesign/gd_28_m.jpg','Graphic Design Miscellaneous 28');
messages[155] = new Array('Images/graphicdesign/gd_29_m.jpg','Graphic Design Miscellaneous 29');
messages[156] = new Array('Images/graphicdesign/gd_30_m.jpg','Graphic Design Miscellaneous 30');
messages[157] = new Array('Images/graphicdesign/gd_31_m.jpg','Graphic Design Miscellaneous 31');
messages[158] = new Array('Images/graphicdesign/gd_32_m.jpg','Graphic Design Miscellaneous 32');
messages[159] = new Array('Images/graphicdesign/gd_33_m.jpg','Graphic Design Miscellaneous 33');
messages[160] = new Array('Images/graphicdesign/gd_34_m.jpg','Graphic Design Miscellaneous 34');
messages[161] = new Array('Images/graphicdesign/gd_35_m.jpg','Graphic Design Miscellaneous 35');
messages[162] = new Array('Images/graphicdesign/gd_36_m.jpg','Graphic Design Miscellaneous 36');
messages[163] = new Array('Images/graphicdesign/gd_37_m.jpg','Graphic Design Miscellaneous 37');
messages[164] = new Array('Images/graphicdesign/gd_38_m.jpg','Graphic Design Miscellaneous 38');
messages[165] = new Array('Images/graphicdesign/gd_39_m.jpg','Graphic Design Miscellaneous 39');
messages[166] = new Array('Images/graphicdesign/gd_40_m.jpg','Graphic Design Miscellaneous 40');
messages[167] = new Array('Images/graphicdesign/gd_41_m.jpg','Graphic Design Miscellaneous 41');
messages[168] = new Array('Images/graphicdesign/gd_42_m.jpg','Graphic Design Miscellaneous 42');
messages[169] = new Array('Images/graphicdesign/gd_43_m.jpg','Graphic Design Miscellaneous 43');
messages[170] = new Array('Images/graphicdesign/gd_44_m.jpg','Graphic Design Miscellaneous 44');
messages[171] = new Array('Images/graphicdesign/gd_45_m.jpg','Graphic Design Miscellaneous 45');
messages[172] = new Array('Images/graphicdesign/gd_46_m.jpg','Graphic Design Miscellaneous 46');
messages[173] = new Array('Images/graphicdesign/gd_47_m.jpg','Graphic Design Miscellaneous 47');
messages[174] = new Array('Images/graphicdesign/gd_48_m.jpg','Graphic Design Miscellaneous 48');
messages[175] = new Array('Images/graphicdesign/gd_49_m.jpg','Graphic Design Miscellaneous 49');
messages[176] = new Array('Images/graphicdesign/gd_50_m.jpg','Graphic Design Miscellaneous 50');
messages[177] = new Array('Images/graphicdesign/gd_51_m.jpg','Graphic Design Miscellaneous 51');
messages[178] = new Array('Images/graphicdesign/gd_52_m.jpg','Graphic Design Miscellaneous 52');
messages[179] = new Array('Images/graphicdesign/gd_53_m.jpg','Graphic Design Miscellaneous 53');
messages[180] = new Array('Images/graphicdesign/gd_54_m.jpg','Graphic Design Miscellaneous 54');
messages[181] = new Array('Images/graphicdesign/gd_55_m.jpg','Graphic Design Miscellaneous 55');
messages[182] = new Array('Images/graphicdesign/gd_56_m.jpg','Graphic Design Miscellaneous 56');

////////////////////  END OF CUSTOMIZATION AREA  ///////////////////

// preload images that are to appear in tooltip from arrays above
if (document.images) {
	var theImgs = new Array();
	for (var i=0; i<messages.length; i++) {
  	theImgs[i] = new Image();
		theImgs[i].src = messages[i][0];
  }
}

// to layout image and text, 2-row table, image centered in top cell
// these go in var tip in doTooltip function
// startStr goes before image, midStr goes between image and text
var startStr = '<table width="' + tipWidth + '"><tr><td style="height:5px;"></td></tr><tr><td align="center" width="100%"><img src="';
var midStr = '" border="0"></td></tr><tr><td style="height:5px;"></td></tr><tr><td valign="bottom" style="text-align:center;">';
var endStr = '</td></tr></table>';

////////////////////////////////////////////////////////////
//  initTip	- initialization for tooltip.
//		Global variables for tooltip. 
//		Set styles
//		Set up mousemove capture if tipFollowMouse set true.
////////////////////////////////////////////////////////////
var tooltip, tipcss;
function initTip() {
	if (nodyn) return;
	tooltip = (ie4)? document.all['tipDiv']: (ie5||ns5)? document.getElementById('tipDiv'): null;
	tipcss = tooltip.style;
	if (ie4||ie5||ns5) {	// ns4 would lose all this on rewrites
		tipcss.width = tipWidth+"px";
		//tipcss.backgroundColor = tipBgColor;
		tipcss.padding = tipPadding+"px";
        //tipcss.fontFamily = tipFontFamily;
		//tipcss.fontSize = tipFontSize;
		//tipcss.color = tipFontColor;
		//tipcss.borderColor = tipBorderColor;
		//tipcss.borderWidth = tipBorderWidth+"px";
		//tipcss.borderStyle = tipBorderStyle;
	}
	if (tooltip&&tipFollowMouse) {
		document.onmousemove = trackMouse;
	}
}

window.onload = initTip;

/////////////////////////////////////////////////
//  doTooltip function
//			Assembles content for tooltip and writes 
//			it to tipDiv
/////////////////////////////////////////////////
var t1,t2;	// for setTimeouts
var tipOn = false;	// check if over tooltip link
function doTooltip(evt,num) {
	if (!tooltip) return;
	if (t1) clearTimeout(t1);	if (t2) clearTimeout(t2);
	tipOn = true;
	// set colors if included in messages array
	//if (messages[num][2])	var curBgColor = messages[num][2];
	//else curBgColor = tipBgColor;
	//if (messages[num][3])	var curFontColor = messages[num][3];
	//else curFontColor = tipFontColor;
	if (ie4||ie5||ns5) {
		var tip = startStr + messages[num][0] + midStr + '<span>' + messages[num][1] + '</span>' + endStr;
		//tipcss.backgroundColor = curBgColor;
	 	tooltip.innerHTML = tip;
	}
	if (!tipFollowMouse) positionTip(evt);
	else t1=setTimeout("tipcss.visibility='visible'",100);
}

var mouseX, mouseY;
function trackMouse(evt) {
	standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body //create reference to common "body" across doctypes
	mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
	mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	if (tipOn) positionTip(evt);
}

/////////////////////////////////////////////////////////////
//  positionTip function
//		If tipFollowMouse set false, so trackMouse function
//		not being used, get position of mouseover event.
//		Calculations use mouseover event position, 
//		offset amounts and tooltip width to position
//		tooltip within window.
/////////////////////////////////////////////////////////////
function positionTip(evt) {
	if (!tipFollowMouse) {
		standardbody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
		mouseX = (ns5)? evt.pageX: window.event.clientX + standardbody.scrollLeft;
		mouseY = (ns5)? evt.pageY: window.event.clientY + standardbody.scrollTop;
	}
	// tooltip width and height
	var tpWd = (ie4||ie5)? tooltip.clientWidth: tooltip.offsetWidth;
	var tpHt = (ie4||ie5)? tooltip.clientHeight: tooltip.offsetHeight;
	// document area in view (subtract scrollbar width for ns)
	var winWd = (ns5)? window.innerWidth-20+window.pageXOffset: standardbody.clientWidth+standardbody.scrollLeft;
	var winHt = (ns5)? window.innerHeight-20+window.pageYOffset: standardbody.clientHeight+standardbody.scrollTop;
	// check mouse position against tip and window dimensions
	// and position the tooltip 
	if ((mouseX+offX+tpWd)>winWd) 
		tipcss.left = mouseX-(tpWd+offX)+"px";
	else tipcss.left = mouseX+offX+"px";
	if ((mouseY+offY+tpHt)>winHt) 
		tipcss.top = winHt-(tpHt+offY)+"px";
	else tipcss.top = mouseY+offY+"px";
	if (!tipFollowMouse) t1=setTimeout("tipcss.visibility='visible'",100);
}

function hideTip() {
	if (!tooltip) return;
	t2=setTimeout("tipcss.visibility='hidden'",100);
	tipOn = false;
}

function doContact(iTemplate) {
    window.location = "Contact.aspx?template=" + messages[iTemplate][1] + "&img=" + messages[iTemplate][0];
}

function doContactGD(iTemplate) {
    window.location = "Contact.aspx?message=Request More info regarding Graphic Design&img=" + messages[iTemplate][0];
}

function doBlowUp(iTemplate) {
    window.location = "GraphicDesignBlowup.aspx?img=" + messages[iTemplate][0] + "&currimg=" + iTemplate + "&pageback=GraphicDesign_mrm" + messages[iTemplate][2] + ".aspx";
}
document.write('<div id="tipDiv" style="position:absolute; visibility:hidden; z-index:100"></div>')
