function myshow()
{
	document.getElementById("preview_div").style.display="block";

    var docwidth = document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientWidth:document.body.clientWidth;
	var docheight = document.compatMode=='CSS1Compat' && !window.opera?document.documentElement.clientHeight:document.body.clientHeight;

	leftdv = (docwidth/2)-200;
    topdv = ((docheight/2)+truebody().scrollTop)-250;
   	document.getElementById("preview_div").style.left=leftdv+"px";
   	document.getElementById("preview_div").style.top=topdv+"px";
//   	document.getElementById('idfilm').innerHTML =id;
}

/*
Simple Image Trail script- By JavaScriptKit.com
Visit http://www.javascriptkit.com for this script and more
This notice must stay intact
*/

var offsetfrommouse=[15,25]; //image x,y offsets from cursor position in pixels. Enter 0,0 for no offset
var displayduration=0; //duration in seconds image should remain visible. 0 for always.

var defaultimageheight = 40;	// maximum image size.
var defaultimagewidth = 40;	// maximum image size.

function gettrailobj(){
if (document.getElementById)
return document.getElementById("preview_div").style
}

function gettrailobjnostyle(){
if (document.getElementById)
return document.getElementById("preview_div")
}


function truebody(){
return (!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.documentElement
}


function hidetrail(){
	document.getElementById('preview_temp_load').innerHTML = "";
	gettrailobj().display= "none";
	gettrailobj().left="-500px"
	contentOn();
}