function stopError()
{
        return true;
}

window.onerror = stopError;

function click() {
        if (event.button==2) {
                alert("Not Allowed")
                }
        }
document.onmousedown=click

document.write('<style type="text/css">');
document.write('.menutitle{');
document.write('cursor:pointer;');
document.write('margin-bottom: 5px;');
//document.write('background-color:#ECECFF;');
document.write('color:#000000;');
document.write('width:100px;');
//document.write('padding:2px;');
document.write('text-align:left;');
document.write('font-weight:bold;');
document.write('border:0px solid #000000;');
document.write('}');

document.write('.submenu{');
document.write('margin-bottom: 0.5em;');
document.write('}');
document.write('</style>');

if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}

function SwitchMenu(obj){
    if (ie==0&&ns==0) {
        ie=1;
    }
    if(document.getElementById){
	var el = document.getElementById(obj);
	var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
		if(el.style.display != "block"){ //DynamicDrive.com change
			for (var i=0; i<ar.length; i++){
				if (ar[i].className=="submenu") //DynamicDrive.com change
				ar[i].style.display = "none";
			}
			el.style.display = "block";
		}else{
			el.style.display = "none";
		}
	}
}


document.write('<style type="text/css">');
document.write('<!--');
document.write('#ToolTip{position:absolute; width: 100px; top: 100px; left: 100px; z-index:4; visibility:hidden;}');
document.write('#ToolTip2{position:absolute; width: 100px; top: 100px; left: 100px; z-index:4; visibility:hidden;}');
document.write('-->');
document.write('</style>');
var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0
if(ns){doc = "document."; sty = ""}
if(ie){doc = "document.all."; sty = ".style"}
var initialize = 0
var Ex, Ey, topColor, subColor, ContentInfo
if(ie){
Ex = "event.x"
Ey = "event.y"
topColor = "#808080"
subColor = "#C0C0C0"
}
if(ns){
Ex = "e.pageX"
Ey = "e.pageY"
window.captureEvents(Event.MOUSEMOVE)
window.onmousemove=overhere
topColor = "#808080"
subColor = "#C0C0C0"
}
function MoveToolTip(layerName, FromTop, FromLeft, e){
if(ie){eval(doc + layerName + sty + ".top = "  + (eval(FromTop) + document.body.scrollTop))}
if(ns){eval(doc + layerName + sty + ".top = "  +  eval(FromTop))}
eval(doc + layerName + sty + ".left = " + (eval(FromLeft) + 15))
}
function ReplaceContent(layerName){
if(ie){document.all[layerName].innerHTML = ContentInfo}
if(ns){
with(document.layers[layerName].document)
{
   open();
   write(ContentInfo);
   close();
}
}
}
function Activate(){initialize=1}
function deActivate(){initialize=0}
function overhere(e){
if(initialize && ie){
MoveToolTip("ToolTip", Ey, Ex, e)
eval(doc + "ToolTip" + sty + ".visibility = 'visible'")
}
else{
MoveToolTip("ToolTip", 0, 0)
eval(doc + "ToolTip" + sty + ".visibility = 'hidden'")
}
}
function EnterContent(TTitle, TContent){
if(ie){
window.document.tooltip.SetVariable("tooltiptitle", TTitle);
window.document.tooltip.SetVariable("tooltipcontent", TContent);
}
}
tdate = new Date()
if ((tdate.getMonth()==8)&&(tdate.getDate()==11))
    {
    document.write ("<body bgcolor='#000000' text='#ffffff' link='#222222' vlink='#666666' alink='#999999' onmousemove=\"overhere()\">");
    }
else
    {
        if ((tdate.getDay()>=1)&&(tdate.getDay()<=5))
        {
            document.write ("<body background='../pictures/shade.jpg' bgcolor='#dddddd' text='#000000' link='#222222' vlink='#666666' alink='#999999' onmousemove=\"overhere()\">")
        }
        else
        {
            document.write ("<body background='../pictures/brushed.jpg' bgcolor='#dddddd' text='#000000' link='#222222' vlink='#666666' alink='#999999' onmousemove=\"overhere()\">")
        }
    }

var topcolor="";
var topcolor1="";
var topcolor2="";
var topcolor3="";
topcolor1="01";
topcolor2=((tdate.getHours()+1)*4);
if ( topcolor2<=9 ) topcolor2="0"+topcolor2;
topcolor3=(tdate.getDate()*3);
if ( topcolor3<=9 ) topcolor3="0"+topcolor3;
topcolor=("" + topcolor1 + topcolor2 + topcolor3);
document.write('<div id="ToolTip">');
document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" WIDTH=255 HEIGHT=125 name=tooltip swLiveConnect=true>');
document.write('<PARAM NAME=movie VALUE="../pictures/tt4.swf?coloringit='+topcolor+'">');
document.write('<PARAM NAME=loop VALUE=false>');
document.write('<PARAM NAME=menu VALUE=false>');
document.write('<PARAM NAME=quality VALUE=high>');
document.write('<PARAM NAME=scale VALUE=noborder>');
document.write('<PARAM NAME=wmode VALUE=transparent>');
document.write('<PARAM NAME=bgcolor VALUE=#999999>');
document.write('<EMBED src="../pictures/tt4.swf?coloringit='+topcolor+'" loop=false menu=false quality=high scale=noborder wmode=transparent bgcolor=#999999 name=tooltip swLiveConnect=true WIDTH=255 HEIGHT=125 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>');
document.write('</OBJECT>');
document.write('</div>');

document.write('<style type="text/css">');
document.write('<!--');

document.write('#ademaster     {position:absolute; width: 200px; top: 10px; left: -120px; z-index:2; visibility:visible;}');
document.write('#ademenu           {position:absolute; width: 18px; top: 0px; left: 120px; z-index:5; visibility:visible;}');
document.write('#adetop            {position:absolute; width: 120px; top: 0px; left: 0px; z-index:5; visibility:visible;}');
document.write('#adescreen     {position:absolute; width: 120px; top: 6px; left: 0px; z-index:5; visibility:visible;}');
document.write('#adescreenlinks    {position:absolute; width: 120px; top: 6px; left: 0px; z-index:5; visibility:visible;}');

document.write('-->');
document.write('</style>');
document.write('<style type="text/css">');
document.write('<!--');

document.write('.NavJump {font-family: arial; font-size: 10pt; color: #808080; text-decoration: none;}');
document.write('a:link.NavJump {color : #0033ff;}');
document.write('a:visited.NavJump {color : #0033ff;}');
document.write('a:active.NavJump {text-decoration: none; color: #00ddff;}');
document.write('a:hover.NavJump {text-decoration: none; color: #00ddff;}');

document.write('-->');
document.write('</style>');

var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0

if(ie){
document.write('<style type="text/css">')
document.write("#adescreen {filter:Alpha(Opacity=30);}")
document.write("</style>")
}

if(ns){
document.write('<style type="text/css">')
document.write("#ademaster {clip:rect(0,150,250,0);}")
document.write("</style>")
}

var ie = document.all ? 1 : 0
var ns = document.layers ? 1 : 0

var ademaster = new Object("element")
ademaster.curLeft = -120;  ademaster.curTop = 10;
ademaster.gapLeft = 0;             ademaster.gapTop = 0;
ademaster.timer = null;

function moveAlong(layerName, paceLeft, paceTop, fromLeft, fromTop){
clearTimeout(eval(layerName).timer)

if(eval(layerName).curLeft != fromLeft){
     if((Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft)) < paceLeft){eval(layerName).curLeft = fromLeft}
else if(eval(layerName).curLeft < fromLeft){eval(layerName).curLeft = eval(layerName).curLeft + paceLeft}
else if(eval(layerName).curLeft > fromLeft){eval(layerName).curLeft = eval(layerName).curLeft - paceLeft}
if(ie){document.all[layerName].style.left = eval(layerName).curLeft}
if(ns){document[layerName].left = eval(layerName).curLeft}
}

if(eval(layerName).curTop != fromTop){
     if((Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop)) < paceTop){eval(layerName).curTop = fromTop}
else if(eval(layerName).curTop < fromTop){eval(layerName).curTop = eval(layerName).curTop + paceTop}
else if(eval(layerName).curTop > fromTop){eval(layerName).curTop = eval(layerName).curTop - paceTop}
if(ie){document.all[layerName].style.top = eval(layerName).curTop}
if(ns){document[layerName].top = eval(layerName).curTop}
}


eval(layerName).timer=setTimeout('moveAlong("'+layerName+'",'+paceLeft+','+paceTop+','+fromLeft+','+fromTop+')',30)
}

function setPace(layerName, fromLeft, fromTop, motionSpeed){
eval(layerName).gapLeft = (Math.max(eval(layerName).curLeft, fromLeft) - Math.min(eval(layerName).curLeft, fromLeft))/motionSpeed
eval(layerName).gapTop = (Math.max(eval(layerName).curTop, fromTop) - Math.min(eval(layerName).curTop, fromTop))/motionSpeed

moveAlong(layerName, eval(layerName).gapLeft, eval(layerName).gapTop, fromLeft, fromTop)
}

var expandState = 0

function expand(){
if(expandState == 0)
    {
    setPace("ademaster", 0, 10, 10);
    if(ie)
        {
        document.menutop.src = "../pictures/menub.gif"
        };
    expandState = 1;
    var el = document.getElementById("sub2");
    if(el.style.display != "block")
        {
        SwitchMenu("sub2");
        }
    }
else
    {
    setPace("ademaster", -120, 10, 10);
    if(ie)
        {
        document.menutop.src = "../pictures/menu.gif"
        };
    expandState = 0;
    }
}

document.write('<div id="ademaster">');

document.write('<div id="ademenu">');
document.write('<table border="0" width="18" cellspacing="0" cellpadding="0">');
document.write('<tr><td width="100%"><a href="javascript:expand()" onfocus="this.blur()" onMouseover="EnterContent(\'Information\',\'Click to activate or deactivate the menu\');Activate();" onMouseout="deActivate()"><img name="menutop" border="0" src="../pictures/menu.gif" width="18" height="70"></a></td></tr>');
document.write('</table>');
document.write('</div>');

document.write('<div id="adetop">');
document.write('<table border="0" width="120" cellspacing="0" cellpadding="0">');
document.write('<tr><td width="100%"><img border="0" src="../pictures/top.gif" width="120" height="6"></td></tr>');
document.write('</table>');
document.write('</div>');

document.write('<div id="adescreen">');
document.write('<table border="0" width="120" cellspacing="0" cellpadding="5">');
document.write('<tr><td width="100%" bgcolor="#808080">');

document.write('<table border="0" width="100%" bgcolor="#808080" cellspacing="0" cellpadding="0">');
document.write('<tr><td width="100%">');

document.write('<table border="0" width="100%" cellspacing="1" cellpadding="5">');
document.write('<tr><td width="100%" bgcolor="#808080">');

document.write('</td></tr>');
document.write('</table>');

document.write('</td></tr>');
document.write('</table>');

document.write('</td></tr>');
document.write('</table>');
document.write('</div>');

document.write('<div id="adescreenlinks">');
document.write('<table border="0" width="120" cellspacing="0" cellpadding="5">');
document.write('<tr><td width="100%">');

document.write('<table border="0" width="100%" bgcolor="#808080" cellspacing="0" cellpadding="0">');
document.write('<tr><td width="100%">');

document.write('<table border="0" width="100%" cellspacing="1" cellpadding="5">');
document.write('<tr><td width="100%" bgcolor="#FFFFFF" background="../pictures/steel.jpg">');

document.write('<div id="masterdiv">');
document.write('    <div class="menutitle" onclick="SwitchMenu(\'sub1\')">Home</div>');
document.write('    <span class="submenu" id="sub1">');
document.write('- <a href="../light/homepage.htm" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Home - Back to the main page\');Activate();\" onMouseout=\"deActivate()\"><b>Home!</a><br>');
document.write('    </span>');

document.write('<div id="masterdiv">');
document.write('    <div class="menutitle" onclick="SwitchMenu(\'sub2\')">Hotlist</div>');
document.write('    <span class="submenu" id="sub2">');
var queryade=window.location.search.substring(1);
if ( queryade!="" )
    {
    queryade=("?"+queryade);
    }
document.write('- <a href="../light/hotlist1.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'MP3 and DVD - Links for ripping and duplicating MP3 or DVD libraries\');Activate();\" onMouseout=\"deActivate()\"><b>MP3 & DVD</b></a><br>');
document.write('- <a href="../light/hotlist1a.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Television - Links for popular Television Channels\');Activate();\" onMouseout=\"deActivate()\"><b>Television</b></a><br>');
document.write('- <a href="../light/music.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Music - A Few of my favourite music videos\');Activate();\" onMouseout=\"deActivate()\"><b>Music</b></a><br>');
document.write('- <a href="../light/hotlist2.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'File Exchange - Best Software for file swapping through the internet\');Activate();\" onMouseout=\"deActivate()\"><b>File Exchange</b></a><br>');
document.write('- <a href="../light/hotlist3.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Computing - split into sub sections for Retailers, tech etc.\');Activate();\" onMouseout=\"deActivate()\"><b>Computing</b></a><br>');
document.write('- <a href="../light/hotlist4.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Internet - All about the internet & Web Page creation links\');Activate();\" onMouseout=\"deActivate()\"><b>Internet</b></a><br>');
document.write('- <a href="../light/hotlistb.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Gadgets - Some REALLY Cool gadgets from over the world.\');Activate();\" onMouseout=\"deActivate()\"><b>Gadgets</b></a><br>');
document.write('- <a href="../light/hotlist5.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Community - Chat Communities and where to go to have a chat to someone\');Activate();\" onMouseout=\"deActivate()\"><b>Community</b></a><br>');
document.write('- <a href="../light/hotlist6.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Visuals - Wallpapers, themes and such\');Activate();\" onMouseout=\"deActivate()\"><b>Visuals</b></a><br>');
document.write('- <a href="../light/hotlist7.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Games Stuff - Bang, Bang !!, Information about all the really good games\');Activate();\" onMouseout=\"deActivate()\"><b>Games Stuff</b></a><br>');
document.write('- <a href="../light/hotlist9.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Work Links - More Serious information about what I do and where I have or am working \');Activate();\" onMouseout=\"deActivate()\"><b>Work Links</b></a><br>');
document.write('- <a href="../light/hotlist8.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Cars and Travel - If you want to buy or sell a car or just want to find your way to work, heres the place\');Activate();\" onMouseout=\"deActivate()\"><b>Cars & Travel</b></a><br>');
document.write('- <a href="../light/hotlista.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'News - Information from around the world\');Activate();\" onMouseout=\"deActivate()\"><b>News</b></a><br>');
document.write('- <a href="../light/bdays.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Birthdays - Birthdays and important dates, whens easter ?\');Activate();\" onMouseout=\"deActivate()\"><b>Birthdays</b></a><br>');
document.write('- <a href="../light/Webcam.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Webcam - Haha, My Garden, I must do that lawn !\');Activate();\" onMouseout=\"deActivate()\"><b>WebCam</b></a><br>');
document.write('- <a href="../light/hotlistc.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Other Links - Everything Else\');Activate();\" onMouseout=\"deActivate()\"><b>Other Linx</b></a><br>');
document.write('    </span>');

document.write('    <div class="menutitle" onclick="SwitchMenu(\'sub3\')">About</div>');
document.write('    <span class="submenu" id="sub3">');
document.write('- <a href="../light/about1.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Me & Family - Pictures and the like\');Activate();\" onMouseout=\"deActivate()\"><b>Me & Family</b></a><br>');
document.write('- <a href="../Sam/menu.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Sammy - My Daughter, And shes lovely\');Activate();\" onMouseout=\"deActivate()\"><b>Sammy</b></a><br>');
document.write('- <a href="../light/about2.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'My Mates - A Right bunch of Hooligans !\');Activate();\" onMouseout=\"deActivate()\"><b>My Mates</b></a><br>');
document.write('    </span>');

document.write('    <div class="menutitle" onclick="SwitchMenu(\'sub4\')">Contact</div>');
document.write('    <span class="submenu" id="sub4">');
document.write('- <a href="../light/contact.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Contact Myself - Contact me so I can ignore you properly\');Activate();\" onMouseout=\"deActivate()\"><b>Myself</b></a><br>');
document.write('- <a href="../light/collegue.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Contact My Friends - If you want to talk to a Hooligan\');Activate();\" onMouseout=\"deActivate()\"><b>Friends</b></a><br>');
document.write('- <a href="../light/comment.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Contact for Comments & Suggestions - If you like the site, Go HERE !\');Activate();\" onMouseout=\"deActivate()\"><b>Comments</b></a><br>');
document.write('    </span>');

document.write('    <div class="menutitle" onclick="SwitchMenu(\'sub5\')">Other</div>');
document.write('    <span class="submenu" id="sub5">');
document.write('- <a href="../light/search.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Search - Useful List of Search Engines\');Activate();\" onMouseout=\"deActivate()\"><b>Search</b></a><br>');
document.write('- <a href="../light/iquery.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Internet Query - Find out who actually owns donkey.com\');Activate();\" onMouseout=\"deActivate()\"><b>Internet Query</b></a><br>');
document.write('- <a href="../light/download.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Downloads - A Few select Files\');Activate();\" onMouseout=\"deActivate()\"><b>Downloads</b></a><br>');
document.write('- <a href="../light/banners.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Banners - If you want to advertise my site, use ctrl c & v\');Activate();\" onMouseout=\"deActivate()\"><b>Banners</b></a><br>');
document.write('- <a href="../light/quotes.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Quotes - A Few Great Quotes from the greats\');Activate();\" onMouseout=\"deActivate()\"><b>Quotes</b></a><br>');
document.write('- <a href="../light/quotes2.php'+queryade+'" class="NavJump" onMouseover=\"EnterContent(\'Main Menu\',\'Latin Quotes - A Few Great Latin Quotes\');Activate();\" onMouseout=\"deActivate()\"><b>Latin Quotes</b></a><br>');
document.write('    </span>');
document.write('</div>');

document.write('</td></tr>');
document.write('</table>');

document.write('</td></tr>');
document.write('</table>');

document.write('</td></tr>');
document.write('</table>');
document.write('</div>');

document.write('</div>');

if(ie){var sidemenu = document.all.ademaster;}
if(ns){var sidemenu = document.ademaster;}

function FixY(){
if(ie){sidemenu.style.top = document.body.scrollTop+10}
if(ns){sidemenu.top = window.pageYOffset+10}
}

setInterval("FixY()",100);

var first_opac = 20;
var sec_opac =100;
var opac = first_opac;
var speed = 100;
var si;
var cleared = true;

tdate = new Date()

function showimage(what,doshow) {
if (document.all) {
  cleared = false;
  (doshow) ? opac+=speed : opac-=speed;
  eval(what+".filters.alpha.opacity="+opac);
  if (opac <= first_opac || opac >= sec_opac) {
    clearInterval(si);
    cleared = true;
  }
}
if (document.layers) clearInterval(si);
}

function ClearInt() {
if (!cleared) clearInterval(si);
}
Img1="../pictures/up";
Img2="../pictures/down";

fnt='Verdana';
sz=2;

separate="<P>";

function N1(name,Number){
        document.images[name].src=Img1+Number+".gif"
        deActivate()
        }
function Y1(name,Number,Description){
        document.images[name].src=Img2+Number+".gif"
        EnterContent('Link Info',Description);Activate();
        }

function find_pic(what, where)
{
  for (var i = 0; i <= where.length - what.length; i++)
  {
    if (what == where.substring(i, i + what.length))
    {
      return i;
    }
  }
  return -1;
}

function DrawEm(Number,Description,Url,Id,Txt,HotGif){
var queryade=window.location.search.substring(1);
if ( queryade!="" )
    {
    queryade=("?"+queryade);
    }
if ( Number!="") {
    if ( Number=="4") {
        document.write("<table border='0' width='100%'><tr><td width=10></td><td width=30>");}
    else{
        if ((location.host!="localhost")&&( find_pic("http",Url)>=0))
            Url=('/both/X/out.php?url='+Url);
        if ( find_pic("http",Url)<0)
            Url=(Url+queryade);
        document.write("<table border='0' width='100%'><tr><td width=30>");}
        if ( find_pic("sam",HotGif)>=0)
            document.write(" <a href='"+Url+"' target='_self' onMouseOver=\"Y1('"+Id+"','"+Number+"','"+Description+"')\" onMouseOut=\"N1('"+Id+"','"+Number+"')\">");
        else
            document.write(" <a href='"+Url+"' target='_blank' onMouseOver=\"Y1('"+Id+"','"+Number+"','"+Description+"')\" onMouseOut=\"N1('"+Id+"','"+Number+"')\">");
        document.write(" <img src="+Img1+Number+".gif width=40 border='0' align='absmiddle' name='"+Id+"'></a></td> "
        +" <td><font face="+fnt+" size="+sz+"> "+Txt+" </font>");
        if ( HotGif != "" )
            HotGifDisplay(HotGif,"y");
        document.write("</td></tr></table>"+separate+" ");
    }
}

function DrawPic(Url,Id,Txt,HotGif,PicSize){
var queryade=window.location.search.substring(1);
if ( queryade!="" )
    {
    queryade=("?"+queryade);
    }
if ( Number!="") {
    if ( !(PicSize>=0) )
        { PicSize=60 }
    document.write("<table border='0' width='100%'><tr><td width="+PicSize+">");
    if ((location.host!="localhost")&&( find_pic("http",Url)>=0))
        Url=('/both/X/out.php?url='+Url);
    if ( find_pic("http",Url)<0)
        Url=(Url+queryade);
    if ( find_pic("sam",HotGif)>=0)
        document.write(" <a href='"+Url+"'  target='_self' onMouseover=\"EnterContent('Link Info','Picture Link');Activate();\" onMouseout=\"deActivate()\">");
    else
        document.write(" <a href='"+Url+"'  target='_blank' onMouseover=\"EnterContent('Link Info','Picture Link');Activate();\" onMouseout=\"deActivate()\">");
    document.write(" <img src="+Id+" border='0' width="+PicSize+" align='absmiddle' name='"+Url+"'></a></td> "
    +" <td><font face="+fnt+" size="+sz+"> "+Txt+" &nbsp;</font>");
    if ( HotGif != "" )
        HotGifDisplay(HotGif,"");
    document.write("</td></tr></table>"+separate+" ");
    }
}

function Size_Pic(SizeIt){
    if ( SizeIt = "" )
        document.write("> ");
    else
        document.write(" height=20> ");
}

function HotGifDisplay(HotGif,SizeIt){
    if ( find_pic("new",HotGif)>=0){
        document.write("<img src='../pictures/oldnew.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("cool",HotGif)>=0){
        document.write("<img src='../pictures/cool.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("hot",HotGif)>=0){
        document.write("<img src='../pictures/hot6.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("look",HotGif)>=0){
        document.write("<img src='../pictures/look.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("wow",HotGif)>=0){
        document.write("<img src='../pictures/wow.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("1",HotGif)>=0){
        document.write("<br><img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("2",HotGif)>=0){
        document.write("<br><img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("3",HotGif)>=0){
        document.write("<br><img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("4",HotGif)>=0){
        document.write("<br><img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);}
    if ( find_pic("5",HotGif)>=0){
        document.write("<br><img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);
        document.write("<img src='../pictures/star.gif' border='0'");
        Size_Pic(SizeIt);}
    }

function GetCookies (name) {
  var result = null;
  var myCookie = " " + document.cookie + ";";
  var searchName = " " + name + "=";
  var startOfCookie = myCookie.indexOf(searchName)
  var endOfCookie;
  if (startOfCookie != -1) {
    startOfCookie += searchName.length; // skip past cookie name
    endOfCookie = myCookie.indexOf(";", startOfCookie);
    result = unescape(myCookie.substring(startOfCookie, endOfCookie));
  }
  return result;
}

function getCookieVal (offset) {
        var endstr = document.cookie.indexOf (";", offset);
        if (endstr == -1)
                endstr = document.cookie.length;
        return unescape(document.cookie.substring(offset, endstr));
        }

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 expdate = new Date();
        var argv = SetCookie.arguments;
        var argc = SetCookie.arguments.length;
        expdate.setTime(expdate.getTime() +  (24 * 60 * 60 * 1000 * 365));
        document.cookie = name + "=" + escape (value) + ("; expires=" + expdate.toGMTString());
        //document.writeln(' Date is set to expire for ' + name + ' for ' + expdate.toGMTString() + ' ');
        }


