// Thumbnail script DHTML + javascript
function canManipulateImages() {
	if (document.images)
		return true;
	else
		return false;
}
function loadPosterImage(imageURL) {
	if (gImageCapableBrowser) {
		document.imagePoster.src = imageURL;
		return false;
	}
	else {
		return true;
	}
}
gImageCapableBrowser = canManipulateImages();


// Popup window script
function Lvl_openWin(u,n,w,h,l,t,c,f) { //v2.2 4LevelWebs
  var x=((screen.width-w)/2);if(c==1){l=x;t=(screen.height-h)/2;}if(c==2){l=x}
	f+=',top='+t+',left='+l;LvlWin=window.open(u,n,f);LvlWin.focus();
}

// Ipop script
function iPop(img,w,h,ttl)
{
	iPopURL = '/ipop.html' 
	url = iPopURL + '?' + img + (ttl ? '&'+escape(ttl) : '')
	l = (screen.width-w)/2
	t = (screen.height-h)/2
	attribs = 'width='+w+',height='+h+',left='+l+',top='+t
	open(url,'imgWin',attribs)
	return false;
}