var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241256&x=5640',
		'title': '',
		'imageId': '68241256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241260&x=5640',
		'title': '',
		'imageId': '68241260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241262&x=5640',
		'title': '',
		'imageId': '68241262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241261&x=5640',
		'title': '',
		'imageId': '68241261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241258&x=5640',
		'title': '',
		'imageId': '68241258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241263&x=5640',
		'title': '',
		'imageId': '68241263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241257&x=5640',
		'title': '',
		'imageId': '68241257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241254&x=5640',
		'title': '',
		'imageId': '68241254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241259&x=5640',
		'title': '',
		'imageId': '68241259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952282&docid=68241255&x=5640',
		'title': '',
		'imageId': '68241255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952282';

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