var topColor, subColor, ContentInfo;


ContentInfo = "";



topColor = "#000000"
subColor = "#ffffcc"


var mouse_X;
var mouse_Y;

var tip_active = 0;



function update_tip_pos(){

		document.getElementById('ToolTip').style.left = mouse_X + 20;
		document.getElementById('ToolTip').style.top  = mouse_Y - 20;
}



var ie = document.all?true:false;
if (!ie) document.captureEvents(Event.MOUSEMOVE)
document.onmousemove = getMouseXY;

function getMouseXY(e) {
if (ie) { // grab the x-y pos.s if browser is IE
mouse_X = event.clientX + document.body.scrollLeft;
mouse_Y = event.clientY + document.body.scrollTop;
}
else { // grab the x-y pos.s if browser is NS
mouse_X = e.pageX;
mouse_Y = e.pageY;
}
if (mouse_X < 0){mouse_X = 0;}
if (mouse_Y < 0){mouse_Y = 0;}

if(tip_active){update_tip_pos();}
}




function EnterContent(TTitle, TContent){

/*ContentInfo = '<table border="0" width="150" cellspacing="0" cellpadding="0">'+
'<tr><td width="100%" bgcolor="#ffffcc">'+

'<table border="0" width="100%" cellspacing="1" cellpadding="0">'+

'<tr><td width="100%" bgcolor='+subColor+'>'+

'<table border="0" width="90%" cellpadding="0" cellspacing="1" align="center">'+

'<tr><td width="100%">'+

'<div class="tooltipcontent">'+TContent+'</div>'+

'</td></tr>'+
'</table>'+

'</td></tr>'+
'</table>'+

'</td></tr>'+
'</table>';*/

/**/
ContentInfo = '<table border="0" width="120" cellspacing="0" cellpadding="0">'+
'<tr><td width="100%" bgcolor="#ffffcc"><div class="tooltipcontent">'+TContent+'</div>'+
'</td></tr>'+
'</table>';

/*ContentInfo = '<table border="0" width="120" cellspacing="0" cellpadding="0">'+
'<tr><td width="100%" bgcolor="#ffffcc"><div class="tooltipcontent">'+
'<div id="shadow-container">'+
        '<div class="shadow1">'+
            '<div class="shadow2">'+
                '<div class="shadow3">'+
                    '<div class="container">'+TContent+'</div>'+
                '</div>'+
			'</div>'+
		'</div>'+
	'</div>'+
'</div>'+	
'</td></tr>'+
'</table>';*/


}


function tip_it(which, TTitle){
	var TContent='';
	if(TTitle == "Home"){
		TContent = "SAP Consulting Savantis Group home";
	} else if (TTitle == "SAP Staffing"){
		TContent = "SAP Staffing";
	} else if (TTitle == "SAP Consulting"){
		TContent = "SAP Implementation Consulting";
	} else if (TTitle == "SAP ERP for Retail"){
		TContent = "SAP Retail Solutions";
	} else if (TTitle == "Candidates"){
		TContent = "For SAP Professionals";
	} else if (TTitle == "SAP Jobs Portal"){
		TContent = "find SAP jobs";
	} else if (TTitle == "Title"){
		TContent = "content";
	} else if (TTitle == "Title"){
		TContent = "content";
	} else if (TTitle == "SAP Consulting2"){
		
		TContent = "SAP Systems Integration Consulting";
	} else if (TTitle == "SAP ERP for Retail2"){
		TContent = "SAP ERP for Retail";
	} else if (TTitle == "Title"){
		TContent = "content";
	} else if (TTitle == "Title"){
		TContent = "content";
	} else if (TTitle == "Title"){
		TContent = "content";
	} else if (TTitle == "Title"){
		TContent = "content";
	} else if (TTitle == "Title"){
		TContent = "content";
	}

	
	if(which && TContent != ''){
	
		update_tip_pos();
	
		tip_active = 1;
		
		document.getElementById('ToolTip').style.visibility = "visible";
		
		EnterContent(TTitle, TContent);
		
		document.getElementById('ToolTip').innerHTML = ContentInfo;
	
	}else{
	
		tip_active = 0;
	
		document.getElementById('ToolTip').style.visibility = "hidden";
	}

}