		/*Эта переменная показывает, открыто или нет в данный момент диалоговое окно*/
b_dialog_opened = false;
 
	/*массив id эл-та => подсказка*/
var tips = new Array();
tips['addtag_t'] = "OK";
tips['user_power_t'] = "This metric helps you evaluate each user's social media power";
tips['user_report_t'] = "Currently all user information is provided manually. Report any user if you see the member is cheating";
tips['site_power_t'] =  "Blog power is based on its Google PR, subscribers, Twitter folowers, Facebook fans and age";
tips['new_tags_t'] =  "Tags are used to describe your blog topics. Add many tags to make sure guest bloggers will find you when searching for relevnt blogs.";
tips['Google_PR_t'] =  "Current Google PageRank. We will automate this feature later";
tips['Number_of_subscribers_t'] =  "How many people are subcribed to your blog via RSS. Feedburner is the most popular way to find out";
tips['Twitter_followers_t'] =  "Does this blog have a Twitter account associated with it? How many people follow that account?";
tips['Facebook_fans_t'] =  "Does this blog have a Facebook fan page? How many fans does it have?";
tips['Site_age_t'] =  "How many months have passed since the first post went live";
tips['post_category_t'] =  "Select the most relevant category to make sure all interested bloggers will find your announcement";
tips['allow_direct_submit_t'] =  "Allow users you approve to send guest posts directly to your wp-admin drafts";
tips['save_article_t'] =  "Save this article as draft to edit it later";
tips['publish_article_t'] =  "Publish this post to the gallery for others to see";

jQuery(document).ready(function(){
	  
jQuery(".tipped").each(initTips);

jQuery(".give_article_url_t").mouseover(function(){
	TipNew("<div class='tip-box'>Until the article is published, the offer remains uncompleted. Please provide the link to the article to claim the article for your blog and complete the offer.</div>");
})

jQuery(".give_article_url_t").mouseout(function(){
	UnTipNew();
})

});

	/*Эта функция добавит подсказки ко всем эл-там, для которых это нужно*/
function initTips()
{
var id  = this.id;
	if(id == "") return;

var tip = tips[id];
	if(tip == "" || tip == undefined) return;

jQuery("#" + id).mouseover(function(){
	TipNew("<div class='tip-box'>" + tip + "</div>");
})

jQuery("#" + id).mouseout(function(){
	UnTipNew();
})

}

function TipNew()
{
	if(!b_dialog_opened)
	Tip.apply(null, arguments);
}

function UnTipNew()
{
	if(!b_dialog_opened)
	UnTip();
}

function TipDialog()
{
b_dialog_opened = true;
Tip.apply(null, arguments);
}

function UnTipDialog()
{
UnTip();
b_dialog_opened = false;
}

