     var numposts=1;
     var numchars=150;
     var numcharsmain = 50;
     var numcharstitlemain = 8;
     
     function showrecentpostsmain1(json) {
	     //code adapted from Creative Commons
	     numcharsmain = 80;
	     
	     for (var i = 0; i < 3; i++) {
     
		var entry = json.feed.entry[i];
		var posttitle = entry.title.$t;
		// get the post url
		// check all links for the link with rel = alternate
		var posturl;
		if (i == json.feed.entry.length) break;
		for (var k = 0; k < entry.link.length; k++) {
		  if (entry.link[k].rel == 'alternate') {
		    posturl = entry.link[k].href;
		    break;
		  }
		}
	 // get the postdate, take only the first 10 characters
	 var postdate = entry.published.$t.substring(0,10);
	 
	 // get the postcontent
	 // if the Blogger-feed is set to FULL, then the content is in the content-field
	 // if the Blogger-feed is set to SHORT, then the content is in the summary-field
	 if ("content" in entry) {
	   var postcontent = entry.content.$t;}
	 else
	 if ("summary" in entry) {
	   var postcontent = entry.summary.$t;}
	 else var postcontent = "";
	 // strip off all html-tags
	 var re = /<\S[^>]*>/g; 
	 postcontent = postcontent.replace(re, "");
	 // reduce postcontent to numchar characters
	 if (postcontent.length > numcharsmain) postcontent = postcontent.substring(0,numcharsmain)+"...";
	 if (posttitle.length > numcharstitlemain) posttitle = posttitle.substring(0,numcharstitlemain)+"...";
	 // display the results
	 document.write("<table width='100%'><tr><td width='60' valign='top'><a href='http://gempak-starz.blogspot.com' target='_blank'><img src='my_theme/css/images/gempak_starz.jpg' width='60' border='0'/></a></td><td width='230' valign='top'><table cellpadding=0  cellspacing=0 width='100%'><tr><td width='132'><a href='"+posturl+"'><span style='font-weight:bold; color:#ffffff; font-size:11pt;'>"+posttitle+"</span></a></td><td align='right' width='83' valign='top'><b>"+postdate+"</b></td></tr>");
	 document.write("<tr><td colspan='2' align='justify'><span style='color:#fffdfe'>"+postcontent+"...</span></td></tr><tr><td valign='top' colspan='2' ><span style='font-weight:bold'><a href='"+posturl+"' style='color:#febf3c' target='_blank'>(Read More)</a></span></td></tr></table></td></tr></table>");
     }
     }
     
     function showrecentpostsmain2(json) {
	     numcharsmain = 50;
	     //code adapted from Creative Commons
	     for (var i = 0; i < 3; i++) {
     
	 var entry = json.feed.entry[i];
	 var posttitle = entry.title.$t;
	 // get the post url
	 // check all links for the link with rel = alternate
	 var posturl;
	 if (i == json.feed.entry.length) break;
	 for (var k = 0; k < entry.link.length; k++) {
	   if (entry.link[k].rel == 'alternate') {
	     posturl = entry.link[k].href;
	     break;
	   }
	 }
	 // get the postdate, take only the first 10 characters
	 var postdate = entry.published.$t.substring(0,10);
	 
	 // get the postcontent
	 // if the Blogger-feed is set to FULL, then the content is in the content-field
	 // if the Blogger-feed is set to SHORT, then the content is in the summary-field
	 if ("content" in entry) {
	   var postcontent = entry.content.$t;}
	 else
	 if ("summary" in entry) {
	   var postcontent = entry.summary.$t;}
	 else var postcontent = "";
	 // strip off all html-tags
	 var re = /<\S[^>]*>/g; 
	 postcontent = postcontent.replace(re, "");
	 // reduce postcontent to numchar characters
	 if (postcontent.length > numcharsmain) postcontent = postcontent.substring(0,numcharsmain)+"...";
	 if (posttitle.length > numcharstitlemain) posttitle = posttitle.substring(0,numcharstitlemain)+"...";
	 // display the results
	 document.write("<table width='100%'><tr><td width='60' valign='top'><a href='http://gsjunior.blogspot.com' target='_blank'><img src='my_theme/css/images/Learn_More.jpg' width='61' border='0'/></a></td><td width='245' valign='top'><table cellpadding=0  cellspacing=0 width='100%'><tr><td width='132'><a href='"+posturl+"'><span style='font-weight:bold; color:#ffffff; font-size:11pt;'>"+posttitle+"</span></a></td><td align='right' width='83' valign='top'><b>"+postdate+"</b></td></tr>");
	 document.write("<tr><td colspan='2' align='justify'><span style='color:#fffdfe'>"+postcontent+"...</span></td></tr><tr><td valign='top' colspan='2' ><span style='font-weight:bold'><a href='"+posturl+"' style='color:#febf3c' target='_blank'>(Read More)</a></span></td></tr></table></td></tr></table>");
     }
     }
     
     function showrecentpostsmain3(json) {
	     numcharsmain = 50;
	     //code adapted from Creative Commons
	     for (var i = 0; i < 3; i++) {
     
	 var entry = json.feed.entry[i];
	 var posttitle = entry.title.$t;
	 // get the post url
	 // check all links for the link with rel = alternate
	 var posturl;
	 if (i == json.feed.entry.length) break;
	 for (var k = 0; k < entry.link.length; k++) {
	   if (entry.link[k].rel == 'alternate') {
	     posturl = entry.link[k].href;
	     break;
	   }
	 }
	 // get the postdate, take only the first 10 characters
	 var postdate = entry.published.$t.substring(0,10);
	 
	 // get the postcontent
	 // if the Blogger-feed is set to FULL, then the content is in the content-field
	 // if the Blogger-feed is set to SHORT, then the content is in the summary-field
	 if ("content" in entry) {
	   var postcontent = entry.content.$t;}
	 else
	 if ("summary" in entry) {
	   var postcontent = entry.summary.$t;}
	 else var postcontent = "";
	 // strip off all html-tags
	 var re = /<\S[^>]*>/g; 
	 postcontent = postcontent.replace(re, "");
	 // reduce postcontent to numchar characters
	 if (postcontent.length > numcharsmain) postcontent = postcontent.substring(0,numcharsmain)+"...";
	 if (posttitle.length > numcharstitlemain) posttitle = posttitle.substring(0,numcharstitlemain)+"...";
	 // display the results
	 document.write("<table width='100%'><tr><td width='60' valign='top'><a href='http://comicking2003.blogspot.com' target='_blank'><img src='my_theme/css/images/Comic_king.jpg' height='50' border='0'/></a></td><td width='245' valign='top'><table cellpadding=0  cellspacing=0 width='100%'><tr><td width='132'><a href='"+posturl+"'><span style='font-weight:bold; color:#ffffff; font-size:11pt;'>"+posttitle+"</span></a></td><td align='right' width='83' valign='top'><b>"+postdate+"</b></td></tr>");
	 document.write("<tr><td colspan='2' align='justify'><span style='color:#fffdfe'>"+postcontent+"...</span></td></tr><tr><td valign='top' colspan='2' ><span style='font-weight:bold'><a href='"+posturl+"' style='color:#febf3c' target='_blank'>(Read More)</a></span></td></tr></table></td></tr></table>");
     }
     }
     
     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"));

     try {
     var pageTracker = _gat._getTracker("UA-11653205-2");
     pageTracker._trackPageview();
     } catch(err) {}
