var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974920&x=657',
		'title': '',
		'imageId': '68974920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974923&x=657',
		'title': '',
		'imageId': '68974923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974928&x=657',
		'title': '',
		'imageId': '68974928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974932&x=657',
		'title': '',
		'imageId': '68974932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974926&x=657',
		'title': '',
		'imageId': '68974926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974927&x=657',
		'title': '',
		'imageId': '68974927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974921&x=657',
		'title': '',
		'imageId': '68974921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974924&x=657',
		'title': '',
		'imageId': '68974924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974925&x=657',
		'title': '',
		'imageId': '68974925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976692&docid=68974922&x=657',
		'title': '',
		'imageId': '68974922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976692';

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