<?xml version="1.0" encoding="UTF-8" ?>
<Module>
<ModulePrefs  title="__MSG_title__"
title_url="http://younews.in/orkut/chatrooms/chat-friends.html"
scrolling="false"
author="Younews.in"
author_email="envieme@gmail.com"
description="__MSG_desc__"
author_affiliation="http://www.younews.in/"
author_location="India"
screenshot="http://img516.imageshack.us/img516/2893/chatroomsthumbpw2.gif"
thumbnail="http://i.imgur.com/WzsHM.jpg"
author_photo=""
author_aboutme=""
author_link="http://www.younews.in/index.php">

<Require feature="opensocial-0.7" />
<Require feature="views" />
<Require feature="tabs" />
<Require feature="dynamic-height"/>  
 <Require feature="opensocial-templates">
    <Param name="process-on-server">true</Param>
  </Require>


<Locale lang="en" messages="http://hosting.gmodules.com/ig/gadgets/file/112583104288207773973/en_ALL.xml"/>
<Locale lang="pt" messages="http://hosting.gmodules.com/ig/gadgets/file/112583104288207773973/pt_ALL.xml"/>

</ModulePrefs>


<Content type="html" view="canvas,profile">
<![CDATA[
<!-- PLEASE NOTE : COPYRIGHTED CODE UNDER DMCA BY ARAVIND C FOR UPDATE FRIENDS & SET STATUS. ANY CODE LIFTING AND INFRINGEMENT WILL BE DEALT WITH SEVERELY!
YOUR GOOGLE ACCOUNT CAN BE TERMINATED IF IN VIOLATION OF MY COPYRIGHT. CHECK http://www.google.com/orkut_dmca.htm FOR DETAILS. -->

<style type="text/css">

@import url(http://www.google.com/ig/tablib.css);
</style>



<style> a:hover {color:#00344F;text-decoration:underline;}a {color:#02679C;text-decoration:none; font-weigth:bold;} </style>

<script>
function enote()
{
var title = 'is now using enote!';
var body = '<a href="http://enote.in" target="_blank"><img src="http://img10.imageshack.us/img10/9745/logoblue.gif" align="middle"/><b><font color="red">Be connected with friends and fans, realtime! >></font></b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);

}
function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}
</script>

<script>
function events()
{
var title = '<b>Happy Independence Day !! Jai Hind!</b>';
var body = '<a href="http://www.orkut.co.in/Main#Application?appId=1035710327937" target="_blank"><img src="http://img43.imageshack.us/img43/8829/32071425392348884731990.jpg" align="middle"/><b> Wish All Your Friends a Happy Independence Day!</font></b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);

}
function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}
</script>
  
  
  <script>
function younews()
{
var title = 'is saying Hello!';
var body = '<a href="http://www.orkut.co.in/AppInfo.aspx?appId=583376927184"><b>Make friends & get latest news on SMS FREE! >></b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);
 
}
function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}
</script>
    
 <script>
function chatting()
{
var title = 'is now happily Chatting!';
var body = '<a href="http://www.orkut.co.in/AppInfo.aspx?appId=1035710327937"><img src="http://img214.imageshack.us/img214/604/chatroomshq2.jpg" align="middle" /></a>&nbsp;&nbsp;<a href="http://www.orkut.co.in/AppInfo.aspx?appId=1035710327937"><b>Chat and make new friends now (Bate-Papo!) >></b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);
 
}
function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}
 function hdw()
{
var title = '<font size="4"><h1> I am Online Now!!</h1></font>';
var body = '<a href="http://www.orkut.co.in/Main#Application?appId=162010468262"><img src="http://dl3.glitter-graphics.net/pub/474/474973is4wsf6d4g.gif" align="left" /></a>&nbsp;&nbsp;<a href="http://www.orkut.co.in/Application.aspx?appId=1035710327937"><b>Click here to Chat with me >></b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);
 
}
function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}  
   
function wish()
{
var title = '<b> wishes you a great day!!</b>';
var body = '<a href="http://www.orkut.co.in/Main#Application?appId=1035710327937"><img src="http://img23.imageshack.us/img23/2810/picture3vj.jpg" align="left" /></a>&nbsp;&nbsp;<a href="http://www.orkut.co.in/Application.aspx?appId=1035710327937"><b>&nbsp;&nbsp;Wish you a great day friend!</b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);
 
}

function event()
{

var title = '<b>Wish you a Happy New Year 2012!!</b>';
var body = '<a href="http://www.orkut.co.in/Main#Application?appId=1035710327937"><img src="http://thumbs.dreamstime.com/thumbimg_615/1309648557920i1n.jpg" align="left" /></a>&nbsp;&nbsp;<a href="http://www.orkut.co.in/Application.aspx?appId=1035710327937"><b>Wish you a very Happy New Year 2012!</b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);
 
}

function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}</script>




<script>
function checkInstall(){
var req=opensocial.newDataRequest();
req.add(req.newFetchPeopleRequest('VIEWER'),'viewer');
req.add(req.newFetchPersonAppDataRequest('VIEWER','installed'),'viewerData');
req.send(onResponse);
}
function onResponse(data)
{
if(!data.hadError())
{
var viewerId=data.get('viewer').getData().asArray()[0].getId();
var viewerData=data.get('viewerData').getData()[viewerId];
if(!viewerData || !viewerData.installed)
{
var req=opensocial.newDataRequest();
req.add(req.newUpdatePersonAppDataRequest('VIEWER','installed','true'),'installationUpdate');
req.send(install);

}
else
{


}
}
}

function install(data)
{
if(!data.hadError())
{

  alert('Get more Girls and Boys in Chat Rooms.\nPlease post the upcoming message to all your friends!');
 chatting();
}
}
checkInstall();
</script>

<script>
function updatestatus()
{

var title = 'says: <b>'+ document.getElementById('status').value +'</b>';
var body = '<br/><a href="http://www.orkut.co.in/AppInfo.aspx?appId=1035710327937"><b>Wish all your friends now >></b></a>';
var activity_params = {};
activity_params[opensocial.Activity.Field.TITLE] = title;
activity_params[opensocial.Activity.Field.BODY] = body;
var activity = opensocial.newActivity(activity_params);

opensocial.requestCreateActivity(activity, "HIGH", getCreateActivityResp);
}
function getCreateActivityResp(responseItem)
{
console.log(responseItem);
if(responseItem.hadError())
{}
else
{}
}
</script>

<script type="text/javascript">
_IG_RegisterOnloadHandler(request);

function request() {
var req = opensocial.newDataRequest();
req.add(req.newFetchPersonRequest(opensocial.DataRequest.PersonId.VIEWER), "viewer");
req.send(response);
}


</script>

<script>
function clearit()
{document.getElementById("status").value="";}
function undos()
{document.getElementById("status").value="type your status here";}
</script>

<script>


function response(data) {
var viewer = data.get("viewer").getData();
var name = viewer.getDisplayName();
var thumb = viewer.getField(opensocial.Person.Field.THUMBNAIL_URL);

var html = '<b><font face="arial" size="2" color="green">' + name + " is " + '</font></b>' +'<input type="text" value="browsing Orkut!" MAXLENGTH="120" id="status" onClick="clearit()"><input type="button" value="Update!" onClick="updateStatus();"></div>';
document.getElementById('nam').innerHTML=name + " says " + '<input type="text" value="Happy Valentine's Day!" MAXLENGTH="120" id="status"><input type="button" value="Send!" onClick="updateStatus();">';
}
</script>


]]>

</Content>

<Content type="html" view="profile">
<![CDATA[

<div id="app_main_canvas" style="max-height:280px; overflow:hidden;">
        <center>
<b><font face="arial" size="2">Click below to enter Orkut Chat Rooms</font></b>


<br>
 <script type="text/os-template"  xmlns:os="http://ns.opensocial.org/2008/markup" xmlns:osx= "http://ns.opensocial.org/2009/extensions"><osx:NavigateToApp><img src="http://img362.imageshack.us/img362/1592/chatroomsbt3.jpg" width="500" height="200" border="0" /></osx:NavigateToApp></script><br/>

<br>
<b>Orkut Chat Rooms powered by <font face="verdana" color="red">www.Chat-Rooms.co.in</font></b>
</center>

<script type="text/javascript">

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-4576519-2");
pageTracker._initData();
pageTracker._trackPageview();
</script>


<div align="middle" style="visibility:visible; position:absolute;
left:125px; top:15px;">

<form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
<div>
<input type="hidden" name="cx" value="partner-pub-9921097652046344:dy3ciq51wlj" />
<input type="hidden" name="ie" value="ISO-8859-1" />
<input type="text" name="q" size="31" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script>
</div>

]]>

</Content>

<Content type="html" view="canvas">
<![CDATA[


      
<!-- <div style="height:600px; max-height:600px; overflow:hidden;">
<b><font face="arial" size="2">
&nbsp;<a title="Chat with all your Orkut/GTalk/Yahoo/MSN friends!" target="_blank" style="color:#02679C; hover:#00344F;" href="http://www.orkut.com/AppInfo.aspx?appId=162010468262" target="_top">Chat!</a>
&nbsp;|&nbsp;<a target="_blank" title="Check out Chat Rooms at Chat-Rooms.co.in!" style="color:#02679C; hover:#00344F;" href="http://www.chat-rooms.co.in/index.html" >Chat-Rooms.co.in</a>
&nbsp;|&nbsp;<a target="_blank" title="Join the official Chat Rooms community" style="color:#02679C; hover:#00344F;" href="http://www.orkut.co.in/Community.aspx?cmm=53916586&refresh=1" target="_top">Official Community</a>&nbsp;|&nbsp;&nbsp;&nbsp;&nbsp;</font></b>
-->
<span id="d_tails" name="d_tails" style="position:absolute; z-index:2; left:0px; top:0px;"><font face="verdana" size="3" color="#990000"> <b>Scrap all your friends:</b></font><input type="text" value="Wish you a great day!!" MAXLENGTH="100" id="status"><input type="button" value="Send!" onClick="updatestatus();"></span>

<!-- <div style="position:absolute; top:142px; left:680px;"><input type="button" value="Invite Friends" onclick="createActivity();"></div> -->
<!-- <h4> Apologies! The Chat Rooms server is experiencing some problems and we are restoring it back ASAP. Please bear with us and check back in 5 hours. </h4> -->

<script>

function init() {

// Initialize tabs.

var tabs = new _IG_Tabs(__MODULE_ID__);


// When you use addDynamicTab, the tab's content is

// dynamically generated through the callback function.
tabs.addDynamicTab(" Chat Rooms ", chatrooms);

tabs.addDynamicTab("  enote.in  ", callback0);

tabs.addDynamicTab(" ezNews.in (new) ", callback1);
  
tabs.alignTabs('right');
}

function chatrooms(tabId) { //Chat Rooms
 wish();
_gel(tabId).innerHTML = "<iframe border='0' frameborder='0' framespacing='0' width='100%' height='97%' marginheight='0' marginwidth='0' noResize scrolling='no' src='http://host71.123flashchat.com/envieme' />";


}


function callback0(tabId) { //enote

_gel(tabId).innerHTML = "<iframe border='0' frameborder='0' framespacing='0' width='100%' height='97%' marginheight='0' marginwidth='0' noResize scrolling='auto' src='http://enote.in/' />";

enote();
}

  function callback1(tabId) { //ezNews

_gel(tabId).innerHTML = "<iframe border='0' frameborder='0' framespacing='0' width='100%' height='97%' marginheight='0' marginwidth='0' noResize scrolling='auto' src='http://eznews.in/' />";


}


// Call init function to initialize and display tabs.
init(); gadgets.window.adjustHeight('1100px');</script>



]]> </Content>



</Module>
