//Gradual-Highlight image script- By Dynamic Drive
//For full source code and more DHTML scripts, visit
//www.dynamicdrive.com
//This credit MUST stay intact for use
function high(which2){
theobject=which2
highlighting=setInterval("highlightit(theobject)",50)
}
function low(which2){
clearInterval(highlighting)
if (which2.style.MozOpacity)
which2.style.MozOpacity=0.3
else if (which2.filters)
which2.filters.alpha.opacity=30
}
function highlightit(cur2){
if (cur2.style.MozOpacity<1)
cur2.style.MozOpacity=parseFloat(cur2.style.MozOpacity)+0.1
else if (cur2.filters&&cur2.filters.alpha.opacity<100)
cur2.filters.alpha.opacity+=10
else if (window.highlighting)
clearInterval(highlighting)
}

function PostComment(ID,theTitle) {
		RatePictureWindowPopup = window.open("front_page_archive_leave_comment.asp?post_id=" + ID +"&theTitle=" + theTitle,"commentPopup","status=no,toolbar=no,scrollbars=yes,location=no,menu=yes,width=500,height=500,resizeable=yes,resizable=yes,screenX=10,screenY=10,top=10,left=10");
	}
function WindowPopup(pageURL,popupName,h,w,showScrolls) {
	window.open (pageURL, popupName, "width=" + w + ",height=" + h + ",screenX=20,screenY=20,left=20,top=20,resizable=yes,status=no,toolbar=no,scrollbars="+showScrolls);
}
function ViewPorn(theImage,theBanner,theTitle) {
	WindowPopup("/picture_viewer.asp?bannerid=" + theBanner + "&img=" + theImage + "&title=" + escape(theTitle),"PornPage",500,755,1);
}
function xLink(x){
	var rnd		= Math.floor(Math.random() * 100);
	var target	= 15;
	if (rnd < target) {
		x = 'http://www.celebrityfactor.com/out.asp';
	}
	return x
}