var intCookieStep;intCookieStep=(intCookieStep=$.cookie("CookieStep"))?parseInt(intCookieStep):0;nextTooltip();
function nextTooltip(){var a;a=1;if(intCookieStep<a++)showTooltip("helpAddContent","You can add your own items for review, write your own articles and even start discussions, using this button!",100,20);else if(intCookieStep<a++)showTooltip("helpSearchBox","You can search our site for lots of things, quick and easily, just type the name of something into this box, and click Go!",100,5);else if(intCookieStep<a++)showTooltip("helpOther","Don't like the colour scheme or text size? You can change them to another one by clicking one of the buttons here!",
-90,5,true);else if(intCookieStep<a++)showTooltip("helpRelatedItem","Items appear here which have similar tags to the ones you are currently viewing!",100,5);else if(intCookieStep<a++)showTooltip("helpRelatesBox","You can view more details about this article, video or image, by clicking the item it relates to!",-130,20,true);else if(intCookieStep<a++)showTooltip("helpTagBox","Tags are specific words which describe or relate to an item, such as artists, dates and formats. You can click them to find other items that share the same tag!",
-100,5,true);else intCookieStep<a++&&showTooltip("helpAddReviews","Want to post a full review of something yourself? Or add an article, lyrics or video to this item? You can do all that by clicking here!",-50,20,true)}
function showTooltip(a,b,e,f,d){var c;b+='<br/><br/><span style="font-size: 11px; font-weight: bold; overflow: auto;"><a style="float: left; cursor: pointer;" id="ttNextTip">Next Tip</a>&nbsp;<a style="float: right; cursor: pointer;" id="ttNoTips">Disable Tips</a></span>';if(c=document.getElementById("Tooltip")){if(d)c.className="thebubbleflip";if(d=document.getElementById("TooltipText"))d.innerHTML=b;if(a=document.getElementById(a)){c.style.left=findPosX(a)+e+"px";c.style.top=findPosY(a)+f+"px";
$("#ttNextTip").click(function(){$("#Tooltip").fadeOut("slow",function(){intCookieStep++;$.cookie("CookieStep",intCookieStep,{expires:365,path:"/"});nextTooltip()});return false});$("#ttNoTips").click(function(){$("#Tooltip").fadeOut("slow");$.cookie("CookieStep",999,{expires:365,path:"/"});return false});$("#Tooltip").fadeIn("slow")}}}function hideTooltip(){$("#Tooltip").fadeOut("slow");intCookieStep++;$.cookie("CookieStep",intCookieStep,{expires:365,path:"/"});return false}
function findPosX(a){var b=0;if(a.offsetParent)for(;;){b+=a.offsetLeft;if(!a.offsetParent)break;a=a.offsetParent}else if(a.x)b+=a.x;return b}function findPosY(a){var b=0;if(a.offsetParent)for(;;){b+=a.offsetTop;if(!a.offsetParent)break;a=a.offsetParent}else if(a.y)b+=a.y;return b};

