var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282100&x=3544',
		'title': '',
		'imageId': '68282100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282095&x=3544',
		'title': '',
		'imageId': '68282095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282093&x=3544',
		'title': '',
		'imageId': '68282093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282099&x=3544',
		'title': '',
		'imageId': '68282099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282097&x=3544',
		'title': '',
		'imageId': '68282097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282096&x=3544',
		'title': '',
		'imageId': '68282096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282098&x=3544',
		'title': '',
		'imageId': '68282098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282094&x=3544',
		'title': '',
		'imageId': '68282094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282092&x=3544',
		'title': '',
		'imageId': '68282092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3936680&docid=68282091&x=3544',
		'title': '',
		'imageId': '68282091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3936680';

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