var ua = navigator.userAgent.toLowerCase();
var divw=0;
var divh=0;
//Detect IE
var stIsIE = /*@cc_on!@*/false;
//detect opera
var isOpera = window.opera?1:0;
// Detect Webkit browsers
var isWebKit = navigator.userAgent.indexOf("AppleWebKit") > -1;
if (document.getElementById || document.all)
document.write('
')
function gettrailobject()
{
if (document.getElementById)
return document.getElementById("imgtrailer")
else if (document.all)
return document.all.imgtrailer
}
function gettrailobj()
{
if (document.getElementById)
return document.getElementById("imgtrailer").style
else if (document.all)
return document.all.imgtrailer.style
}
function truebody()
{
if (isWebKit)
{
return document.body;
}
else if (isOpera)
{
return document.documentElement;
}
else
{
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
}
}
function hidetrail()
{
gettrailobject().innerHTML=" ";
document.onmousemove='';
gettrailobj().visibility="hidden";
}
function trailOn(thumbimg,imgtitle,imgscription,imgsize,filesize,credit,level,thw,thh,flvvid,samplepath)
{
//if(ua.indexOf('opera') == -1 && ua.indexOf('safari') == -1)
//{
gettrailobj().left="-500px";
divthw = parseInt(thw) + 2;
if(flvvid){
var vidsample = samplepath + flvvid;
newHTML = "";
newHTML = newHTML + '