// Itsme script

// configuration variable for the hint object, these setting will be shared among all hints created by this object
var HINTS_CFG = {
	'wise'       : true, // don't go off screen, don't overlap the object in the document
	'margin'     : 50, // minimum allowed distance between the hint and the window edge (negative values accepted)
	'gap'        : 30, // minimum allowed distance between the hint and the origin (negative values accepted)
	'align'      : 'brml', // align of the hint and the origin (by first letters origin's top|middle|bottom left|center|right to hint's top|middle|bottom left|center|right)
	'css'        : 'wrapped', // a style class name for all hints, applied to DIV element (see style section in the header of the document)
	'show_delay' : 200, // a delay between initiating event (mouseover for example) and hint appearing
	'hide_delay' : 200, // a delay between closing event (mouseout for example) and hint disappearing
	'follow'     : false, // hint follows the mouse as it moves
	'z-index'    : 100, // a z-index for all hint layers
	'IEfix'      : false, // fix IE problem with windowed controls visible through hints (activate if select boxes are visible through the hints)
	'IEtrans'    : ['blendTrans(DURATION=.3)'], // [show transition, hide transition] - transition effects, only work in IE5+
	'opacity'    : 100 // opacity of the hint in %%
};
// text/HTML of the hints
var HINTS_ITEMS = [

// Tip #0  Cody Cummings - index.html
	wrap4('To view the<br>full sized pics<br>of his sweet cock<br><a href="join.html" style="color:navy;">Join MaleStars.com</a> <br>right now!'),
	
// Tip #1 Paul Dawson - index.html
	wrap1('To see more of<br>Paul & his lover<br><a href="join.html" style="color:navy;">Join MaleStars.com</a> <br>right now!'),

// Tip #2 Christopher Meloni  - index.html
	wrap2('Want to see<br>more of Chris nude?<br><a href="join.html" style="color:navy;">Join MaleStars.com</a> <br>right now!'),

// Tip #3 Hardcore row star
	wrap3('Loads of<br>FREE gay hardcore<br>action videos!<br><a href="join.html" style="color:navy;">Join MaleStars.com</a><br>& Get Off Right<br>Now!'),

// Tip #4 Hollywood Cocks - movies.html
	wrap5('Take our<br>weekly Hollywood<br>Cock Quiz!<br><a href="join.html" style="color:navy;">Join MaleStars.com</a><br>& Play It Now!'),
	];

// multiple templates/functions can be used in the same page
function wrap (s_text,s_icon) {
	return [
		'<table align="center" border="0" cellspacing="0" cellpadding="0"  width="546" height="465" STYLE="background-image: url(images/chistopher-meloni-nude-lg.jpg);border: 2px solid #88c9ef;"><tr><td><div class="star"><div class="startxt">',s_text ,'</div></div></td></tr></table>'
	].join('');
}

function wrap1 (s_text,s_icon) {
	return [
		'<table align="center" border="0" cellspacing="0" cellpadding="0"  width="400" height="224" STYLE="background-image: url(images/paul-dawson-nude-lg.gif);border: 2px solid #88c9ef;"><tr><td><div class="star"><div class="startxt">',s_text ,'</div></div></td></tr></table>'
	].join('');
}
function wrap2 (s_text,s_icon) {
	return [
		'<table align="center" border="0" cellspacing="0" cellpadding="0"  width="546" height="465" STYLE="background-image: url(images/chistopher-meloni-nude-lg.jpg);border: 2px solid #88c9ef;"><tr><td><div class="star"><div class="startxt">',s_text ,'</div></div></td></tr></table>'
	].join('');
}
// 25px distance from top
function wrap3 (s_text,s_icon) {
	return [
		'<div class="star"><div class="startxt-25">',s_text ,'</div></div>'
	].join('');
}
function wrap4 (s_text,s_icon) {
	return [
		'<table align="center" border="0" cellspacing="0" cellpadding="0"  width="400" height="570" STYLE="background-image: url(images/cody-cummings-nude.jpg);border: 2px solid #88c9ef;"><tr><td><div class="star"><div class="startxt">',s_text ,'</div></div></td></tr></table>'
	].join('');
}
// 30px distance from top
function wrap5 (s_text,s_icon) {
	return [
		'<div class="star"><div class="startxt-30">',s_text ,'</div></div>'
	].join('');
}

var myHint = new THints (HINTS_ITEMS, HINTS_CFG);
