- <!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" dir="{S_CONTENT_DIRECTION}" id="min-width" lang="{L_LANG_HTML}" xml:lang="{L_LANG_HTML}" {NAMESPACE_FB_LIKE} {NAMESPACE_FB}>
- <head>
- <!-- BEGIN meta_emulate_ie7 -->
- <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
- <!-- END meta_emulate_ie7 -->
- <title>{SITENAME_TITLE}{PAGE_TITLE}</title>
- <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING};" />
- <meta http-equiv="content-script-type" content="text/javascript" />
- <meta http-equiv="content-style-type" content="text/css" />
- {META_FAVICO}
- {META}
- {META_FB_LIKE}
- <meta name="title" content="{SITENAME_TITLE}{PAGE_TITLE}" />
- {T_HEAD_STYLESHEET}
- {CSS}
- <link rel="search" type="application/opensearchdescription+xml" href="/improvedsearch.xml" title="{SITENAME}" />
- <link rel="search" type="application/opensearchdescription+xml" href="{URL_BOARD_DIRECTORY}/search/improvedsearch.xml" title="{SEARCH_FORUMS}" />
- <script src="{JQUERY_PATH}" type="text/javascript"></script>
- <script src="{JS_DIR}{L_LANG}.js" type="text/javascript"></script>
-
- <!-- BEGIN switch_fb_login -->
- <script src="http://connect.facebook.net/{switch_fb_login.FB_LOCAL}/all.js" type="text/javascript"></script>
- <script src="{switch_fb_login.JS_FB_LOGIN}" type="text/javascript"></script>
- <!-- END switch_fb_login -->
-
- <!-- BEGIN switch_ticker -->
- <link type="text/css" rel="stylesheet" href="{JS_DIR}jquery/ticker/ticker.css" />
- <script src="{JS_DIR}jquery/ticker/ticker.js" type="text/javascript"></script>
- <!-- END switch_ticker -->
-
- <!-- BEGIN switch_ticker_new -->
- <script src="{JS_DIR}jquery/jcarousel/jquery.jcarousel.js" type="text/javascript"></script>
- <script type="text/javascript">//<![CDATA[
- /* Definir le sens de direction en fonction du panneau admin */
- var tickerDirParam = "{switch_ticker.DIRECTION}";
- var slid_vert = false;
- var auto_dir = 'next';
- var h_perso = parseInt({switch_ticker.HEIGHT});
-
- switch( tickerDirParam )
- {
- case 'top' :
- slid_vert = true;
- break;
-
- case 'left':
- break;
-
- case 'bottom':
- slid_vert = true;
- auto_dir = 'prev';
- break;
-
- case 'right':
- auto_dir = 'prev';
- break;
-
- default:
- slid_vert = true;
- }
-
- $(document).ready(function() {
- var w_cont = $('#fa_ticker_container').width();
-
- if (w_cont > 0)
- {
- $('#fa_ticker_container').width(w_cont);
-
- /* Affichage de la liste */
- $('#fa_ticker_content').css('display','block');
-
- /* Calcul des dimensions du conteneur et des �l�ments */
- var width_max = $('ul#fa_ticker_content').width();
- var width_item = Math.floor(width_max / {switch_ticker.SIZE});
- var height_max = h_perso;
-
- /* Calcul de la hauteur maximale du contenur en fonction des �l�ments et de la hauteur personnalis�e dans l'admin */
- $('ul#fa_ticker_content li').each( function () {
- if ($(this).height() > height_max)
- {
- height_max = $(this).height();
- }
- } );
-
- /* Redimensionnement des �l�ments et des images trop larges */
- $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () {
- if ($(this).width() > width_item)
- {
- var ratio = $(this).width() / width_item;
- var new_height = Math.round($(this).height() / ratio);
- $(this).height(new_height).width(width_item);
- }
- });
-
- /* Redimensionnement et centrage du conteneur en mode vertical */
- if (slid_vert)
- {
- $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto');
- }
-
- /* Initialisation du caroussel */
- $('#fa_ticker_content').jcarousel({
- vertical: slid_vert,
- wrap: 'circular',
- auto: {switch_ticker.STOP_TIME},
- auto_direction: auto_dir,
- scroll: 1,
- size: {switch_ticker.SIZE},
- height_max: height_max,
- animation: {switch_ticker.SPEED}
- });
- }
- else
- {
- $('ul#fa_ticker_content li:not(:first)').css('display','none');
- $('ul#fa_ticker_content li:first').css('list-style','none').css('text-align','center');
- }
- });
- //]]>
- </script>
- <!-- END switch_ticker_new -->
-
- <script type="text/javascript">//<![CDATA[
- $(document).ready(function(){
- <!-- BEGIN switch_enable_pm_popup -->
- pm = window.open('{U_PRIVATEMSGS_POPUP}', '_faprivmsg', 'HEIGHT=225,resizable=yes,WIDTH=400');
- pm.focus();
- <!-- END switch_enable_pm_popup -->
- <!-- BEGIN switch_report_popup -->
- report = window.open('{switch_report_popup.U_REPORT_POPUP}', '_phpbbreport', 'HEIGHT={switch_report_popup.S_HEIGHT},resizable=yes,scrollbars=no,WIDTH={switch_report_popup.S_WIDTH}');
- report.focus();
- <!-- END switch_report_popup -->
- <!-- BEGIN switch_ticker -->
- ticker_start({switch_ticker.HEIGHT}, {switch_ticker.SPACING}, {switch_ticker.SPEED}, '{switch_ticker.DIRECTION}', {switch_ticker.STOP_TIME});
- <!-- END switch_ticker -->
- });
-
- <!-- BEGIN switch_login_popup -->
- var logInPopUpLeft, logInPopUpTop, logInPopUpWidth = {LOGIN_POPUP_WIDTH}, logInPopUpHeight = {LOGIN_POPUP_HEIGHT}, logInBackgroundResize = true, logInBackgroundClass = false;
- <!-- END switch_login_popup -->
-
- <!-- BEGIN switch_login_popup -->
- $(document).ready( function() {
- $(window).resize(function() {
- var windowWidth = document.documentElement.clientWidth;
- var popupWidth = $("#login_popup").width();
- var mypopup = $("#login_popup");
-
- $("#login_popup").css({
- "left": windowWidth/2 - popupWidth/2
- });
- });
- });
- <!-- END switch_login_popup -->
- //]]>
- </script>
- {GREETING_POPUP}
- <!-- BEGIN switch_ticker_new -->
- <style>
- .jcarousel-skin-tango .jcarousel-item {
- text-align:center;
- width: 10px;
- }
-
- .jcarousel-skin-tango .jcarousel-item-horizontal {
- margin-right: {switch_ticker.SPACING}px;
- }
-
- .jcarousel-skin-tango .jcarousel-item-vertical {
- margin-bottom: {switch_ticker.SPACING}px;
- }
- </style>
- <!-- END switch_ticker_new -->
-
- <!-- BEGIN google_analytics_code -->
- <script type="text/javascript">
- //<![CDATA[
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', '{G_ANALYTICS_ID}']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- //]]>
- </script>
- <!-- END google_analytics_code -->
- </head>
- <body background="{T_BODY_BACKGROUND}" bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
- <!-- BEGIN hitskin_preview -->
- <div id="hitskin_preview" style="display: block;">
- <h1><img src="http://illiweb.com/fa/hitskin/hitskin_logo.png" alt="" /> Hit<em>skin</em>.com</h1>
- <div class="content">
- <p>
- {hitskin_preview.L_THEME_SITE_PREVIEW}
- <br />
- <span>{hitskin_preview.U_INSTALL_THEME}<a href="http://{hitskin_preview.U_RETURN_THEME}">{hitskin_preview.L_RETURN_THEME}</a></span>
- </p>
- </div>
- </div>
- <!-- END hitskin_preview -->
-
- <!-- BEGIN switch_login_popup -->
- <div id="login_popup">
- <table class="forumline" width="{LOGIN_POPUP_WIDTH}" height="{LOGIN_POPUP_HEIGHT}" border="0" cellspacing="1" cellpadding="0">
- <tr height="25">
- <td class="catLeft">
- <span class="genmed module-title">{SITENAME}</span>
- </td>
- </tr>
- <tr height="{LOGIN_POPUP_MSG_HEIGHT}">
- <td class="row1" align="left" valign="top">
- <div id="login_popup_buttons">
- <form action="{S_LOGIN_ACTION}" method="get">
- <input type="submit" class="mainoption" value="{L_LOGIN}" />
- <input type="button" class="mainoption" value="{L_REGISTER}" onclick="parent.location='{U_REGISTER}';" />
- <input id="login_popup_close" type="button" class="button" value="{L_DONT_DISPLAY_AGAIN}" />
- </form>
- </div>
- <span class="genmed">{LOGIN_POPUP_MSG}</span>
- </td>
- </tr>
- </table>
- </div>
- <!-- END switch_login_popup -->
-
- <a name="top"></a>
-
- {JAVASCRIPT}
-
- <title>eXtremepixels demo and customers forum - vBulletin skins / IPB skins and phpBB skins</title>
- </head>
- <body>
- <!-- set below for skin width-->
- <table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
- <tr>
-
- <td width="100%" align="left" valign="top">
- <!-- begin enlighten header / logo is controlled via #logo in main CSS file -->
- <div id="hdr"><div id="hdr_rs"></div><div id="logo"></div></div>
- <div id="brd_outer">
- <div id="brd_in">
-
- <!-- nav buttons bar -->
- <div align="center">
- <div id="nav_back">
- <table cellpadding="0" cellspacing="0" border="0" width="50%" align="center">
- <tr>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
- <td class="h_nav"><a href="/forum.htm">Home</a></td>
-
-
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
- <td class="h_nav"><a href="profile.forum?mode=register" rel="nofollow">Register</a></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
-
-
-
- <!-- Load Blog Link-->
-
- <td class="h_nav" id="vbbloglinks"><a href="blog.php">Blogs</a> <script type="text/javascript">vbmenu_register("vbbloglinks"); </script></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
- <!-- End Blog Link-->
-
-
- <td class="h_nav"><a href="faq.forum" accesskey="5">FAQ</a></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
-
- <td id="community" class="h_nav">
- <a href="/forum/index.htm?styleid=79&nojs=1#community" rel="nofollow" accesskey="6">Community</a>
- <script type="text/javascript"> vbmenu_register("community"); </script></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
-
- <td class="h_nav"><a href="calendar.forum">Calendar</a></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
-
- <td class="h_nav"><a href="http://ripskin.forummotion.com/search.forum?search_id=activetopics" accesskey="2">Today's Posts</a></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
-
- <td id="navbar_search" class="h_nav"><a href="search.forum" accesskey="4" rel="nofollow">Search</a></td>
- <td><img src="http://www.extremepixels.com/forum/enlighten/misc/nav_div.gif" alt="" /></td>
-
- </tr>
- </table>
- </div>
- <!-- / nav buttons bar -->
- </div>
- <div id="nav_btm"></div>
-
- <!-- content table -->
- <table bgcolor="#ebebe2" width="100%" cellpadding="0" cellspacing="0" border="0">
- <tr>
- <td>
-
- <!-- open content container -->
-
- <div align="center">
- <div class="page" style="width:100%; text-align:left">
- <div style="padding:0px 25px 0px 25px" align="left">
-
- <div class="vbmenu_popup" id="vbbloglinks_menu" style="display:none;margin-top:3px" align="left">
-
- <table cellpadding="4" cellspacing="1" border="0">
- <tr>
- <td class="thead"><a href="blog.php">Blogs</a></td>
- </tr>
-
- <tr>
-
- <td class="vbmenu_option"><a href="blog.php?do=list">Recent Entries</a></td>
- </tr>
- <tr>
-
- <td class="vbmenu_option"><a href="blog.php?do=list&blogtype=best">Best Entries</a></td>
- </tr>
- <tr>
- <td class="vbmenu_option"><a href="blog.php?do=bloglist&blogtype=best">Best Blogs</a></td>
-
- </tr>
- <tr>
- <td class="vbmenu_option"><a href="blog.php?do=bloglist">Blog List</a></td>
- </tr>
-
- <tr>
- <td class="vbmenu_option"><a href="blog_search.php?do=search">Search Blogs</a></td>
- </tr>
-
- </table>
-
- </div>
- <br />
-
- <!-- breadcrumb, login, pm info -->
-
- <table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">
- <tr>
- <td align="{MENU_POSITION}"{MENU_NOWRAP}>{GENERATED_NAV_BAR}</td>
- </tr>
- </table>
-
- <BR>
-
-
- <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
- <tr>
-
- <td class="alt1" width="100%">
- <div class="navbar" style="font-size:10pt"><a href="/forum.htm" accesskey="1"><img class="inlineimg" src="http://www.extremepixels.com/forum/enlighten/misc/navbits_start.gif" alt="" border="0" /></a> <strong>eXtremepixels demo and customers forum</strong></div>
- </td>
-
- <td class="alt2" nowrap="nowrap" style="padding:0px">
-
- <!-- BEGIN switch_user_logged_out -->
-
- <!-- login form -->
- <form action="{S_LOGIN_ACTION}" method="post" name="form_login">
- <script type="text/javascript" src="clientscript/vbulletin_md5.js?v=384"></script>
-
-
- <table border="0" cellpadding="0" cellspacing="3">
- <TBODY>
- <tr>
-
- <td class="smallfont" style="white-space: nowrap;">
- <label for="navbar_username">User Name</label></td>
-
- <td><input type="text" class="bginput" style="font-size: 11px"
- name="username" id="username" size="15" accesskey="u" tabindex="101"
- value="User Name" onfocus="if (this.value == 'User Name') this.value = '';" />
- </td>
-
-
- <td class="smallfont" nowrap="nowrap"><label for="autologin">
- <input type="checkbox" name="cookieuser" value="1"
- tabindex="103" id="autologin" accesskey="c" />Remember me?</label>
- </td>
-
- </tr>
-
- <tr>
- <td class="smallfont"><label for="password">Password</label>
- </td>
-
- <td><input type="password" class="bginput" style="font-size: 11px;"
- name="password" id="password" size="15" tabindex="102"
- </td>
-
- <td><input class="button" value="Log In" tabindex="104"
- title="Enter your username and password in the boxes provided to login,
- or click the 'register' button to create a profile for yourself." accesskey="s"
- type="submit" name="login" value="{L_LOGIN}">
- </td>
- </tr>
-
- </tbody>
-
- </table>
-
- <input type="hidden" name="s" value="" />
- <input type="hidden" name="securitytoken" value="guest" />
- <input type="hidden" name="do" value="login" />
- <input type="hidden" name="vb_login_md5password" />
- <input type="hidden" name="vb_login_md5password_utf" />
- <!-- END switch_user_logged_out -->
-
-
- <!-- BEGIN switch_user_logged_in -->
- <span class="gensmall">
- <span class="username">{USERNAME} Welcome </span><br />
- <span class="gensmall">{LAST_VISIT_DATE} <br />{CURRENT_TIME}<br />
- <!-- END switch_user_logged_in -->
- </form>
-
- <!-- / login form -->
-
- </td>
- </tr>
- </table>
- <!-- / breadcrumb, login, pm info -->
-
-
-
- <!-- nav buttons bar -->
-
- <!-- / nav buttons bar -->
-
- <br />
-
-
- <form action="profile.php?do=dismissnotice" method="post" id="notices">
- <input type="hidden" name="do" value="dismissnotice" />
- <input type="hidden" name="securitytoken" value="guest" />
- <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
- <input type="hidden" name="url" value="/forum/index.php?styleid=79" />
-
- <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
- <tr>
- <td class="thead">Notices</td>
- </tr>
-
- <tr>
- <td class="alt1">
- <div class="navbar_notice" id="navbar_notice_2">
- <strong>15% discount for customers renewing their skins!</strong>. Please see this <a href="http://www.extremepixels.com/forum/index.php?styleid=79"> thread</a> for details.</div>
- </td>
- </tr>
- </table>
- <br />
- </form>
-
-
- <!-- NAVBAR POPUP MENUS -->
-
-
- <!-- community link menu -->
- <div class="vbmenu_popup" id="community_menu" style="display:none;margin-top:3px" align="left">
-
- <table cellpadding="4" cellspacing="1" border="0">
-
- <tr>
- <td class="thead">Community Links</td>
- </tr>
-
- <tr>
- <td class="vbmenu_option">
- <a href="/groupcp.forum">Groups</a></td>
- </tr>
-
-
- <tr>
- <td class="vbmenu_option">
- <a href="/gallery/index.htm">Pictures & Albums </a></td>
- </tr>
-
-
- <tr>
- <td class="vbmenu_option">
- <a href="memberlist.forum">Members List</a>
- </td>
- </tr>
-
- </table>
- </div>
- <!-- / community link menu -->
-
- <!-- / NAVBAR POPUP MENUS -->
-
- <!-- PAGENAV POPUP -->
- <div class="vbmenu_popup" id="pagenav_menu" style="display:none">
- <table cellpadding="4" cellspacing="1" border="0">
-
- <tr>
- <td class="thead" nowrap="nowrap">Go to page...</td>
- </tr>
-
- <tr>
- <td class="vbmenu_option" title="nohilite">
- <form action="/index.htm" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
- <input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
- <input type="button" class="button" id="pagenav_ibtn" value="Go" />
- </form>
- </td>
- </tr>
- </table>
- </div>
- <!-- / PAGENAV POPUP -->
-
-
-
-
- <!-- guest welcome message -->
-
- <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
- <tr>
- <td class="tcat">Welcome to the eXtremepixels demo and customers forum.</td>
- </tr>
- <tr>
- <td class="alt1">
- If this is your first visit, be sure to check out the <a href="faq.forum"><strong>FAQ</strong></a> by clicking the link above.
- You may have to <a href="profile.forum?mode=register" rel="nofollow"><strong>register</strong></a> before you can post: click the register link above to proceed.
- To start viewing messages, select the forum that you want to visit from the selection below.
- </td>
- </tr>
- </table>
-
- <!-- / guest welcome message -->
-
-
- <br>
-
-
-
- <div style="clear: both;"></div>
-
- <!-- BEGIN switch_ticker_new -->
- <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
- <tr>
- <td {CLASS_TABLE_TYPE} align="left" class="row1">
- <div id="fa_ticker_container">
- <ul id="fa_ticker_content" class="jcarousel-skin-tango" style="display:none;">
- <!-- BEGIN ticker_row -->
- <li>{switch_ticker.ticker_row.ELEMENT}</li>
- <!-- END ticker_row -->
- </ul>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <!-- END switch_ticker_new -->
-
- <!-- BEGIN switch_ticker -->
- <div id="fa_ticker_block" style="margin-top:4px;margin-bottom:4px;">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" class="forumline">
- <tr>
- <td {CLASS_TABLE_TYPE} align="left" class="row1">
- <div id="fa_ticker_container">
- <div id="fa_ticker" style="height:{switch_ticker.HEIGHT}px;">
- <div class="fa_ticker_content">
- <!-- BEGIN ticker_row -->
- <div>{switch_ticker.ticker_row.ELEMENT}</div>
- <!-- END ticker_row -->
- </div>
- </div>
- </div>
- </td>
- </tr>
- </table>
- </div>
- <!-- END switch_ticker -->
-
- <div id="page-body">
- <div id="{ID_CONTENT_CONTAINER}"{CLASS_CONTENT_CONTAINER}>
- <table cellpadding="0" cellspacing="0" width="100%" class="three-col">
- <tbody>
- <tr>
- <td valign="top" width="{C1SIZE}">
- <div id="{ID_LEFT}">
- <!-- BEGIN giefmod_index1 -->
- {giefmod_index1.MODVAR}
- <!-- BEGIN saut -->
- <div style="height:{SPACE_ROW}px"></div>
- <!-- END saut -->
- <!-- END giefmod_index1 -->
- </div>
- </td>
- <td valign="top" width="100%">
- <!-- BEGIN html_validation -->
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </td>
- </tr>
- </table>
- </body>
- </html>
- <!-- END html_validation -->
-
-
-
- <script>
- var pictureSrc ="http://vnvista.com/forums/jscripts/snow2.gif"; //the location of the snowflakes
- var pictureWidth = 10; //the width of the snowflakes
- var pictureHeight = 10; //the height of the snowflakes
- var numFlakes = 30; //the number of snowflakes
- var downSpeed = 0.01; //the falling speed of snowflakes (portion of screen per 100 ms)
- var lrFlakes = 10; //the speed that the snowflakes should swing from side to side
-
-
- if( typeof( numFlakes ) != 'number' || Math.round( numFlakes ) != numFlakes || numFlakes < 1 ) { numFlakes = 10; }
-
- //draw the snowflakes
- for( var x = 0; x < numFlakes; x++ ) {
- if( document.layers ) { //releave NS4 bug
- document.write('<layer id="snFlkDiv'+x+'"><img src="'+pictureSrc+'" height="'+pictureHeight+'" width="'+pictureWidth+'" alt="*" border="0"></layer>');
- } else {
- document.write('<div style="position:absolute;" id="snFlkDiv'+x+'"><img src="'+pictureSrc+'" height="'+pictureHeight+'" width="'+pictureWidth+'" alt="*" border="0"></div>');
- }
- }
-
- //calculate initial positions (in portions of browser window size)
- var xcoords = new Array(), ycoords = new Array(), snFlkTemp;
- for( var x = 0; x < numFlakes; x++ ) {
- xcoords[x] = ( x + 1 ) / ( numFlakes + 1 );
- do { snFlkTemp = Math.round( ( numFlakes - 1 ) * Math.random() );
- } while( typeof( ycoords[snFlkTemp] ) == 'number' );
- ycoords[snFlkTemp] = x / numFlakes;
- }
-
- //now animate
- function flakeFall() {
- if( !getRefToDivNest('snFlkDiv0') ) { return; }
- var scrWidth = 0, scrHeight = 0, scrollHeight = 0, scrollWidth = 0;
- //find screen settings for all variations. doing this every time allows for resizing and scrolling
- if( typeof( window.innerWidth ) == 'number' ) { scrWidth = window.innerWidth; scrHeight = window.innerHeight; } else {
- if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
- scrWidth = document.documentElement.clientWidth; scrHeight = document.documentElement.clientHeight; } else {
- if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
- scrWidth = document.body.clientWidth; scrHeight = document.body.clientHeight; } } }
- if( typeof( window.pageYOffset ) == 'number' ) { scrollHeight = pageYOffset; scrollWidth = pageXOffset; } else {
- if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { scrollHeight = document.body.scrollTop; scrollWidth = document.body.scrollLeft; } else {
- if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { scrollHeight = document.documentElement.scrollTop; scrollWidth = document.documentElement.scrollLeft; } }
- }
- //move the snowflakes to their new position
- for( var x = 0; x < numFlakes; x++ ) {
- if( ycoords[x] * scrHeight > scrHeight - pictureHeight ) { ycoords[x] = 0; }
- var divRef = getRefToDivNest('snFlkDiv'+x); if( !divRef ) { return; }
- if( divRef.style ) { divRef = divRef.style; } var oPix = document.childNodes ? 'px' : 0;
- divRef.top = ( Math.round( ycoords[x] * scrHeight ) + scrollHeight ) + oPix;
- divRef.left = ( Math.round( ( ( xcoords[x] * scrWidth ) - ( pictureWidth / 2 ) ) + ( ( scrWidth / ( ( numFlakes + 1 ) * 4 ) ) * ( Math.sin( lrFlakes * ycoords[x] ) - Math.sin( 3 * lrFlakes * ycoords[x] ) ) ) ) + scrollWidth ) + oPix;
- ycoords[x] += downSpeed;
- }
- }
-
- //DHTML handlers
- function getRefToDivNest(divName) {
- if( document.layers ) { return document.layers[divName]; } //NS4
- if( document[divName] ) { return document[divName]; } //NS4 also
- if( document.getElementById ) { return document.getElementById(divName); } //DOM (IE5+, NS6+, Mozilla0.9+, Opera)
- if( document.all ) { return document.all[divName]; } //Proprietary DOM - IE4
- return false;
- }
-
- window.setInterval('flakeFall();',100);</script>
-
-
- <style>
- a{text-decoration:none}
- </style>