sricolama.com - information about domain
- Server Status: available
- Server IP: 69.73.138.231
- Server Response Time: 489ms
Site title
Sricolama.com
Keywords
Sri Colama, Sri Lanka politics, economy and social life, UNP, JVP, SLFP, Humor, jokes, sricolama.com
Description
Sri Colama intends to provide a platform for analytical pieces on Sri Lanka’s politics, economy and social life, but in a lighter way.
Alexa information
Alexa rank: 3,299,828
Rank Trend
Bounce Trend
DNS Information
| Host: | Class: | Type: | IP: | TTL: | Target: | Other: |
| sricolama.com | IN | A | 69.73.138.231 | 14400 | ||
| sricolama.com | IN | SOA | 86400 | mname: ns1-wood.nswebhost.com rname: system.nswebhost.com serial: 2011112500 refresh: 86400 retry: 7200 expire: 3600000 minimum-ttl: 86400 |
||
| sricolama.com | IN | MX | 14400 | sricolama.com | ||
| sricolama.com | IN | NS | 86400 | ns1-cherokee.nswebhost.com | ||
| sricolama.com | IN | NS | 86400 | ns2-cherokee.nswebhost.com |
Server Location
Site source
Show / hide source
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb">
<head>
<base href="http://sricolama.com/" />
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="Sri Colama, Sri Lanka politics, economy and social life, UNP, JVP, SLFP, Humor, jokes, sricolama.com" />
<meta name="description" content="Sri Colama intends to provide a platform for analytical pieces on Sri Lanka’s politics, economy and social life, but in a lighter way." />
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />
<title>Sricolama.com</title>
<link href="/index.php?format=feed&type=rss" rel="alternate" type="application/rss+xml" title="RSS 2.0" />
<link href="/index.php?format=feed&type=atom" rel="alternate" type="application/atom+xml" title="Atom 1.0" />
<link href="/templates/ja_rutile/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<link rel="stylesheet" href="/templates/ja_rutile/css/ja.news.css" type="text/css" />
<script type="text/javascript" src="/components/com_jcomments/js/jcomments-v2.1.js?v=2"></script>
<script type="text/javascript" src="/components/com_jcomments/libraries/joomlatune/ajax.js"></script>
<script type="text/javascript" src="/media/system/js/mootools.js"></script>
<script type="text/javascript" src="/media/system/js/caption.js"></script>
<script type="text/javascript" src="/plugins/content/avreloaded/silverlight.js"></script>
<script type="text/javascript" src="/plugins/content/avreloaded/wmvplayer.js"></script>
<script type="text/javascript" src="/plugins/content/avreloaded/swfobject.js"></script>
<script type="text/javascript" src="/plugins/content/avreloaded/avreloaded.js"></script>
<link rel="stylesheet" href="http://sricolama.com/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="http://sricolama.com/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="http://sricolama.com/templates/ja_rutile/css/template.css" type="text/css" />
<link rel="stylesheet" href="http://sricolama.com/templates/ja_rutile/css/typo.css" type="text/css" />
<script language="javascript" type="text/javascript">
var siteurl = 'http://sricolama.com/';
var tmplurl = 'http://sricolama.com/templates/ja_rutile';
</script>
<script language="javascript" type="text/javascript" src="http://sricolama.com/templates/ja_rutile/js/ja.script.js"></script>
<!-- js for dragdrop -->
<!-- Menu head -->
<link href="http://sricolama.com/templates/ja_rutile/ja_menus/ja_cssmenu/ja.cssmenu.css" rel="stylesheet" type="text/css" />
<script src="http://sricolama.com/templates/ja_rutile/ja_menus/ja_cssmenu/ja.cssmenu.js" language="javascript" type="text/javascript"></script>
<link href="http://sricolama.com/templates/ja_rutile/css/colors/default.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 6]>
<style type="text/css">
.clearfix {height: 1%;}
img {border: none;}
</style>
<![endif]-->
<!--[if gte IE 7.0]>
<style type="text/css">
.clearfix {display: inline-block;}
</style>
<![endif]-->
</head>
<body id="bd" class=" wide fs4" >
<a name="Top" id="Top"></a>
<ul class="accessibility">
<li><a href="/#ja-content" title="Skip to content">Skip to content</a></li>
<li><a href="/#ja-mainnav" title="Skip to main navigation">Skip to main navigation</a></li>
<li><a href="/#ja-col1" title="Skip to 1st column">Skip to 1st column</a></li>
<li><a href="/#ja-col2" title="Skip to 2nd column">Skip to 2nd column</a></li>
</ul>
<div id="ja-wrapper">
<!-- BEGIN: HEADER -->
<div class="ja-box-br" style="overflow: visible;"><div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div id="ja-header" class="clearfix">
<h1 class="logo">
<a href="/index.php" title="Sricolama.com"><span>Sricolama.com</span></a>
</h1>
<div id="ja-topnav">
<p style="text-align: center;"><img src="/images/stories/ASTROLOGY/astrology-top-baner.jpg" border="0" width="475" height="85" /></p>
</div>
<!-- BEGIN: MAIN NAVIGATION -->
<div id="ja-mainnav" class="clearfix">
<ul id="ja-cssmenu" class="clearfix">
<li class="active"><a href="http://sricolama.com/" class="menu-item0 active first-item" id="menu1" title="Home"><span class="menu-title">Home</span></a></li>
<li class="havechild"><a href="/about-me.html" class="menu-item1" id="menu102" title="About Me"><span class="menu-title">About Me</span></a><ul><li ><a href="/about-me/our-astrological-service.html" class=" first-item" id="menu106" title="Our astrological service"><span class="menu-title">Our astrological service</span></a></li>
<li ><a href="/about-me/how-do-we-do-the-readings.html" id="menu105" title="How do we do the readings?"><span class="menu-title">How do we do the readings?</span></a></li>
<li ><a href="/about-me/how-do-we-send-you-the-report.html" id="menu104" title="How do we send you the report?"><span class="menu-title">How do we send you the report?</span></a></li>
<li ><a href="/about-me/our-fees.html" class=" last-item" id="menu108" title="Our Services & Fees"><span class="menu-title">Our Services & Fees</span></a></li>
</ul></li>
<li class="havechild"><a href="/2012-01-11-07-56-03.html" class="menu-item2" id="menu100" title="Astrology Houses"><span class="menu-title">Astrology Houses</span></a><ul><li ><a href="/2012-01-11-07-56-03/2012-01-11-07-59-13.html" class=" first-item" id="menu101" title="Zodiac Signs Of Astrology"><span class="menu-title">Zodiac Signs Of Astrology</span></a></li>
<li ><a href="/2012-01-11-07-56-03/about-us.html" class=" last-item" id="menu53" title="Planets"><span class="menu-title">Planets</span></a></li>
</ul></li>
<li class="havechild"><a href="/astro-for-your-marriage.html" class="menu-item3" id="menu112" title="Astrology for your Life"><span class="menu-title">Astrology for your Life</span></a><ul><li ><a href="/astro-for-your-marriage/treatment-for-graha-apala.html" class=" first-item" id="menu110" title="Correct Treatment for Graha Apala"><span class="menu-title">Correct Treatment for Graha Apala</span></a></li>
<li ><a href="/astro-for-your-marriage/the-astrology-in-your-hand.html" class=" last-item" id="menu111" title="The Astrology in Your Hand"><span class="menu-title">The Astrology in Your Hand</span></a></li>
</ul></li>
<li ><a href="/fengshui.html" class="menu-item4" id="menu107" title="Fengshui"><span class="menu-title">Fengshui</span></a></li>
<li class="havechild"><a href="/news.html" class="menu-item5" id="menu113" title="News"><span class="menu-title">News</span></a><ul><li ><a href="/news/featured-stories.html" class=" first-item" id="menu114" title="Astrology Articles"><span class="menu-title">Astrology Articles</span></a></li>
</ul></li>
<li ><a href="/contact-us.html" class="menu-item6 last-item" id="menu85" title="Contact Us"><span class="menu-title">Contact Us</span></a></li>
</ul>
<div id="ja-usertools">
<ul class="ja-usertools-font">
<li><img style="cursor: pointer;" title="Increase font size" src="http://sricolama.com/templates/ja_rutile/images/user-increase.png" alt="Increase font size" id="ja-tool-increase" onclick="switchFontSize('ja_rutile_ja_font','inc'); return false;" /></li>
<li><img style="cursor: pointer;" title="Default font size" src="http://sricolama.com/templates/ja_rutile/images/user-reset.png" alt="Default font size" id="ja-tool-reset" onclick="switchFontSize('ja_rutile_ja_font',4); return false;" /></li>
<li><img style="cursor: pointer;" title="Decrease font size" src="http://sricolama.com/templates/ja_rutile/images/user-decrease.png" alt="Decrease font size" id="ja-tool-decrease" onclick="switchFontSize('ja_rutile_ja_font','dec'); return false;" /></li>
</ul>
<script type="text/javascript">var CurrentFontSize=parseInt('4');</script>
</div>
</div>
<!-- END: MAIN NAVIGATION -->
</div>
</div></div></div></div>
<!-- END: HEADER -->
<div id="ja-containerwrap">
<div id="ja-container" class="clearfix">
<!-- BEGIN: CONTENT -->
<div id="ja-mainbody" class="clearfix">
<!-- BEGIN: CONTENT -->
<div id="ja-content">
<div id="ja-content-top">
<div id="ja-content-bot">
<div class="ja-innerpad clearfix">
<div id="ja-current-content" class="clearfix">
<div id="ja-pathway">
<span class="breadcrumbs pathway">
Home</span>
</div>
<table class="blog" cellpadding="0" cellspacing="0">
<tr>
<td valign="top">
</td>
</tr>
<tr>
<td valign="top" align="center">
</td>
</tr>
</table>
<!-- BEGIN: JAZIN -->
<div id="jazin-fp">
<p style="text-align: center;"><a href="/about-me.html"><img src="/images/stories/ASTROLOGY/space2.jpg" border="0" width="500" height="144" /></a></p><p>
<script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-5280902144613212";
/* Front Top Media */
google_ad_slot = "3612480208";
google_ad_width = 468;
google_ad_height = 60;
// ]]></script>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
</p><p>
<script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-5280902144613212";
/* Front Bottom Text */
google_ad_slot = "1947917285";
google_ad_width = 468;
google_ad_height = 60;
// ]]></script>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
</p><p>
<script type="text/javascript">// <![CDATA[
google_ad_client = "ca-pub-5280902144613212";
/* Front Bottom Text */
google_ad_slot = "1947917285";
google_ad_width = 468;
google_ad_height = 60;
// ]]></script>
<script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript">
</script>
</p><p><a href="/component/content/article/1-latest-news/2460-2008-12-16-13-32-21.html" target="_self"><img src="/images/stories/irahanda-baner.jpg" border="0" width="500" height="112" /></a></p><p style="text-align: center;"><a href="/component/content/article/1-latest-news/433-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/astro front baner.gif" border="0" width="475" height="466" /></a></p><p><a href="/fengshui.html" target="_self"><img src="/images/stories/ASTROLOGY/fengshui-baner.jpg" border="0" width="501" height="90" /></a></p>
<div id="jazin-wrap">
<div id="jazin" class="clearfix">
<div class="jazin-left" style="width:49.95%">
<div class="jazin-boxwrap jazin-theme">
<div class="jazin-box">
<div class="jazin-section clearfix">
<a href="/news.html" title="">
<span>Astrology News</span>
</a>
</div>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="/news/2458-how-author-j-k-rowling-practiced-astrology-while-writing-her-first-harry-potter-book.html" title="How author, J K Rowling practiced astrology while writing her first Harry Potter book">How author, J K Rowling practiced astrology while writing her first Harry Potter book</a></h4>
<p><strong>July 2011</strong> - In 2005 I wrote that astrological symbolism lurks in the background of the Harry Potter books.<a href="/harrypotter.htm"></a> It was speculation at the time as there was no evidence that Joanne Rowling had even a passing interest in astrology.</p> <a href="/news/2458-how-author-j-k-rowling-practiced-astrology-while-writing-her-first-harry-potter-book.html" class="readon" title="Read more...">Read more...</a>
</div>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="/news/2457-biography-of-queen-rania-of-jordan.html" title="Biography of Queen Rania of Jordan">Biography of Queen Rania of Jordan</a></h4>
<p />Rania Al Abdullah (Arabic: الملكة رانيا العبد الله Rānyā al-‘abdu l-Lāh) (born Rania al Yassin on 31 August 1970) is the current Queen consort of Jordan as the wife of King Abdullah II of Jordan. As a global figure, and considered by some to be one of the world’s most powerful women, <a href="/news/2457-biography-of-queen-rania-of-jordan.html" class="readon" title="Read more...">Read more...</a>
</div>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="/news/2455-valentines-day-horoscopes.html" title="Valentine's Day Horoscopes">Valentine's Day Horoscopes</a></h4>
<p />Appearances can be deceiving this Valentine's Day. This romantic holiday is about celebrating the joys of love, but serious feelings are stirring beneath the surface this holiday. Venus, the planet of amour, is approaching a stressful 90-degree square with manipulative Pluto, <a href="/news/2455-valentines-day-horoscopes.html" class="readon" title="Read more...">Read more...</a>
</div>
</div>
</div>
</div>
<div class="jazin-right" style="width:49.95%">
<div class="jazin-boxwrap jazin-theme">
<div class="jazin-box">
<div class="jazin-section clearfix">
<a href="/news/featured-stories.html" title="">
<span>Featured Stories</span>
</a>
</div>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="/news/featured-stories/2459-computer-genius-linked-to-rare-planetary-alignment-.html" title="Computer Genius Linked to Rare Planetary Alignment">Computer Genius Linked to Rare Planetary Alignment</a></h4>
<p />Besides a genius for working with computers and making boatloads of money many of the most influential people in the world of computing and information technology share another important connection.In his latest book, <em>Outliers,</em> author Malcolm Gladwell reports that Bill Gates, the late Steve Jobs, Bill Joy, <a href="/news/featured-stories/2459-computer-genius-linked-to-rare-planetary-alignment-.html" class="readon" title="Read more...">Read more...</a>
</div>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="/news/featured-stories/2456-study-connects-divorce-rate-with-planetary-patterns.html" title="Study Connects Divorce Rate with Planetary Patterns">Study Connects Divorce Rate with Planetary Patterns</a></h4>
<p />As star-crossed lovers go, Romeo and Juliet had nothing on Burton and Taylor, the charismatic motion picture stars who sizzled on the silver screen in Joseph Mankiewicz’s Cleopatra, Shakespeare’s Taming of the Shrew and Albee’s Who’s Afraid of Virginia Wolf? before flaming out in a real-life romance <a href="/news/featured-stories/2456-study-connects-divorce-rate-with-planetary-patterns.html" class="readon" title="Read more...">Read more...</a>
</div>
<div class="jazin-content clearfix">
<h4 class="jazin-title"><a href="/news/featured-stories/2454-beauty-the-beast-and-a-dwarf-.html" title="Beauty, The Beast and a Dwarf">Beauty, The Beast and a Dwarf</a></h4>
<p />When planets with the largest orbs enter new astrological signs, new trends develop in the collective. And when these planets relate to each other in what astrologers call aspects, these developments take shape even more clearly. <a href="/news/featured-stories/2454-beauty-the-beast-and-a-dwarf-.html" class="readon" title="Read more...">Read more...</a>
</div>
</div>
</div>
</div>
</div>
</div>
<p><a href="/component/content/article/1-latest-news/2407-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/zodiac-week.gif" border="0" width="500" height="63" /></a></p>
</div>
<!-- END: JAZIN -->
</div>
</div></div></div></div>
<!-- END: CONTENT -->
<!-- BEGIN: LEFT COLUMN -->
<div id="ja-col1">
<div class="ja-innerpad">
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2434-2008-12-16-13-32-21.html" target="_self"><img src="/images/stories/ASTROLOGY/star_signs.gif" border="0" width="170" height="46" /></a><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html">
<hr />
<img src="/images/stories/ASTROLOGY/k0449808.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449797.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449813.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449810.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449814.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449801.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/astro-for-your-marriage/treatment-for-graha-apala.html"><img src="/images/stories/ASTROLOGY/grahaapala.jpg" border="0" width="178" height="46" /></a></p> </div>
</div></div></div></div>
</div>
</div><br />
<!-- END: LEFT COLUMN -->
</div>
<!-- END: CONTENT -->
<!-- BEGIN: RIGHT COLUMN -->
<div id="ja-col2">
<div class="ja-innerpad">
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2407-2008-12-16-13-32-21.html" target="_self"><img src="/images/stories/ASTROLOGY/senasuru_maruwa.gif" border="0" /></a>
<hr />
<a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449816.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449804.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449815.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449818.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449817.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2411-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/k0449812.jpg" border="0" /></a></p> </div>
</div></div></div></div>
<div class="ja-box-br module">
<div class="ja-box-bl"><div class="ja-box-tr"><div class="ja-box-tl">
<div class="ja-box-ct clearfix">
<p><a href="/component/content/article/1-latest-news/2437-2008-12-16-13-32-21.html"><img src="/images/stories/ASTROLOGY/rahu kalaya front.gif" border="0" /></a></p> </div>
</div></div></div></div>
</div></div><br />
<!-- END: RIGHT COLUMN -->
</div></div>
<!-- BEGIN: FOOTER -->
<div id="ja-footer">
<style type="text/css">
<!--
.jbgstyle {
font-family: Arial, Helvetica, sans-serif;
font-size: 9px;
align: center;
}
-->
</style>
<br />
<span class="jbgstyle">snow by</span> <a href="http://www.jfriendly.net"><img src="/modules/mod_snowfall/image/jsnowfall.png" width="36" height="14" alt="jsnowfall" align="absmiddle"/></a>
<script type="text/javascript">
/*
DHTML PNG Snowstorm! OO-style Jascript-based Snow effect
--------------------------------------------------------
Version 1.2.20041121a
Dependencies: GIF/PNG images (0 through 4.gif/png)
Code by Scott Schiller - www.schillmania.com
Adapted to Joomla by Jfriendly.net
--------------------------------------------------------
Description:
Initializes after body onload() by default (via addEventHandler() call at bottom.)
Properties:
usePNG
---------------
Enables PNG images if supported ("false" disables all PNG usage)
flakeTypes
---------------
Sets the range of flake images to use (eg. a value of 5
will use images ranging from 0.png to 4.png.)
flakesMax
---------------
Sets the maximum number of snowflakes that can exist on
the screen at any given time.
flakesMaxActive
---------------
Sets the limit of "falling" snowflakes (ie. moving, thus
considered to be "active".)
vMax
---------------
Defines the maximum X and Y velocities for the storm.
A range up to this value is selected at random.
flakeWidth
---------------
The width (in pixels) of each snowflake image.
flakeHeight
---------------
Height (pixels) of each snowflake image.
flakeBottom
---------------
Limits the "bottom" coordinate of the snow.
snowCollect
---------------
Enables snow to pile up (slowly) at bottom of window.
Can be very CPU/resource-intensive over time.
*/
var snowStorm = null;
function SnowStorm() {
var s = this;
var storm = this;
this.timers = [];
this.flakes = [];
this.disabled = false;
this.terrain = [];
// User-configurable variables
// ---------------------------
var usePNG = true;
var imagePath = 'http://sricolama.com/modules/mod_snowfall/image/snow/'; // relative path to snow images
var flakeTypes = 6;
var flakesMax = 128;
var flakesMaxActive = 64;
var vMax = 2.5;
var flakeWidth = 5;
var flakeHeight = 5;
var flakeBottom = null; // Integer for fixed bottom, 0 or null for "full-screen" snow effect
var snowCollect = true;
var showStatus = true;
// --- End of user section ---
var isIE = (navigator.appName.toLowerCase().indexOf('internet explorer')+1);
var isWin9X = (navigator.appVersion.toLowerCase().indexOf('windows 98')+1);
var isOpera = (navigator.userAgent.toLowerCase().indexOf('opera ')+1 || navigator.userAgent.toLowerCase().indexOf('opera/')+1);
if (isOpera) isIE = false; // Opera (which is sneaky, pretending to be IE by default)
var screenX = null;
var screenY = null;
var scrollY = null;
var vRndX = null;
var vRndY = null;
function rnd(n,min) {
if (isNaN(min)) min = 0;
return (Math.random()*n)+min;
}
this.randomizeWind = function() {
vRndX = plusMinus(rnd(vMax,0.2));
vRndY = rnd(vMax,0.2);
if (this.flakes) {
for (var i=0; i<this.flakes.length; i++) {
if (this.flakes[i].active) this.flakes[i].setVelocities();
}
}
}
function plusMinus(n) {
return (parseInt(rnd(2))==1?n*-1:n);
}
this.resizeHandler = function() {
if (window.innerWidth || window.innerHeight) {
screenX = window.innerWidth-(!isIE?24:2);
screenY = (flakeBottom?flakeBottom:window.innerHeight);
} else {
screenX = (document.documentElement.clientWidth||document.body.clientWidth||document.body.scrollWidth)-(!isIE?8:0);
screenY = flakeBottom?flakeBottom:(document.documentElement.clientHeight||document.body.clientHeight||document.body.scrollHeight);
}
s.scrollHandler();
}
this.scrollHandler = function() {
// "attach" snowflakes to bottom of window if no absolute bottom value was given
scrollY = (flakeBottom?0:parseInt(window.scrollY||document.documentElement.scrollTop||document.body.scrollTop));
if (isNaN(scrollY)) scrollY = 0; // Netscape 6 scroll fix
if (!flakeBottom && s.flakes) {
for (var i=0; i<s.flakes.length; i++) {
if (s.flakes[i].active == 0) s.flakes[i].stick();
}
}
}
this.freeze = function() {
// pause animation
if (!s.disabled) {
s.disabled = 1;
} else {
return false;
}
if (!isWin9X) {
clearInterval(s.timers);
} else {
for (var i=0; i<s.timers.length; i++) {
clearInterval(s.timers[i]);
}
}
}
this.resume = function() {
if (s.disabled) {
s.disabled = 0;
} else {
return false;
}
s.timerInit();
}
this.stop = function() {
this.freeze();
for (var i=0; i<this.flakes.length; i++) {
this.flakes[i].o.style.display = 'none';
}
removeEventHandler(window,'scroll',this.scrollHandler,false);
removeEventHandler(window,'resize',this.resizeHandler,false);
}
this.SnowFlake = function(parent,type,x,y) {
var s = this;
var storm = parent;
this.type = type;
this.x = x||parseInt(rnd(screenX-12));
this.y = (!isNaN(y)?y:-12);
this.vX = null;
this.vY = null;
this.vAmpTypes = [2.0,1.0,1.25,1.0,1.5,1.75]; // "amplification" for vX/vY (based on flake size/type)
this.vAmp = this.vAmpTypes[this.type];
this.active = 1;
this.o = document.createElement('img');
this.o.style.position = 'absolute';
this.o.style.width = flakeWidth+'px';
this.o.style.height = flakeHeight+'px';
this.o.style.fontSize = '1px'; // so IE keeps proper size
this.o.style.zIndex = 2;
this.o.src = imagePath+this.type+(pngHandler.supported && usePNG?'.png':'.gif');
document.body.appendChild(this.o);
if (pngHandler.supported && usePNG) pngHandler.transform(this.o);
this.refresh = function() {
this.o.style.left = this.x+'px';
this.o.style.top = this.y+'px';
}
this.stick = function() {
s.o.style.top = (screenY+scrollY-flakeHeight-storm.terrain[Math.floor(this.x)])+'px';
// called after relative left has been called
}
this.vCheck = function() {
if (this.vX>=0 && this.vX<0.2) {
this.vX = 0.2;
} else if (this.vX<0 && this.vX>-0.2) {
this.vX = -0.2;
}
if (this.vY>=0 && this.vY<0.2) {
this.vY = 0.2;
}
}
this.move = function() {
this.x += this.vX;
this.y += (this.vY*this.vAmp);
this.refresh();
if (this.vX && screenX-this.x<flakeWidth+this.vX) { // X-axis scroll check
this.x = 0;
} else if (this.vX<0 && this.x<0-flakeWidth) {
this.x = screenX-flakeWidth; // flakeWidth;
}
var yDiff = screenY+scrollY-this.y-storm.terrain[Math.floor(this.x)];
if (yDiff<flakeHeight) {
this.active = 0;
if (snowCollect) {
var height = [0.75,1.5,0.75];
for (var i=0; i<2; i++) {
storm.terrain[Math.floor(this.x)+i+2] += height[i];
}
}
this.o.style.left = ((this.x-(!isIE?flakeWidth:0))/screenX*100)+'%'; // set "relative" left (change with resize)
if (!flakeBottom) {
this.stick();
}
}
}
this.animate = function() {
// main animation loop
// move, check status, die etc.
this.move();
}
this.setVelocities = function() {
this.vX = vRndX+rnd(vMax*0.12,0.1);
this.vY = vRndY+rnd(vMax*0.12,0.1);
}
this.recycle = function() {
this.setVelocities();
this.vCheck();
this.x = parseInt(rnd(screenX-flakeWidth-1));
this.y = parseInt(rnd(640)*-1)-flakeHeight;
this.active = 1;
}
this.recycle(); // set up x/y coords etc.
this.refresh();
}
this.snow = function() {
var active = 0;
var used = 0;
var waiting = 0;
for (var i=this.flakes.length-1; i>0; i--) {
if (this.flakes[i].active == 1) {
this.flakes[i].animate();
active++;
} else if (this.flakes[i].active == 0) {
used++;
} else {
waiting++;
}
}
if (snowCollect && !waiting) { // !active && !waiting
// create another batch of snow
this.createSnow(flakesMaxActive,true);
}
if (active<flakesMaxActive) {
with (this.flakes[parseInt(rnd(this.flakes.length))]) {
if (!snowCollect && active == 0) {
recycle();
} else if (active == -1) {
active = 1;
}
}
}
}
this.createSnow = function(limit,allowInactive) {
if (showStatus) window.status = 'Creating snow...';
for (var i=0; i<limit; i++) {
this.flakes[this.flakes.length] = new this.SnowFlake(this,parseInt(rnd(flakeTypes)));
if (allowInactive || i>flakesMaxActive) this.flakes[this.flakes.length-1].active = -1;
}
if (showStatus) window.status = '';
}
this.timerInit = function() {
this.timers = (!isWin9X?setInterval("snowStorm.snow()",20):[setInterval("snowStorm.snow()",75),setInterval("snowStorm.snow()",25)]);
}
this.init = function() {
for (var i=0; i<8192; i++) {
this.terrain[i] = 0;
}
this.randomizeWind();
this.createSnow(snowCollect?flakesMaxActive:flakesMaxActive*2); // create initial batch
addEventHandler(window,'resize',this.resizeHandler,false);
addEventHandler(window,'scroll',this.scrollHandler,false);
// addEventHandler(window,'scroll',this.resume,false); // scroll does not cause window focus. (odd)
// addEventHandler(window,'blur',this.freeze,false);
// addEventHandler(window,'focus',this.resume,false);
this.timerInit();
}
this.resizeHandler(); // get screen coordinates
if (screenX && screenY && !this.disabled) {
this.init();
}
}
function snowStormInit() {
setTimeout("snowStorm = new SnowStorm()",500);
}
// Generic addEventHandler() wrapper
// ---------------------------------
// A generic interface for adding DOM event handlers
// Version 1.2.20040404
//
// Code by Scott Schiller | schillmania.com
//
// Revision history:
// ---------------------------------
// v1.1.20031218: initial deploy
// v1.2.20040404: added post-load event check
var addEventHandler = null;
var removeEventHandler = null;
function postLoadEvent(eventType) {
// test for adding an event to the body (which has already loaded) - if so, fire immediately
return ((eventType.toLowerCase().indexOf('load')>=0) && document.body);
}
function addEventHandlerDOM(o,eventType,eventHandler,eventBubble) {
if (!postLoadEvent(eventType)) {
o.addEventListener(eventType,eventHandler,eventBubble);
} else {
eventHandler();
}
}
function removeEventHandlerDOM(o,eventType,eventHandler,eventBubble) {
o.removeEventListener(eventType,eventHandler,eventBubble);
}
function addEventHandlerIE(o,eventType,eventHandler) { // IE workaround
if (!eventType.indexOf('on')+1) eventType = 'on'+eventType;
if (!postLoadEvent(eventType)) {
o.attachEvent(eventType,eventHandler); // Note addition of "on" to event type
} else {
eventHandler();
}
}
function removeEventHandlerIE(o,eventType,eventHandler) {
if (!eventType.indexOf('on')+1) eventType = 'on'+eventType;
o.detachEvent(eventType,eventHandler);
}
function addEventHandlerOpera(o,eventType,eventHandler,eventBubble) {
if (!postLoadEvent(eventType)) {
(o==window?document:o).addEventListener(eventType,eventHandler,eventBubble);
} else {
eventHandler();
}
}
function removeEventHandlerOpera(o,eventType,eventHandler,eventBubble) {
(o==window?document:o).removeEventListener(eventType,eventHandler,eventBubble);
}
if (navigator.userAgent.toLowerCase().indexOf('opera ')+1 || navigator.userAgent.toLowerCase().indexOf('opera/')+1) {
// opera is dumb at times.
addEventHandler = addEventHandlerOpera;
removeEventHandler = removeEventHandlerOpera;
} else if (document.addEventListener) { // DOM event handler method
addEventHandler = addEventHandlerDOM;
removeEventHandler = removeEventHandlerDOM;
} else if (document.attachEvent) { // IE event handler method
addEventHandler = addEventHandlerIE;
removeEventHandler = removeEventHandlerIE;
} else { // Neither "DOM level 2" (?) methods supported
addEventHandler = function(o,eventType,eventHandler,eventBubble) {
o['on'+eventType] = eventHandler;
// Multiple events could be added here via array etc.
}
removeEventHandler = function(o,eventType,eventHandler,eventBubble) {}
}
// Safari 1.0 does not support window.scroll events - apparently netscape 6.0/6.2 and mozilla 1.4 also.
// Refer to events support table at http://www.quirksmode.org/js/events_compinfo.html
// -- end addEventHandler definition --
/*
PNGHandler: Object-Oriented Javascript-based PNG wrapper
--------------------------------------------------------
Version 1.2.20040803
Code by Scott Schiller - www.schillmania.com
--------------------------------------------------------
Description:
Provides gracefully-degrading PNG functionality where
PNG is supported natively or via filters (Damn you, IE!)
Should work with PNGs as images and DIV background images.
--------------------------------------------------------
Revision history
--------------------------------------------------------
1.2
- Added refresh() for changing PNG images under IE
- Class extension: "scale" causes PNG to scale under IE
--------------------------------------------------------
Known bugs
--------------------------------------------------------
- ie:mac doesn't support PNG background images.
- Safari doesn't support currentStyle() - can't parse BG
via CSS (ie. for a DIV with a PNG background by class)
*/
function PNGHandler() {
var self = this;
this.na = navigator.appName.toLowerCase();
this.nv = navigator.appVersion.toLowerCase();
this.isIE = this.na.indexOf('internet explorer')+1?1:0;
this.isWin = this.nv.indexOf('windows')+1?1:0;
this.isIEMac = (this.isIE&&!this.isWin);
this.isIEWin = (this.isIE&&this.isWin);
this.ver = this.isIE?parseFloat(this.nv.split('msie ')[1]):parseFloat(this.nv);
this.isMac = this.nv.indexOf('mac')+1?1:0;
this.isOpera = (navigator.userAgent.toLowerCase().indexOf('opera ')+1 || navigator.userAgent.toLowerCase().indexOf('opera/')+1);
if (this.isOpera) this.isIE = false; // Opera filter catch (which is sneaky, pretending to be IE by default)
this.filterID = 'DXImageTransform.Microsoft.AlphaImageLoader';
this.supported = false;
this.transform = self.doNothing;
this.filterMethod = function(o) {
// IE 5.5+ proprietary filter garbage (boo!)
// Create new element based on old one. Doesn't seem to render properly otherwise (due to filter?)
// use DOM "currentStyle" method, so rules inherited via CSS are picked up.
if (o.nodeName != 'IMG') {
var b = o.currentStyle.backgroundImage.toString(); // parse out background image URL
o.style.backgroundImage = 'none';
// Parse out background image URL from currentStyle.
var i1 = b.indexOf('url("')+5;
var newSrc = b.substr(i1,b.length-i1-2).replace('.gif','.png'); // find first instance of ") after (", chop from string
o.style.writingMode = 'lr-tb'; // Has to be applied so filter "has layout" and is displayed. Seriously. Refer to http://msdn.microsoft.com/workshop/author/filter/reference/filters/alphaimageloader.asp?frame=true
o.style.filter = "progid:"+self.filterID+"(src='"+newSrc+"',sizingMethod='"+(o.className.indexOf('scale')+1?'scale':'crop')+"')";
} else if (o.nodeName == 'IMG') {
var newSrc = o.getAttribute('src').replace('.gif','.png');
// apply filter
o.src = 'image/none.gif'; // get rid of image
o.style.filter = "progid:"+self.filterID+"(src='"+newSrc+"',sizingMethod="+(o.className.indexOf('scale')+1?'scale':'crop')+"')";
o.style.writingMode = 'lr-tb'; // Has to be applied so filter "has layout" and is displayed. Seriously. Refer to http://msdn.microsoft.com/workshop/author/filter/reference/filters/alphaimageloader.asp?frame=true
}
}
this.pngMethod = function(o) {
// Native transparency support. Easy to implement. (woo!)
bgImage = this.getBackgroundImage(o);
if (bgImage) {
// set background image, replacing .gif
o.style.backgroundImage = 'url('+bgImage.replace('.gif','.png')+')';
} else if (o.nodeName == 'IMG') {
o.src = o.src.replace('.gif','.png');
} else if (!bgImage) {
// no background image
}
}
this.getBackgroundImage = function(o) {
var b, i1; // background-related variables
var bgUrl = null;
if (o.nodeName != 'IMG' && !(this.isIE && this.isMac)) { // ie:mac PNG support broken for DIVs with PNG backgrounds
if (document.defaultView) {
if (document.defaultView.getComputedStyle) {
b = document.defaultView.getComputedStyle(o,'').getPropertyValue('background-image');
i1 = b.indexOf('url(')+4;
bgUrl = b.substr(i1,b.length-i1-1);
} else {
// no computed style
return false;
}
} else {
// no default view
return false;
}
}
return bgUrl;
}
this.doNothing = function() {}
this.supportTest = function() {
// Determine method to use.
// IE 5.5+/win32: filter
if (this.isIE && this.isWin && this.ver >= 5.5) {
// IE proprietary filter method (via DXFilter)
self.transform = self.filterMethod;
} else if (!this.isIE && this.ver < 5) {
// No PNG support or broken support
// Leave existing content as-is
self.transform = null;
return false;
} else if (!this.isIE && this.ver >= 5 || (this.isIE && this.isMac && this.ver >= 5)) { // version 5+ browser (not IE), or IE:mac 5+
self.transform = self.pngMethod;
} else {
// Presumably no PNG support. GIF used instead.
self.transform = null;
return false;
}
return true;
}
this.init = function() {
this.supported = this.supportTest();
}
}
function getElementsByClassName(className,oParent) {
var doc = (oParent||document);
var matches = [];
var nodes = doc.all||doc.getElementsByTagName('*');
for (var i=0; i<nodes.length; i++) {
if (nodes[i].className == className || nodes[i].className.indexOf(className)+1 || nodes[i].className.indexOf(className+' ')+1 || nodes[i].className.indexOf(' '+className)+1) {
matches[matches.length] = nodes[i];
}
}
return matches; // kids, don't play with fire. ;)
}
// Instantiate and initialize PNG Handler
var pngHandler = new PNGHandler();
pngHandler.init();
addEventHandler(window,'load',snowStormInit,false);
</script>
<small>Copyright © 2012 Sricolama.com. All Rights Reserved. Powered by
<a href="http://www.sricolama.com/" title="Visit Sricolama.com!" target="blank">HG</a>.</small>
<!--<small><a href="http://www.joomla.org">Joomla!</a> is Free Software released under the <a href="http://www.gnu.org/licenses/gpl-2.0.html">GNU/GPL License.</a></small> -->
</div>
<!-- END: FOOTER -->
</div>
<script type="text/javascript">
addSpanToTitle();
jaAddFirstItemToTopmenu();
jaRemoveLastContentSeparator();
//jaRemoveLastTrBg();
</script>
</body>
</html>