/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/
/*
onmouseover="showtrail(
0,
120,
60,
'index.html',
'ad subject',
'ad text',
'/images/banner.html',
);"
onmouseout="hidetrail();"
*/
var currentimageheight;
var currentimagewidth;
var currentparentobject;
if (document.getElementById || document.all)
{
document.write('
');
document.write('
');
}
function gettrailobj()
{
if (document.getElementById)
return document.getElementById("ad_imageid").style
else if (document.all)
return document.all.trailimagid.style
}
function gettrailobjnostyle()
{
if (document.getElementById)
return document.getElementById("ad_imageid")
else if (document.all)
return document.all.trailimagid
}
function truebody()
{
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
function showAdBlock(top, height, width, link, head, text, image)
{
currentimageheight = height;
gettrailobj().top = top;
var prop;
gettrailobj().left = screen.width-width-20-230;
gettrailobj().width = width;
gettrailobj().height = 20+height;
line = '';
// for (prop in currentparentobject)
// if (prop.indexOf("offset") >= 0)
// line = line + prop + '=' + currentparentobject[prop] + ' --- ';
newHTML = '';
newHTML = newHTML + '';
newHTML = newHTML + '';
newHTML = newHTML + '' + head + ' | | ';
newHTML = newHTML + ' | ';
newHTML = newHTML + ' ';
newHTML = newHTML + '';
newHTML = newHTML + '' + text + ' | ';
if (image)
newHTML = newHTML + ' | ';
newHTML = newHTML + ' ';
newHTML = newHTML + ' ';
newHTML = newHTML + ' |
';
gettrailobjnostyle().innerHTML = newHTML;
gettrailobj().visibility='visible';
}
function hideAdBlock()
{
gettrailobj().visibility='hidden';
document.onmousemove='';
gettrailobj().left='-500px';
}