﻿/* Four things always remember:
1. Define the connection 
Desc: It show the number of user.
2. Define the ElementID 
Desc: Which element is used for show facebook.
3. Define the Width 
Desc: To Define the div width
4. Define the Height 
Desc: To Define the div Height

User : Sanjay Kumar 
Dated : 26 Nov 2009
Company : NDTV Convergence Pvt. Ltd.
Licence : Please Don't Modified ( For NDTV Developers )

*/

$(document).ready(function() { function bind(connection,ElementID,Width,Height)
{ $("#"+ElementID).append("<script type='text/javascript' src='http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php/en_US'></script><script type='text/javascript'>FB.init('8b27caeeb1374c442468b95d153b9590');</script><fb:fan profile_id='103030619976' stream='' connections='"+connection+"' width='"+Width+"' height='"+Height+"'></fb:fan>");}
bind("10","divmiddlefacebook","300","");
bind("6","divrightfacebook","180","280");
});
