    
  function antispam(user,domain,subject,bodytext)
  {
  if(subject == null)
    subject=" ";
  if(bodytext == null)
    bodytext=" ";        
  document.write('<a href=\"mailto:' + user + '&#64;' + domain + '?subject=' + subject + '&body=' + bodytext + '\">'); 
  document.write(user + '&#64;' + domain + '</a>');
  }
  
 
    function spacer()
          {
             
              var aDivs = document.getElementsByTagName("div");
              var aHolders = new Array();
              var aReals = new Array();
              
			 
           //this loop inserting to the  new array of aholder and areals 
              for(var i=0; i<aDivs.length; i++)
              {
				  if(aDivs[i].getAttribute("holder") != "")
		              aHolders[aDivs[i].getAttribute("holder")] = aDivs[i];
                
	              if(aDivs[i].getAttribute("real") != "")
	                  aReals[aDivs[i].getAttribute("real")] = aDivs[i];
		            
              }
         
              for(var i=0; i<aHolders.length; i++)
              {
              
	              if(aHolders[i].offsetHeight > aReals[i].offsetHeight)
		            aReals[i].style.height = aHolders[i].offsetHeight+"px";
		             
		          if(aHolders[i].offsetWidth > aReals[i].offsetWidth)
		            aReals[i].style.width = aHolders[i].offsetWidth+"px";
				
				aHolders[i].style.visibility = 'visible';
	    
              }
           
             
            var curleft = new Array();
            var curtop = new Array();
			var curleftho = new Array();
            var curtopho = new Array();
			
            
            for(var i=0; i<aReals.length; i++)
            {
				curleftho[i]=0;
				curtopho[i]=0;
				curleft[i]=0;
				curtop[i]=0;

               if (aReals[i].offsetParent)
                {
                  curleft[i] = aReals[i].offsetLeft;
                  curtop[i] = aReals[i].offsetTop;
				 
                }	
                
                 while (aReals[i]= aReals[i].offsetParent)
                     {
                        curleft[i] += aReals[i].offsetLeft;
                        curtop[i] += aReals[i].offsetTop;
						 
                     } 	
				if (aHolders[i].offsetParent)
				{
                  curleftho[i] = aHolders[i].offsetLeft;
                  curtopho[i] = aHolders[i].offsetTop;
				  	
				  }
               
			  
				
			 aHolders[i].style.marginTop = curtop[i]-curtopho[i] +"px";
			 aHolders[i].style.marginLeft = curleft[i]-curleftho[i]+ "px";
			  
            }
             
                 
          }
          function newspacer()
          {
             
              var aDivs = document.getElementsByTagName("div");
              var aHolders = new Array();
              var aReals = new Array();
              
			 
           //this loop inserting to the  new array of aholder and areals 
              for(var i=0; i<aDivs.length; i++)
              {
				  if(aDivs[i].getAttribute("holder") != "")
		              aHolders[aDivs[i].getAttribute("holder")] = aDivs[i];
                
	              if(aDivs[i].getAttribute("real") != "")
	                  aReals[aDivs[i].getAttribute("real")] = aDivs[i];
		            
              }
            
              for(var i=0; i<aHolders.length; i++)
              {
	              if(aHolders[i].offsetHeight > aReals[i].offsetHeight)
		            aReals[i].style.height = aHolders[i].offsetHeight+"px";
		            
		          if(aHolders[i].offsetWidth > aReals[i].offsetWidth)
		            aReals[i].style.width = aHolders[i].offsetWidth+"px";
				
				aHolders[i].style.visibility = 'visible';
	    
              }
            
             
            var curleft = new Array();
            var curtop = new Array();
			var curleftho = new Array();
            var curtopho = new Array();
			
            
            for(var i=0; i<aReals.length; i++)
            {
				curleftho[i]=0;
				curtopho[i]=0;
				curleft[i]=0;
				curtop[i]=0;

               if (aReals[i].offsetParent)
                {
                  curleft[i] = aReals[i].offsetLeft;
                  curtop[i] = aReals[i].offsetTop;
				 
                }	
                
                 while (aReals[i]= aReals[i].offsetParent)
                     {
                        curleft[i] += aReals[i].offsetLeft;
                        curtop[i] += aReals[i].offsetTop;
						 
                     } 	
				if (aHolders[i].offsetParent)
				{
                  curleftho[i] = aHolders[i].offsetLeft;
                  curtopho[i] = aHolders[i].offsetTop;
				  	
				  }
               
			  
				
			 aHolders[i].style.marginTop = curtop[i]-curtopho[i] +"px";
			 aHolders[i].style.marginLeft = curleft[i]-curleftho[i]+ "px";
			  
            }
             
                 
          }
          
          
var theImages = new Array();
var siteUrl = "http://www.gutonlinekasino.com/";

//Random-loading images
theImages[0] = siteUrl + 'images/bm_images/delicious.png'
theImages[1] = siteUrl + 'images/bm_images/digg.png'; 
theImages[2] = siteUrl + 'images/bm_images/furl.png';
theImages[3] = siteUrl + 'images/bm_images/newsvine.png';
theImages[4] = siteUrl + 'images/bm_images/netscape.png';
theImages[5] = siteUrl + 'images/bm_images/reddit.png';
theImages[6] = siteUrl + 'images/bm_images/stumble1.gif';
theImages[7] = siteUrl + 'images/bm_images/technorati.png';
theImages[8] = siteUrl + 'images/bm_images/squidoo.png';
theImages[9] = siteUrl + 'images/bm_images/live.png';
theImages[10] = siteUrl + 'images/bm_images/yahoo.png';
theImages[11] = siteUrl + 'images/bm_images/ask.png';
theImages[12] = siteUrl + 'images/bm_images/google.png';
theImages[13] = siteUrl + 'images/bm_images/magnolia.png'; 
theImages[14] = siteUrl + 'images/bm_images/ning.png';
theImages[15] = siteUrl + 'images/bm_images/rawsugar.png';
theImages[16] = siteUrl + 'images/bm_images/spurl.png';
theImages[17] = siteUrl + 'images/bm_images/tagtooga.png';

var theAlt = new Array();

theAlt[0] = 'del.icio.us'; 
theAlt[1] = 'digg';
theAlt[2] = 'Furl';
theAlt[3] = 'Newsvine';
theAlt[4] = 'Netscape';
theAlt[5] = 'Reddit';
theAlt[6] = 'StumbleUpon';
theAlt[7] = 'Technorati';
theAlt[8] = 'Squidoo';
theAlt[9] = 'Windows Live';
theAlt[10] = 'Yahoo MyWeb';
theAlt[11] = 'Ask';
theAlt[13] = 'Google';
theAlt[12] = 'ma.gnolia';
theAlt[14] = 'Ning';
theAlt[15] = 'Rawsugar';
theAlt[16] = 'Spurl';
theAlt[17] = 'Tagtooga';

var theLink = new Array();

    theLink[0] = "http://del.icio.us/post?url="+document.location.href+"&title="+document.title;
    theLink[1] = "http://digg.com/submit?phase=2&url="+document.location.href+"&title="+document.title;
    theLink[2] = "http://www.furl.net/store?s=f&to=0&u="+document.location.href+"&ti="+document.title;
    theLink[3] = "http://www.newsvine.com/_tools/seed&save?u="+document.location.href+"&T="+document.title;
    theLink[4] = "http://www.netscape.com/submit/?U="+document.location.href+"&T="+document.title;
    theLink[5] = "http://reddit.com/submit?url="+document.location.href+"&title="+document.title;
    theLink[6] = "http://www.stumbleupon.com/submit?url="+document.location.href+"&title="+document.title;
    theLink[7] = "http://technorati.com/faves?add="+document.location.href;
    theLink[8] = "http://www.squidoo.com/lensmaster/bookmark?"+document.location.href+"&title="+document.title;
    theLink[9] = "https://favorites.live.com/quickadd.aspx?marklet=1&mkt=en-us&url="+document.location.href+"&title="+document.title+"&top=1";
    theLink[10] = "http://myweb.yahoo.com/myresults/bookmarklet?u="+document.location.href+"&t="+document.title+"&ei=UTF";
    theLink[11] = "http://myjeeves.ask.com/mysearch/BookmarkIt?v=1.2&t=webpages&url="+document.title.href+"&title="+document.title;
    theLink[12] = "http://www.google.com/bookmarks/mark?op=edit&output=popup&bkmk="+document.location.href+"&title="+document.title;
    theLink[13] = "http://ma.gnolia.com/bookmarklet/snap/add?url="+document.location.href+"&title="+document.title;
    theLink[14] = "http://bookmarks.ning.com/addItem.php?url="+document.location.href+"&T="+document.title;
    theLink[15] = "http://www.rawsugar.com/pages/tagger.faces?turl="+document.location.href+"&tttl="+document.title;
    theLink[16] = "http://www.spurl.net/spurl.php?url="+document.location.href+"&title="+document.title;
    theLink[17] = "http://www.tagtooga.com/tapp/db.exe?c=jsEntryForm&b=fx&url="+document.location.href+"&title="+document.title;

function goLink(lnk)
{
window.open(theLink[lnk]);

}

function showImage()
{
var PreNum = new Array(8);
var i,j; 
var max = theImages.length;
var num;
    
    for(x=0;x<8;x++)
    {
        num = Math.round((max-1)*Math.random());
        
        if(x!=0)
        {
            for(y=0;y<8;y++)
            {
                flag=false;
                if(PreNum[y]==num)
                {
                    flag=true;
                    x--;
                    break;
                }
            }
            if(!flag)
                  PreNum[x] = num;
        }
        else
        {
            PreNum[x] = num;
        } 
    }
    
    for(x=0;x<8;x++)
    {
    //alert("<a href='" + theLink[PreNum[x]] + "' title='" + theAlt[PreNum[x]] + "'><img src='" + theImages[PreNum[x]] + "' alt='" + theAlt[PreNum[x]] + "' /></a>");
   // document.write("<img src='" + theImages[PreNum[x]] +"' class='bookIcon' "+"onclick='"+theLink[PreNum[x]]+ "' alt='" + theAlt[PreNum[x]] + "' />");
  //document.write("<a href='" + theLink[PreNum[x]] + "' title='" + theAlt[PreNum[x]] + "' target='_blank'><img src='" + theImages[PreNum[x]] + "' alt='" + theAlt[PreNum[x]] + "' /></a>");
     document.write("<a href='" + theLink[PreNum[x]] + "' target='_blank'><img src='" + theImages[PreNum[x]] + "' alt='" + theAlt[PreNum[x]] + "' /></a>");
     }  
           

   
}
			