var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067246&x=4939',
		'title': '',
		'imageId': '68067246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067251&x=4939',
		'title': '',
		'imageId': '68067251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067252&x=4939',
		'title': '',
		'imageId': '68067252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067247&x=4939',
		'title': '',
		'imageId': '68067247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067250&x=4939',
		'title': '',
		'imageId': '68067250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067245&x=4939',
		'title': '',
		'imageId': '68067245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067249&x=4939',
		'title': '',
		'imageId': '68067249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067244&x=4939',
		'title': '',
		'imageId': '68067244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067253&x=4939',
		'title': '',
		'imageId': '68067253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927109&docid=68067248&x=4939',
		'title': '',
		'imageId': '68067248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927109';

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";
	})
}
