'; newHTML = newHTML + '
' + title + '
' if (showthumb > 0){ newHTML = newHTML + '
'; } newHTML = newHTML + '
'; gettrailobjnostyle().innerHTML = newHTML; gettrailobj().display="block"; } function followmouse(e){ var xcoord=offsetfrommouse[0] var ycoord=offsetfrommouse[1] var docwidth=all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+innerwidth - offsetfrommouse[0] var docheight=all? min(truebody().scrollHeight, truebody().clientHeight) : min(innerheight) if (typeof e != "undefined"){ if (docwidth - pagex < currentimagewidth){ if(indexof("Firefox")!=-1) {xcoord = pagex - xcoord - currentimagewidth + 2*offsetfrommouse[0]} else{ xcoord = pagex - xcoord - currentimagewidth + 6*offsetfrommouse[0] ;} // Move to the left side of the cursor } else { xcoord += pagex; } if (docheight - pagey < (currentimageheight + 110)){ ycoord += pagey - max(0,(110 + currentimageheight + pagey - docheight - truebody().scrollTop)); } else { ycoord += pagey; } } else if (typeof event != "undefined"){ if (docwidth - clientx < currentimagewidth){ xcoord = clientx + truebody().scrollLeft - xcoord - currentimagewidth + 2*offsetfrommouse[0]; // Move to the left side of the cursor } else { xcoord += truebody().scrollLeft+clientx } if (docheight - clienty < (currentimageheight + 110)){ ycoord += clienty + truebody().scrollTop - max(0,(110 + currentimageheight + clienty - docheight)); } else { ycoord += truebody().scrollTop + clienty; } } var docwidth=all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+innerwidth-offsetfrommouse[0] var docheight=all? max(truebody().scrollHeight, truebody().clientHeight) : max(offsetheight, innerheight) if(ycoord < 0) { ycoord = ycoord*-1; } gettrailobj().left=xcoord+"px" gettrailobj().top=ycoord+"px" } } function show_feat(url,title,showthumb){ var docwidth=all? truebody().scrollLeft+truebody().clientWidth : pageXOffset+innerwidth - offsetfrommouse[0] var docheight=all? min(truebody().scrollHeight, truebody().clientHeight) : min(innerheight) if((indexof("Firefox")!=-1 || (indexof("Opera")==-1 && indexof("MSIE")!=-1)) && (docwidth>650 && docheight>500)){ //onmousemove=followmouse; //var divul = getelementbyid('feat_div'); var newHTML = ''; newHTML = '