var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892799&x=3917',
		'title': '',
		'imageId': '68892799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892775&x=3917',
		'title': '',
		'imageId': '68892775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892772&x=3917',
		'title': '',
		'imageId': '68892772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892793&x=3917',
		'title': '',
		'imageId': '68892793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892802&x=3917',
		'title': '',
		'imageId': '68892802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892773&x=3917',
		'title': '',
		'imageId': '68892773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892770&x=3917',
		'title': '',
		'imageId': '68892770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892771&x=3917',
		'title': '',
		'imageId': '68892771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892769&x=3917',
		'title': '',
		'imageId': '68892769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=69132127&x=3917',
		'title': '',
		'imageId': '69132127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892783&x=3917',
		'title': '',
		'imageId': '68892783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892784&x=3917',
		'title': '',
		'imageId': '68892784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892789&x=3917',
		'title': '',
		'imageId': '68892789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892796&x=3917',
		'title': '',
		'imageId': '68892796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892790&x=3917',
		'title': '',
		'imageId': '68892790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980234&docid=68892782&x=3917',
		'title': '',
		'imageId': '68892782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980234';

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