

<!-- Begin
var expDays = 0; // number of days the cookie should last


function GetCookie (name) {  
var arg = name + "=";  
var alen = arg.length;  
var clen = document.cookie.length;  
var i = 0;  
while (i < clen) {    
var j = i + alen;    
if (document.cookie.substring(i, j) == arg)      
return getCookieVal (j);    
i = document.cookie.indexOf(" ", i) + 1;    
if (i == 0) break;   
}  
return null;
}
function SetCookie (name, value) {  
var argv = SetCookie.arguments;  
var argc = SetCookie.arguments.length;  
var expires = (argc > 2) ? argv[2] : null;  
var path = (argc > 3) ? argv[3] : null;  
var domain = (argc > 4) ? argv[4] : null;  
var secure = (argc > 5) ? argv[5] : false;  
document.cookie = name + "=" + escape (value) + 
((expires == null) ? "" : ("; expires=" + expires.toGMTString())) + 
((path == null) ? "" : ("; path=" + path)) +  
((domain == null) ? "" : ("; domain=" + domain)) +    
((secure == true) ? "; secure" : "");
}
function DeleteCookie (name) {  
var exp = new Date();  
exp.setTime (exp.getTime() - 1);  
var cval = GetCookie (name);  
document.cookie = name + "=" + cval + "; expires=" + exp.toGMTString();
}
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));

function getCookieVal(offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
endstr = document.cookie.length;
return unescape(document.cookie.substring(offset, endstr));
}

function msgcsscheckCount() {
var count = GetCookie('count');

if (count == null) {
count=1;
SetCookie('count', count);

//placeIt();
msgcssshowIt();

}
else {
//count++;
SetCookie('count', count);
   }
}
//  End -->



var y1 =280;   // change the # on the left to adjuct the Y co-ordinate
(document.getElementById) ? dom = true : dom = false;

function msgcsshideIt() {
  if (dom) {document.getElementById("msgcssfloatlayer").style.display='none';}
  if (document.layers) {document.layers["msgcssfloatlayer"].visibility='none';} }

function msgcssshowIt() {
  if (dom) {
  	document.getElementById("msgcssfloatlayer").style.display='';
  	
  	}
  if (document.layers) {
  	document.layers["msgcssfloatlayer"].display='';
  	
  	} 
  
  }
  






<!--
floatX=10;
floatY=10;
layerwidth=200;
layerheight=130;
halign="center";
valign="center";
delayspeed=3;


NS6=false;
IE4=(document.all);
if (!IE4) {NS6=(document.getElementById);}
NS4=(document.layers);

function msgcssadjust() {

// START NN SPECIFIC CODE
 if ((NS4) || (NS6)) {
  if (lastX==-1 || delayspeed==0)
  {
   lastX=window.pageXOffset + floatX;
   lastY=window.pageYOffset + floatY;
  }
  else
  {
   var dx=Math.abs(window.pageXOffset+floatX-lastX);
   var dy=Math.abs(window.pageYOffset+floatY-lastY);
   var d=Math.sqrt(dx*dx+dy*dy);
   var c=Math.round(d/10);
   if (window.pageXOffset+floatX>lastX) {lastX=lastX+delayspeed+c;}
   if (window.pageXOffset+floatX<lastX) {lastX=lastX-delayspeed-c;}
   if (window.pageYOffset+floatY>lastY) {lastY=lastY+delayspeed+c;}
   if (window.pageYOffset+floatY<lastY) {lastY=lastY-delayspeed-c;}
  }
  if (NS4){
   document.layers['msgcssfloatlayer'].pageX = lastX;
   document.layers['msgcssfloatlayer'].pageY = lastY;
  }
  if (NS6){
   document.getElementById('msgcssfloatlayer').style.left=lastX+'px';
   document.getElementById('msgcssfloatlayer').style.top=lastY+'px';
  }
 }
// END NN SPECIFIC CODE


// START IE SPECIFIC CODE
 else if (IE4)
 {
  if (document.documentElement && document.documentElement.scrollTop){
   posNowX = document.documentElement.scrollLeft;
   posNowY = document.documentElement.scrollTop;
  } 
  else if (document.body){
   posNowX = document.body.scrollLeft;
   posNowY = document.body.scrollTop;
  }
  if (lastX==-1 || delayspeed==0)
  {
   lastX=posNowX + floatX;
   lastY=posNowY + floatY;
  }
  else
  {
   var dx=Math.abs(posNowX+floatX-lastX);
   var dy=Math.abs(posNowY+floatY-lastY);
   var d=Math.sqrt(dx*dx+dy*dy);
   var c=Math.round(d/10);
   if (posNowX+floatX>lastX) {lastX=lastX+delayspeed+c;}
   if (posNowX+floatX<lastX) {lastX=lastX-delayspeed-c;}
   if (posNowY+floatY>lastY) {lastY=lastY+delayspeed+c;}
   if (posNowY+floatY<lastY) {lastY=lastY-delayspeed-c;}
  }
  document.all['msgcssfloatlayer'].style.posLeft = lastX;
  document.all['msgcssfloatlayer'].style.posTop = lastY;
//alert(document.body.scrollTop+':'+document.scrollTop);
//  alert(document.all['msgcssfloatlayer'].style.posTop+':'+lastY);
 } 
// END IE SPECIFIC CODE

 setTimeout('msgcssadjust()',50);

}

function msgcssdefine()
{
if ((NS4) || (NS6)) 
{ 
if (halign=="left") {floatX=ifloatX};
if (halign=="right") {floatX=window.innerWidth-ifloatX-layerwidth-20};
if (halign=="center") {floatX=Math.round((window.innerWidth-170)/2)-Math.round(layerwidth/2)};
if (valign=="top") {floatY=ifloatY};
if (valign=="bottom") {floatY=window.innerHeight-ifloatY-layerheight};
if (valign=="center") {floatY=Math.round((window.innerHeight-150)/2)-Math.round(layerheight/2)};
}
if (IE4) 
{
		
 if (window.offsetWidth){
  theWidth = window.offsetWidth;
  theHeight = window.offsetHeight;
 }
 else if (document.documentElement && document.documentElement.offsetWidth)
 {
  theWidth = document.documentElement.offsetWidth;
  theHeight = document.documentElement.offsetHeight;
 }
 else if (document.body)
 {
  theWidth = document.body.offsetWidth;
  theHeight = document.body.offsetHeight;
 }


if (halign=="left") {floatX=ifloatX};
if (halign=="right") {floatX=theWidth-ifloatX-layerwidth-20}
if (halign=="center") {floatX=Math.round((theWidth-170)/2)-Math.round(layerwidth/2)}
if (valign=="top") {floatY=ifloatY};
if (valign=="bottom") {floatY=theHeight-ifloatY-layerheight}
if (valign=="center") {floatY=Math.round((theHeight-150)/2)-Math.round(layerheight/2)}
}
}
//-->



