Make your own free website on Tripod.com
.

news code

<!-- Paste this code into the HEAD of your HTML document  -->
<!-- This script from
http://www.rainbow.arch.scriptmania.com -->
<style>
<!--
#postit{
position:absolute; width:200px; padding:5px; background-color:CornflowerBlue; border:1px solid black; visibility:hidden; z-index:100; cursor:hand; color:black }
-->
</style>
<!-- Paste this code into the BODY of your HTML document  -->
<!-- This script from
http://www.rainbow.arch.scriptmania.com -->
<DIV id=postit style="LEFT: 250px; TOP: 150px">
<DIV align=right><B><A href="javascript:closeit()">[Close It]</A></B></DIV>
<!--INSERT YOUR CONTENT HERE-->
<B>HOT NEWS!!!</B><BR>
<P><FONT face=Arial size=2><A href="
http://www.deya-online.com/news/id138.html" target=_new>NEW LITTER!!!    <BR></A>07/08<BR> True Love Of Glencoe Valley <BR>gave birth to 4 puppies,<BR> 2 males and 2 bitches (3 sables and 1 tri). The father of the puppies is our well-known Ch.Dennisay's On Fire</FONT></P>
<P><FONT face=Arial size=2><A href="http://deya-online.com/news/id20.html" target=_new>Our<BR>CH. Dennisay's On Fire<BR>
IS CURENTLY IN DENMARK<BR></A></FONT></P>
<P><FONT face=Arial size=2><A href="
http://www.si-si.dk/stamtavler/stamtavle_tommy_uk.htm" target=_new>See also...<BR></A>SI-SI Rough Collie Kennels</FONT></P>
<P><FONT face=Arial size=2><A href="mailto:
dennisays@yahoo.com" target=_new>Contact Us<BR></A>...for more Information</FONT></P>
<!--END YOUR CONTENT HERE-->
</DIV>
<script type="text/javascript" language="javascript">
//Post-it only once per browser session? (0=no, 1=yes)
//Specifying 0 will cause postit to display every time page is loaded
var once_per_browser=0
///No need to edit beyond here///
var ns4=document.layers
var ie4=document.all
var ns6=document.getElementById&&!document.all
if (ns4)
crossobj=document.layers.postit
else if (ie4||ns6)
crossobj=ns6? document.getElementById("postit") : document.all.postit

function closeit(){
if (ie4||ns6)
crossobj.style.visibility="hidden"
else if (ns4)
crossobj.visibility="hide"
}
function get_cookie(Name) {
  var search = Name + "="
  var returnvalue = "";
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) { // if cookie exists
      offset += search.length
      // set index of beginning of value
      end = document.cookie.indexOf(";", offset);
      // set index of end of cookie value
      if (end == -1)
         end = document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}
function showornot(){
if (get_cookie('postdisplay')==''){
showit()
document.cookie="postdisplay=yes"
}
}
function showit(){
if (ie4||ns6)
crossobj.style.visibility="visible"
else if (ns4)
crossobj.visibility="show"
}
if (once_per_browser)
showornot()
else
showit()
</SCRIPT>
<SCRIPT language=JavaScript1.2>
//drag drop function for ie4+ and NS6////
/////////////////////////////////
function drag_drop(e){
if (ie4&&dragapproved){
crossobj.style.left=tempx+event.clientX-offsetx
crossobj.style.top=tempy+event.clientY-offsety
return false
}
else if (ns6&&dragapproved){
crossobj.style.left=tempx+e.clientX-offsetx
crossobj.style.top=tempy+e.clientY-offsety
return false
}
}
function initializedrag(e){
if (ie4&&event.srcElement.id=="postit"||ns6&&e.target.id=="postit"){
offsetx=ie4? event.clientX : e.clientX
offsety=ie4? event.clientY : e.clientY
tempx=parseInt(crossobj.style.left)
tempy=parseInt(crossobj.style.top)
dragapproved=true
document.onmousemove=drag_drop
}
}
document.onmousedown=initializedrag
document.onmouseup=new Function("dragapproved=false")
</SCRIPT>