var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241706&x=3945',
		'title': '',
		'imageId': '68241706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241705&x=3945',
		'title': '',
		'imageId': '68241705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241710&x=3945',
		'title': '',
		'imageId': '68241710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241714&x=3945',
		'title': '',
		'imageId': '68241714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241712&x=3945',
		'title': '',
		'imageId': '68241712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241707&x=3945',
		'title': '',
		'imageId': '68241707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241708&x=3945',
		'title': '',
		'imageId': '68241708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241713&x=3945',
		'title': '',
		'imageId': '68241713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241709&x=3945',
		'title': '',
		'imageId': '68241709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241703&x=3945',
		'title': '',
		'imageId': '68241703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241711&x=3945',
		'title': '',
		'imageId': '68241711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934650&docid=68241704&x=3945',
		'title': '',
		'imageId': '68241704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934650';

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