Drinks and celebrations go hand-in-hand. And New Year's Eve calls for celebrations; it's time to pop the bottle, but if you're worried about unnecessary calories, then we're here to help you. Don?t let drinks play spoilsport to your carefully thought out weight control plan. We serve you healthy drinks for your New Year?s party.?You can thank us in 2013!?*Images courtesy: ? Thinkstock photos/ Getty Images
'; $("#SiteLoginDiv").html(statusLoginStr); $("#SiteLoginDiv").show(); $("#CommonLoginDiv").hide(); //-To Show the Twitter Post Box T("#maincommentdivfortweeter").tweetBox({ height: 100, width: 600, defaultContent: "http://toi.in/GCvFvY", onTweet : function (data){ //--------------Function to Post data to the insert2dbfile var whihcflag = $("#whichcontype").val(); var first_name = $("#first_name").val(); var last_name = $("#second_name").val(); var screenName = $("#userscreenname").val(); var profile_url = $("#userprofilelink").val(); var profileImage = $("#userprofileimage").val(); var loginusertypeid = $("#loginusertypeid").val(); var comment_text = data.replace("http://toi.in/GCvFvY",""); var comment_parentid = $("#comment_parentid").val(); var content_id = $("#content_id").val(); $.post("http://healthmeup.com/2db/comment2db.php",{'login_type':'twitter','whihcflag':whihcflag,'first_name':first_name,'last_name':last_name,'screenName':screenName,'profile_url':profile_url,'profileImage':profileImage,'loginusertypeid':loginusertypeid,'comment_text':comment_text,"content_id":content_id,"comment_parentid":comment_parentid},function(data){ if(jQuery.trim(data)=='error'){ $("#showerrorComment").html('User and password did not match.'); document.getElementById('showerrorComment').style.display="block"; }else if(jQuery.trim(data)=='BadWord'){ $("#comment_text").focus(); $("#commentBoxRes").html('Whoa... STOP right there! Pls feed us love, not spam, links or abusive words :) Help us keep Healthmeup a happy place!'); document.getElementById('commentBoxRes').style.display="block"; }else{ $("#commentBoxRes").show(); $.post("http://healthmeup.com/tpl/tplGetcommentadded.php",{"content_id":content_id,"pageval":"1","whichflag":whihcflag},function(data){ $("#showcommentcontent").html(data); var nocomments = $('#nocomments_'+18490).val(); //console.debug(nocomments); if( nocomments > 0){ $('#comment_'+18490).html(''); $('#comment_'+18490).html(''+nocomments +' Comments ' ); } }); } }); } }); //$("#login-logout").append('Sign out of Twitter'); $("#signout").bind("click", function () { twttr.anywhere.signOut(); $("#first_name").val(''); $("#userscreenname").val(''); $("#userprofilelink").val(''); $("#userprofileimage").val(''); $("#loginusertypeid").val(''); window.location.reload(); }); $("#logindiv").hide(); }else{ T("#twitter-connect-placeholder").connectButton({ authComplete: function(user) { // triggered when auth completed successfully setQuestion(); window.location.reload(); } }); /*document.getElementById("twitter-connect-placeholder").onclick = function () { T.signIn();}; T.bind("authComplete", function (e, user) { // triggered when auth completed successfully window.location.reload(); });*/ //$("#logindiv").show(); $("#maincommentdiv").show(); //$("#facebooktwitteruserdetails").hide(); $("#maincommentdivfortweeter").hide(); }; }); });//------------Document Ready //-------------------FAcebook User Starts var badword=0; function postthecomment1(){ var comment_text = jQuery.trim($("#comment_text").val()); var comment_parentid = jQuery.trim($("#comment_parentid").val()); var content_id = jQuery.trim($("#content_id").val()); var whihcflag = $("#whichcontype").val(); $("#showerrorComment").hide(); $("#commentBoxRes").hide(); if(comment_text==""){ errmsg = "Please Enter Your Comment"; $("#comment_text").val('') $('#comment_text').focus(); flag=1; $("#showerrorComment").html(errmsg); document.getElementById('showerrorComment').style.display="block"; return false; } if($("#whichusertype").val()=='1'){ var first_name = $("#first_name").val(); var last_name = $("#second_name").val(); if($('#UsernameSelector').attr('checked') == true){ var screenName = 'Anonymous'; } else{ var screenName = $("#userscreenname").val(); } var profile_url = $("#userprofilelink").val(); var profileImage = $("#userprofileimage").val(); var loginusertypeid = $("#loginusertypeid").val(); $('#commentSubmit').attr('disabled','disabled'); $.post("http://healthmeup.com/2db/comment2db.php",{'login_type':'facebook','whihcflag':whihcflag,'first_name':first_name,'last_name':last_name,'username':screenName,'profile_url':profile_url,'profileImage':profileImage,'loginusertypeid':loginusertypeid,'comment_text':comment_text,"content_id":content_id,"comment_parentid":comment_parentid},function(data){ if(jQuery.trim(data)=='error'){ $("#showerrorComment").html('User and password did not match.'); document.getElementById('showerrorComment').style.display="block"; }else if(jQuery.trim(data)=='BadWord'){ badword=1; $("#comment_text").focus(); $("#commentBoxRes").show(); $("#commentBoxRes").html('Whoa... STOP right there! Pls feed us love, not spam, links or abusive words :) Help us keep luxpresso a happy place!'); document.getElementById('commentBoxRes').style.display="block"; }else{ $("#commentBoxRes").show(); $.post("http://healthmeup.com/tpl/tplGetcommentadded.php",{"content_id":content_id,"pageval":"1"},function(data){ //alert(data); $("#showcommentcontent").html(data); $("#commentBoxRes").show(); //$("#Username").val(''); //$("#Useremail").val(''); $("#comment_text").val(''); var nocomments = $('#nocomments_'+18490).val(); //console.debug(nocomments); if( nocomments > 0){ $('#comment_'+18490).html(''); $('#comment_'+18490).html(''+nocomments +' Comments ' ); } var message = comment_text; var article_title = "Low Calorie Drinks for New Year's Eve 2012!"; var article_page_link = "http://healthmeup.com/photogallery-recipes/low-calorie-drinks-for-new-years-eve-2012/18490/1"; var story_section ="Photogallery"; var story_section_url ="http://healthmeup.com/archive/content/5/1"; var author_name = "Trina Remedios"; var author_name_url = "http://healthmeup.com/author/trina-remedios/990"; var posteddate = "Dec 29th 2012 at 7:00AM" var article_image_path ="http://images.idiva.com/media/healthmeup/photogallery/2012/Dec/mainnyparty_120x90.jpg"; var attachment = {'name': article_title, 'href': article_page_link ,'properties' : { 'Filed under': {'text': story_section, 'href': story_section_url}, 'Author ' : {'text': author_name, 'href':author_name_url}, 'Posted On': posteddate} ,'media': [{ 'type': 'image', 'src': article_image_path, 'href': article_page_link }] }; var action_links = [{'text':'luxpresso', 'href':'http://luxpresso.com/'}]; // FB.Connect.streamPublish(message, attachment, action_links); streamPublish(attachment, 'Healthmeup', 'http://healthmeup.com/', 'Share healthmeup.com'); $('#commentSubmit').attr('disabled',''); }); } }); }else{ var username= jQuery.trim($("#Username").val()); var useremailid= jQuery.trim($("#Useremail").val()); var comment_parentid=jQuery.trim($("#comment_parentid").val()); var userpassword=jQuery.trim($("#Password").val()); var content_id=jQuery.trim($("#content_id").val()); var whihcflag =jQuery.trim($("#whichcontype").val()); var flag = 0; if($('#UsernameSelector').attr('checked') == true){ var username = 'Anonymous'; } else{ var username = $("#Username").val(); } if(comment_text==""){ errmsg = "Please Enter Your Comment"; $("#comment_text").val('') $('#comment_text').focus(); flag=1; }else if(username=="" || useremailid==""){ errmsg = "Please login to comment."; flag=1; }else if (userpassword == "" || userpassword == "Password"){ errmsg = "Please Enter Password"; $('#Password').focus(); flag=1; } if(flag==0){ //alert("asda"); $('#commentSubmit').attr('disabled','disabled'); $.post("http://healthmeup.com/2db/comment2db.php",{'login_type':'normaluser','EmailId':useremailid,'whihcflag':whihcflag,'Username':username,"userpassword":userpassword,"content_id":content_id,"comment_parentid":comment_parentid,'comment_text':comment_text,'screenName':screenName},function(data){ //alert(trim(data)); if(jQuery.trim(data)=='error'){ $("#showerrorComment").html('User and password did not match.'); $("#showerrorComment").show(); }else if(jQuery.trim(data)=='BadWord'){ //alert("dsf") $("#comment_text").focus(); $("#commentBoxRes").html('Whoa... STOP right there! Pls feed us love, not spam, links or abusive words :) Help us keep luxpresso a happy place!
'); document.getElementById('commentBoxRes').style.display="block"; }else{ $("#commentBoxRes").show(); $.post("http://healthmeup.com/tpl/tplGetcommentadded.php",{"content_id":content_id,"pageval":"1"},function(data){ //alert(data); $("#showcommentcontent").html(data); $("#commentBoxRes").html('Thanks for posting the comments.
'); document.getElementById('commentBoxRes').style.display="block"; // $("#Username").val(''); //$("#Useremail").val(''); $("#comment_text").val(''); var nocomments = $('#nocomments_'+18490).val(); //console.debug(nocomments); if( nocomments > 0){ $('#comment_'+18490).html(''); $('#comment_'+18490).html(''+nocomments +' Comments ' ); } }); } $('#commentSubmit').attr('disabled',''); del_cook('keepComment'); }); }else{ $("#showerrorComment").html(errmsg); document.getElementById('showerrorComment').style.display="block"; } } } function posttofacebook(comment_text){ var message = comment_text; var article_title = "Low Calorie Drinks for New Year's Eve 2012!"; var article_page_link = "http://healthmeup.com/photogallery-recipes/low-calorie-drinks-for-new-years-eve-2012/18490/1"; var story_section ="Photogallery"; var story_section_url ="http://healthmeup.com/archive/content/5/1"; var author_name = "Trina Remedios"; var author_name_url = "http://healthmeup.com/author/trina-remedios/990"; var posteddate = "Dec 29th 2012 at 7:00AM"; var article_image_path ="http://images.idiva.com/media/healthmeup/photogallery/2012/Dec/mainnyparty_120x90.jpg"; var attachment = {'name': article_title, 'href': article_page_link ,'properties' : { 'Filed under': {'text': story_section, 'href': story_section_url}, 'Author ' : {'text': author_name, 'href':author_name_url}, 'Posted On': posteddate } ,'media': [{ 'type': 'image', 'src': article_image_path, 'href': article_page_link }] }; var action_links = [{'text':'Healthmeup', 'href':'http://healthmeup.com/'}]; //FB.Connect.streamPublish(message, attachment, action_links); streamPublish(attachment, 'Healthmeup', 'http://healthmeup.com/', 'Share healthmeup.com'); } function clearText(field){ if (field.defaultValue == field.value) field.value = ''; else if (field.value == '') field.value = field.defaultValue; } function del_cook(name){ //alert('deleted'); var expdate = new Date(); expdate.setTime(expdate.getTime() - 1); document.cookie = name += "=; expires=" + expdate.toGMTString(); } window.setTimeout(function() { // This will execute 0.5s after the page loads // and it will execute only once if(readCookie('focus_comment')) { $(window).bind('load', function() { $('html, body').animate({ scrollTop: $('#landcomment').offset().top }, 'fast'); $("#comment_text").focus(); Set_Cookie("focus_comment",'1', "-1"); $("#login_thank_u").html('Thank you for logging in. Please go ahead and submit your comment'); $("#login_thank_u").show(); $("#login_thank_u").fadeOut(10000); }); } }, 500);Post comment as Anonymous
Source: http://healthmeup.com/photogallery-recipes/low-calorie-drinks-for-new-years-eve-2012/18490
justin timberlake michael dyer bachmann bachmann iowa caucus results sickle cell trait sugar bowl
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.