- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!-- float in reverie by itsdeluxe (www.itsdeluxe.tumblr.com) -->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <!--WARNING DO NOT REMOVE THIS CREDIT!-->
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <script language="javascript" type="text/javascript" src="http://www.onlineleaf.com/savetheenvironment.js?setting1=value1&setting2=value2&setting3=value3&time=60"></script><script>jQuery.noConflict();</script>
- <head>
- <script type="text/javascript">
- function tb8_makeArray(n){
- this.length = n;
- return this.length;
- }
- tb8_messages = new tb8_makeArray(1);
- tb8_messages[0] = " float in reverie ";
- tb8_rptType = 'infinite';
- tb8_rptNbr = 1;
- tb8_speed = 100;
- tb8_delay = 3000;
- var tb8_counter=1;
- var tb8_currMsg=0;
- var tb8_tekst ="";
- var tb8_i=0;
- var tb8_TID = null;
- function tb8_pisi(){
- tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
- document.title = tb8_tekst;
- tb8_sp=tb8_speed;
- tb8_i++;
- if (tb8_i==tb8_messages[tb8_currMsg].length){
- tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
- }
- if (tb8_currMsg == tb8_messages.length){
- if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
- clearTimeout(tb8_TID);
- return;
- }
- tb8_counter++;
- tb8_currMsg = 0;
- }
- tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
- }
- tb8_pisi()
- function tb8_makeArray(n){
- this.length = n;
- return this.length;
- }
- tb8_messages = new tb8_makeArray(1);
- tb8_messages[0] = " Float in reverie ";
- tb8_rptType = 'infinite';
- tb8_rptNbr = 1;
- tb8_speed = 100;
- tb8_delay = 3000;
- var tb8_counter=1;
- var tb8_currMsg=0;
- var tb8_tekst ="";
- var tb8_i=0;
- var tb8_TID = null;
- function tb8_pisi(){
- tb8_tekst = tb8_tekst + tb8_messages[tb8_currMsg].substring(tb8_i, tb8_i+1);
- document.title = tb8_tekst;
- tb8_sp=tb8_speed;
- tb8_i++;
- if (tb8_i==tb8_messages[tb8_currMsg].length){
- tb8_currMsg++; tb8_i=0; tb8_tekst="";tb8_sp=tb8_delay;
- }
- if (tb8_currMsg == tb8_messages.length){
- if ((tb8_rptType == 'finite') && (tb8_counter==tb8_rptNbr)){
- clearTimeout(tb8_TID);
- return;
- }
- tb8_counter++;
- tb8_currMsg = 0;
- }
- tb8_TID = setTimeout("tb8_pisi()", tb8_sp);
- }
- tb8_pisi()
- </script>
- <script>
- //** jQuery Scroll to Top Control script- (c) I made this script myself (Kyle Monk) and it is hosted on my personal site so would appreciate if you followed my blog at kylemonk.tumblr.com if you use it or for details on how to change the location.
- //** Graphic originally from tumbler dashboard, for details on how to change graphic colour, contact me at kylemonk.tumblr.com
- //** v1.1 (April 7th, 10'):
- //** 1) Adds ability to scroll to an absolute position (from top of page) or specific element on the page instead.
- //** 2) Fixes scroll animation not working in Opera.
- var scrolltotop={
- //startline: Integer. Number of pixels from top of doc scrollbar is scrolled before showing control
- //scrollto: Keyword (Integer, or "Scroll_to_Element_ID"). How far to scroll document up when control is clicked on (0=top).
- setting: {startline:100, scrollto: 0, scrollduration:1000, fadeduration:[500, 100]},
- controlHTML: '<img src="http://media.tumblr.com/tumblr_lqpu4pFKFI1qaj7nf.jpg" style="filter:alpha(opacity=70); -moz-opacity:0.7;"/>', //HTML for control, which is auto wrapped in DIV w/ ID="topcontrol"
- controlattrs: {offsetx:25, offsety:95}, //offset of control relative to right/ bottom of window corner
- anchorkeyword: '#top', //Enter href value of HTML anchors on the page that should also act as "Scroll Up" links
- state: {isvisible:false, shouldvisible:false},
- scrollup:function(){
- if (!this.cssfixedsupport) //if control is positioned using JavaScript
- this.$control.css({opacity:0}) //hide control immediately after clicking it
- var dest=isNaN(this.setting.scrollto)? this.setting.scrollto : parseInt(this.setting.scrollto)
- if (typeof dest=="string" && jQuery('#'+dest).length==1) //check element set by string exists
- dest=jQuery('#'+dest).offset().top
- else
- dest=0
- this.$body.animate({scrollTop: dest}, this.setting.scrollduration);
- },
- keepfixed:function(){
- var $window=jQuery(window)
- var controlx=$window.scrollLeft() + $window.width() - this.$control.width() - this.controlattrs.offsetx
- var controly=$window.scrollTop() + $window.height() - this.$control.height() - this.controlattrs.offsety
- this.$control.css({left:controlx+'px', top:controly+'px'})
- },
- togglecontrol:function(){
- var scrolltop=jQuery(window).scrollTop()
- if (!this.cssfixedsupport)
- this.keepfixed()
- this.state.shouldvisible=(scrolltop>=this.setting.startline)? true : false
- if (this.state.shouldvisible && !this.state.isvisible){
- this.$control.stop().animate({opacity:1}, this.setting.fadeduration[0])
- this.state.isvisible=true
- }
- else if (this.state.shouldvisible==false && this.state.isvisible){
- this.$control.stop().animate({opacity:0}, this.setting.fadeduration[1])
- this.state.isvisible=false
- }
- },
- init:function(){
- jQuery(document).ready(function($){
- var mainobj=scrolltotop
- var iebrws=document.all
- mainobj.cssfixedsupport=!iebrws || iebrws && document.compatMode=="CSS1Compat" && window.XMLHttpRequest //not IE or IE7+ browsers in standards mode
- mainobj.$body=(window.opera)? (document.compatMode=="CSS1Compat"? $('html') : $('body')) : $('html,body')
- mainobj.$control=$('<div id="topcontrol">'+mainobj.controlHTML+'</div>')
- .css({position:mainobj.cssfixedsupport? 'fixed' : 'absolute', bottom:mainobj.controlattrs.offsety, right:mainobj.controlattrs.offsetx, opacity:0, cursor:'pointer'})
- .attr({title:'Scroll To Top'})
- .click(function(){mainobj.scrollup(); return false})
- .appendTo('body')
- if (document.all && !window.XMLHttpRequest && mainobj.$control.text()!='') //loose check for IE6 and below, plus whether control contains any text
- mainobj.$control.css({width:mainobj.$control.width()}) //IE6- seems to require an explicit width on a DIV containing text
- mainobj.togglecontrol()
- $('a[href="' + mainobj.anchorkeyword +'"]').click(function(){
- mainobj.scrollup()
- return false
- })
- $(window).bind('scroll resize', function(e){
- mainobj.togglecontrol()
- })
- })
- }
- }
- scrolltotop.init()
- </script>
- <!-- DEFAULT VARIABLES -->
- <meta name="if:Disable right click" content="1"/>
- <meta name="color:Box" content="pink" />
- <meta name="color:Asker Background" content="#EDDBC9" />
- <meta name="image:Background" content="" />
- <meta name="font:Body" content="Trebuchet MS" />
- <meta name="font:Links" content="Trebuchet MS" />
- <meta name="if:Description" content="1"/>
- <meta name="if:title" content="1"/>
- <meta name="if:Ask" content="1"/>
- <meta name="if:Submit" content="1"/>
- <meta name="if:Notes" content="1"/>
- <meta name="if:EnablePagination" content="1" />
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>{Title}{block:SearchPage}, Search results for: {SearchQuery}{/block:SearchPage}{block:PostSummary}, {PostSummary}{/block:PostSummary}</title>
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <link rel="shortcut icon" href="{Favicon}" />
- <link rel="alternate" type="application/rss+xml" href="{RSS}" />
- <style type="text/css">
- body{
- color: gray;
- background-image: url(http://i33.photobucket.com/albums/d84/flickmobile/Backgrounds/bk8.png);
- background-color: #ECD5CA;
- background-position: center;
- background-attachment:fixed;
- background-repeat: repeat;
- font-family:{font:body};
- font-size: 8.5px;
- line-height: 1;
- text-align:justify;
- padding-top:3px;
- text-transform:lowercase;
- cursor: url(http://media.tumblr.com/tumblr_loq2q1sxaX1qfoi4t.png), progress !important;} a:hover{cursor: url(http://media.tumblr.com/tumblr_loq2q1sxaX1qfoi4t.png), progress !important;
- }
- a:link, a:active, a:visited{
- color: gray;
- font-family: {font:Links};
- text-transform: lowercase;
- text-decoration:none;
- font-size: 10px;
- cursor: url(http://media.tumblr.com/tumblr_loq2q1sxaX1qfoi4t.png), progress !important;} a:hover{cursor: url(http://media.tumblr.com/tumblr_loq2q1sxaX1qfoi4t.png), progress !important;
- }
- a:hover{
- color: auto;
- text-decoration: none;
- -webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;-o-transition: all 0.2s ease-out;
- }
- .linkbox {margin-top:5px;font-size:10px;text-transform: ;}
- .linkbox a {margin-top:5px;font-size:10px;text-transform: ;}
- .navi a {color: {color:Links}; font-family: {font:Links}; text-transform: lowercase; text-decoration: none; font-size: 12px;background-color:{color:box};text-align:right;display:block;padding:1px; border-right: solid 10px gray; border-left: solid 10px gray; }
- .navi a:hover {color: white;background-color: gray;display:block; border-right: solid 60px white; border-left: solid 60px white; text-align: center;}
- div#cre{
- overflow: auto;
- padding-left:3px;
- padding-right:3px;
- padding-top:3px;
- padding-bottom:2px;
- background-color: gray;
- -moz-border-radius:5px;
- -webkit-border-radius:5px;
- border: 1px solid gray;
- -moz-box-shadow: 0 0 5px {color:shadow};
- -webkit-box-shadow: 0 0 5px {color:shadow};
- box-shadow: 0 0 5px {color:shadow};
- }
- div.na{
- color: gray;
- font-family: {font:Links};
- font-size:15px;
- line-height:18px;
- letter-spacing:px;
- font-weight:normal;
- text-align:left;}
- div.maincenter{
- margin-top: 265px;
- margin-bottom:-10px;
- margin-left: 550px;
- padding:5px;
- padding-top:-150px;
- width:60%;
- float:left;
- background-color: trans;
- position: absolute;
- }
- div#main{
- width: 90%;
- height: 900%;
- margin-top: 0px;
- margin-bottom:-10px;
- margin-left: 300px;
- padding:5px;
- padding-top:-150px;
- width:620px;
- float: center;
- background-color: #F0DDD5;
- position: absolute;
- border: 1px solid #E0BBA9;
- }
- div.sidebar {
- float: left;
- margin: 80px;
- width: 30%;
- margin-top:55px;
- margin-left: 5px;
- overflow: auto;
- position: absolute;
- text-align:justify;
- text-transform:{text:Text transform};
- border-top: 1px solid #E0BBA9;
- border-bottom: 1px solid #E0BBA9;
- padding: 5px;
- }
- .heart {display : block; font-size: 8pt; font-family: verdana, Lucida Sans Unicode; line-height: 15px;text-indent : 5px; vertical-align : middle; background:
- url('http://www.hellostar.org/wp-admin/images/q1.gif') no-repeat left; padding-left : 10px;
- padding-bottom : 2px;}
- .heart:hover {display : block; font-size: 8pt; font-family: verdana, Lucida Sans Unicode; line-height: 15px; text-indent : 5px; vertical-align : middle; background : url('http://www.hellostar.org/wp-admin/images/q2.gif') no-repeat left; padding-left : 10px; padding-bottom : 2px;}
- .entryboxx{
- background-color:{color:entrybox};
- float:center;
- margin: 5px;
- overflow:hidden;
- padding:5px;
- width:300px;
- {block:permalinkpage}
- width:300px;
- height:100%;
- margin-bottom:10px;
- {/block:permalinkpage}
- -moz-border-radius:0px;
- -webkit-border-radius:0px;
- -moz-box-shadow: 0 0 5px {color:shadow};
- -webkit-box-shadow: 0 0 5px {color:shadow};
- box-shadow: 0 0 5px {color:shadow};
- }
- .entryboxx:hover .permapic {
- opacity: .8;
- transition: opacity 0.5s;
- -moz-transition: opacity 0.5s;
- -webkit-transition: opacity 0.5s;
- -o-transition: opacity 0.5s;
- font-family: trebuchet ms;
- }
- div.cred{
- font-size:10px;
- -moz-border-radius:10px; border-radius:10px;
- z-index:9;
- display:block;
- position: fixed;
- left:-14px;
- top:5px;
- padding:6px;
- padding-left:20px;
- background-image:url(http://static.tumblr.com/j4dtzbm/Amxlg5cp4/transparentg.png);
- background-color: trans;
- }
- .sub, .sub a { font-family: {font:Title}; }
- .sub img { vertical-align: text-bottom; }
- .odd { background-color: white; padding: 1px; }
- .even { padding: 1px; }
- .audioplayer { padding-left: 12px;background-color:#000; }
- .playcount {float: right;clear: both;padding-top: 7px;padding-right: 20px;color: white;text-shadow: none;font-size:10px;text-transform:;}
- .permalink{
- background-color: white;
- display: block;
- color: white;
- font-family:trebuchet ms;
- margin-bottom:5px;
- padding:1px;
- opacity: .8;
- text-align: center;
- }
- .permalink:hover{
- color: auto;
- -webkit-transition: all 0.2s ease-out;-moz-transition: all 0.2s ease-out;-o-transition: all 0.2s ease-out;}
- #paginacaoml {font-family: verdana;font-size: 11px; font-weight: bold;-moz-border-radius: 10px; -webkit-border-radius:10px;}
- #paginacaoml a {background: #000;margin: 1px; padding: 2px 5px; color: #fff; text-decoration: none;-moz-border-radius: 10px; -webkit-border-radius:10px;}
- #paginacaoml a:hover {background: #fff; border: none;color:#000;text-decoration: none;}
- #paginacaoml span.pagina_atual {background: #eee;margin: 1px; padding: 2px 5px; color: #666; text-decoration: none; -moz-border-radius: 10px; -webkit-border-radius:10px; }
- #paginacaoml span.info { margin: 1px; padding: 2px 4px; color: #777; text-decoration: none;}
- blockquote {
- background-color: {color:box};
- padding:0px;
- padding-left:5px;
- margin:5px;
- border-left:1px solid gray;
- border-bottom:0px solid gray;
- }
- b, strong{color:{color:title};}
- i, em {color: {color:link};}
- p{margin-top:3px; margin-bottom:3px;}
- blockquote img{ display:block; width:100%;}
- blockquote p {padding:0px; margin:0px;}
- blockquote blockquote {position:relative; left:-5px; margin-top:0px; margin-right:0px; padding-right:0px;}
- a img{border:none;display: block;}
- .user_1 .label, .user_4 .label, .user_7 .label {color: black;}
- .user_2 .label, .user_5 .label, .user_8 .label {color: black;}
- .user_3 .label, .user_6 .label, .user_9 .label {color:{color:text}; opacity:.75;}
- ul.chat, .chat ol, .chat li {list-style:none; margin:0px; padding:0px;}
- .notes img{width:10px; position:relative; top:1px;}
- ol.notes, .notes li{list-style:none; margin:0px; padding:0px;}
- iframe input, iframe submit, iframe textarea, iframe div, iframe table {background-color:transparent!important;}
- </style>
- <style type="text/css">{CustomCSS}</style>
- </head>
- <body>
- <script language=JavaScript>
- <!--
- //Disable right mouse click Script
- //By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
- //For full source code, visit http://www.dynamicdrive.com
- var message="";
- ///////////////////////////////////
- function clickIE4(){
- if (event.button==2){
- alert(message);
- return false;
- }
- }
- function clickNS4(e){
- if (document.layers||document.getElementById&&!document.all){
- if (e.which==2||e.which==3){
- alert(message);
- return false;
- }
- }
- }
- if (document.layers){
- document.captureEvents(Event.MOUSEDOWN);
- document.onmousedown=clickNS4;
- }
- else if (document.all&&!document.getElementById){
- document.onmousedown=clickIE4;
- }
- document.oncontextmenu=new Function("return false")
- // -->
- </script>
- <!-- DO NOT DELETE THEME CREDIT OR YOU WILL BE REPORTED -->
- <div class="cred">
- <font color="white">Theme by</font></b> <a href="http://itsdeluxe.tumblr.com"><font color="#EEE5DD">Itsdeluxe</font></a>
- </div>
- <div id="main">
- <center><IMG STYLE="position:relative; TOP:0px; LEFT: 0px; float: center; width: 100%; height: 200px; " src="http://i43.tinypic.com/ivzwy8.jpg" >
- </center>
- <div class="sidebar">
- <a href="/"><img style="float: left" src="http://28.media.tumblr.com/tumblr_lvps5bQGZw1qej768o1_500.jpg" width="50px"/></a>
- <font style="font-family: arial; font-size: 6pt; font-color: #DFDFDF; letter-spacing: 1px;
- text-transform: uppercase; margin-left: 5px;">
- This space is so much free for you to edit. Write anything you want here.
- <br><br>Features:
- <br>1. With cute pagination
- <br>2. Disable right click
- <br>3. Disable select
- <br>4. Cute Navigation
- <br>5. With header
- <br>6. cute cursor
- <br>7. moving tab text
- </font>
- <br><br><br><font style="font-family: script mt bold; font-size: 8pt; font-color: #DFDFDF; letter-spacing: 1px;
- text-transform: uppercase; margin-left: 5px; font-weight: bold; ;">
- <center><u>NAVIGATION</u></center>
- </font>
- <br>
- <div class="heart"><a href="/">RELOAD</a> </div>
- <div class="heart"><a href="/ask">ASK</a> </div>
- <div class="heart"><a href="/archive">ARCHIVE</a> </div>
- <div class="heart">LINK 1</div>
- <div class="heart">LINK 2 </div
- <div class="heart"><a href="http://itsdeluxe.tumblr.com"><font size="1">theme by Itsdeluxe</font></a>
- </center>
- </div>
- </div>
- </div>
- <div class="maincenter">
- {block:Posts}
- <div class="entryboxx">
- <div class="permalink"><a href="{Permalink}">{NoteCountWithLabel}</a> <img src="http://i52.tinypic.com/1zeeheb.jpg"> <a href="{Permalink}"> <a href="{ReblogURL}" target="_blank" class="details">Reblog</a>
- {/block:Date}
- </a></div>
- {block:Text}{block:Title}<div class="h2">{Title}</div>{/block:Title}
- {Body}{/block:Text}
- {block:Photoset}<center>{block:IndexPage}{Photoset-500}{/block:IndexPage}{block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}</center>{block:PermalinkPage}{/block:PermalinkPage}{/block:Photoset}
- {block:Photo}{block:IndexPage}<center>
- <a href="{ReblogURL}" target="_blank" class="details"><img src="{PhotoURL-400}" width="400"></a></center>{/block:IndexPage}
- {block:PermalinkPage}
- {LinkOpenTag}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}" width=500/>
- {LinkCloseTag}
- {/block:PermalinkPage}
- {/block:Photo}
- {block:Link}
- <a href="{URL}" class="h2">{Name}</a>
- {block:Description}{Description}{/block:Description}
- {block:Link}
- {block:Quote}
- <div class="h2">{Quote}</div>
- {block:Source}{Source}{/block:Source}
- {/block:Quote}
- {block:Chat}
- {block:Title}<div class="h2">{Title}</div>{/block:Title}
- <ul class="chat">
- {block:Lines}
- <li class="user_{UserNumber}">
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}
- {Line}
- </li>
- {/block:Lines}
- </ul>
- {/block:Chat}
- {block:Audio}
- <centeR><div style="width:250px; height:20px;"><div style="float:left">{AudioPlayerWhite}</div><div style="margin-top:8px; float:right;">
- {FormattedPlayCount} plays {block:ExternalAudio} // <a href="{ExternalAudioURL}">Download</a>{/block:ExternalAudio}
- </div></div></center><BR>
- {block:Caption}{Caption}{/block:Caption}
- {/block:Audio}
- {block:Video}<center>
- {Video-250}<BR>
- {block:Caption}{Caption}{/block:Caption}</center>
- {block:Video}
- {block:Answer} <img src="{AskerPortraitURL-64}" align="left" style="padding:2px; border:1px dashed {color:button}"/><div class="bubbles">{Asker} asked <b>{Question}</b></div><br>{/block:Answer}
- {block:PermalinkPage}
- {block:PostNotes}
- {block:ContentSource}<br>Originally Posted by:<a href="{SourceURL}" target="_blank">{block:SourceLogo}<img src="{BlackLogoURL}" width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo} {SourceTitle}{/block:NoSourceLogo}</a> {/block:ContentSource}{block:RebloggedFrom}Reblogged From: <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
- <div class="notes">{PostNotes}</div>
- {/block:PostNotes}
- {/block:PermalinkPage}
- </div>
- {/block:Posts}
- <div id="paginacaoml"> {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}{/block:Pagination} {block:JumpPagination length="10"} {block:CurrentPage}<span class="pagina_atual">{PageNumber}</span>{/block:CurrentPage} {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage} {/block:JumpPagination} {block:Pagination}{block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}{/block:Pagination} </div>
- </div>
- <script type="text/javascript">
- // <![CDATA[
- var colour="tan";
- var sparkles=450;
- /****************************
- * Tinkerbell Magic Sparkle *
- * (c) 2005 mf2fm web-design *
- * http://www.mf2fm.com/rv *
- * DON'T EDIT BELOW THIS BOX *
- ****************************/
- var x=ox=400;
- var y=oy=300;
- var swide=800;
- var shigh=600;
- var sleft=sdown=0;
- var tiny=new Array();
- var star=new Array();
- var starv=new Array();
- var starx=new Array();
- var stary=new Array();
- var tinyx=new Array();
- var tinyy=new Array();
- var tinyv=new Array();
- window.onload=function() { if (document.getElementById) {
- var i, rats, rlef, rdow;
- for (var i=0; i<sparkles; i++) {
- var rats=createDiv(3, 3);
- rats.style.visibility="hidden";
- document.body.appendChild(tiny[i]=rats);
- starv[i]=0;
- tinyv[i]=0;
- var rats=createDiv(5, 5);
- rats.style.backgroundColor="transparent";
- rats.style.visibility="hidden";
- var rlef=createDiv(1, 5);
- var rdow=createDiv(5, 1);
- rats.appendChild(rlef);
- rats.appendChild(rdow);
- rlef.style.top="2px";
- rlef.style.left="0px";
- rdow.style.top="0px";
- rdow.style.left="2px";
- document.body.appendChild(star[i]=rats);
- }
- set_width();
- sparkle();
- }}
- function sparkle() {
- var c;
- if (x!=ox || y!=oy) {
- ox=x;
- oy=y;
- for (c=0; c<sparkles; c++) if (!starv[c]) {
- star[c].style.left=(starx[c]=x)+"px";
- star[c].style.top=(stary[c]=y)+"px";
- star[c].style.clip="rect(0px, 5px, 5px, 0px)";
- star[c].style.visibility="visible";
- starv[c]=50;
- break;
- }
- }
- for (c=0; c<sparkles; c++) {
- if (starv[c]) update_star(c);
- if (tinyv[c]) update_tiny(c);
- }
- setTimeout("sparkle()", 40);
- }
- function update_star(i) {
- if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
- if (starv[i]) {
- stary[i]+=1+Math.random()*3;
- if (stary[i]<shigh+sdown) {
- star[i].style.top=stary[i]+"px";
- starx[i]+=(i%5-2)/5;
- star[i].style.left=starx[i]+"px";
- }
- else {
- star[i].style.visibility="hidden";
- starv[i]=0;
- return;
- }
- }
- else {
- tinyv[i]=50;
- tiny[i].style.top=(tinyy[i]=stary[i])+"px";
- tiny[i].style.left=(tinyx[i]=starx[i])+"px";
- tiny[i].style.width="2px";
- tiny[i].style.height="2px";
- star[i].style.visibility="hidden";
- tiny[i].style.visibility="visible"
- }
- }
- function update_tiny(i) {
- if (--tinyv[i]==25) {
- tiny[i].style.width="1px";
- tiny[i].style.height="1px";
- }
- if (tinyv[i]) {
- tinyy[i]+=1+Math.random()*3;
- if (tinyy[i]<shigh+sdown) {
- tiny[i].style.top=tinyy[i]+"px";
- tinyx[i]+=(i%5-2)/5;
- tiny[i].style.left=tinyx[i]+"px";
- }
- else {
- tiny[i].style.visibility="hidden";
- tinyv[i]=0;
- return;
- }
- }
- else tiny[i].style.visibility="hidden";
- }
- document.onmousemove=mouse;
- function mouse(e) {
- set_scroll();
- y=(e)?e.pageY:event.y+sdown;
- x=(e)?e.pageX:event.x+sleft;
- }
- function set_scroll() {
- if (typeof(self.pageYOffset)=="number") {
- sdown=self.pageYOffset;
- sleft=self.pageXOffset;
- }
- else if (document.body.scrollTop || document.body.scrollLeft) {
- sdown=document.body.scrollTop;
- sleft=document.body.scrollLeft;
- }
- else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
- sleft=document.documentElement.scrollLeft;
- sdown=document.documentElement.scrollTop;
- }
- else {
- sdown=0;
- sleft=0;
- }
- }
- window.onresize=set_width;
- function set_width() {
- if (typeof(self.innerWidth)=="number") {
- swide=self.innerWidth;
- shigh=self.innerHeight;
- }
- else if (document.documentElement && document.documentElement.clientWidth) {
- swide=document.documentElement.clientWidth;
- shigh=document.documentElement.clientHeight;
- }
- else if (document.body.clientWidth) {
- swide=document.body.clientWidth;
- shigh=document.body.clientHeight;
- }
- }
- function createDiv(height, width) {
- var div=document.createElement("div");
- div.style.position="absolute";
- div.style.height=height+"px";
- div.style.width=width+"px";
- div.style.overflow="hidden";
- div.style.backgroundColor=colour;
- return (div);
- }
- // ]]>
- </script>
- <SCRIPT TYPE="text/javascript">
- <!--
- //Disable select-text script (IE4+, NS6+)
- //visit http://www..arch.scriptmania.com/scripts/
- ///////////////////////////////////
- function disableselect(e){
- return false
- }
- function reEnable(){
- return true
- }
- //if IE4+
- document.onselectstart=new Function ("return false")
- //if NS6
- if (window.sidebar){
- document.onmousedown=disableselect
- document.onclick=reEnable
- }
- // -->
- </SCRIPT>
- </div>
- </body>
- </html>