function favGroupsJsp_process()
{
var favGroupsJSONStr = '{"subscriptions":[{"isDefault":"false","totalSubscribers":537,"totalPosts":57,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/0/28/28529_1214336895442.png","userId":28529,"isPrivate":false,"description":"Stand Up, Take Action 2008 will be held over a 3 day period from Oct 17th -19th worldwide. Follow me & be a part of the millennium campaign. ","groupUrl":"http://www.smsgupshup.com/groups/EndPoverty2015","name":"EndPoverty2015","isPartner":false,"id":28529,"orgName":"EndPoverty2015"},{"isDefault":"false","totalSubscribers":313,"totalPosts":0,"imageUrl":"http://resource2.smsgupshup.com/webimages/images/channels/2.3.0.74078.gif","userId":279455,"isPrivate":false,"description":" ","groupUrl":"http://www.smsgupshup.com/groups/Bollywood","name":"Bollywood","isPartner":false,"id":279455,"orgName":"Bollywood"},{"isDefault":"false","totalSubscribers":5,"totalPosts":4,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/1/911/1911989_1214340528975.png","userId":1912013,"isPrivate":false,"description":"MAIA Intelligence Blog - An intelligent blog on Business Intelligence!
 http://blog.maia-intelligence.com
 
 sms JOIN MAIABLOG to 567673434. ","groupUrl":"http://www.smsgupshup.com/groups/MAIABLOG","name":"MAIABLOG","isPartner":false,"id":1911989,"orgName":"MAIABLOG"},{"isDefault":"false","totalSubscribers":66,"totalPosts":24,"imageUrl":"http://resource2.smsgupshup.com/webimages/entity/0/615/615971_1214542831448.png","userId":615976,"isPrivate":false,"description":"A group to get latest updates on internet, mobile web, technology & post made on www.techbangalore.com ","groupUrl":"http://www.smsgupshup.com/groups/TECHB","name":"TECHB","isPartner":false,"id":615971,"orgName":"TECHB"}],"userDetails":{"globalUserId":28198,"name":"Rupesh K Mandal","id":645395},"params":{"limit":5,"start":0,"type":"MY_FAV_SUBSCRIPTIONS","userId":"645395","showLatestMsg":"false","needTotalForPg":false,"showAll":false},"message":"","webarooUserDetails":{"gender":"MALE","age":26,"imageUrl":"http://resource2.smsgupshup.com/webimages/profile/0/28/28198_1214349188262.png","profileName":"Rupesh K Mandal","displayAge":true,"description":"http://funduBytes.blogspot.com ","location":"Mumbai","id":28198},"status":"SUCCESS","errorCode":"NO_ERROR"}';
if (GupShup.util.isInitialized(GupShup.conf.currentModule))
{
if (GupShup.util.trim(GupShup.conf.currentModule.refreshUrl) == '')
{
GupShup.conf.currentModule.refreshUrl
= GupShup.conf.readUrl + "&type=" + 'MY_FAV_SUBSCRIPTIONS'
+ '&userId=645395' + '&showAll=false' + '&showLatestMsg=false'
+ '&start=0' + '&limit=' + '5' + '&needTotalForPg=false';
}
else
{
favGroupsJSONStr = GupShup.conf.currentModule.refreshArgs;
}
}
var favGroups = GupShup.util.getJsonFromResponse(favGroupsJSONStr);
if((typeof(favGroups.status) != 'undefined') && (favGroups.status == 'SUCCESS') && (favGroups.subscriptions.length > 0))
{
var tmplMap =
[
{key:'http://resource.smsgupshup.com/webimages/$GROUP_IMG_SRC$.jpg', dataMember:'imageUrl'},
{key:'$GROUP_NAME$', dataMember:'name'},
{key:'http://resource.smsgupshup.com/webimages/$GROUP_PAGE_URL$.jpg', dataMember:'groupUrl'},
{key:'$POSTS_COUNT$', dataMember:'totalPosts'},
{key:'$SUBSCRIBER_COUNT$', dataMember:'totalSubscribers'}
];
var containerDivId = 'favGroupsListContainerRIGHT';
var templateDivId = 'favGroupTemplateRIGHT';
GupShup.util.expandTemplateInDiv(containerDivId, templateDivId, tmplMap, favGroups.subscriptions);
document.getElementById('favGroupsBlockContainerRIGHT').style.display = "block";
}
}
try
{
favGroupsJsp_process();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process favGroupsJsp module : error-' + error);
}
function subscribeOnMobileShouldShowDiv(entityDetails) {
if(GupShup.util.isInitialized(entityDetails) && (entityDetails.status == 'SUCCESS'))
{
if(entityDetails.info[0].isPrivate || entityDetails.info[0].isPartner)
return false;
if(GupShup.util.isInitialized(entityDetails.info[0].subscriptionDetails))
return (!entityDetails.info[0].subscriptionDetails.isSubscribed);
return true;
}
else
{
return false;
}
}
function subscribeOnMobile_process()
{
var entityDetailsJsonStr = '{"info":[{"isDefault":"false","totalSubscribers":232,"totalPosts":23,"imageUrl":"http://resource.smsgupshup.com/webimages/entity/0/645/645384_1214338224424.png","userId":645395,"isPrivate":false,"description":"Some call it fundu+Bytes some fun+du+Bytes i.e. fundubytes.blogspot.com ","groupUrl":"http://www.smsgupshup.com/groups/funduBytes","name":"funduBytes","isPartner":false,"id":645384,"orgName":"funduBytes"}],"params":{"limit":-1,"start":0,"type":"USER_INFO","infoType":"SMSENTITY","needTotalForPg":true,"entityId":"645384"},"message":"","totalForPg":1,"status":"SUCCESS","errorCode":"NO_ERROR"}';
var entityDetails = GupShup.util.getJsonFromResponse(entityDetailsJsonStr);
var moduleId = 'subscribeOnMobileModule_RIGHT';
if (subscribeOnMobileShouldShowDiv(entityDetails))
{
GupShup.html.util.showElement(moduleId);
}
else
{
GupShup.html.util.hideElement(moduleId);
}
}
try
{
subscribeOnMobile_process();
}
catch(error)
{
if (GupShup.conf.jsDebug)
alert('Could not process subscribeOnMobile module : error-' + error);
}
You are about to report that this message violates GupShup Terms of Service.
We will review your request and take appropriate steps as necessary. Your report will be strictly confidential.
$ENTITY_NAME$
$ENTITY_DESCRIPTION$
$JOIN_OR_EDITSUB_BUTTON$
Members : $SUBSCRIBER_COUNT$
Group Posts ($ENTITY_POSTS_COUNT$)
$ENTITY_NAME$
This group contains messages that may be unsuitable for some users. By clicking on 'Proceed' you confirm that you are older than 18 years of age and agree to view messages from this group.
$ENTITY_TMPL_EXPANSION$
No group found.
$ENTITY_NAME$
$ENTITY_NAME$ is a private group. You must contact the owner of this group to join it and receive group messages.
Send a message to $ENTITY_NAME$ to join this group.
To send a message from your mobile, SMS MSG $ENTITY_NAME$ followed by the message to 567678.
$ENTITY_NAME$
GupShup user is quiet.
$ENTITY_NAME$
GupShup user is quiet.
$MSG_PIC$ $MSG_TEXT$$MSG_TIMESTAMP$
$MSG_ACTIONS_EXPANSION$
This message may be unsuitable for some users. By clicking on 'Proceed' you confirm that you are older than 18 years of age and agree to view this message.
$MSG_TMPL_EXPANSION$
This member has not posted any messages yet but will surely do so soon.