var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581304&x=1111',
		'title': '',
		'imageId': '68581304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581300&x=1111',
		'title': '',
		'imageId': '68581300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581299&x=1111',
		'title': '',
		'imageId': '68581299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581297&x=1111',
		'title': '',
		'imageId': '68581297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581306&x=1111',
		'title': '',
		'imageId': '68581306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581307&x=1111',
		'title': '',
		'imageId': '68581307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581305&x=1111',
		'title': '',
		'imageId': '68581305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581298&x=1111',
		'title': '',
		'imageId': '68581298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581301&x=1111',
		'title': '',
		'imageId': '68581301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581308&x=1111',
		'title': '',
		'imageId': '68581308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581303&x=1111',
		'title': '',
		'imageId': '68581303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949822&docid=68581302&x=1111',
		'title': '',
		'imageId': '68581302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949822';

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