$(document).ready(function()
{
	$('.tTip').betterTooltip({speed: 200, delay: 600});
});




//  Developed by Roshan Bhattarai
//  Visit http://roshanbh.com.np for this script and more.
//  This notice MUST stay intact for legal use

$(document).ready(function()
{
	//scroll the message box to the top offset of browser's scrool bar
	$(window).scroll(function()
	{
			$('#message_box').animate({top:$(window).scrollTop()+"px" },{queue: false, duration: 350});
	});

	//when the close button at right corner of the message box is clicked
	$('#close_message').click(function()
	{
			//the messagebox gets scrool down with top property and gets hidden with zero opacity
			$('#message_box').animate({ top:"+=15px",opacity:0 }, "slow");
	});
});




$(document).ready(function()
{
	$('ul#portfolio').innerfade({
		speed: 1000,
		timeout: 5000,
		type: 'sequence',
		containerheight: '220px'
	});
	
});




$(document).ready(function(){	
	$("#slider").easySlider({
		auto: true, 
		continuous: true
	});
});	




$(document).ready(function(){
	tooltip();//active les tooltip simple
	imagePreview();//active les tooltip image preview
	screenshotPreview();//active les tooltip lien avec preview
});




$(document).ready(function() {
// enable tooltip for "download" element. use the "slide" effect
$("#download_now").tooltip({ effect: 'slide'});
});




$(document).ready(function(){
	tooltip();//active les tooltip simple
	imagePreview();//active les tooltip image preview
	screenshotPreview();//active les tooltip lien avec preview
});




var conten
function po1(conten)
{
document.getElementById("bull1").innerHTML = "<div style=\"z-index:9999; vertical-align: top;\">"+conten+"</div>";
}
function disparaitr1()
{
document.getElementById("bull1").innerHTML = '';
}
function po(conten)
{
document.getElementById("bull").innerHTML = "<div style=\"z-index:9999; vertical-align: top;\">"+conten+"</div>";
}
function disparaitr()
{
document.getElementById("bull").innerHTML = "";
}