var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=62314546&x=83',
		'title': '',
		'imageId': '62314546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=62314555&x=83',
		'title': '',
		'imageId': '62314555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801880&x=83',
		'title': '',
		'imageId': '67801880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801882&x=83',
		'title': '',
		'imageId': '67801882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801881&x=83',
		'title': '',
		'imageId': '67801881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801879&x=83',
		'title': '',
		'imageId': '67801879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=62314551&x=83',
		'title': '',
		'imageId': '62314551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801877&x=83',
		'title': '',
		'imageId': '67801877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801878&x=83',
		'title': '',
		'imageId': '67801878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801883&x=83',
		'title': '',
		'imageId': '67801883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=67801884&x=83',
		'title': '',
		'imageId': '67801884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916171&docid=62314552&x=83',
		'title': '',
		'imageId': '62314552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916171';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
